/* =====================================================================
   LAYOUT & COMPONENTS  (colours come from theme.css – avoid hard-coding)
   ===================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
section { padding: clamp(4.25rem, 8vw, 7.5rem) 0; }
.tint { background: var(--surface); }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--accent); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--accent); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-top: .8rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }
.hl { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.02rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 22px -10px var(--primary); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 14px 28px -10px var(--primary); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 22px -10px var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .38); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--primary-dark); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--primary); background: #fff; }
.btn-outline:hover { border-color: var(--primary); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn .icon { width: 1.1em; height: 1.1em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--primary-dark); color: rgba(255, 255, 255, .9); font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar-item .icon { width: 1em; height: 1em; color: var(--accent); }
.topbar-right { display: flex; gap: 1.5rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 28px -18px rgba(10, 40, 70, .35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--primary-light), var(--primary) 55%, var(--primary-dark));
  box-shadow: 0 8px 18px -8px var(--primary);
}
.logo-mark .icon { width: 24px; height: 24px; stroke-width: 1.9; }
.logo-img { height: 44px; width: auto; }
.logo-text b { font-weight: 700; }
.logo-text .lw { color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.9rem; }
.nav-links a { position: relative; font-weight: 500; font-size: .96rem; color: var(--ink); padding: .4rem 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0; color: #fff; overflow: hidden; background: var(--primary-dark); }
.hero-slides { position: relative; min-height: 640px; min-height: clamp(620px, calc(100svh - 118px), 840px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; background-color: var(--primary-dark); background-size: cover; background-position: center; transform: scale(1.04); }
.slide.active .slide-bg { animation: kenburns 11s ease-out forwards; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--primary-dark) 94%, transparent) 0%, color-mix(in srgb, var(--primary-dark) 78%, transparent) 42%, color-mix(in srgb, var(--primary-dark) 25%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--primary-dark) 70%, transparent) 0%, transparent 35%);
}
.slide > .container { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.slide-content { max-width: 690px; padding: 4.5rem 0 9rem; }
.slide-content > * { opacity: 0; transform: translateY(26px); }
.slide.active .slide-content > * { animation: fadeUp .9s var(--ease) forwards; }
.slide.active .slide-content > :nth-child(1) { animation-delay: .15s; }
.slide.active .slide-content > :nth-child(2) { animation-delay: .3s; }
.slide.active .slide-content > :nth-child(3) { animation-delay: .45s; }
.slide.active .slide-content > :nth-child(4) { animation-delay: .6s; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem .45rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px);
  font-size: .85rem; font-weight: 500; letter-spacing: .02em;
}
.pill .pulse-dot { background: var(--accent); }
.slide h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); margin: 1.4rem 0 1.2rem; font-weight: 600; letter-spacing: -.03em; }
.slide h1 .hl { color: var(--accent); }
.slide p.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .86); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 6.2rem; pointer-events: none; }
.hero-controls .container { display: flex; align-items: center; justify-content: space-between; }
.dots { display: flex; gap: .6rem; pointer-events: auto; }
.dot { position: relative; width: 44px; height: 6px; border: 0; padding: 0; border-radius: 6px; background: rgba(255, 255, 255, .3); overflow: hidden; transition: width .4s var(--ease); }
.dot .bar { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dot.active { width: 72px; }
.dot.active .bar { animation: fill var(--dur, 7000ms) linear forwards; }
.hero.no-auto .dot.active .bar, .hero.paused .dot.active .bar { animation: none; transform: scaleX(1); }
.arrows { display: flex; gap: .6rem; pointer-events: auto; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .25s, color .25s, transform .25s; }
.arrow:hover { background: #fff; color: var(--primary-dark); transform: scale(1.06); }

.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bubbles span { position: absolute; bottom: -40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .25), rgba(255, 255, 255, .02)); animation: rise linear infinite; }

/* ---------- Facts bar ---------- */
.facts { padding: 0; position: relative; z-index: 6; margin-top: -4.2rem; }
.facts-card { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.fact { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.7rem; position: relative; }
.fact + .fact::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.fact-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; transition: background .3s, color .3s, transform .3s var(--ease); }
.fact:hover .fact-icon { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.fact-icon .icon { width: 26px; height: 26px; }
.fact h3 { font-size: 1.05rem; }
.fact p { font-size: .88rem; color: var(--muted); line-height: 1.4; }

/* ---------- Services ---------- */
.tabs { display: flex; width: fit-content; margin: 0 auto 1rem; padding: .35rem; gap: .25rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tab { display: inline-flex; align-items: center; gap: .55rem; border: 0; background: transparent; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.tab:hover { color: var(--primary); }
.tab.active { background: var(--primary); color: #fff; box-shadow: 0 8px 18px -8px var(--primary); }
.tab-blurb { text-align: center; color: var(--muted); margin-bottom: 2.5rem; min-height: 1.65em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.panel.active { animation: panelIn .6s var(--ease); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.7rem 1.7rem;
  display: flex; flex-direction: column; gap: .8rem; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); transition: background .3s, color .3s, transform .4s var(--ease); }
.card:hover .card-icon { background: var(--primary); color: #fff; transform: scale(1.08) rotate(-5deg); }
.card-icon .icon { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-top: .4rem; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--primary); margin-top: .3rem; }
.card-link .icon { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.card:hover .card-link .icon { transform: translateX(5px); }
.services-foot { text-align: center; margin-top: 2.75rem; color: var(--muted); }
.services-foot a { color: var(--primary); font-weight: 600; white-space: nowrap; }
.services-foot a:hover { text-decoration: underline; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about-media { position: relative; padding: 0 0 2rem 2rem; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: 28px; background: var(--primary-soft); border: 1px solid var(--line); z-index: 0; }
.about-frame { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.6; background: linear-gradient(145deg, var(--primary-light), var(--primary-dark)); box-shadow: var(--shadow-lg); }
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; z-index: 2; right: -1rem; bottom: 0; background: var(--accent); color: var(--on-accent); padding: 1.1rem 1.5rem; border-radius: 20px; box-shadow: var(--shadow-md); max-width: 210px; animation: float 5s ease-in-out infinite; }
.about-badge strong { display: block; font-family: var(--font-heading); font-size: 2.5rem; line-height: 1; }
.about-badge span { font-size: .88rem; font-weight: 500; line-height: 1.3; display: block; margin-top: .3rem; }
.about-text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .8rem 0 1.3rem; }
.about-text > p { color: var(--muted); margin-bottom: 1rem; }
.ticks { display: grid; gap: .75rem; margin: 1.6rem 0 0; }
.ticks li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 500; }
.tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; flex: none; margin-top: 2px; }
.tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-heading); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--primary); line-height: 1.1; }
.stat span { font-size: .84rem; color: var(--muted); line-height: 1.35; display: block; margin-top: .3rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; border-top: 2px dashed var(--line); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 .5rem; }
.step-icon { width: 78px; height: 78px; margin: 0 auto 1.3rem; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--primary); position: relative; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.step:hover .step-icon { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-5px); }
.step-icon .icon { width: 30px; height: 30px; }
.step-num { position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .8rem; font-weight: 700; display: grid; place-items: center; font-family: var(--font-heading); }
.step h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- Commercial band ---------- */
.dark-band { position: relative; color: #fff; overflow: hidden; background: var(--primary-dark); }
.dark-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--primary-light) 38%, transparent), transparent 55%), radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 45%); }
.dark-band::after { content: ""; position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 26px 26px; }
.dark-band .container { position: relative; z-index: 1; }
.dark-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.dark-band .eyebrow { color: #fff; opacity: .9; }
.dark-band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: .8rem 0 1.2rem; }
.dark-band h2 .hl { color: var(--accent); }
.dark-band .lead { color: rgba(255, 255, 255, .8); font-size: 1.08rem; }
.dark-band .ticks { margin: 1.8rem 0 2.2rem; }
.dark-band .tick { background: var(--accent); color: var(--on-accent); }
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.sector { display: flex; align-items: center; gap: .9rem; padding: 1.15rem 1.2rem; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); font-weight: 500; transition: transform .35s var(--ease), background .3s, border-color .3s; }
.sector:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .13); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.sector .icon { color: var(--accent); width: 26px; height: 26px; }

/* ---------- Reviews ---------- */
.g-badge { display: flex; width: fit-content; align-items: center; gap: .7rem; margin: -1rem auto 2.5rem; padding: .6rem 1.3rem .6rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: .92rem; color: var(--muted); transition: transform .3s var(--ease), box-shadow .3s; }
.g-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.g-badge strong { color: var(--ink); font-family: var(--font-heading); font-size: 1.1rem; }
.g-badge .stars .icon { width: 16px; height: 16px; }
.g-logo { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: Arial, sans-serif; color: #4285f4; background: #fff; border: 1px solid var(--line); }
.review-foot { text-align: center; margin-top: 2rem; }
.review-foot a { display: inline-flex; align-items: center; gap: .4rem; color: var(--primary); font-weight: 600; }
.review-foot a:hover { text-decoration: underline; }
.review-foot .icon { width: 1em; height: 1em; }
.review-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.review-grid > .review { flex: 1 1 calc(33.333% - 1rem); min-width: 300px; max-width: calc(33.333% - .9rem); }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review::after { content: "\201C"; position: absolute; right: 1.5rem; top: .4rem; font-family: Georgia, serif; font-size: 5.5rem; line-height: 1; color: var(--primary-soft); }
.stars { display: flex; gap: .2rem; color: #f5a623; }
.stars .icon { width: 19px; height: 19px; fill: currentColor; stroke-width: 1; }
.review blockquote { margin: 0; color: var(--ink); position: relative; z-index: 1; flex: 1; }
.review-by { display: flex; align-items: center; gap: .9rem; }
.avatar { flex: none; aspect-ratio: 1; width: 46px; height: 46px; min-width: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: var(--font-heading); color: #fff; background: linear-gradient(140deg, var(--primary-light), var(--primary)); }
.review-by strong { display: block; line-height: 1.2; }
.review-by div span { display: block; font-size: .86rem; line-height: 1.45; color: var(--muted); }

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.areas-grid h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .8rem 0 1rem; }
.areas-grid > div:first-child > p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.chip .icon { width: 14px; height: 14px; color: var(--accent); }
.chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .9rem; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { border-color: color-mix(in srgb, var(--primary) 35%, #fff); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; background: none; border: 0; padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1.04rem; font-family: var(--font-heading); }
.faq-q .plus { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-item.open .plus { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-card { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(2.2rem, 5vw, 4rem); color: #fff; background: linear-gradient(120deg, var(--primary-dark), var(--primary) 70%, var(--primary-light)); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-card::before, .cta-card::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta-card::before { width: 340px; height: 340px; right: -90px; top: -150px; }
.cta-card::after { width: 220px; height: 220px; right: 22%; bottom: -130px; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 540px; }
.cta-card h2 .hl { color: var(--accent); }
.cta-card p { margin-top: .8rem; color: rgba(255, 255, 255, .85); max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .8rem 0 1rem; }
.contact-info > p { color: var(--muted); }
.info-list { display: grid; gap: 1rem; margin: 2rem 0 1.5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
a.info-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.info-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.info-item small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-item strong { font-size: 1.08rem; font-weight: 600; line-height: 1.35; display: block; }
.hours { font-size: .94rem; color: var(--muted); }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.hours b { color: var(--ink); font-weight: 600; }
.map { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 230px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

.form-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-lg); overflow: hidden; }
.form-card h3 { font-size: 1.6rem; }
.form-sub { color: var(--muted); margin: .35rem 0 1.5rem; font-size: .96rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .35rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 1.3rem; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; justify-content: center; align-items: center; gap: .5rem; padding: .7rem; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.seg input:checked + span { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: .4rem; }
.field label i { color: #d92d20; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface);
  transition: border-color .2s, background .2s, box-shadow .2s; font-size: .98rem;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23566879' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--primary) 35%, #fff); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.field .err { display: none; color: #d92d20; font-size: .8rem; margin-top: .3rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d92d20; background: #fff8f7; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.btn-submit { width: 100%; margin-top: .4rem; position: relative; }
.btn-submit .spin { display: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn-submit.loading { pointer-events: none; opacity: .92; }
.btn-submit.loading .spin { display: block; }
.form-error { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; background: #fff1f0; color: #b42318; font-size: .92rem; }
.form-error.show { display: block; }
.fine { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 1rem; }

.form-success {
  position: absolute; inset: 0; z-index: 5; background: #fff; display: grid; place-items: center; text-align: center; padding: 2rem;
  opacity: 0; visibility: hidden; transform: scale(.97); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.form-success.show { opacity: 1; visibility: visible; transform: none; }
.success-inner { max-width: 400px; }
.success-x { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; transition: background .25s, color .25s, transform .3s var(--ease); }
.success-x:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }
.check-circle { width: 96px; height: 96px; margin: 0 auto 1.5rem; }
.check-circle circle { fill: color-mix(in srgb, #12b76a 12%, #fff); stroke: #12b76a; stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; }
.check-circle path { fill: none; stroke: #12b76a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-success.show .check-circle circle { animation: draw .7s .15s ease forwards; }
.form-success.show .check-circle path { animation: draw .5s .65s ease forwards; }
.form-success h3 { font-size: 1.9rem; margin-bottom: .7rem; }
.form-success p { color: var(--muted); }
.success-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.3rem 0 1.8rem; }
.success-chips span { padding: .35rem .85rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: .84rem; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #0a1520; background: color-mix(in srgb, var(--primary-dark) 55%, #05090e); color: rgba(255, 255, 255, .74); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer .logo { color: #fff; margin-bottom: 1.1rem; }
.footer .logo-text .lw { color: var(--accent); }
.footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; }
.footer li { margin-bottom: .6rem; }
.footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: 4px; width: 1.05em; height: 1.05em; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .25s, transform .3s var(--ease); }
.socials a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.4rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 1.4rem; }

/* ---------- Floating call button (mobile) ---------- */
.fab-call { display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 70; align-items: center; gap: .6rem; padding: .95rem 1.3rem; border-radius: 999px; font-weight: 700; background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .4); }
.fab-call::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 var(--accent); animation: ring 2.4s infinite; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }

/* ---------- Keyframes ---------- */
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1%, -1%); } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes rise { from { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .9; } to { transform: translateY(-120vh) scale(1.1); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 16px transparent; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .review-grid > .review { max-width: calc(50% - .7rem); flex-basis: calc(50% - .7rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts-card { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3)::before { display: none; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
}
@media (max-width: 960px) {
  .topbar-right { display: none; }
  .topbar .container { justify-content: center; }
  .burger { display: block; }
  .nav-menu {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.2rem; padding: 1.4rem 1.25rem 1.8rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(10, 40, 70, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .3s, visibility .3s;
    max-height: calc(100svh - 76px); overflow-y: auto;
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: .95rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav-cta { width: 100%; }
  .fab-call { display: inline-flex; }
  .about-grid, .dark-grid, .areas-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .arrows { display: none; }
}
@media (max-width: 640px) {
  section { padding: 3.75rem 0; }
  .container { width: min(1200px, 100% - 2rem); }
  .hero-slides { min-height: 640px; }
  .slide-content { padding: 3rem 0 9.5rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-controls { bottom: 5.6rem; }
  .dot { width: 30px; } .dot.active { width: 54px; }
  .facts { margin-top: -3.4rem; }
  .facts-card { border-radius: 20px; }
  .fact { flex-direction: column; text-align: center; padding: 1.2rem .8rem; gap: .6rem; }
  .fact-icon { width: 46px; height: 46px; }
  .fact::before { display: none; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .review-grid > .review { max-width: 100%; flex-basis: 100%; min-width: 0; }
  .g-badge { flex-wrap: wrap; justify-content: center; border-radius: 22px; margin-top: -.5rem; }
  .tabs { width: 100%; } .tab { flex: 1; justify-content: center; padding: .8rem .5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; align-items: center; }
  .about-badge { right: 0; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .topbar { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bubbles { display: none; }
}


/* mobile fixes: long contact details must wrap, nothing may widen the page, header stays pinned */
html { overflow-x: clip; }
.contact-grid > *, .info-item > div, .info-item { min-width: 0; }
.info-item strong, .info-item small, .hours b { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .info-item { padding: 1rem; gap: .85rem; }
  .info-item strong { font-size: .9rem; }
  .info-item strong a { overflow-wrap: anywhere; }
  .hours div { flex-wrap: wrap; }
  .form-card { padding: 1.4rem 1.1rem; }
}
