0 Votes

Changes for page Home

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

From version 5.12
edited by Alex Cotiugă
on 2025/11/12 15:36
Change comment: There is no comment for this version
To version 7.77
edited by Alex Cotiugă
on 2025/11/13 20:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,280 +3,216 @@
3 3  Agnease helps organizations maintain, upgrade, and extend their XWiki environments with clarity and precision. Focusing on stability, performance, and long-term support we ensure your business knowledge and collaboration tools remain dependable, secure, and adaptable to growth.*#
4 4  {{html clean="false"}}
5 5  <main class="agnease-landing">
6 - <!-- ================= HERO ================= -->
7 - <section class="hero" aria-labelledby="hero-title">
8 - <div class="container hero-top">
9 - <div>
10 - <div class="hero-badges">
11 - <span class="chip">Professional XWiki Services</span>
12 - <span class="chip">Secure &amp; Scalable</span>
6 + <!-- ================= HERO ================= -->
7 + <section class="hero hero-centered" aria-labelledby="hero-title">
8 + <div class="container">
9 + <div class="row">
10 + <div class="col-sm-12">
11 + <div class="hero-inner">
12 + <h1 id="hero-title">Professional XWiki solutions, from setup to long-term stability</h1>
13 + <p class="lead">Need your XWiki upgraded, secured, or improved? Let’s make it happen</p>
14 + <div class="hero-cta">
15 + <a class="btn btn-primary" href="#contact" aria-label="Schedule a call with Agnease">
16 + Request a consultation
17 + </a>
18 + </div>
19 + <ul class="benefits">
20 + <li>Smooth upgrades</li>
21 + <li>Reliable support plans</li>
22 + <li>Custom integrations</li>
23 + <li>Secure, optimized platforms</li>
24 + </ul>
13 13   </div>
14 - <h1 id="hero-title">Engineering reliability in every XWiki environment</h1>
15 - <p class="lead">
16 - Upgrades, maintenance, integrations, and custom development — delivered with clarity and low risk.
17 - Agnease keeps XWiki stable, secure, and ready to grow.
18 - </p>
19 - <div class="hero-cta">
20 - <a class="btn btn-primary" href="#contact" aria-label="Schedule a call with Agnease">Schedule a call</a>
21 - <a class="btn btn-ghost" href="#services">View services</a>
22 - </div>
23 - <ul class="benefits">
24 - <li>Low-downtime LTS upgrades</li>
25 - <li>Support plans with SLAs</li>
26 - <li>SSO/OIDC, Stripe, REST</li>
27 - <li>Audits &amp; recovery</li>
28 - </ul>
29 29   </div>
30 -
31 - <!-- Assurance widgets (replaces the old “At a glance”) -->
32 - <aside class="widgets" aria-label="Assurances">
33 - <article class="widget">
34 - <div class="icon" aria-hidden="true">
35 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M12 3l7 3v5c0 5-3.5 9-7 10-3.5-1-7-5-7-10V6l7-3z" stroke="#2D3A34" stroke-width="1.6" fill="none"/></svg>
36 - </div>
37 - <div>
38 - <h3>Low risk delivery</h3>
39 - <p>Rehearsed upgrades with backups and clear rollback paths.</p>
40 - </div>
41 - </article>
42 -
43 - <article class="widget">
44 - <div class="icon" aria-hidden="true">
45 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4 17h4l3-7 3 7h6" stroke="#2D3A34" stroke-width="1.6"/></svg>
46 - </div>
47 - <div>
48 - <h3>Transparent plan</h3>
49 - <p>Scope, windows, and checkpoints agreed before changes.</p>
50 - </div>
51 - </article>
52 -
53 - <article class="widget">
54 - <div class="icon" aria-hidden="true">
55 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M3 12l4-4 5 5 5-5 4 4-9 9-9-9z" stroke="#2D3A34" stroke-width="1.6" fill="none"/></svg>
56 - </div>
57 - <div>
58 - <h3>Ongoing support</h3>
59 - <p>Retainers with response-time guarantees and health checks.</p>
60 - </div>
61 - </article>
62 - </aside>
63 63   </div>
64 - </section>
28 + </div>
29 + </section>
65 65  
66 - <!-- ========= WHY CHOOSE AGNEASE (widgets) ========= -->
67 - <section aria-labelledby="why-title">
68 - <div class="container">
69 - <h2 id="why-title">Why choose Agnease</h2>
70 - <p class="lead">Specialized XWiki expertise with predictable delivery and long-term partnership.</p>
71 -
72 - <div class="widgets" role="list">
73 - <article class="widget" role="listitem">
31 + <!-- ========= WHY CHOOSE AGNEASE (widgets) ========= -->
32 + #set ($whySectionData = [{
33 + 'title': 'Stability & security',
34 + 'icon': 'shield',
35 + 'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.'
36 + },{
37 + 'title': 'Predictable delivery',
38 + 'icon': 'check-square-o',
39 + 'content': 'Clear scope, defined steps, and documented results to avoid surprises.'
40 + },{
41 + 'title': 'Clean integrations',
42 + 'icon': 'link',
43 + 'content': 'Maintainable SSO, API, and system connections tailored to your environment.'
44 + },{
45 + 'title': 'Long-term support',
46 + 'icon': 'life-ring',
47 + 'content': 'Guaranteed response times, regular checks, and fast assistance when needed.'
48 + }])
49 + <section aria-labelledby="why-title">
50 + <div class="container">
51 + <h2 id="why-title">Why choose Agnease</h2>
52 + <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p>
53 + <div class="row widgets" role="list">
54 + #foreach ($entry in $whySectionData)
55 + <div class="widget col-sm-6 col-md-3" role="listitem">
74 74   <div class="icon" aria-hidden="true">
75 - <!-- shield -->
76 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M12 3l7 3v5c0 5-3.5 9-7 10-3.5-1-7-5-7-10V6l7-3z" stroke="#2D3A34" stroke-width="1.6" fill="none"/></svg>
57 + <i class="fa fa-$entry.icon"></i>
58 + <h4>$entry.title</h4>
77 77   </div>
78 - <h3>Stability &amp; security</h3>
79 - <p>Rehearsed upgrades, hardening, and safe rollback paths keep your wiki available.</p>
80 - </article>
81 -
82 - <article class="widget" role="listitem">
83 - <div class="icon" aria-hidden="true">
84 - <!-- timeline -->
85 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4 17h4l3-7 3 7h6" stroke="#2D3A34" stroke-width="1.6"/></svg>
86 - </div>
87 - <h3>Predictable delivery</h3>
88 - <p>Clear scope, downtime windows, and documentation — no surprises.</p>
89 - </article>
90 -
91 - <article class="widget" role="listitem">
92 - <div class="icon" aria-hidden="true">
93 - <!-- puzzle -->
94 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M7 3h5v4h5v5h-4v5H8v-4H3V8h4V3z" stroke="#2D3A34" stroke-width="1.6" fill="none"/></svg>
95 - </div>
96 - <h3>Clean integrations</h3>
97 - <p>Maintainable SSO, Stripe, and API workflows that fit your environment.</p>
98 - </article>
99 -
100 - <article class="widget" role="listitem">
101 - <div class="icon" aria-hidden="true">
102 - <!-- handshake -->
103 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M3 12l4-4 5 5 5-5 4 4-9 9-9-9z" stroke="#2D3A34" stroke-width="1.6" fill="none"/></svg>
104 - </div>
105 - <h3>Long-term support</h3>
106 - <p>Retainers with SLA, health checks, and fast investigation when issues appear.</p>
107 - </article>
108 - </div>
60 + <p>$entry.content</p>
61 + </div>
62 + #end
109 109   </div>
110 - </section>
111 -
112 - <!-- ================= SERVICES ================= -->
113 - <section id="services" aria-labelledby="services-title">
114 - <div class="container">
115 - <h2 id="services-title">Services</h2>
116 - <p class="lead">Everything your XWiki needs — from one expert partner.</p>
117 -
118 - <div class="services">
119 - <article class="card">
120 - <h3>Upgrades &amp; Migrations</h3>
121 - <p>Predictable paths to current LTS with rehearsed steps, backups, and rollback.</p>
122 - <details>
123 - <summary>Details</summary>
64 + </div>
65 + </section>
66 + <!-- ================= SERVICES ================= -->
67 + #set ($servicesSectionData = [{
68 + 'title': 'Upgrades',
69 + 'icon': 'refresh',
70 + 'content': 'Stay current with the latest XWiki LTS and keep your instance secure and stable.',
71 + 'items': [
72 + 'Audit setup, extensions, and configurations',
73 + 'Test upgrades with backups and validation',
74 + 'Safe production rollout with minimal downtime'
75 + ]
76 + },{
77 + 'title': 'Maintenance, Support & Recovery',
78 + 'icon': 'stethoscope',
79 + 'content': 'Ensure long-term stability and quick response when issues appear.',
80 + 'items': [
81 + 'Monitoring and performance checks',
82 + 'Security patching, log analysis, triage',
83 + 'Issue recovery, data repair, hardening'
84 + ]
85 + },{
86 + 'title': 'Development & Integrations',
87 + 'icon': 'cogs',
88 + 'content': 'Extend and connect XWiki to fit your workflow and systems.',
89 + 'items': [
90 + 'Custom apps, macros, automation',
91 + 'SSO, REST APIs, LDAP, CRM links',
92 + 'Maintainable extensions for long-term use'
93 + ]
94 + },{
95 + 'title': 'Hosting & Deployment',
96 + 'icon': 'cloud',
97 + 'content': 'Cloud-ready environments designed for reliability and performance.',
98 + 'items': [
99 + 'Containerized deployment and TLS',
100 + 'Backups, restore strategy, observability',
101 + 'Optimization and load tuning'
102 + ]
103 + },{
104 + 'title': 'Migrations to XWiki',
105 + 'icon': 'exchange',
106 + 'content': 'Move from Confluence, SharePoint, or MediaWiki to XWiki with full data integrity and structure.',
107 + 'items': [
108 + 'Preserve hierarchy, attachments, and permissions',
109 + 'Convert macros, categories, and metadata for XWiki',
110 + 'Redirect old URLs and maintain SEO consistency'
111 + ]
112 + }])
113 + <section class="services" aria-labelledby="services-title">
114 + <div class="container">
115 + <h2 id="services-title">Services</h2>
116 + <p class="services-sub">All the XWiki services you need, delivered with precision and care</p>
117 + <div class="services-grid">
118 + #foreach ($entry in $servicesSectionData)
119 + <article class="service">
120 + <i class="fa fa-$entry.icon" aria-hidden="true"></i>
121 + <div class="body">
122 + <h4>$entry.title</h4>
123 + <p>$entry.content</p>
124 124   <ul>
125 - <li>Version &amp; extension audit</li>
126 - <li>Pre-production rehearsal</li>
127 - <li>Rollback &amp; backup plan</li>
125 + #foreach ($item in $entry.items)
126 + <li>$item</li>
127 + #end
128 128   </ul>
129 - </details>
129 + </div>
130 130   </article>
131 -
132 - <article class="card">
133 - <h3>Maintenance &amp; Support</h3>
134 - <p>Health checks, patching, bug triage, and on-call investigation.</p>
135 - <details>
136 - <summary>Details</summary>
137 - <ul>
138 - <li>Monthly health report</li>
139 - <li>Security updates applied</li>
140 - <li>Response-time guarantees</li>
141 - </ul>
142 - </details>
143 - </article>
144 -
145 - <article class="card">
146 - <h3>Custom Development</h3>
147 - <p>Macros, apps, structured data, and workflow automation.</p>
148 - <details>
149 - <summary>Details</summary>
150 - <ul>
151 - <li>Forms, live tables, reports</li>
152 - <li>Task &amp; review flows</li>
153 - <li>UI/UX enhancements</li>
154 - </ul>
155 - </details>
156 - </article>
157 -
158 - <article class="card">
159 - <h3>Integrations</h3>
160 - <p>Connect XWiki to identity and business systems with clean patterns.</p>
161 - <details>
162 - <summary>Details</summary>
163 - <ul>
164 - <li>SSO / OIDC / SAML</li>
165 - <li>Stripe payments</li>
166 - <li>REST / Webhooks</li>
167 - </ul>
168 - </details>
169 - </article>
170 -
171 - <article class="card">
172 - <h3>Hosting &amp; Deployment</h3>
173 - <p>Cloud-ready setups, backups, observability, and performance tuning.</p>
174 - <details>
175 - <summary>Details</summary>
176 - <ul>
177 - <li>Architecture guidance</li>
178 - <li>Backup &amp; restore drills</li>
179 - <li>Scaling &amp; caching</li>
180 - </ul>
181 - </details>
182 - </article>
183 -
184 - <article class="card">
185 - <h3>Audit &amp; Recovery</h3>
186 - <p>Stabilize unstable instances, recover features, harden configuration.</p>
187 - <details>
188 - <summary>Details</summary>
189 - <ul>
190 - <li>Root-cause analysis</li>
191 - <li>Hardening checklist</li>
192 - <li>Actionable remediation plan</li>
193 - </ul>
194 - </details>
195 - </article>
196 - </div>
131 + #end
197 197   </div>
198 - </section>
133 + </div>
134 + </section>
199 199  
200 - <!-- ================= METRICS ================= -->
201 - <section aria-labelledby="metrics-title">
202 - <div class="container">
203 - <h2 id="metrics-title">Delivery at a glance</h2>
204 - <div class="metrics" role="list">
205 - <div class="metric" role="listitem">
206 - <div class="num">8–12h</div>
207 - <div class="label">Typical LTS upgrade window</div>
208 - </div>
209 - <div class="metric" role="listitem">
210 - <div class="num">99.9%</div>
211 - <div class="label">Planned uptime during upgrades*</div>
212 - </div>
213 - <div class="metric" role="listitem">
214 - <div class="num">24–48h</div>
215 - <div class="label">First response SLA (plans)</div>
216 - </div>
217 - <div class="metric" role="listitem">
218 - <div class="num">10+ yrs</div>
219 - <div class="label">XWiki expertise</div>
220 - </div>
136 + <!-- ================= METRICS ================= -->
137 + <section aria-labelledby="metrics-title">
138 + <div class="container">
139 + <h2 id="metrics-title">Delivery at a glance</h2>
140 + <div class="metrics" role="list">
141 + <div class="metric" role="listitem">
142 + <div class="num">8–12h</div>
143 + <div class="label">Typical LTS upgrade window</div>
221 221   </div>
222 - <p class="lead" style="margin-top:.6rem">*for rehearsed, staged upgrades on supported environments.</p>
145 + <div class="metric" role="listitem">
146 + <div class="num">&lt;1h</div>
147 + <div class="label">Average service downtime during upgrades</div>
148 + </div>
149 + <div class="metric" role="listitem">
150 + <div class="num">24–48h</div>
151 + <div class="label">First response SLA (plans)</div>
152 + </div>
153 + <div class="metric" role="listitem">
154 + <div class="num">10+ yrs</div>
155 + <div class="label">XWiki expertise</div>
156 + </div>
223 223   </div>
224 - </section>
158 + <p class="lead" style="margin-top:.6rem">*for rehearsed, staged upgrades on supported environments.</p>
159 + </div>
160 + </section>
225 225  
226 - <!-- ================= PROCESS ================= -->
227 - <section aria-labelledby="process-title">
228 - <div class="container">
229 - <h2 id="process-title">Process</h2>
230 - <p class="lead">Calm, predictable, and transparent from start to finish.</p>
231 - <div class="steps">
232 - <div class="step">
233 - <h3>1) Assess</h3>
234 - <p>Review environment, extensions, constraints, and risks — no surprises.</p>
235 - </div>
236 - <div class="step">
237 - <h3>2) Plan</h3>
238 - <p>Agree scope, milestones, downtime windows, and rollback checkpoints.</p>
239 - </div>
240 - <div class="step">
241 - <h3>3) Deliver</h3>
242 - <p>Execute, verify, document, and hand over with actionable notes.</p>
243 - </div>
162 + <!-- ================= PROCESS ================= -->
163 + <section aria-labelledby="process-title">
164 + <div class="container">
165 + <h2 id="process-title">Process</h2>
166 + <p class="lead">Calm, predictable, and transparent from start to finish.</p>
167 + <div class="steps">
168 + <div class="step">
169 + <h3>1) Assess</h3>
170 + <p>Review environment, extensions, constraints, and risks with no surprises.</p>
244 244   </div>
172 + <div class="step">
173 + <h3>2) Plan</h3>
174 + <p>Agree scope, milestones, downtime windows, and rollback checkpoints.</p>
175 + </div>
176 + <div class="step">
177 + <h3>3) Deliver</h3>
178 + <p>Execute, verify, document, and hand over with actionable notes.</p>
179 + </div>
245 245   </div>
246 - </section>
181 + </div>
182 + </section>
247 247  
248 - <!-- ================= FAQ ================= -->
249 - <section class="faq" aria-labelledby="faq-title">
250 - <div class="container">
251 - <h2 id="faq-title">FAQ</h2>
252 - <details>
253 - <summary>How much downtime should we expect for an upgrade?</summary>
254 - <p>Most upgrades complete in a short maintenance window. For mission-critical wikis we rehearse and stage changes to minimize downtime.</p>
255 - </details>
256 - <details>
257 - <summary>Can you help if our wiki is already broken?</summary>
258 - <p>Yes. We start with an audit to stabilize the instance, recover missing features, and harden configuration.</p>
259 - </details>
260 - <details>
261 - <summary>Do you offer support plans?</summary>
262 - <p>Yes from ad-hoc assistance to ongoing retainers with response-time guarantees and monthly health checks.</p>
263 - </details>
264 - </div>
265 - </section>
184 + <!-- ================= FAQ ================= -->
185 + <section class="faq" aria-labelledby="faq-title">
186 + <div class="container">
187 + <h2 id="faq-title">FAQ</h2>
188 + <details>
189 + <summary>How much downtime should we expect for an upgrade?</summary>
190 + <p>Most upgrades complete in a short maintenance window. For mission-critical wikis we rehearse and stage changes to minimize downtime.</p>
191 + </details>
192 + <details>
193 + <summary>Can you help if our wiki is already broken?</summary>
194 + <p>Yes. We start with an audit to stabilize the instance, recover missing features, and harden configuration.</p>
195 + </details>
196 + <details>
197 + <summary>Do you offer support plans?</summary>
198 + <p>Yes, from ad-hoc assistance to ongoing retainers with response-time guarantees and monthly health checks.</p>
199 + </details>
200 + </div>
201 + </section>
266 266  
267 - <!-- ================= CTA ================= -->
268 - <section id="contact" aria-labelledby="contact-title">
269 - <div class="container">
270 - <div class="cta-band">
271 - <div>
272 - <h3 id="contact-title">Need a reliable plan for your XWiki?</h3>
273 - <p class="lead" style="margin:0">Upgrades, support, and integrations handled with low risk and clear communication.</p>
274 - </div>
275 - <a class="btn btn-primary" href="mailto:hello@agnease.com">Contact Agnease</a>
203 + <!-- ================= CTA ================= -->
204 + <section id="contact" aria-labelledby="contact-title">
205 + <div class="container">
206 + <div class="cta-band">
207 + <div>
208 + <h3 id="contact-title">Need a reliable plan for your XWiki?</h3>
209 + <p class="lead" style="margin:0">Upgrades, support, and integrations handled with low risk and clear communication.</p>
276 276   </div>
211 + <a class="btn btn-primary" href="mailto:hello@agnease.com">Contact Agnease</a>
277 277   </div>
278 - </section>
279 - </main>
213 + </div>
214 + </section>
215 +</main>
280 280  {{/html}}
281 281  #*
282 282  = XWiki Multi-Factor Authentication (MFA) Application =
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,141 +1,359 @@
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 - }
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;
16 16  
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}
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; overflow-x: clip;}
22 22  
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}
27 + /* Global sections */
28 + section { padding: 32px 0; border-top: 1px solid @line; }
29 + section:first-of-type { border-top: none; }
29 29  
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)}
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;
37 37  
38 - /* Sections */
39 - section{padding:68px 0;border-top:1px solid var(--line)}
40 - section:first-of-type{border-top:none}
37 + &:focus-visible { outline: 3px solid @brand; outline-offset: 2px; }
41 41  
42 - /* Hero */
43 - .hero{
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;
44 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%);
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 + list-style: none;
96 + padding: 0;
97 + margin: 0.8rem 0 0;
98 + color: @muted;
99 + font-size: 14px;
100 + gap: 5px;
101 + li {
102 + /*margin-left: 5px;*/
103 + }
104 + li + li::before {
105 + content: "•";
106 + margin-right: 5px;
107 + }
108 + /* Mobile: show bullets only between 1–2 and 3–4 */
109 + @media (max-width: 640px) {
110 + /* override the exact selector used above */
111 + li + li::before { content: none; }
112 + /* Add bullet only after item 1 and item 3 */
113 + li:nth-child(1)::after,
114 + li:nth-child(3)::after {
115 + content: "•";
116 + margin-left: 5px;
117 + }
118 + }
119 + }
47 47   }
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)}
121 + }
54 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
123 + /* === WHY CHOOSE (widgets using Bootstrap grid) === */
124 + .widgets {
125 + margin-top: 12px;
126 + display: flex;
127 + flex-wrap: wrap;
128 +
129 + /* optional: tighten columns a bit on small screens */
130 + .col-sm-6 {
131 + margin-bottom: 16px;
61 61   }
62 - .widget .icon{
63 - width:38px;height:38px;border-radius:10px;background:var(--panel);display:grid;place-items:center;border:1px solid var(--line)
133 + }
134 +
135 + .widget {
136 + background: #fff;
137 + border: 1px solid @line;
138 + border-radius: @radius;
139 + padding: 18px;
140 + box-shadow: @shadow-sm;
141 + display: flex;
142 + flex-direction: column;
143 + height: 100%;
144 + justify-content: flex-start;
145 + gap: 8px;
146 + text-align: left;
147 + transition: transform 0.18s ease, box-shadow 0.18s ease;
148 +
149 + &:first-child {
150 + padding-left: 0;
64 64   }
65 - .widget p{color:var(--muted);margin:0}
152 + &:last-child {
153 + padding-right: 0;
154 + }
66 66  
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
156 + &:hover {
157 + transform: translateY(-2px);
158 + box-shadow: @shadow;
73 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}
78 78  
79 - /* Metrics band */
80 - .metrics{
81 - display:grid;gap:14px;grid-template-columns:repeat(2,1fr)
161 + .icon {
162 + display: flex;
163 + align-items: center;
164 + gap: 10px;
165 + padding: 6px 0;
166 + border-bottom: 1px solid fade(@line, 60%);
167 + margin-bottom: 6px;
168 +
169 + i {
170 + color: @brand;
171 + }
172 +
173 + h4 {
174 + margin: 0;
175 + color: @text;
176 + line-height: 1.2;
177 + }
82 82   }
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)
179 +
180 + p {
181 + color: @muted;
182 + margin: 0;
183 + line-height: 1.45;
86 86   }
87 - .metric .num{font-size:1.6rem;font-weight:800;color:var(--brand)}
88 - .metric .label{color:var(--muted);font-size:.92rem}
185 + }
89 89  
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)}
187 + /* SERVICES */
188 + .services {
189 + h2 {
190 + margin: 0 0 .3rem;
191 + }
94 94  
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)}
193 + .services-sub {
194 + margin: 0 0 1.75rem;
195 + color: @muted;
196 + }
99 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
198 + /* Flex layout: 2 per row on desktop */
199 + .services-grid {
200 + display: flex;
201 + flex-wrap: wrap;
202 + gap: 32px 36px; // row gap, column gap
104 104   }
105 -/* Keep primary CTA text white on hover */
106 -.btn-primary,
107 -.btn-primary:hover,
108 -.btn-primary:focus {
109 - color: #fff;
110 -}
111 111  
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 -}
205 + .service {
206 + display: grid;
207 + grid-template-columns: 48px 1fr;
208 + gap: 16px;
209 + padding: 18px 0;
210 + border-top: 1px solid @line;
117 117  
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 -}
212 + /* two per row */
213 + flex: 1 1 calc(50% - 18px);
214 + max-width: calc(50% - 18px);
135 135  
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 }
216 + /* first row: no top border */
217 + &:nth-of-type(-n + 2) {
218 + border-top: none;
219 + }
220 +
221 + > i {
222 + width: 42px;
223 + height: 42px;
224 + border-radius: 50%;
225 + display: flex;
226 + align-items: center;
227 + justify-content: center;
228 + font-size: 18px;
229 + color: @brand;
230 + background: fade(@brand, 10%);
231 + margin-top: 3px;
232 + }
233 +
234 + .body {
235 + h4 {
236 + margin: 0 0 4px;
237 + font-size: 1.125rem;
238 + font-weight: 800;
239 + }
240 +
241 + p {
242 + margin: 0 0 6px;
243 + color: @text;
244 + line-height: 1.5;
245 + }
246 +
247 + ul {
248 + margin: .45rem 0 0;
249 + padding-left: 1.1rem;
250 + color: @muted;
251 + font-size: .95rem;
252 + }
253 +
254 + li {
255 + margin: .25rem 0;
256 + line-height: 1.45;
257 + }
258 + }
259 + }
260 +
261 + /* If there is an odd number of services, center the last one */
262 + .services-grid > .service:last-child:nth-child(odd) {
263 + flex-basis: 100%;
264 + max-width: 680px;
265 + margin-left: auto;
266 + margin-right: auto;
267 + }
268 +
269 + /* Mobile: single column, full-width */
270 + @media (max-width: 760px) {
271 + .services-grid {
272 + gap: 20px;
273 + }
274 +
275 + .service {
276 + grid-template-columns: 40px 1fr;
277 + flex: 1 1 100%;
278 + max-width: 100%;
279 +
280 + /* reset border for all, then remove only on first */
281 + border-top: 1px solid @line;
282 +
283 + &:nth-of-type(1) {
284 + border-top: none;
285 + }
286 +
287 + > i {
288 + width: 36px;
289 + height: 36px;
290 + font-size: 16px;
291 + }
292 + }
293 +
294 + /* On mobile, last item behaves like all others */
295 + .services-grid > .service:last-child:nth-child(odd) {
296 + flex-basis: 100%;
297 + max-width: 100%;
298 + margin-left: 0;
299 + margin-right: 0;
300 + }
301 + }
302 + }
303 + /* METRICS */
304 + .metrics {
305 + display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);
306 + @media (min-width: 720px) { grid-template-columns: repeat(4, 1fr); }
307 + .metric {
308 + background: #fff; border: 1px solid @line; border-radius: 14px; padding: 16px; text-align: center; box-shadow: @shadow-sm;
309 + .num { font-size: 1.6rem; font-weight: 800; color: @brand; }
310 + .label { color: @muted; font-size: .92rem; }
311 + }
312 + }
313 +
314 + /* PROCESS */
315 + .steps {
316 + display: grid; gap: 16px; grid-template-columns: 1fr;
317 + @media (min-width: 860px) { grid-template-columns: repeat(3, 1fr); }
318 + .step {
319 + background: #fff; border: 1px solid @line; border-radius: @radius; padding: 18px; box-shadow: @shadow-sm;
320 + }
321 + }
322 +
323 + /* FAQ */
324 + .faq {
325 + details {
326 + border: 1px solid @line; border-radius: @radius-sm; padding: .75rem .9rem; background: #fff; margin: .6rem 0;
327 + summary { cursor: pointer; font-weight: 650; }
328 + &[open] { box-shadow: @shadow-sm; }
329 + }
330 + }
331 +
332 + /* CTA BAND */
333 + #contact {
334 + .cta-band {
335 + background: #fff; border: 1px solid @line; border-radius: @radius;
336 + padding: 20px; box-shadow: @shadow;
337 + display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
338 + }
339 + }
340 +
341 + /* ===== Prevent horizontal overflow ===== */
342 + html, body {
343 + overflow-x: hidden;
344 + }
345 +
346 + /* Ensure hero gradients don't bleed */
347 + .hero {
348 + overflow: hidden; /* contain background overflow */
349 + background-repeat: no-repeat;
350 + background-attachment: scroll;
351 + }
352 +
353 + /* Safety for large paddings/margins that might extend */
354 + section, .widgets, .services, .metrics, .steps {
355 + margin-left: auto;
356 + margin-right: auto;
357 + }
140 140  }
141 141  
Content Type
... ... @@ -1,1 +1,1 @@
1 -CSS
1 +LESS