| ... |
... |
@@ -1,0 +1,279 @@ |
|
1 |
+/* ========== Agnease Landing (LESS, scoped to .agnease-landing) ========== */ |
|
2 |
+@brand: #00937D; |
|
3 |
+@brand-strong: #007B6A; |
|
4 |
+@text: #2D3A34; |
|
5 |
+@muted: #5B6B64; |
|
6 |
+@bg: #FFFFFF; |
|
7 |
+@panel: #F7F9F8; |
|
8 |
+@line: #E4ECE9; |
|
9 |
+@radius: 16px; |
|
10 |
+@radius-sm: 12px; |
|
11 |
+@shadow-sm: 0 6px 20px rgba(0,0,0,.06); |
|
12 |
+@shadow: 0 12px 36px rgba(0,0,0,.08); |
|
13 |
+@maxw: 1140px; |
|
14 |
+ |
|
15 |
+.agnease-landing { |
|
16 |
+ /* Base */ |
|
17 |
+ color: @text; |
|
18 |
+ font: 16px/1.6 Inter, Segoe UI, Roboto, system-ui, -apple-system, Arial, sans-serif; |
|
19 |
+ a { color: @brand; text-decoration: none; &:hover { color: @brand-strong; text-decoration: underline; } } |
|
20 |
+ img { max-width: 100%; display: block; } |
|
21 |
+ h1 { font-size: clamp(1.8rem, 2.5vw + .8rem, 3rem); line-height: 1.15; margin: .2rem 0 .6rem; } |
|
22 |
+ h2 { font-size: clamp(1.4rem, 1.4vw + .8rem, 2rem); line-height: 1.2; margin: .2rem 0 .4rem; } |
|
23 |
+ h3 { font-size: 1.12rem; margin: .2rem 0 .25rem; } |
|
24 |
+ .lead { color: @muted; max-width: 72ch; } |
|
25 |
+ .container { max-width: @maxw; margin-top: 5px; padding: 0;} |
|
26 |
+ |
|
27 |
+ /* Global sections */ |
|
28 |
+ section { padding: 32px 0; border-top: 1px solid @line; } |
|
29 |
+ section:first-of-type { border-top: none; } |
|
30 |
+ |
|
31 |
+ /* Buttons */ |
|
32 |
+ .btn { |
|
33 |
+ display: inline-flex; align-items: center; gap: .55rem; |
|
34 |
+ padding: .85rem 1.1rem; border-radius: 12px; border: 2px solid transparent; |
|
35 |
+ font-weight: 650; letter-spacing: .2px; cursor: pointer; box-shadow: @shadow-sm; |
|
36 |
+ |
|
37 |
+ &:focus-visible { outline: 3px solid @brand; outline-offset: 2px; } |
|
38 |
+ |
|
39 |
+ &-primary { |
|
40 |
+ background: @brand; color: #fff; |
|
41 |
+ &:hover, &:focus { background: @brand-strong; color: #fff; } |
|
42 |
+ } |
|
43 |
+ &-ghost { |
|
44 |
+ background: #fff; color: @brand; border-color: @brand; |
|
45 |
+ &:hover { color: @brand-strong; border-color: @brand-strong; } |
|
46 |
+ } |
|
47 |
+ } |
|
48 |
+ |
|
49 |
+ /* HERO (centered) */ |
|
50 |
+ .hero { |
|
51 |
+ &.hero-centered { |
|
52 |
+ text-align: center; |
|
53 |
+ background: |
|
54 |
+ radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%), |
|
55 |
+ radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); |
|
56 |
+ display: flex; |
|
57 |
+ align-items: center; |
|
58 |
+ justify-content: center; |
|
59 |
+ min-height: 350px; /* reduced height */ |
|
60 |
+ /*padding: 48px 0; /* controlled vertical spacing */ |
|
61 |
+ |
|
62 |
+ .hero-inner { |
|
63 |
+ max-width: 760px; |
|
64 |
+ margin: auto; |
|
65 |
+ display: flex; |
|
66 |
+ flex-direction: column; |
|
67 |
+ align-items: center; |
|
68 |
+ gap: 1rem; |
|
69 |
+ } |
|
70 |
+ |
|
71 |
+ h1 { |
|
72 |
+ font-size: clamp(1.9rem, 2.3vw + 1rem, 2.7rem); |
|
73 |
+ line-height: 1.15; |
|
74 |
+ margin: 0.4rem 0 0.5rem; |
|
75 |
+ } |
|
76 |
+ |
|
77 |
+ .lead { |
|
78 |
+ color: @muted; |
|
79 |
+ max-width: 68ch; |
|
80 |
+ margin: 0 auto 0.9rem; |
|
81 |
+ } |
|
82 |
+ |
|
83 |
+ .hero-cta { |
|
84 |
+ display: flex; |
|
85 |
+ gap: 0.8rem; |
|
86 |
+ flex-wrap: wrap; |
|
87 |
+ justify-content: center; |
|
88 |
+ margin-top: 0.3rem; |
|
89 |
+ } |
|
90 |
+ |
|
91 |
+ .benefits { |
|
92 |
+ display: flex; |
|
93 |
+ flex-wrap: wrap; |
|
94 |
+ justify-content: center; |
|
95 |
+ gap: 0.6rem 1rem; |
|
96 |
+ list-style: none; |
|
97 |
+ padding: 0; |
|
98 |
+ margin: 0.8rem 0 0; |
|
99 |
+ color: @muted; |
|
100 |
+ font-size: 0.95rem; |
|
101 |
+ } |
|
102 |
+ } |
|
103 |
+ } |
|
104 |
+ |
|
105 |
+ /* === WHY CHOOSE (widgets with inline icon + title) === */ |
|
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 |
+ } |
|
114 |
+ } |
|
115 |
+ |
|
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; |
|
128 |
+ |
|
129 |
+ &:hover { |
|
130 |
+ transform: translateY(-2px); |
|
131 |
+ box-shadow: @shadow; |
|
132 |
+ } |
|
133 |
+ |
|
134 |
+ /* The icon + title row */ |
|
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 |
+ } |
|
157 |
+ } |
|
158 |
+ |
|
159 |
+ /* Body paragraph */ |
|
160 |
+ p { |
|
161 |
+ color: @muted; |
|
162 |
+ margin: 0; |
|
163 |
+ line-height: 1.45; |
|
164 |
+ } |
|
165 |
+ } |
|
166 |
+ |
|
167 |
+ /* SERVICES */ |
|
168 |
+ .services { |
|
169 |
+ display: grid; gap: 16px; grid-template-columns: 1fr; |
|
170 |
+ @media (min-width: 920px) { grid-template-columns: repeat(3, 1fr); } |
|
171 |
+ } |
|
172 |
+ .card { |
|
173 |
+ background: #fff; border: 1px solid @line; border-radius: @radius; |
|
174 |
+ padding: 18px; box-shadow: @shadow-sm; transition: transform .18s ease, box-shadow .18s ease; |
|
175 |
+ |
|
176 |
+ &:hover { transform: translateY(-2px); box-shadow: @shadow; } |
|
177 |
+ p { color: @muted; margin: 0; } |
|
178 |
+ details { |
|
179 |
+ margin-top: .6rem; border-top: 1px dashed @line; padding-top: .6rem; |
|
180 |
+ summary { cursor: pointer; font-weight: 650; } |
|
181 |
+ } |
|
182 |
+ } |
|
183 |
+ |
|
184 |
+ /* METRICS */ |
|
185 |
+ .metrics { |
|
186 |
+ display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); |
|
187 |
+ @media (min-width: 720px) { grid-template-columns: repeat(4, 1fr); } |
|
188 |
+ .metric { |
|
189 |
+ background: #fff; border: 1px solid @line; border-radius: 14px; padding: 16px; text-align: center; box-shadow: @shadow-sm; |
|
190 |
+ .num { font-size: 1.6rem; font-weight: 800; color: @brand; } |
|
191 |
+ .label { color: @muted; font-size: .92rem; } |
|
192 |
+ } |
|
193 |
+ } |
|
194 |
+ |
|
195 |
+ /* PROCESS */ |
|
196 |
+ .steps { |
|
197 |
+ display: grid; gap: 16px; grid-template-columns: 1fr; |
|
198 |
+ @media (min-width: 860px) { grid-template-columns: repeat(3, 1fr); } |
|
199 |
+ .step { |
|
200 |
+ background: #fff; border: 1px solid @line; border-radius: @radius; padding: 18px; box-shadow: @shadow-sm; |
|
201 |
+ } |
|
202 |
+ } |
|
203 |
+ |
|
204 |
+ /* FAQ */ |
|
205 |
+ .faq { |
|
206 |
+ details { |
|
207 |
+ border: 1px solid @line; border-radius: @radius-sm; padding: .75rem .9rem; background: #fff; margin: .6rem 0; |
|
208 |
+ summary { cursor: pointer; font-weight: 650; } |
|
209 |
+ &[open] { box-shadow: @shadow-sm; } |
|
210 |
+ } |
|
211 |
+ } |
|
212 |
+ |
|
213 |
+ /* CTA BAND */ |
|
214 |
+ #contact { |
|
215 |
+ .cta-band { |
|
216 |
+ background: #fff; border: 1px solid @line; border-radius: @radius; |
|
217 |
+ padding: 20px; box-shadow: @shadow; |
|
218 |
+ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; |
|
219 |
+ } |
|
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 |
+} |
|
246 |
+/* === Page side shadows (for centered layout) === */ |
|
247 |
+body { |
|
248 |
+ background: @bg; |
|
249 |
+ position: relative; |
|
250 |
+ |
|
251 |
+ /* Left and right soft shadows */ |
|
252 |
+ &::before, |
|
253 |
+ &::after { |
|
254 |
+ content: ""; |
|
255 |
+ position: fixed; |
|
256 |
+ top: 0; |
|
257 |
+ bottom: 0; |
|
258 |
+ width: 40px; /* width of fade */ |
|
259 |
+ pointer-events: none; |
|
260 |
+ z-index: 1; |
|
261 |
+ } |
|
262 |
+ |
|
263 |
+ &::before { |
|
264 |
+ left: 0; |
|
265 |
+ background: linear-gradient(to right, rgba(0,0,0,0.06), transparent 70%); |
|
266 |
+ } |
|
267 |
+ |
|
268 |
+ &::after { |
|
269 |
+ right: 0; |
|
270 |
+ background: linear-gradient(to left, rgba(0,0,0,0.06), transparent 70%); |
|
271 |
+ } |
|
272 |
+} |
|
273 |
+ |
|
274 |
+/* Ensure container content stays above the shadow fade */ |
|
275 |
+.agnease-landing { |
|
276 |
+ position: relative; |
|
277 |
+ z-index: 2; |
|
278 |
+} |
|
279 |
+ |