0 Votes

Changes for page Home

Last modified by Alex Cotiugă on 2026/01/13 13:12

From version 5.21
edited by Alex Cotiugă
on 2025/11/12 16:05
Change comment: There is no comment for this version
To version 5.18
edited by Alex Cotiugă
on 2025/11/12 15:46
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,142 +1,206 @@
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 +/* ========= Agnease Landing (self-contained) ========= */
2 + :root{
3 + --brand:#00937D; /* primary (AA vs white) */
4 + --brand-strong:#007B6A; /* hover/active */
5 + --text:#2D3A34; /* body text (AAA on white) */
6 + --muted:#5B6B64; /* secondary */
7 + --bg:#FFFFFF;
8 + --panel:#F7F9F8;
9 + --line:#E4ECE9;
10 + --radius:16px;
11 + --radius-sm:12px;
12 + --shadow-sm:0 6px 20px rgba(0,0,0,.06);
13 + --shadow:0 12px 36px rgba(0,0,0,.08);
14 + --maxw:1140px;
15 + }
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: 0 auto; padding: 0 20px; }
17 + *{box-sizing:border-box}
18 + html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font:16px/1.6 Inter, Segoe UI, Roboto, system-ui, -apple-system, Arial, sans-serif}
19 + img{max-width:100%;display:block}
20 + a{color:var(--brand);text-decoration:none}
21 + a:hover{color:var(--brand-strong);text-decoration:underline}
26 26  
27 - /* Global sections */
28 - section { padding: 64px 0; border-top: 1px solid @line; }
29 - section:first-of-type { border-top: none; }
23 + .agnease-landing{isolation:isolate}
24 + .container{max-width:var(--maxw);margin:auto;padding:0 20px}
25 + h1{font-size:clamp(1.8rem,2.5vw + .8rem,3rem);line-height:1.15;margin:.2rem 0 .6rem}
26 + h2{font-size:clamp(1.4rem,1.4vw + .8rem,2rem);line-height:1.2;margin:.2rem 0 .4rem}
27 + h3{font-size:1.12rem;margin:.2rem 0 .25rem}
28 + .lead{color:var(--muted);max-width:72ch}
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;
30 + /* Buttons */
31 + .btn{display:inline-flex;align-items:center;gap:.55rem;padding:.85rem 1.1rem;border-radius:12px;border:2px solid transparent;font-weight:650;letter-spacing:.2px;cursor:pointer;box-shadow:var(--shadow-sm)}
32 + .btn:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
33 + .btn-primary{background:var(--brand);color:#fff}
34 + .btn-primary:hover{background:var(--brand-strong)}
35 + .btn-ghost{background:#fff;color:var(--brand);border-color:var(--brand)}
36 + .btn-ghost:hover{color:var(--brand-strong);border-color:var(--brand-strong)}
36 36  
37 - &:focus-visible { outline: 3px solid @brand; outline-offset: 2px; }
38 + /* Sections */
39 + section{padding:0 0 68px;border-top:1px solid var(--line)}
40 + section:first-of-type{border-top:none}
38 38  
39 - &-primary {
40 - background: @brand; color: #fff;
41 - &:hover, &:focus { background: @brand-strong; color: #fff; }
42 + /* Hero */
43 + .hero{
44 + background:
45 + radial-gradient(60rem 22rem at 15% -10%, #E7FFF8 0%, transparent 60%),
46 + radial-gradient(60rem 22rem at 85% -20%, #E9F6F2 0%, transparent 60%);
42 42   }
43 - &-ghost {
44 - background: #fff; color: @brand; border-color: @brand;
45 - &:hover { color: @brand-strong; border-color: @brand-strong; }
48 + .hero-top{display:grid;gap:22px;grid-template-columns:1fr}
49 + @media (min-width:860px){ .hero-top{grid-template-columns:1.05fr .95fr} }
50 + .chip{display:inline-block;background:var(--panel);border:1px solid var(--line);padding:.35rem .65rem;border-radius:999px;font-size:.82rem;color:var(--text)}
51 + .hero-badges{display:flex;flex-wrap:wrap;gap:.5rem}
52 + .hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
53 + .hero-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
54 +
55 + /* “Why Agnease” widgets */
56 + .widgets{display:grid;gap:16px;grid-template-columns:1fr}
57 + @media (min-width:860px){ .widgets{grid-template-columns:repeat(4,1fr)} }
58 + .widget{
59 + background:#fff;border:1px solid var(--line);border-radius:var(--radius);
60 + padding:18px;box-shadow:var(--shadow-sm);display:grid;gap:8px;align-content:start
46 46   }
47 - }
62 + .widget .icon{
63 + width:38px;height:38px;border-radius:10px;background:var(--panel);display:grid;place-items:center;border:1px solid var(--line)
64 + }
65 + .widget 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(60rem 24rem at 50% -20%, #E7FFF8 0%, transparent 60%),
55 - radial-gradient(60rem 24rem at 50% -10%, #E8F6F3 0%, transparent 60%);
56 - display: flex; align-items: center; justify-content: center;
57 - min-height: 60vh;
67 + /* Services grid with details drawers */
68 + .services{display:grid;gap:16px;grid-template-columns:1fr}
69 + @media (min-width:920px){ .services{grid-template-columns:repeat(3,1fr)} }
70 + .card{
71 + background:#fff;border:1px solid var(--line);border-radius:var(--radius);
72 + padding:18px;box-shadow:var(--shadow-sm);transition:transform .18s ease, box-shadow .18s ease
73 + }
74 + .card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
75 + .card p{color:var(--muted);margin:0}
76 + .card details{margin-top:.6rem;border-top:1px dashed var(--line);padding-top:.6rem}
77 + .card summary{cursor:pointer;font-weight:650}
58 58  
59 - .hero-inner {
60 - max-width: 780px; margin: auto;
61 - display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
62 - }
63 - .hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: .5rem; }
64 - .lead { color: @muted; max-width: 70ch; margin: 0 auto 1.2rem; }
65 - .benefits {
66 - display: flex; flex-wrap: wrap; justify-content: center;
67 - gap: .6rem 1.2rem; list-style: none; padding: 0; margin: .8rem 0 0; color: @muted; font-size: .95rem;
68 - }
79 + /* Metrics band */
80 + .metrics{
81 + display:grid;gap:14px;grid-template-columns:repeat(2,1fr)
69 69   }
70 - }
83 + @media (min-width:720px){ .metrics{grid-template-columns:repeat(4,1fr)} }
84 + .metric{
85 + background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;text-align:center;box-shadow:var(--shadow-sm)
86 + }
87 + .metric .num{font-size:1.6rem;font-weight:800;color:var(--brand)}
88 + .metric .label{color:var(--muted);font-size:.92rem}
71 71  
72 - /* WHY CHOOSE (widgets) */
73 - .widgets {
74 - display: grid; gap: 16px; grid-template-columns: 1fr;
75 - @media (min-width: 860px) { grid-template-columns: repeat(4, 1fr); }
76 - }
77 - .widget {
78 - background: #fff; border: 1px solid @line; border-radius: @radius;
79 - padding: 18px; box-shadow: @shadow-sm; display: grid; gap: 8px; align-content: start;
90 + /* Process steps */
91 + .steps{display:grid;gap:16px;grid-template-columns:1fr}
92 + @media (min-width:860px){ .steps{grid-template-columns:repeat(3,1fr)} }
93 + .step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow-sm)}
80 80  
81 - .icon {
82 - width: 38px; height: 38px; border-radius: 10px;
83 - background: @panel; border: 1px solid @line; display: grid; place-items: center;
95 + /* FAQ */
96 + .faq details{border:1px solid var(--line);border-radius:var(--radius-sm);padding:.75rem .9rem;background:#fff;margin:.6rem 0}
97 + .faq summary{cursor:pointer;font-weight:650}
98 + .faq details[open]{box-shadow:var(--shadow-sm)}
99 +
100 + /* CTA band */
101 + .cta-band{
102 + background:#fff;border:1px solid var(--line);border-radius:var(--radius);
103 + padding:20px;box-shadow:var(--shadow);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px
84 84   }
85 - p { color: @muted; margin: 0; }
86 - }
105 +/* Keep primary CTA text white on hover */
106 +.btn-primary,
107 +.btn-primary:hover,
108 +.btn-primary:focus {
109 + color: #fff;
110 +}
87 87  
88 - /* SERVICES */
89 - .services {
90 - display: grid; gap: 16px; grid-template-columns: 1fr;
91 - @media (min-width: 920px) { grid-template-columns: repeat(3, 1fr); }
92 - }
93 - .card {
94 - background: #fff; border: 1px solid @line; border-radius: @radius;
95 - padding: 18px; box-shadow: @shadow-sm; transition: transform .18s ease, box-shadow .18s ease;
112 +/* Benefits row under CTAs for quick scannability */
113 +.benefits {
114 + display:flex;flex-wrap:wrap;gap:.5rem 1rem;
115 + margin:10px 0 0; padding:0; list-style:none; color:#5B6B64;
116 +}
96 96  
97 - &:hover { transform: translateY(-2px); box-shadow: @shadow; }
98 - p { color: @muted; margin: 0; }
99 - details {
100 - margin-top: .6rem; border-top: 1px dashed @line; padding-top: .6rem;
101 - summary { cursor: pointer; font-weight: 650; }
102 - }
103 - }
118 +/* Assurance widgets layout (right column) */
119 +.widgets {
120 + display:grid; gap:12px;
121 + grid-template-columns:1fr; align-content:start;
122 +}
123 +.widget {
124 + display:grid; grid-template-columns:auto 1fr; gap:10px;
125 + background:#fff; border:1px solid #E4ECE9; border-radius:16px;
126 + padding:14px; box-shadow:0 6px 20px rgba(0,0,0,.06);
127 +}
128 +.widget h3 { margin:.1rem 0 .15rem; font-size:1rem }
129 +.widget p { margin:0; color:#5B6B64 }
130 +.widget .icon {
131 + width:38px;height:38px;border-radius:10px;
132 + background:#F7F9F8;border:1px solid #E4ECE9;
133 + display:grid;place-items:center;
134 +}
104 104  
105 - /* METRICS */
106 - .metrics {
107 - display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);
108 - @media (min-width: 720px) { grid-template-columns: repeat(4, 1fr); }
109 - .metric {
110 - background: #fff; border: 1px solid @line; border-radius: 14px; padding: 16px; text-align: center; box-shadow: @shadow-sm;
111 - .num { font-size: 1.6rem; font-weight: 800; color: @brand; }
112 - .label { color: @muted; font-size: .92rem; }
113 - }
114 - }
136 +/* Ensure the hero two-column balance feels filled */
137 +.hero-top { display:grid; gap:22px; grid-template-columns:1fr }
138 +@media (min-width:860px){
139 + .hero-top { grid-template-columns:1.15fr .85fr }
140 +}
141 +/* Centered hero layout */
142 +.hero-centered {
143 + text-align:center;
144 + background:
145 + radial-gradient(60rem 24rem at 50% -20%, #E7FFF8 0%, transparent 60%),
146 + radial-gradient(60rem 24rem at 50% -10%, #E8F6F3 0%, transparent 60%);
147 + display:flex; align-items:center; justify-content:center;
148 + min-height:70vh;
149 +}
115 115  
116 - /* PROCESS */
117 - .steps {
118 - display: grid; gap: 16px; grid-template-columns: 1fr;
119 - @media (min-width: 860px) { grid-template-columns: repeat(3, 1fr); }
120 - .step {
121 - background: #fff; border: 1px solid @line; border-radius: @radius; padding: 18px; box-shadow: @shadow-sm;
122 - }
123 - }
151 +.hero-inner {
152 + max-width:780px;
153 + margin:auto;
154 + display:flex;
155 + flex-direction:column;
156 + align-items:center;
157 + gap:1.2rem;
158 +}
124 124  
125 - /* FAQ */
126 - .faq {
127 - details {
128 - border: 1px solid @line; border-radius: @radius-sm; padding: .75rem .9rem; background: #fff; margin: .6rem 0;
129 - summary { cursor: pointer; font-weight: 650; }
130 - &[open] { box-shadow: @shadow-sm; }
131 - }
132 - }
160 +.hero-badges {
161 + display:flex;
162 + gap:.5rem;
163 + flex-wrap:wrap;
164 + justify-content:center;
165 +}
133 133  
134 - /* CTA BAND */
135 - #contact {
136 - .cta-band {
137 - background: #fff; border: 1px solid @line; border-radius: @radius;
138 - padding: 20px; box-shadow: @shadow;
139 - display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
140 - }
141 - }
167 +.hero-centered h1 {
168 + font-size:clamp(1.8rem,2.5vw + .8rem,3rem);
169 + line-height:1.15;
170 + margin:.3rem 0 .4rem;
142 142  }
172 +
173 +.hero-centered .lead {
174 + color:#5B6B64;
175 + max-width:70ch;
176 + margin:0 auto 1.2rem;
177 +}
178 +
179 +/* CTA buttons centered */
180 +.hero-cta {
181 + display:flex;
182 + gap:.8rem;
183 + flex-wrap:wrap;
184 + justify-content:center;
185 + margin-top:.5rem;
186 +}
187 +
188 +.btn-primary,
189 +.btn-primary:hover,
190 +.btn-primary:focus {
191 + background:#00937D;
192 + color:#fff !important; /* ensure white text always */
193 +}
194 +
195 +/* Benefits under CTAs */
196 +.benefits {
197 + display:flex;
198 + flex-wrap:wrap;
199 + justify-content:center;
200 + gap:.6rem 1.2rem;
201 + list-style:none;
202 + padding:0;
203 + margin:.8rem 0 0;
204 + color:#5B6B64;
205 + font-size:.95rem;
206 +}
Content Type
... ... @@ -1,1 +1,1 @@
1 -LESS
1 +CSS