| ... |
... |
@@ -1,279 +1,113 @@ |
| 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; |
|
1 |
+/* ============================ |
|
2 |
+ Agnease – UI polish pack |
|
3 |
+ (scoped to #contentcontainer) |
|
4 |
+ ============================ */ |
|
5 |
+#contentcontainer{ |
|
6 |
+ --brand:#00937D; |
|
7 |
+ --brand-strong:#007B6A; |
|
8 |
+ --text:#2D3A34; |
|
9 |
+ --muted:#5B6B64; |
|
10 |
+ --panel:#F7F9F8; |
|
11 |
+ --line:#E4ECE9; |
|
12 |
+ --radius:14px; |
|
13 |
+ --radius-sm:10px; |
|
14 |
+ --shadow-sm:0 4px 16px rgba(0,0,0,.05); |
|
15 |
+ --shadow:0 10px 32px rgba(0,0,0,.08); |
|
16 |
+} |
| 14 |
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;} |
|
18 |
+/* 1) Typographic rhythm */ |
|
19 |
+#contentcontainer h1{font-size:clamp(1.6rem,2.2vw + .8rem,2.4rem);line-height:1.15;margin:.3rem 0 .4rem} |
|
20 |
+#contentcontainer h2{font-size:clamp(1.3rem,1.2vw + .8rem,1.8rem);line-height:1.2;margin:.2rem 0 .35rem} |
|
21 |
+#contentcontainer h3{font-size:1.08rem;margin:.2rem 0 .2rem} |
|
22 |
+#contentcontainer p{margin:.35rem 0 .9rem;color:var(--text)} |
|
23 |
+#contentcontainer .lead{color:var(--muted);max-width:72ch} |
| 26 |
26 |
|
| 27 |
|
- /* Global sections */ |
| 28 |
|
- section { padding: 32px 0; border-top: 1px solid @line; } |
| 29 |
|
- section:first-of-type { border-top: none; } |
|
25 |
+/* 2) Section spacing + subtle separators */ |
|
26 |
+#contentcontainer section{padding:2.2rem 0;border-top:1px solid var(--line)} |
|
27 |
+#contentcontainer section:first-child{border-top:none;padding-top:1.6rem} |
| 30 |
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; |
|
29 |
+/* 3) Eyebrow + links */ |
|
30 |
+#contentcontainer .eyebrow{ |
|
31 |
+ display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.14em; |
|
32 |
+ text-transform:uppercase;color:var(--brand);margin:0 0 .35rem |
|
33 |
+} |
|
34 |
+#contentcontainer a{color:var(--brand);text-decoration:none} |
|
35 |
+#contentcontainer a:hover{color:var(--brand-strong);text-decoration:underline} |
| 36 |
36 |
|
| 37 |
|
- &:focus-visible { outline: 3px solid @brand; outline-offset: 2px; } |
|
37 |
+/* 4) Grids */ |
|
38 |
+#contentcontainer .pillars, |
|
39 |
+#contentcontainer .services-grid, |
|
40 |
+#contentcontainer .cards, |
|
41 |
+#contentcontainer .process-steps{display:grid;gap:1rem} |
|
42 |
+#contentcontainer .pillars{grid-template-columns:1fr} |
|
43 |
+#contentcontainer .services-grid{grid-template-columns:1fr} |
|
44 |
+@media (min-width:780px){ |
|
45 |
+ #contentcontainer .pillars{grid-template-columns:repeat(3,1fr)} |
|
46 |
+ #contentcontainer .services-grid{grid-template-columns:repeat(3,1fr)} |
|
47 |
+} |
| 38 |
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 |
|
- } |
|
49 |
+/* 5) Cards / articles */ |
|
50 |
+#contentcontainer .pillars > article, |
|
51 |
+#contentcontainer .services-grid > article, |
|
52 |
+#contentcontainer .card{ |
|
53 |
+ background:#fff;border:1px solid var(--line);border-radius:var(--radius); |
|
54 |
+ padding:1rem 1.1rem;box-shadow:var(--shadow-sm);transition:transform .18s ease, box-shadow .18s ease |
|
55 |
+} |
|
56 |
+#contentcontainer .services-grid > article:hover, |
|
57 |
+#contentcontainer .pillars > article:hover{ |
|
58 |
+ transform:translateY(-2px);box-shadow:var(--shadow) |
|
59 |
+} |
|
60 |
+#contentcontainer .services-grid h3, |
|
61 |
+#contentcontainer .pillars h3{font-weight:700} |
|
62 |
+#contentcontainer .services-grid p, |
|
63 |
+#contentcontainer .pillars p{color:var(--muted);margin:0} |
| 48 |
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 */ |
|
65 |
+/* 6) Lists inside cards */ |
|
66 |
+#contentcontainer .services-grid ul{margin:.6rem 0 0;padding-left:1.15rem;color:var(--muted)} |
|
67 |
+#contentcontainer .services-grid li{margin:.15rem 0} |
|
68 |
+#contentcontainer .benefits, |
|
69 |
+#contentcontainer .highlights{display:flex;flex-wrap:wrap;gap:.55rem 1rem;padding-left:0;list-style:none;color:var(--muted)} |
|
70 |
+#contentcontainer .highlights li{ |
|
71 |
+ background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-sm);padding:.55rem .8rem |
|
72 |
+} |
| 61 |
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 |
|
- } |
|
74 |
+/* 7) CTA buttons (if used inside this container) */ |
|
75 |
+#contentcontainer .btn{ |
|
76 |
+ display:inline-flex;align-items:center;gap:.55rem; |
|
77 |
+ padding:.78rem 1rem;border-radius:12px;font-weight:650;letter-spacing:.2px; |
|
78 |
+ border:2px solid transparent;box-shadow:var(--shadow-sm);cursor:pointer |
|
79 |
+} |
|
80 |
+#contentcontainer .btn-primary{background:var(--brand);color:#fff} |
|
81 |
+#contentcontainer .btn-primary:hover{background:var(--brand-strong)} |
|
82 |
+#contentcontainer .btn-ghost{background:#fff;color:var(--brand);border-color:var(--brand)} |
|
83 |
+#contentcontainer .btn-ghost:hover{color:var(--brand-strong);border-color:var(--brand-strong)} |
|
84 |
+#contentcontainer .btn:focus-visible{outline:3px solid var(--brand);outline-offset:2px} |
| 70 |
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 |
|
- } |
|
86 |
+/* 8) Process steps */ |
|
87 |
+#contentcontainer .process-steps{list-style:none;padding:0;grid-template-columns:1fr} |
|
88 |
+@media (min-width:780px){#contentcontainer .process-steps{grid-template-columns:repeat(3,1fr)}} |
|
89 |
+#contentcontainer .process-steps > li{ |
|
90 |
+ background:#fff;border:1px solid var(--line);border-radius:var(--radius); |
|
91 |
+ padding:1rem 1.1rem;box-shadow:var(--shadow-sm) |
| 245 |
245 |
} |
| 246 |
|
-/* === Page side shadows (for centered layout) === */ |
| 247 |
|
-body { |
| 248 |
|
- background: @bg; |
| 249 |
|
- position: relative; |
| 250 |
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 |
|
- } |
|
94 |
+/* 9) Details/FAQ */ |
|
95 |
+#contentcontainer details{border:1px solid var(--line);border-radius:var(--radius-sm);padding:.75rem .9rem;background:#fff;margin:.6rem 0} |
|
96 |
+#contentcontainer details summary{cursor:pointer;font-weight:650} |
|
97 |
+#contentcontainer details[open]{box-shadow:var(--shadow-sm)} |
| 262 |
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 |
|
- } |
|
99 |
+/* 10) Forms (contact) */ |
|
100 |
+#contentcontainer .contact-form .form-row{display:grid;gap:.4rem;margin-bottom:.9rem} |
|
101 |
+#contentcontainer .contact-form label{font-weight:600} |
|
102 |
+#contentcontainer .contact-form input, |
|
103 |
+#contentcontainer .contact-form textarea{ |
|
104 |
+ width:100%;padding:.75rem .9rem;border:1px solid var(--line);border-radius:var(--radius-sm); |
|
105 |
+ color:var(--text);background:#fff;font:inherit |
| 272 |
272 |
} |
|
107 |
+#contentcontainer .contact-form input:focus, |
|
108 |
+#contentcontainer .contact-form textarea:focus{outline:3px solid var(--brand);outline-offset:2px} |
| 273 |
273 |
|
| 274 |
|
-/* Ensure container content stays above the shadow fade */ |
| 275 |
|
-.agnease-landing { |
| 276 |
|
- position: relative; |
| 277 |
|
- z-index: 2; |
| 278 |
|
-} |
|
110 |
+/* 11) Small niceties */ |
|
111 |
+#contentcontainer .cta-line{margin-top:.8rem} |
|
112 |
+#contentcontainer .service-summary{padding-left:1.1rem;color:var(--muted)} |
| 279 |
279 |
|