| ... |
... |
@@ -102,66 +102,20 @@ |
| 102 |
102 |
} |
| 103 |
103 |
} |
| 104 |
104 |
|
| 105 |
|
- /* === WHY CHOOSE (widgets with inline icon + title) === */ |
|
105 |
+ /* WHY CHOOSE (widgets) */ |
| 106 |
106 |
.widgets { |
| 107 |
|
- display: grid; |
| 108 |
|
- gap: 16px; |
| 109 |
|
- grid-template-columns: 1fr; |
| 110 |
|
- |
| 111 |
|
- @media (min-width: 860px) { |
| 112 |
|
- grid-template-columns: repeat(4, 1fr); |
| 113 |
|
- } |
|
107 |
+ display: grid; gap: 16px; grid-template-columns: 1fr; |
|
108 |
+ @media (min-width: 860px) { grid-template-columns: repeat(4, 1fr); } |
| 114 |
114 |
} |
| 115 |
|
- |
| 116 |
116 |
.widget { |
| 117 |
|
- background: #fff; |
| 118 |
|
- border: 1px solid @line; |
| 119 |
|
- border-radius: @radius; |
| 120 |
|
- padding: 18px; |
| 121 |
|
- box-shadow: @shadow-sm; |
| 122 |
|
- display: flex; |
| 123 |
|
- flex-direction: column; |
| 124 |
|
- justify-content: flex-start; |
| 125 |
|
- gap: 8px; |
| 126 |
|
- text-align: left; |
| 127 |
|
- transition: transform 0.18s ease, box-shadow 0.18s ease; |
|
111 |
+ background: #fff; border: 1px solid @line; border-radius: @radius; |
|
112 |
+ padding: 18px; box-shadow: @shadow-sm; display: grid; gap: 8px; align-content: start; |
| 128 |
128 |
|
| 129 |
|
- &:hover { |
| 130 |
|
- transform: translateY(-2px); |
| 131 |
|
- box-shadow: @shadow; |
| 132 |
|
- } |
| 133 |
|
- |
| 134 |
|
- /* The icon + title row */ |
| 135 |
135 |
.icon { |
| 136 |
|
- display: flex; |
| 137 |
|
- align-items: center; |
| 138 |
|
- gap: 10px; |
| 139 |
|
- padding: 6px 0; |
| 140 |
|
- border-bottom: 1px solid fade(@line, 60%); |
| 141 |
|
- margin-bottom: 6px; |
| 142 |
|
- |
| 143 |
|
- svg { |
| 144 |
|
- width: 24px; |
| 145 |
|
- height: 24px; |
| 146 |
|
- flex-shrink: 0; |
| 147 |
|
- stroke: @text; |
| 148 |
|
- } |
| 149 |
|
- |
| 150 |
|
- h3 { |
| 151 |
|
- font-size: 1.05rem; |
| 152 |
|
- font-weight: 700; |
| 153 |
|
- margin: 0; |
| 154 |
|
- color: @text; |
| 155 |
|
- line-height: 1.2; |
| 156 |
|
- } |
|
115 |
+ width: 38px; height: 38px; border-radius: 10px; |
|
116 |
+ background: @panel; border: 1px solid @line; display: grid; place-items: center; |
| 157 |
157 |
} |
| 158 |
|
- |
| 159 |
|
- /* Body paragraph */ |
| 160 |
|
- p { |
| 161 |
|
- color: @muted; |
| 162 |
|
- margin: 0; |
| 163 |
|
- line-height: 1.45; |
| 164 |
|
- } |
|
118 |
+ p { color: @muted; margin: 0; } |
| 165 |
165 |
} |
| 166 |
166 |
|
| 167 |
167 |
/* SERVICES */ |
| ... |
... |
@@ -218,29 +218,4 @@ |
| 218 |
218 |
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; |
| 219 |
219 |
} |
| 220 |
220 |
} |
| 221 |
|
- |
| 222 |
|
- /* ===== Prevent horizontal overflow ===== */ |
| 223 |
|
- html, body { |
| 224 |
|
- overflow-x: hidden; |
| 225 |
|
- } |
| 226 |
|
- |
| 227 |
|
- /* Ensure hero gradients don't bleed */ |
| 228 |
|
- .hero { |
| 229 |
|
- overflow: hidden; /* contain background overflow */ |
| 230 |
|
- background-repeat: no-repeat; |
| 231 |
|
- background-attachment: scroll; |
| 232 |
|
- } |
| 233 |
|
- |
| 234 |
|
- /* Fix possible grid or card overshoot */ |
| 235 |
|
- .container { |
| 236 |
|
- max-width: 100%; |
| 237 |
|
- overflow-x: clip; /* hides subtle pixel overflow without scroll */ |
| 238 |
|
- } |
| 239 |
|
- |
| 240 |
|
- /* Safety for large paddings/margins that might extend */ |
| 241 |
|
- section, .widgets, .services, .metrics, .steps { |
| 242 |
|
- margin-left: auto; |
| 243 |
|
- margin-right: auto; |
| 244 |
|
- } |
| 245 |
245 |
} |
| 246 |
|
- |