| ... |
... |
@@ -22,10 +22,10 @@ |
| 22 |
22 |
h2 { font-size: clamp(1.4rem, 1.4vw + .8rem, 2rem); line-height: 1.2; margin: .2rem 0 .4rem; } |
| 23 |
23 |
h3 { font-size: 1.12rem; margin: .2rem 0 .25rem; } |
| 24 |
24 |
.lead { color: @muted; max-width: 72ch; } |
| 25 |
|
- .container { max-width: @maxw; margin: 0 auto; padding: 0 20px; } |
|
25 |
+ .container { max-width: @maxw; margin-top: 5px; padding: 0;} |
| 26 |
26 |
|
| 27 |
27 |
/* Global sections */ |
| 28 |
|
- section { padding: 64px 0; border-top: 1px solid @line; } |
|
28 |
+ section { padding: 32px 0; border-top: 1px solid @line; } |
| 29 |
29 |
section:first-of-type { border-top: none; } |
| 30 |
30 |
|
| 31 |
31 |
/* Buttons */ |
| ... |
... |
@@ -56,11 +56,11 @@ |
| 56 |
56 |
display: flex; |
| 57 |
57 |
align-items: center; |
| 58 |
58 |
justify-content: center; |
| 59 |
|
- min-height: 48vh; /* reduced height */ |
| 60 |
|
- padding: 48px 0; /* controlled vertical spacing */ |
|
59 |
+ min-height: 350px; /* reduced height */ |
|
60 |
+ /*padding: 48px 0; /* controlled vertical spacing */ |
| 61 |
61 |
|
| 62 |
62 |
.hero-inner { |
| 63 |
|
- max-width: 760px; |
|
63 |
+ /*max-width: 760px;*/ |
| 64 |
64 |
margin: auto; |
| 65 |
65 |
display: flex; |
| 66 |
66 |
flex-direction: column; |
| ... |
... |
@@ -76,7 +76,7 @@ |
| 76 |
76 |
|
| 77 |
77 |
.lead { |
| 78 |
78 |
color: @muted; |
| 79 |
|
- max-width: 68ch; |
|
79 |
+ /*max-width: 68ch;*/ |
| 80 |
80 |
margin: 0 auto 0.9rem; |
| 81 |
81 |
} |
| 82 |
82 |
|
| ... |
... |
@@ -102,20 +102,66 @@ |
| 102 |
102 |
} |
| 103 |
103 |
} |
| 104 |
104 |
|
| 105 |
|
- /* WHY CHOOSE (widgets) */ |
|
105 |
+ /* === WHY CHOOSE (widgets with inline icon + title) === */ |
| 106 |
106 |
.widgets { |
| 107 |
|
- display: grid; gap: 16px; grid-template-columns: 1fr; |
| 108 |
|
- @media (min-width: 860px) { grid-template-columns: repeat(4, 1fr); } |
|
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 |
+ } |
| 109 |
109 |
} |
|
115 |
+ |
| 110 |
110 |
.widget { |
| 111 |
|
- background: #fff; border: 1px solid @line; border-radius: @radius; |
| 112 |
|
- padding: 18px; box-shadow: @shadow-sm; display: grid; gap: 8px; align-content: start; |
|
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; |
| 113 |
113 |
|
|
129 |
+ &:hover { |
|
130 |
+ transform: translateY(-2px); |
|
131 |
+ box-shadow: @shadow; |
|
132 |
+ } |
|
133 |
+ |
|
134 |
+ /* The icon + title row */ |
| 114 |
114 |
.icon { |
| 115 |
|
- width: 38px; height: 38px; border-radius: 10px; |
| 116 |
|
- background: @panel; border: 1px solid @line; display: grid; place-items: center; |
|
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 |
+ } |
| 117 |
117 |
} |
| 118 |
|
- p { color: @muted; margin: 0; } |
|
158 |
+ |
|
159 |
+ /* Body paragraph */ |
|
160 |
+ p { |
|
161 |
+ color: @muted; |
|
162 |
+ margin: 0; |
|
163 |
+ line-height: 1.45; |
|
164 |
+ } |
| 119 |
119 |
} |
| 120 |
120 |
|
| 121 |
121 |
/* SERVICES */ |
| ... |
... |
@@ -172,4 +172,29 @@ |
| 172 |
172 |
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; |
| 173 |
173 |
} |
| 174 |
174 |
} |
|
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 |
+ } |
| 175 |
175 |
} |
|
246 |
+ |