| ... |
... |
@@ -179,83 +179,47 @@ |
| 179 |
179 |
} |
| 180 |
180 |
|
| 181 |
181 |
/* SERVICES */ |
| 182 |
|
- /* --- Grid Layout --- */ |
|
182 |
+ /* Section header */ |
|
183 |
+ /*.services { padding: 2.5rem 0; } |
|
184 |
+ .services h2 { margin:0 0 .3rem; font-size:1.75rem; font-weight:800; } |
|
185 |
+ .services-sub { margin:0 0 1.25rem; color:#5b6a72; } |
|
186 |
+*/ |
|
187 |
+ /* Two-column grid */ |
| 183 |
183 |
.services-grid { |
| 184 |
|
- display: grid; |
|
189 |
+ display:grid; |
| 185 |
185 |
grid-template-columns: repeat(2, 1fr); |
| 186 |
|
- gap: 32px 36px; |
|
191 |
+ gap: 24px 32px; |
| 187 |
187 |
} |
| 188 |
188 |
|
| 189 |
|
- /* Center the first service (Migrations) */ |
| 190 |
|
- .service--center { |
| 191 |
|
- grid-column: 1 / -1; |
| 192 |
|
- max-width: 640px; |
| 193 |
|
- justify-self: center; |
| 194 |
|
- } |
| 195 |
|
- |
| 196 |
|
- /* --- Service Card --- */ |
|
194 |
+ /* Service item = media block with icon badge */ |
| 197 |
197 |
.service { |
| 198 |
|
- display: grid; |
| 199 |
|
- grid-template-columns: 48px 1fr; |
| 200 |
|
- gap: 16px; |
|
196 |
+ display:grid; |
|
197 |
+ grid-template-columns: 44px 1fr; |
|
198 |
+ gap: 14px; |
| 201 |
201 |
padding: 18px 0; |
| 202 |
202 |
border-top: 1px solid rgba(0,0,0,0.08); |
| 203 |
203 |
} |
| 204 |
|
- .service:nth-child(2), |
| 205 |
|
- .service:nth-child(3) { |
| 206 |
|
- border-top: none; /* remove top border for first row after Migrations */ |
| 207 |
|
- } |
|
202 |
+ .service:nth-child(-n+2) { border-top: none; } /* remove top line for first row */ |
| 208 |
208 |
|
| 209 |
209 |
.service > i { |
| 210 |
|
- width: 42px; |
| 211 |
|
- height: 42px; |
| 212 |
|
- border-radius: 50%; |
| 213 |
|
- display: flex; |
| 214 |
|
- align-items: center; |
| 215 |
|
- justify-content: center; |
| 216 |
|
- font-size: 18px; |
| 217 |
|
- color: #008e78; |
| 218 |
|
- background: rgba(0,142,120,0.08); |
| 219 |
|
- margin-top: 3px; |
|
205 |
+ width:40px; height:40px; border-radius:50%; |
|
206 |
+ display:flex; align-items:center; justify-content:center; |
|
207 |
+ font-size:18px; color:#008e78; background:rgba(0,142,120,.09); |
|
208 |
+ margin-top:2px; |
| 220 |
220 |
} |
| 221 |
221 |
|
| 222 |
|
- /*.service .body h3 { |
| 223 |
|
- margin: 0 0 4px; |
| 224 |
|
- font-size: 1.125rem; |
| 225 |
|
- font-weight: 800; |
| 226 |
|
- } |
| 227 |
|
- .service .body p { |
| 228 |
|
- margin: 0 0 6px; |
| 229 |
|
- color: #25333b; |
| 230 |
|
- line-height: 1.5; |
| 231 |
|
- } */ |
| 232 |
|
- .service .body ul { |
| 233 |
|
- margin: .4rem 0 0; |
| 234 |
|
- padding-left: 1.1rem; |
| 235 |
|
- color: #2d3b43; |
| 236 |
|
- } |
| 237 |
|
- .service .body li { |
| 238 |
|
- margin: .25rem 0; |
| 239 |
|
- line-height: 1.45; |
| 240 |
|
- } |
| 241 |
|
- |
| 242 |
|
- /* --- Responsive --- */ |
|
211 |
+ /* .service .body h3 { margin:0 0 4px; font-size:1.125rem; font-weight:800; } |
|
212 |
+ .service .body p { margin:0 0 6px; color:#25333b; line-height:1.5; } |
|
213 |
+ .service .body ul { margin:.35rem 0 0; padding-left:1.15rem; } |
|
214 |
+ .service .body li { margin:.2rem 0; color:#2d3b43; } |
|
215 |
+*/ |
|
216 |
+ /* Mobile: single column */ |
| 243 |
243 |
@media (max-width: 760px) { |
| 244 |
|
- .services-grid { |
| 245 |
|
- grid-template-columns: 1fr; |
| 246 |
|
- gap: 20px; |
| 247 |
|
- } |
| 248 |
|
- .service { |
| 249 |
|
- grid-template-columns: 40px 1fr; |
| 250 |
|
- } |
| 251 |
|
- .service > i { |
| 252 |
|
- width: 36px; |
| 253 |
|
- height: 36px; |
| 254 |
|
- font-size: 16px; |
| 255 |
|
- } |
| 256 |
|
- .service--center { |
| 257 |
|
- max-width: 100%; |
| 258 |
|
- } |
|
218 |
+ .services-grid { grid-template-columns: 1fr; gap: 10px 0; } |
|
219 |
+ .service { grid-template-columns: 38px 1fr; } |
|
220 |
+ .service > i { width:36px; height:36px; font-size:16px; } |
|
221 |
+ .service:nth-child(-n+2) { border-top: 1px solid rgba(0,0,0,0.08); } |
|
222 |
+ .service:first-child { border-top:none; } |
| 259 |
259 |
} |
| 260 |
260 |
|
| 261 |
261 |
/* METRICS */ |