| ... |
... |
@@ -1,4 +1,4 @@ |
| 1 |
|
-/* ========== Agnease Landing (no Bootstrap grid) ========== */ |
|
1 |
+/* ========== Agnease Landing (scoped to .agnease-landing) ========== */ |
| 2 |
2 |
@brand: #00937D; |
| 3 |
3 |
@brand-strong: #007B6A; |
| 4 |
4 |
@text: #2D3A34; |
| ... |
... |
@@ -10,7 +10,9 @@ |
| 10 |
10 |
@maxw: 1140px; |
| 11 |
11 |
|
| 12 |
12 |
.agnease-landing { |
|
13 |
+ /* Base typography */ |
| 13 |
13 |
color: @text; |
|
15 |
+ font: 16px/1.6 Inter, Segoe UI, Roboto, system-ui, -apple-system, Arial, sans-serif; |
| 14 |
14 |
|
| 15 |
15 |
a { |
| 16 |
16 |
color: @brand; |
| ... |
... |
@@ -27,28 +27,24 @@ |
| 27 |
27 |
display: block; |
| 28 |
28 |
} |
| 29 |
29 |
|
| 30 |
|
- .container { |
| 31 |
|
- max-width: @maxw; |
| 32 |
|
- margin: 0 auto; |
| 33 |
|
- padding: 0 16px; |
| 34 |
|
- } |
| 35 |
|
- |
| 36 |
36 |
.lead { |
| 37 |
37 |
color: @muted; |
| 38 |
|
- text-align: center; |
|
34 |
+ max-width: 72ch; |
| 39 |
39 |
} |
| 40 |
|
- .h2 { |
| 41 |
|
- text-align: center; |
|
36 |
+ |
|
37 |
+ /* Keep Bootstrap container behavior, just cap width */ |
|
38 |
+ .container { |
|
39 |
+ max-width: @maxw; |
| 42 |
42 |
} |
| 43 |
43 |
|
|
42 |
+ /* Global sections */ |
| 44 |
44 |
section { |
| 45 |
45 |
padding: 32px 0; |
| 46 |
46 |
border-top: 1px solid @line; |
| 47 |
|
- |
| 48 |
|
- &:first-of-type { |
| 49 |
|
- border-top: none; |
| 50 |
|
- } |
| 51 |
51 |
} |
|
47 |
+ section:first-of-type { |
|
48 |
+ border-top: none; |
|
49 |
+ } |
| 52 |
52 |
|
| 53 |
53 |
/* Buttons */ |
| 54 |
54 |
.btn { |
| ... |
... |
@@ -79,9 +79,9 @@ |
| 79 |
79 |
} |
| 80 |
80 |
} |
| 81 |
81 |
|
| 82 |
|
- /* ===== HERO ===== */ |
|
80 |
+ /* ========== HERO ========== */ |
| 83 |
83 |
.hero { |
| 84 |
|
- overflow: hidden; |
|
82 |
+ overflow: hidden; /* contain gradients, prevent overflow */ |
| 85 |
85 |
background-repeat: no-repeat; |
| 86 |
86 |
background-attachment: scroll; |
| 87 |
87 |
|
| ... |
... |
@@ -97,8 +97,7 @@ |
| 97 |
97 |
} |
| 98 |
98 |
|
| 99 |
99 |
.hero-inner { |
| 100 |
|
- max-width: 850px; |
| 101 |
|
- margin: 0 auto; |
|
98 |
+ margin: auto; |
| 102 |
102 |
display: flex; |
| 103 |
103 |
flex-direction: column; |
| 104 |
104 |
align-items: center; |
| ... |
... |
@@ -125,9 +125,10 @@ |
| 125 |
125 |
|
| 126 |
126 |
li + li::before { |
| 127 |
127 |
content: "•"; |
| 128 |
|
- margin: 0 5px; |
|
125 |
+ margin: 0 5px 0 0; |
| 129 |
129 |
} |
| 130 |
130 |
|
|
128 |
+ /* Mobile: only bullets between items 1–2 and 3–4 */ |
| 131 |
131 |
@media (max-width: 640px) { |
| 132 |
132 |
li + li::before { |
| 133 |
133 |
content: none; |
| ... |
... |
@@ -135,21 +135,20 @@ |
| 135 |
135 |
li:nth-child(1)::after, |
| 136 |
136 |
li:nth-child(3)::after { |
| 137 |
137 |
content: "•"; |
| 138 |
|
- margin: 0 5px; |
|
136 |
+ margin-left: 5px; |
| 139 |
139 |
} |
| 140 |
140 |
} |
| 141 |
141 |
} |
| 142 |
142 |
} |
| 143 |
143 |
|
| 144 |
|
- /* ===== WHY CHOOSE (cards) ===== */ |
|
142 |
+ /* ========== WHY CHOOSE (widgets) ========== */ |
| 145 |
145 |
.widgets { |
| 146 |
146 |
margin-top: 12px; |
| 147 |
|
- display: grid; |
| 148 |
|
- grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); |
| 149 |
|
- grid-gap: 16px; |
| 150 |
150 |
} |
| 151 |
151 |
|
| 152 |
152 |
.widget { |
|
148 |
+ /* This div is also a Bootstrap col-*, so we don't touch width */ |
|
149 |
+ margin-bottom: 16px; |
| 153 |
153 |
padding: 18px; |
| 154 |
154 |
background: #fff; |
| 155 |
155 |
border: 1px solid @line; |
| ... |
... |
@@ -183,22 +183,17 @@ |
| 183 |
183 |
} |
| 184 |
184 |
} |
| 185 |
185 |
|
| 186 |
|
- /* ===== SERVICES ===== */ |
|
183 |
+ /* ========== SERVICES ========== */ |
| 187 |
187 |
.services { |
| 188 |
188 |
.services-grid { |
| 189 |
|
- margin-top: 20px; |
| 190 |
|
- display: flex; |
| 191 |
|
- flex-wrap: wrap; |
| 192 |
|
- gap: 24px; |
|
186 |
+ margin-top: 12px; |
| 193 |
193 |
} |
| 194 |
194 |
|
| 195 |
195 |
.service { |
| 196 |
|
- /* 2 items per row: 50% minus half the gap so row fits in 100% */ |
| 197 |
|
- flex: 0 1 calc(50% - 12px); |
| 198 |
|
- display: flex; |
|
190 |
+ margin-bottom: 24px; |
|
191 |
+ display: flex; /* horizontal: icon + body */ |
| 199 |
199 |
align-items: flex-start; |
| 200 |
200 |
gap: 16px; |
| 201 |
|
- margin-bottom: 8px; |
| 202 |
202 |
|
| 203 |
203 |
.service-icon { |
| 204 |
204 |
width: 42px; |
| ... |
... |
@@ -210,8 +210,8 @@ |
| 210 |
210 |
font-size: 18px; |
| 211 |
211 |
color: @brand; |
| 212 |
212 |
background: fade(@brand, 10%); |
| 213 |
|
- flex-shrink: 0; |
| 214 |
214 |
margin-top: 3px; |
|
206 |
+ flex-shrink: 0; |
| 215 |
215 |
} |
| 216 |
216 |
|
| 217 |
217 |
.service-body { |
| ... |
... |
@@ -241,29 +241,20 @@ |
| 241 |
241 |
} |
| 242 |
242 |
} |
| 243 |
243 |
|
| 244 |
|
- /* Center the last item when odd: |
| 245 |
|
- auto margins in a flex row push it to the middle */ |
| 246 |
|
- .service-center { |
| 247 |
|
- margin-left: auto; |
| 248 |
|
- margin-right: auto; |
| 249 |
|
- } |
| 250 |
|
- |
| 251 |
|
- /* Mobile: 1 per row */ |
| 252 |
252 |
@media (max-width: 767px) { |
| 253 |
|
- .services-grid { |
| 254 |
|
- gap: 16px; |
| 255 |
|
- } |
| 256 |
256 |
.service { |
| 257 |
|
- flex: 0 1 100%; |
|
238 |
+ margin-bottom: 20px; |
| 258 |
258 |
} |
| 259 |
|
- .service-center { |
| 260 |
|
- margin-left: 0; |
| 261 |
|
- margin-right: 0; |
|
240 |
+ |
|
241 |
+ .service-icon { |
|
242 |
+ width: 36px; |
|
243 |
+ height: 36px; |
|
244 |
+ font-size: 16px; |
| 262 |
262 |
} |
| 263 |
263 |
} |
| 264 |
264 |
} |
| 265 |
265 |
|
| 266 |
|
- /* ===== CTA ===== */ |
|
249 |
+ /* ========== CTA inline ========== */ |
| 267 |
267 |
.cta-section { |
| 268 |
268 |
padding: 24px 0 16px; |
| 269 |
269 |
|