/* ============ Tunddra — Arctic design system (no framework) ============ */
:root {
  --ink: #0A1B26;        /* arctic night */
  --fjord: #063B57;      /* deep water */
  --brand: #00B1F0;      /* glacial (brand) */
  --frost: #D7EEF9;      /* frost */
  --ice: #F5FAFD;        /* page */
  --peak: #FFFFFF;
  --muted: #5B7284;
  --line: #DCE9F1;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --rad: 16px;
  --shadow: 0 12px 40px rgba(6, 59, 87, .10);
  --max: 1140px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--body); color: var(--ink); background: var(--ice); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); }
.lead { color: var(--muted); font-size: 17px; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--brand); }

/* reveals */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ nav ============ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .3s ease, box-shadow .3s ease; }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 28px; }
.nav.scrolled, .nav.nav-solid { background: rgba(10, 27, 38, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-langs { display: flex; gap: 8px; margin-left: 6px; }
.lang-switch { border: 0; background: none; cursor: pointer; opacity: .55; transition: opacity .2s; padding: 2px; }
.lang-switch img { width: 22px; height: 15px; border-radius: 2px; }
.lang-switch.active, .lang-switch:hover { opacity: 1; }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.nav-burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; transition: .3s; }
.nav-burger span:nth-child(1) { top: 13px; } .nav-burger span:nth-child(2) { top: 19px; } .nav-burger span:nth-child(3) { top: 25px; }
.nav-burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ============ hero ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, #071520 0%, var(--ink) 45%, #0A2E44 100%); }
.hero::before { /* aurora glow field */
  content: ""; position: absolute; inset: -30% -10%; pointer-events: none;
  background:
    radial-gradient(46% 36% at 66% 16%, rgba(0,177,240,.38), transparent 70%),
    radial-gradient(38% 30% at 24% 58%, rgba(25,200,160,.24), transparent 70%),
    radial-gradient(30% 26% at 86% 66%, rgba(0,177,240,.18), transparent 70%);
  animation: aurora 18s ease-in-out infinite alternate;
}
.hero::after { /* aurora ribbon */
  content: ""; position: absolute; left: -12%; right: -12%; top: 4%; height: 42%;
  pointer-events: none; filter: blur(34px); opacity: .5;
  background: linear-gradient(100deg, transparent 12%, rgba(0,177,240,.45) 34%, rgba(66,224,190,.4) 52%, rgba(0,177,240,.3) 68%, transparent 88%);
  clip-path: polygon(0 62%, 12% 40%, 30% 56%, 48% 30%, 66% 52%, 84% 26%, 100% 48%, 100% 100%, 0 100%);
  transform-origin: center; animation: ribbon 22s ease-in-out infinite alternate;
}
@keyframes ribbon { from { transform: translateX(-2.5%) skewY(-1deg); opacity: .4; } to { transform: translateX(2.5%) skewY(1.5deg); opacity: .62; } }
@keyframes aurora { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.06); } }
.hero-snow { position: absolute; inset: 0; pointer-events: none; }
.hero-snow i { position: absolute; top: -8px; border-radius: 50%; background: #fff; animation: snowfall linear infinite; }
@keyframes snowfall { to { transform: translateY(110vh); } }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after, .hero-snow i { animation: none; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.hero .eyebrow { color: var(--frost); }
.hero .eyebrow::before { background: var(--brand); }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 700; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub { color: rgba(235, 246, 252, .82); font-size: 18px; max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; border-radius: 999px; padding: 14px 28px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #04222f; box-shadow: 0 10px 30px rgba(0,177,240,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,177,240,.45); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }
.hero-cube { position: relative; display: flex; justify-content: flex-end; padding-right: clamp(0px, 2vw, 28px); }
.hero-cube picture { display: flex; justify-content: flex-end; flex: 1; }
.hero-cube img { width: min(300px, 62%); height: auto; filter: drop-shadow(0 30px 60px rgba(0,177,240,.35)); animation: cubefloat 9s ease-in-out infinite; }
.hero .eyebrow, .hero h1, .hero-sub, .hero-ctas, .rotator, .hero-cube { opacity: 0; animation: heroIn .55s ease forwards; }
.hero .eyebrow { animation-delay: .05s; } .hero h1 { animation-delay: .14s; }
.hero-sub { animation-delay: .24s; } .hero-ctas { animation-delay: .34s; }
.rotator { animation-delay: .44s; } .hero-cube { animation-delay: .2s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .eyebrow, .hero h1, .hero-sub, .hero-ctas, .rotator, .hero-cube { animation: none; opacity: 1; } }
@keyframes cubefloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .hero-cube img { animation: none; } }

/* problems rotator */
.rotator { margin-top: 46px; display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.05); backdrop-filter: blur(6px); min-height: 56px; max-width: 100%; white-space: nowrap; overflow: hidden; transition: width .4s cubic-bezier(.4,.7,.3,1); box-sizing: border-box; }
.rotator-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(0,177,240,.2); color: var(--frost); white-space: nowrap; }
.rotator-tag[data-kind="business"] { background: rgba(25,200,160,.2); }
.rotator-text { font-size: 16px; color: #fff; transition: opacity .35s ease, transform .35s ease; }
.rotator-text.out { opacity: 0; transform: translateY(-8px); }

/* ============ wheel section ============ */
.wheel-section { background: linear-gradient(180deg, var(--ice) 0%, var(--frost) 140%); }
.wheel-panel { margin-top: 70px; }
.wheel-container { position: relative; width: min(460px, 80vw); height: min(460px, 80vw); margin: 0 auto 34px; }
.wheel-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.wheel-lines line { stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .72s ease; }
.wheel-container.animate .wheel-lines line { opacity: 1; }
.wheel-container.animate .wheel-lines line:nth-of-type(1) { transition-delay: 0.18s; }
.wheel-container.animate .wheel-lines line:nth-of-type(2) { transition-delay: 0.42s; }
.wheel-container.animate .wheel-lines line:nth-of-type(3) { transition-delay: 0.66s; }
.wheel-container.animate .wheel-lines line:nth-of-type(4) { transition-delay: 0.9s; }
.wheel-container.animate .wheel-lines line:nth-of-type(5) { transition-delay: 1.14s; }
.wheel-container.animate .wheel-lines line:nth-of-type(6) { transition-delay: 1.38s; }
.wheel-container.animate .wheel-lines line:nth-of-type(7) { transition-delay: 1.62s; }
.wheel-container.animate .wheel-lines line:nth-of-type(8) { transition-delay: 1.86s; }
.wheel-container.animate .wheel-lines line:nth-of-type(9) { transition-delay: 2.1s; }
@media (prefers-reduced-motion: reduce) { .wheel-lines line { opacity: 1 !important; transition: none !important; } }
.wheel-hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.6); width: 128px; height: auto; opacity: 0; transition: opacity .96s ease, transform .96s cubic-bezier(.2, .9, .3, 1.2); }
.wheel-container.animate .wheel-hub { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wheel-node { position: absolute; width: 92px; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; transform: translate(-50%, -50%) scale(.3); transition: opacity .72s ease, transform .72s cubic-bezier(.2, .9, .3, 1.3); }
.wheel-container.animate .wheel-node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wheel-container.animate .wheel-node:nth-of-type(1) { transition-delay: 0.18s; }
.wheel-container.animate .wheel-node:nth-of-type(2) { transition-delay: 0.42s; }
.wheel-container.animate .wheel-node:nth-of-type(3) { transition-delay: 0.66s; }
.wheel-container.animate .wheel-node:nth-of-type(4) { transition-delay: 0.9s; }
.wheel-container.animate .wheel-node:nth-of-type(5) { transition-delay: 1.14s; }
.wheel-container.animate .wheel-node:nth-of-type(6) { transition-delay: 1.38s; }
.wheel-container.animate .wheel-node:nth-of-type(7) { transition-delay: 1.62s; }
.wheel-container.animate .wheel-node:nth-of-type(8) { transition-delay: 1.86s; }
.wheel-container.animate .wheel-node:nth-of-type(9) { transition-delay: 2.1s; }
.wheel-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--peak); border: 1.5px solid var(--brand); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; box-shadow: 0 8px 22px rgba(0,177,240,.16); transition: background .25s, color .25s, transform .25s; position: relative; }
.wheel-icon svg { width: 26px; height: 26px; }
.wheel-node:hover .wheel-icon { background: var(--brand); color: #fff; transform: translateY(-5px); }
.wheel-container.float .wheel-icon { animation: nodefloat 5s ease-in-out infinite; }
.wheel-node:nth-of-type(2n) .wheel-icon { animation-delay: 1.4s; }
.wheel-node:nth-of-type(3n) .wheel-icon { animation-delay: 2.6s; }
@keyframes nodefloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .wheel-node, .wheel-hub { opacity: 1 !important; transform: translate(-50%, -50%) scale(1) !important; transition: none !important; }
  .wheel-container.float .wheel-icon { animation: none; }
}
.wheel-label { font-family: var(--display); font-weight: 600; font-size: 13px; line-height: 1.15; }
.wheel-detail { font-size: 10.5px; color: var(--muted); line-height: 1.25; max-width: 92px; }
.wheel-container.wheel-compact .wheel-detail { display: none; }
.wheel-value { margin-top: 54px; text-align: center; font-family: var(--display); font-size: 19px; color: var(--fjord); font-style: italic; }
@media (max-width: 640px) {
  .wheel-container { width: min(460px, 100%); height: min(460px, calc(100vw - 48px)); margin-bottom: 42px; }
  .wheel-node { width: 78px; }
  .wheel-icon { width: 48px; height: 48px; }
  .wheel-icon svg { width: 22px; height: 22px; }
  .wheel-label { font-size: 12px; }
  .wheel-detail { max-width: 82px; font-size: 10px; }
  .wheel-node[style*="left:96%"] { left: 89% !important; }
  .wheel-node[style*="left:91%"] { left: 86% !important; }
  .wheel-node[style*="left:9%"]  { left: 14% !important; }
  .wheel-node[style*="left:4%"]  { left: 11% !important; }
}

.wheel-caption { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ============ services ============ */
.svc-grid { display: flex; gap: 28px; margin-top: 46px; align-items: stretch; }
.svc-card { cursor: pointer; display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; background: var(--peak); border: 1px solid var(--line); border-radius: var(--rad); padding: 36px; box-shadow: var(--shadow); transition: flex .55s cubic-bezier(.3,.8,.3,1), box-shadow .3s ease, border-color .3s ease; }
.svc-grid[data-open="perso"] .svc-card[data-card="perso"], .svc-grid[data-open="pro"] .svc-card[data-card="pro"] { flex: 1.75 1 0; border-color: var(--brand); box-shadow: 0 18px 50px rgba(0,177,240,.16); }
.svc-grid[data-open="perso"] .svc-card[data-card="pro"], .svc-grid[data-open="pro"] .svc-card[data-card="perso"] { flex: .75 1 0; }
.svc-card h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.svc-card h3 svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.svc-card > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.svc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s cubic-bezier(.4,.7,.3,1), opacity .35s ease .08s; }
.svc-card.open { cursor: default; }
.svc-card.open .svc-list { opacity: 1; }
@media (max-width: 900px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list li { display: flex; gap: 11px; font-size: 15px; align-items: center; }
.svc-list li svg { width: 17px; height: 17px; flex: none; color: #7FC6E8; }
.svc-more { margin-top: auto; padding-top: 18px; align-self: flex-start; background: none; border: 0; color: var(--brand); font-family: var(--mono); font-size: 12px; cursor: pointer; padding: 4px 0; }
.svc-more:hover { text-decoration: underline; }

/* ============ how ============ */
.how { background: var(--ink); color: #fff; }
.how .eyebrow { color: var(--frost); }
.how .lead { color: rgba(235,246,252,.7); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.how-step { position: relative; border: 1px solid rgba(255,255,255,.12); border-radius: var(--rad); padding: 34px 28px 30px; background: rgba(255,255,255,.04); }
.how-num { font-family: var(--mono); color: var(--brand); font-size: 13px; letter-spacing: .1em; margin-bottom: 14px; display: block; }
.how-step h3 { font-size: 22px; margin-bottom: 10px; }
.how-step p { color: rgba(235,246,252,.72); font-size: 15px; }

/* ============ zone + stats ============ */
.zone-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.zone-communes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.zone-communes span { font-family: var(--mono); font-size: 12px; padding: 7px 14px; border-radius: 999px; background: var(--frost); color: var(--fjord); }
.zone-communes span.hq { background: var(--brand); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat { background: var(--peak); border: 1px solid var(--line); border-radius: var(--rad); padding: 30px 20px; text-align: center; box-shadow: var(--shadow); }
.stat b { font-family: var(--display); font-size: clamp(34px, 4vw, 46px); color: var(--brand); display: block; line-height: 1; }
.stat small { color: var(--muted); font-size: 14px; }

/* ============ reviews / brands ============ */
.reviews { background: radial-gradient(ellipse 74% 105% at 50% 0%, #DFEEF9 0%, #EBF5FB 48%, #F9FCFE 85%, #FBFDFF 100%); position: relative; }
a[href*="elfsight.com"][href*="utm"] { display: none !important; height: 0 !important; overflow: hidden !important; position: absolute !important; }

.car-card { margin: 0; border-radius: var(--rad); overflow: hidden; box-shadow: var(--shadow); }
.car-card img { display: block; width: 100%; height: auto; }
.modes { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.modes li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.modes li svg { width: 20px; height: 20px; flex: none; color: var(--brand); }
.stats { margin-top: 56px; }
.about-block { max-width: 860px; margin-top: 64px; margin-left: auto; margin-right: auto; text-align: center; }
.about-block .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--brand); }
.about-block .lead { max-width: none; text-align: left; }

/* ============ contact ============ */
.contact { background: var(--ink); color: #fff; }
.contact .eyebrow { color: var(--frost); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.contact-card { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 168px; text-align: center; border: 1px solid rgba(255,255,255,.13); border-radius: var(--rad); padding: 30px 18px; color: #fff; background: rgba(255,255,255,.04); transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.contact-card:hover { transform: translateY(-5px); background: rgba(0,177,240,.14); border-color: var(--brand); }
.contact-card svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 14px; }
.contact-card b { font-family: var(--display); font-size: 16px; }
.contact-card b + span { margin-top: 6px; }
.contact-card span { color: rgba(235,246,252,.7); font-size: 15px; line-height: 1.45; display: block; }
.contact-map { margin-top: 44px; border-radius: var(--rad); overflow: hidden; }
.contact-map iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ============ footer ============ */
.footer { background: #061119; color: rgba(235,246,252,.6); padding: 48px 0 40px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 28px; }
.footer-inner img { height: 24px; width: auto; }
.footer-tagline { color: rgba(235,246,252,.55); }
.footer-links { display: flex; align-items: center; gap: 22px; justify-self: end; }
.footer a { color: rgba(235,246,252,.85); }
.footer a:hover { color: #fff; }
.footer-copy { grid-column: 1 / -1; text-align: center; padding-top: 18px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(235,246,252,.45); }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .footer-links { justify-self: center; }
}

/* whatsapp float */
.wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(37,211,102,.4); transition: transform .2s, opacity .3s, visibility .3s; }
.wa-float:hover { transform: scale(1.08); }
@media (max-width: 760px) {
  .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }
  .wa-float.show { opacity: 1; visibility: visible; pointer-events: auto; }
}
.wa-float svg { width: 28px; height: 28px; color: #fff; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-cube { display: none; }
  .zone-grid { grid-template-columns: 1fr; }
  .svc-grid { flex-direction: column; }
  .svc-grid .svc-card { flex: none !important; width: 100%; }
  .how-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { margin-top: 36px; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 0; margin: 0; width: 100%; padding: 92px 28px 32px; flex-direction: column; align-items: flex-start; gap: 20px; background: rgba(8, 20, 29, .97); backdrop-filter: blur(14px); transform: translateY(-100%); transition: transform .35s ease; }
  .nav-links.open { transform: none; }
  .nav-burger { display: block; z-index: 5; }
  .nav-links a { font-size: 19px; }
}
@media (max-width: 520px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .contact-card { min-height: 118px; padding: 18px 10px; }
  .contact-card svg { width: 24px; height: 24px; margin-bottom: 10px; }
  .contact-card b { font-size: 14px; }
  .contact-card span { font-size: 12px; line-height: 1.35; }
  .stats { grid-template-columns: 1fr; }
  .rotator { width: 100% !important; white-space: normal; }
  .rotator-text { font-size: 14.5px; }
}
