|
952 | 952 | @apply mt-7 flex flex-wrap items-center justify-center gap-3; |
953 | 953 | } |
954 | 954 |
|
| 955 | + /* Contact us (/contact-us/) */ |
| 956 | + .contact-hero__intro p { |
| 957 | + @apply m-0; |
| 958 | + } |
| 959 | + |
| 960 | + .contact-layout { |
| 961 | + @apply grid gap-6 lg:grid-cols-[minmax(0,1fr)_minmax(17rem,22rem)] lg:items-start; |
| 962 | + } |
| 963 | + |
| 964 | + .contact-form-card { |
| 965 | + @apply rounded-2xl border border-gray-200/90 bg-white p-6 shadow-sm sm:p-8 md:p-10; |
| 966 | + } |
| 967 | + |
| 968 | + .contact-form-card__head { |
| 969 | + @apply mb-7 border-b border-slate-100 pb-6; |
| 970 | + } |
| 971 | + |
| 972 | + .contact-form-card__title { |
| 973 | + @apply text-xl font-bold tracking-tight text-slate-900 sm:text-2xl; |
| 974 | + } |
| 975 | + |
| 976 | + .contact-form-card__lead { |
| 977 | + @apply mt-2 text-sm leading-relaxed text-slate-500 sm:text-[15px]; |
| 978 | + } |
| 979 | + |
| 980 | + .contact-form__grid { |
| 981 | + @apply grid gap-5 sm:grid-cols-2; |
| 982 | + } |
| 983 | + |
| 984 | + .contact-field--full { |
| 985 | + @apply sm:col-span-2; |
| 986 | + } |
| 987 | + |
| 988 | + .contact-field__label { |
| 989 | + @apply mb-2 block text-sm font-semibold text-slate-800; |
| 990 | + } |
| 991 | + |
| 992 | + .contact-field__label-row { |
| 993 | + @apply mb-2 flex items-center justify-between gap-3; |
| 994 | + } |
| 995 | + |
| 996 | + .contact-field__label-row .contact-field__label { |
| 997 | + @apply mb-0; |
| 998 | + } |
| 999 | + |
| 1000 | + .contact-field__required { |
| 1001 | + @apply text-[10px] font-bold uppercase tracking-wider text-slate-400; |
| 1002 | + } |
| 1003 | + |
| 1004 | + .contact-field__input { |
| 1005 | + @apply w-full rounded-xl border border-slate-200/90 bg-slate-50/70 px-4 py-3.5 text-[15px] leading-normal text-slate-900 shadow-sm; |
| 1006 | + @apply placeholder:text-slate-400 transition-all duration-200; |
| 1007 | + @apply focus:border-brand/35 focus:bg-white focus:outline-none focus:ring-4 focus:ring-brand/10; |
| 1008 | + } |
| 1009 | + |
| 1010 | + .contact-field--invalid .contact-field__input { |
| 1011 | + @apply border-rose-400/90 bg-rose-50/40 ring-4 ring-rose-500/10; |
| 1012 | + } |
| 1013 | + |
| 1014 | + .contact-field--invalid .contact-field__input:focus { |
| 1015 | + @apply border-rose-500 ring-rose-500/15; |
| 1016 | + } |
| 1017 | + |
| 1018 | + .contact-field__error { |
| 1019 | + @apply mt-2 text-sm font-medium leading-snug text-rose-600; |
| 1020 | + } |
| 1021 | + |
| 1022 | + .contact-field__error:empty, |
| 1023 | + .contact-field__error[hidden] { |
| 1024 | + @apply hidden; |
| 1025 | + } |
| 1026 | + |
| 1027 | + .contact-field__meta { |
| 1028 | + @apply mt-2 flex items-start justify-between gap-4; |
| 1029 | + } |
| 1030 | + |
| 1031 | + .contact-field__meta .contact-field__error { |
| 1032 | + @apply mt-0 flex-1; |
| 1033 | + } |
| 1034 | + |
| 1035 | + .contact-field__count { |
| 1036 | + @apply shrink-0 text-xs tabular-nums text-slate-400; |
| 1037 | + } |
| 1038 | + |
| 1039 | + .contact-field__count--warn { |
| 1040 | + @apply text-amber-600; |
| 1041 | + } |
| 1042 | + |
| 1043 | + .contact-field__count--over { |
| 1044 | + @apply font-semibold text-rose-600; |
| 1045 | + } |
| 1046 | + |
| 1047 | + .contact-form__summary { |
| 1048 | + @apply mb-5 rounded-xl border border-rose-200 bg-rose-50 px-4 py-3 text-sm font-medium leading-relaxed text-rose-700; |
| 1049 | + } |
| 1050 | + |
| 1051 | + .contact-form__summary:empty, |
| 1052 | + .contact-form__summary[hidden] { |
| 1053 | + @apply hidden; |
| 1054 | + } |
| 1055 | + |
| 1056 | + .contact-submit:disabled { |
| 1057 | + @apply cursor-not-allowed opacity-70 shadow-none; |
| 1058 | + } |
| 1059 | + |
| 1060 | + .contact-submit--loading { |
| 1061 | + @apply pointer-events-none; |
| 1062 | + } |
| 1063 | + |
| 1064 | + .contact-submit__spinner { |
| 1065 | + @apply inline-block h-4 w-4 rounded-full border-2 border-white/30 border-t-white animate-spin; |
| 1066 | + } |
| 1067 | + |
| 1068 | + .contact-field__input--textarea { |
| 1069 | + @apply min-h-[10.5rem] resize-y; |
| 1070 | + } |
| 1071 | + |
| 1072 | + .contact-form__actions { |
| 1073 | + @apply mt-7 flex flex-col gap-3 border-t border-slate-100 pt-6 sm:flex-row sm:items-center sm:justify-between; |
| 1074 | + } |
| 1075 | + |
| 1076 | + .contact-submit { |
| 1077 | + @apply w-full justify-center px-7 py-3.5 text-[15px] shadow-md hover:shadow-lg sm:w-auto; |
| 1078 | + } |
| 1079 | + |
| 1080 | + .contact-form__note { |
| 1081 | + @apply max-w-md text-xs leading-relaxed text-slate-400; |
| 1082 | + } |
| 1083 | + |
| 1084 | + .contact-aside { |
| 1085 | + @apply flex flex-col gap-4; |
| 1086 | + } |
| 1087 | + |
| 1088 | + .contact-info-card { |
| 1089 | + @apply rounded-2xl border border-sky-100 bg-gradient-to-br from-sky-50/90 via-white to-white p-5 shadow-sm; |
| 1090 | + } |
| 1091 | + |
| 1092 | + .contact-info-card__eyebrow { |
| 1093 | + @apply text-[11px] font-bold uppercase tracking-widest text-sky-600; |
| 1094 | + } |
| 1095 | + |
| 1096 | + .contact-info-card__title { |
| 1097 | + @apply mt-2 text-base font-semibold leading-snug text-slate-900; |
| 1098 | + } |
| 1099 | + |
| 1100 | + .contact-info-card__text { |
| 1101 | + @apply mt-2 text-sm leading-relaxed text-slate-500; |
| 1102 | + } |
| 1103 | + |
| 1104 | + .contact-links { |
| 1105 | + @apply flex flex-col gap-3; |
| 1106 | + } |
| 1107 | + |
| 1108 | + .contact-link { |
| 1109 | + @apply flex items-center gap-3 rounded-2xl border border-gray-200/90 bg-white p-4 shadow-sm transition-all duration-200; |
| 1110 | + @apply hover:-translate-y-0.5 hover:border-slate-300 hover:shadow-md; |
| 1111 | + } |
| 1112 | + |
| 1113 | + .contact-link__icon { |
| 1114 | + @apply flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-slate-50 text-xl; |
| 1115 | + } |
| 1116 | + |
| 1117 | + .contact-link__body { |
| 1118 | + @apply flex min-w-0 flex-1 flex-col gap-0.5; |
| 1119 | + } |
| 1120 | + |
| 1121 | + .contact-link__title { |
| 1122 | + @apply text-sm font-semibold text-slate-900 transition-colors group-hover:text-brand; |
| 1123 | + } |
| 1124 | + |
| 1125 | + .contact-link__desc { |
| 1126 | + @apply text-xs leading-snug text-slate-500; |
| 1127 | + } |
| 1128 | + |
| 1129 | + .contact-link__arrow { |
| 1130 | + @apply shrink-0 text-sm font-semibold text-slate-300 transition-all duration-200 group-hover:translate-x-0.5 group-hover:text-brand; |
| 1131 | + } |
| 1132 | + |
955 | 1133 | .home-hero-search { |
956 | 1134 | @apply relative z-10 w-full max-w-md mx-auto; |
957 | 1135 | } |
|
0 commit comments