| ... |
... |
@@ -1,19 +1,15 @@ |
| 1 |
|
-/* ========== Agnease Landing (LESS, scoped to .agnease-landing) ========== */ |
|
1 |
+/* ========== Agnease Landing (no Bootstrap grid) ========== */ |
| 2 |
2 |
@brand: #00937D; |
| 3 |
3 |
@brand-strong: #007B6A; |
| 4 |
4 |
@text: #2D3A34; |
| 5 |
5 |
@muted: #5B6B64; |
| 6 |
|
-@bg: #FFFFFF; |
| 7 |
|
-@panel: #F7F9F8; |
| 8 |
8 |
@line: #E4ECE9; |
| 9 |
9 |
@radius: 16px; |
| 10 |
|
-@radius-sm: 12px; |
| 11 |
11 |
@shadow-sm: 0 6px 20px rgba(0,0,0,.06); |
| 12 |
12 |
@shadow: 0 12px 36px rgba(0,0,0,.08); |
| 13 |
13 |
@maxw: 1140px; |
| 14 |
14 |
|
| 15 |
15 |
.agnease-landing { |
| 16 |
|
- /* Base */ |
| 17 |
17 |
color: @text; |
| 18 |
18 |
font: 16px/1.6 Inter, Segoe UI, Roboto, system-ui, -apple-system, Arial, sans-serif; |
| 19 |
19 |
|
| ... |
... |
@@ -28,35 +28,35 @@ |
| 28 |
28 |
|
| 29 |
29 |
img { |
| 30 |
30 |
max-width: 100%; |
|
27 |
+ height: auto; |
| 31 |
31 |
display: block; |
| 32 |
32 |
} |
| 33 |
33 |
|
|
31 |
+ .container { |
|
32 |
+ max-width: @maxw; |
|
33 |
+ margin: 0 auto; |
|
34 |
+ padding: 0 16px; |
|
35 |
+ } |
|
36 |
+ |
| 34 |
34 |
.lead { |
| 35 |
35 |
color: @muted; |
| 36 |
36 |
max-width: 72ch; |
| 37 |
37 |
} |
| 38 |
38 |
|
| 39 |
|
- /* Use Bootstrap’s container padding to avoid overflow */ |
| 40 |
|
- .container { |
| 41 |
|
- max-width: @maxw; |
| 42 |
|
- margin: 5px auto 0; |
| 43 |
|
- padding: 0 15px; |
| 44 |
|
- } |
| 45 |
|
- |
| 46 |
|
- /* Global sections */ |
| 47 |
47 |
section { |
| 48 |
48 |
padding: 32px 0; |
| 49 |
49 |
border-top: 1px solid @line; |
|
45 |
+ |
|
46 |
+ &:first-of-type { |
|
47 |
+ border-top: none; |
|
48 |
+ } |
| 50 |
50 |
} |
| 51 |
|
- section:first-of-type { |
| 52 |
|
- border-top: none; |
| 53 |
|
- } |
| 54 |
54 |
|
| 55 |
55 |
/* Buttons */ |
| 56 |
56 |
.btn { |
| 57 |
57 |
display: inline-flex; |
| 58 |
58 |
align-items: center; |
| 59 |
|
- gap: .55rem; |
|
55 |
+ justify-content: center; |
| 60 |
60 |
padding: .85rem 1.1rem; |
| 61 |
61 |
border-radius: 12px; |
| 62 |
62 |
border: 2px solid transparent; |
| ... |
... |
@@ -79,21 +79,11 @@ |
| 79 |
79 |
color: #fff; |
| 80 |
80 |
} |
| 81 |
81 |
} |
| 82 |
|
- |
| 83 |
|
- &-ghost { |
| 84 |
|
- background: #fff; |
| 85 |
|
- color: @brand; |
| 86 |
|
- border-color: @brand; |
| 87 |
|
- &:hover { |
| 88 |
|
- color: @brand-strong; |
| 89 |
|
- border-color: @brand-strong; |
| 90 |
|
- } |
| 91 |
|
- } |
| 92 |
92 |
} |
| 93 |
93 |
|
| 94 |
|
- /* HERO (centered) */ |
|
80 |
+ /* ===== HERO ===== */ |
| 95 |
95 |
.hero { |
| 96 |
|
- overflow: hidden; /* contain gradients */ |
|
82 |
+ overflow: hidden; |
| 97 |
97 |
background-repeat: no-repeat; |
| 98 |
98 |
background-attachment: scroll; |
| 99 |
99 |
|
| ... |
... |
@@ -106,179 +106,160 @@ |
| 106 |
106 |
align-items: center; |
| 107 |
107 |
justify-content: center; |
| 108 |
108 |
min-height: 350px; |
|
95 |
+ } |
| 109 |
109 |
|
| 110 |
|
- .hero-inner { |
| 111 |
|
- margin: auto; |
| 112 |
|
- display: flex; |
| 113 |
|
- flex-direction: column; |
| 114 |
|
- align-items: center; |
| 115 |
|
- gap: 1rem; |
| 116 |
|
- } |
|
97 |
+ .hero-inner { |
|
98 |
+ max-width: 760px; |
|
99 |
+ margin: 0 auto; |
|
100 |
+ display: flex; |
|
101 |
+ flex-direction: column; |
|
102 |
+ align-items: center; |
|
103 |
+ gap: 1rem; |
|
104 |
+ } |
| 117 |
117 |
|
| 118 |
|
- .lead { |
| 119 |
|
- color: @muted; |
| 120 |
|
- margin: 0 auto 0.9rem; |
| 121 |
|
- } |
|
106 |
+ .hero-cta { |
|
107 |
+ display: flex; |
|
108 |
+ gap: 0.8rem; |
|
109 |
+ flex-wrap: wrap; |
|
110 |
+ justify-content: center; |
|
111 |
+ margin-top: 0.3rem; |
|
112 |
+ } |
| 122 |
122 |
|
| 123 |
|
- .hero-cta { |
| 124 |
|
- display: flex; |
| 125 |
|
- gap: 0.8rem; |
| 126 |
|
- flex-wrap: wrap; |
| 127 |
|
- justify-content: center; |
| 128 |
|
- margin-top: 0.3rem; |
|
114 |
+ .benefits { |
|
115 |
+ display: flex; |
|
116 |
+ flex-wrap: wrap; |
|
117 |
+ justify-content: center; |
|
118 |
+ list-style: none; |
|
119 |
+ padding: 0; |
|
120 |
+ margin: 0.8rem 0 0; |
|
121 |
+ color: @muted; |
|
122 |
+ font-size: 14px; |
|
123 |
+ |
|
124 |
+ li + li::before { |
|
125 |
+ content: "•"; |
|
126 |
+ margin: 0 5px 0 0; |
| 129 |
129 |
} |
| 130 |
130 |
|
| 131 |
|
- .benefits { |
| 132 |
|
- display: flex; |
| 133 |
|
- flex-wrap: wrap; |
| 134 |
|
- justify-content: center; |
| 135 |
|
- list-style: none; |
| 136 |
|
- padding: 0; |
| 137 |
|
- margin: 0.8rem 0 0; |
| 138 |
|
- color: @muted; |
| 139 |
|
- font-size: 14px; |
| 140 |
|
- gap: 5px; |
| 141 |
|
- |
|
129 |
+ @media (max-width: 640px) { |
| 142 |
142 |
li + li::before { |
|
131 |
+ content: none; |
|
132 |
+ } |
|
133 |
+ li:nth-child(1)::after, |
|
134 |
+ li:nth-child(3)::after { |
| 143 |
143 |
content: "•"; |
| 144 |
|
- margin-right: 5px; |
|
136 |
+ margin-left: 5px; |
| 145 |
145 |
} |
| 146 |
|
- |
| 147 |
|
- /* Mobile: show bullets only between 1–2 and 3–4 */ |
| 148 |
|
- @media (max-width: 640px) { |
| 149 |
|
- li + li::before { |
| 150 |
|
- content: none; |
| 151 |
|
- } |
| 152 |
|
- li:nth-child(1)::after, |
| 153 |
|
- li:nth-child(3)::after { |
| 154 |
|
- content: "•"; |
| 155 |
|
- margin-left: 5px; |
| 156 |
|
- } |
| 157 |
|
- } |
| 158 |
158 |
} |
| 159 |
159 |
} |
| 160 |
160 |
} |
| 161 |
161 |
|
| 162 |
|
- /* === WHY CHOOSE (widgets using flex) === */ |
|
142 |
+ /* ===== WHY CHOOSE (cards) ===== */ |
| 163 |
163 |
.widgets { |
| 164 |
164 |
margin-top: 12px; |
| 165 |
165 |
display: grid; |
| 166 |
|
- grid-template-columns: 1fr; |
| 167 |
|
- grid-gap: 16px; // spacing between cards |
|
146 |
+ grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); |
|
147 |
+ grid-gap: 16px; |
|
148 |
+ } |
| 168 |
168 |
|
| 169 |
|
- @media (min-width: 768px) { |
| 170 |
|
- grid-template-columns: repeat(2, 1fr); |
| 171 |
|
- } |
|
150 |
+ .widget { |
|
151 |
+ padding: 18px; |
|
152 |
+ background: #fff; |
|
153 |
+ border: 1px solid @line; |
|
154 |
+ border-radius: @radius; |
|
155 |
+ box-shadow: @shadow-sm; |
|
156 |
+ transition: transform .18s ease, box-shadow .18s ease; |
|
157 |
+ display: flex; |
|
158 |
+ flex-direction: column; |
|
159 |
+ height: 100%; |
| 172 |
172 |
|
| 173 |
|
- @media (min-width: 992px) { |
| 174 |
|
- grid-template-columns: repeat(4, 1fr); |
|
161 |
+ &:hover { |
|
162 |
+ transform: translateY(-2px); |
|
163 |
+ box-shadow: @shadow; |
| 175 |
175 |
} |
| 176 |
176 |
|
| 177 |
|
- .widget { |
| 178 |
|
- box-sizing: border-box; |
| 179 |
|
- padding: 18px; |
| 180 |
|
- background: #fff; |
| 181 |
|
- border: 1px solid @line; |
| 182 |
|
- border-radius: @radius; |
| 183 |
|
- box-shadow: @shadow-sm; |
| 184 |
|
- transition: transform .18s ease, box-shadow .18s ease; |
|
166 |
+ .icon { |
| 185 |
185 |
display: flex; |
| 186 |
|
- flex-direction: column; |
| 187 |
|
- height: 100%; |
|
168 |
+ align-items: center; |
|
169 |
+ gap: 10px; |
|
170 |
+ padding-bottom: 6px; |
|
171 |
+ margin-bottom: 8px; |
|
172 |
+ border-bottom: 1px solid fade(@line, 60%); |
|
173 |
+ i { color: @brand; } |
|
174 |
+ h4 { margin: 0; line-height: 1.2; color: @text; } |
|
175 |
+ } |
| 188 |
188 |
|
| 189 |
|
- &:hover { |
| 190 |
|
- transform: translateY(-2px); |
| 191 |
|
- box-shadow: @shadow; |
| 192 |
|
- } |
| 193 |
|
- |
| 194 |
|
- .icon { |
| 195 |
|
- display: flex; |
| 196 |
|
- align-items: center; |
| 197 |
|
- gap: 10px; |
| 198 |
|
- padding-bottom: 6px; |
| 199 |
|
- margin-bottom: 8px; |
| 200 |
|
- border-bottom: 1px solid fade(@line, 60%); |
| 201 |
|
- i { color: @brand; } |
| 202 |
|
- h4 { margin: 0; line-height: 1.2; color: @text; } |
| 203 |
|
- } |
| 204 |
|
- |
| 205 |
|
- p { |
| 206 |
|
- margin: 0; |
| 207 |
|
- color: @muted; |
| 208 |
|
- line-height: 1.45; |
| 209 |
|
- } |
|
177 |
+ p { |
|
178 |
+ margin: 0; |
|
179 |
+ color: @muted; |
|
180 |
+ line-height: 1.45; |
| 210 |
210 |
} |
| 211 |
211 |
} |
| 212 |
212 |
|
| 213 |
|
- /* SERVICES */ |
| 214 |
|
- .services { |
| 215 |
|
- .services-grid { |
| 216 |
|
- margin-top: 12px; |
|
184 |
+ /* ===== SERVICES ===== */ |
|
185 |
+ .services-grid { |
|
186 |
+ margin-top: 12px; |
|
187 |
+ display: grid; |
|
188 |
+ grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); |
|
189 |
+ grid-gap: 24px; |
|
190 |
+ } |
| 217 |
217 |
|
| 218 |
|
- .service { |
| 219 |
|
- margin-bottom: 24px; |
| 220 |
|
- display: flex; |
| 221 |
|
- align-items: flex-start; |
| 222 |
|
- gap: 16px; |
|
192 |
+ .service { |
|
193 |
+ display: flex; |
|
194 |
+ align-items: flex-start; |
|
195 |
+ gap: 16px; |
| 223 |
223 |
|
| 224 |
|
- .service-icon { |
| 225 |
|
- width: 42px; |
| 226 |
|
- height: 42px; |
| 227 |
|
- border-radius: 50%; |
| 228 |
|
- display: flex; |
| 229 |
|
- align-items: center; |
| 230 |
|
- justify-content: center; |
| 231 |
|
- font-size: 18px; |
| 232 |
|
- color: @brand; |
| 233 |
|
- background: fade(@brand, 10%); |
| 234 |
|
- margin-top: 3px; |
| 235 |
|
- flex-shrink: 0; |
| 236 |
|
- } |
|
197 |
+ .service-icon { |
|
198 |
+ width: 42px; |
|
199 |
+ height: 42px; |
|
200 |
+ border-radius: 50%; |
|
201 |
+ display: flex; |
|
202 |
+ align-items: center; |
|
203 |
+ justify-content: center; |
|
204 |
+ font-size: 18px; |
|
205 |
+ color: @brand; |
|
206 |
+ background: fade(@brand, 10%); |
|
207 |
+ margin-top: 3px; |
|
208 |
+ flex-shrink: 0; |
|
209 |
+ } |
| 237 |
237 |
|
| 238 |
|
- .service-body { |
| 239 |
|
- h4 { |
| 240 |
|
- margin: 0 0 4px; |
| 241 |
|
- font-size: 1.125rem; |
| 242 |
|
- font-weight: 800; |
| 243 |
|
- } |
|
211 |
+ .service-body { |
|
212 |
+ h4 { |
|
213 |
+ margin: 0 0 4px; |
|
214 |
+ font-size: 1.125rem; |
|
215 |
+ font-weight: 800; |
|
216 |
+ } |
| 244 |
244 |
|
| 245 |
|
- p { |
| 246 |
|
- margin: 0 0 6px; |
| 247 |
|
- color: @text; |
| 248 |
|
- line-height: 1.5; |
| 249 |
|
- } |
|
218 |
+ p { |
|
219 |
+ margin: 0 0 6px; |
|
220 |
+ color: @text; |
|
221 |
+ line-height: 1.5; |
|
222 |
+ } |
| 250 |
250 |
|
| 251 |
|
- ul { |
| 252 |
|
- margin: .45rem 0 0; |
| 253 |
|
- padding-left: 1.1rem; |
| 254 |
|
- color: @muted; |
| 255 |
|
- font-size: 13px; |
| 256 |
|
- } |
|
224 |
+ ul { |
|
225 |
+ margin: .45rem 0 0; |
|
226 |
+ padding-left: 1.1rem; |
|
227 |
+ color: @muted; |
|
228 |
+ font-size: 13px; |
|
229 |
+ } |
| 257 |
257 |
|
| 258 |
|
- li { |
| 259 |
|
- margin: .25rem 0; |
| 260 |
|
- line-height: 1.45; |
| 261 |
|
- } |
| 262 |
|
- } |
|
231 |
+ li { |
|
232 |
+ margin: .25rem 0; |
|
233 |
+ line-height: 1.45; |
| 263 |
263 |
} |
| 264 |
264 |
} |
|
236 |
+ } |
| 265 |
265 |
|
| 266 |
|
- @media (max-width: 767px) { |
| 267 |
|
- .services-grid { |
| 268 |
|
- .service { |
| 269 |
|
- margin-bottom: 20px; |
| 270 |
|
- } |
| 271 |
|
- |
| 272 |
|
- .service-icon { |
| 273 |
|
- width: 36px; |
| 274 |
|
- height: 36px; |
| 275 |
|
- font-size: 16px; |
| 276 |
|
- } |
|
238 |
+ @media (max-width: 767px) { |
|
239 |
+ .service { |
|
240 |
+ .service-icon { |
|
241 |
+ width: 36px; |
|
242 |
+ height: 36px; |
|
243 |
+ font-size: 16px; |
| 277 |
277 |
} |
| 278 |
278 |
} |
| 279 |
279 |
} |
| 280 |
280 |
|
| 281 |
|
- /* CTA inline section at the end */ |
|
248 |
+ /* ===== CTA ===== */ |
| 282 |
282 |
.cta-section { |
| 283 |
283 |
padding: 24px 0 16px; |
| 284 |
284 |
|