/* Wyfort V3 - light, airy layout after the approved reference (white header, dark animated hero slider,
   side index intro, tabbed highlights, pill buttons, glow CTA). Colors and type are Wyfort's own. Motion-led. */
:root {
  --ink: #14151a;
  --night: #0a0b0e;
  --night-2: #15171c;
  --g700: #3d4047;
  --g500: #62656c;
  --g400: #8b8e95;
  --g300: #b9bbc0;
  --g200: #e2e3e5;
  --g100: #f1f1f0;
  --paper: #f8f8f7;
  --white: #fff;
  --orange: #ee7426;
  --orange-hi: #ff8f45;
  --orange-ink: #b34a0a;
  --font-head: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
  --font: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --max: 1280px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
@media (min-width: 900px) { :root { --gutter: 40px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 16px; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 500; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 16px; max-width: 66ch; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 64px; z-index: 200; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--white { background: var(--white); }
.rule { border: 0; border-top: 1px solid var(--g200); margin: 0 0 40px; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--g500); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.sec-head h2 { margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin: 0 0 18px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* Pill buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 64px; border: 2px solid transparent; font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer; background: var(--ink); color: #fff; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn:hover { background: var(--orange); color: #000; }
.btn--orange { background: var(--orange); color: #000; }
.btn--orange:hover { background: var(--orange-hi); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: #000; border-color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 28px 2px no-repeat; transition: background-size .35s var(--ease); }
.tlink:hover { background-size: 100% 2px; }

/* Header */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--g200); transition: transform .4s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 3px; text-decoration: none; font: 800 1.45rem/1 var(--font-head); letter-spacing: -0.03em; color: var(--ink); }
.logo i { font-style: normal; color: var(--g500); }
.logo svg { width: 26px; height: 18px; margin-left: 3px; }
.logo small { font: 600 .6rem/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--g500); margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--g200); }
@media (max-width: 420px) { .logo small { display: none; } }
.nav-toggle { width: 48px; height: 48px; display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { height: 3px; border-radius: 3px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
#nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); padding: 24px var(--gutter) 48px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s; }
#nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
#nav > ul > li { border-bottom: 1px solid var(--g200); }
#nav a.nl, #nav .menu-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; background: none; border: 0; padding: 0; font: 500 1.35rem/1 var(--font-head); text-decoration: none; text-align: left; cursor: pointer; }
.menu-btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.drop { padding-bottom: 16px; }
.drop[hidden] { display: none; }
.drop a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--g500); }
.drop a:hover { color: var(--orange-ink); }
#nav .btn { margin-top: 28px; width: 100%; }
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  #nav { position: static; visibility: visible; opacity: 1; transform: none; display: flex; align-items: center; gap: 28px; padding: 0; background: none; overflow: visible; transition: none; }
  #nav > ul { display: flex; gap: 4px; }
  #nav > ul > li { border: 0; position: relative; }
  #nav a.nl, #nav .menu-btn { width: auto; min-height: 44px; padding: 0 14px; font: 500 .98rem/1 var(--font); gap: 8px; border-radius: 64px; transition: background-color .2s; }
  #nav a.nl:hover, #nav .menu-btn:hover, #nav .menu-btn[aria-expanded="true"] { background: var(--g100); }
  .menu-btn svg { width: 12px; height: 12px; }
  .drop { position: absolute; top: calc(100% + 14px); left: 0; min-width: 300px; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 24px 60px -20px rgba(10,11,14,.35), 0 0 0 1px var(--g200); }
  .drop a { padding: 0 14px; border-radius: 10px; color: var(--ink); }
  .drop a:hover { background: var(--g100); color: var(--ink); }
  .drop .all { border-top: 1px solid var(--g200); margin-top: 8px; padding-top: 8px; color: var(--orange-ink); font-weight: 600; border-radius: 0 0 10px 10px; }
  #nav .btn { margin: 0; width: auto; min-height: 46px; padding: 0 22px; }
}

/* Hero slider */
.hero { position: relative; background: var(--night); color: #fff; min-height: clamp(560px, 82vh, 760px); overflow: hidden; isolation: isolate; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.slide .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 8s linear; }
.slide.is-active .bg { transform: scale(1); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,11,14,.92) 0%, rgba(10,11,14,.7) 45%, rgba(10,11,14,.15) 100%); }
.slide--canvas::before { background: linear-gradient(90deg, rgba(10,11,14,.85) 0%, rgba(10,11,14,.35) 55%, rgba(10,11,14,0) 100%); }
#flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-copy { max-width: 640px; padding-block: 72px 120px; }
.hero-title { font: 700 clamp(2.3rem, 6vw, 4.2rem)/1.04 var(--font-head); letter-spacing: -0.03em; margin: 0 0 22px; }
.hero-title em { font-style: normal; color: var(--orange); }
.hero-copy p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d3d5d9; max-width: 50ch; margin-bottom: 30px; }
.hero .kicker { color: var(--orange-hi); }
.slide .hero-copy > * { opacity: 0; transform: translateY(26px); }
.slide.is-active .hero-copy > * { opacity: 1; transform: none; transition: opacity .8s ease, transform .9s var(--ease); }
.slide.is-active .hero-copy > *:nth-child(2) { transition-delay: .12s; }
.slide.is-active .hero-copy > *:nth-child(3) { transition-delay: .24s; }
.slide.is-active .hero-copy > *:nth-child(4) { transition-delay: .36s; }
.hero-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; }
.hero-ui .wrap { display: flex; align-items: center; gap: 14px; padding-bottom: 26px; }
.hero-ui button { background: none; border: 0; cursor: pointer; color: #fff; }
.pause { width: 44px; height: 44px; border: 2px solid rgba(255,255,255,.5) !important; border-radius: 50%; display: grid; place-items: center; transition: background-color .2s; }
.pause:hover { background: rgba(255,255,255,.15); }
.pause svg { width: 14px; height: 14px; }
.pause .play { display: none; }
.pause[aria-pressed="true"] .play { display: block; }
.pause[aria-pressed="true"] .stop { display: none; }
.dots { display: flex; gap: 6px; }
.dots button { width: 44px; height: 44px; display: grid; place-items: center; }
.dots button::before { content: ""; width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); transition: background-color .3s, width .4s var(--ease); }
.dots button[aria-current="true"]::before { background: var(--orange); width: 56px; }
.hero-bar { height: 4px; background: rgba(255,255,255,.12); }
.hero-bar i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.hero-bar i.run { animation: bar var(--dur, 7s) linear forwards; }
.hero.is-paused .hero-bar i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

/* Marquee */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 1.05rem/1 var(--font-head); letter-spacing: .02em; white-space: nowrap; }
.marquee li::after { content: ""; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intro with side index */
.intro { display: grid; gap: 40px; }
@media (min-width: 900px) { .intro { grid-template-columns: 220px 1fr; gap: 0; } }
.index { font-size: .95rem; }
.index h4 { font: 700 .85rem/1 var(--font); letter-spacing: .08em; margin-bottom: 14px; }
.index ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.index a { display: inline-flex; align-items: center; min-height: 40px; color: var(--g500); text-underline-offset: 4px; transition: color .2s; }
.index a:hover { color: var(--orange-ink); }
@media (min-width: 900px) { .index ul { display: block; } .intro-body { border-left: 1px solid var(--g200); padding-left: 56px; } }
.intro-body h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 500; max-width: 20ch; }
.intro-body h2 span { color: var(--g400); }
.intro-body .lead { max-width: 60ch; margin-bottom: 32px; }

/* Tabbed highlights (products) */
.hl { display: grid; gap: 24px; }
@media (min-width: 980px) { .hl { grid-template-columns: 0.72fr 1.28fr; gap: 48px; align-items: end; } }
.hl-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.hl-tabs::-webkit-scrollbar { display: none; }
.hl-tab { flex: none; min-height: 48px; padding: 0 18px; border: 1px solid var(--g200); border-radius: 64px; background: #fff; font: 500 .95rem/1.25 var(--font-head); color: var(--g500); cursor: pointer; white-space: nowrap; transition: color .25s, background-color .25s, border-color .25s, box-shadow .3s; }
.hl-tab[aria-selected="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
@media (min-width: 980px) {
  .hl-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; overflow: visible; margin: 0; padding: 0; }
  .hl-tab { white-space: normal; text-align: left; min-height: 74px; padding: 12px 16px; border: 0; border-left: 3px solid var(--g200); border-radius: 0; background: none; font-size: 1.02rem; }
  .hl-tab:hover { color: var(--ink); border-left-color: var(--g400); }
  .hl-tab[aria-selected="true"] { color: var(--ink); background: #fff; border-left-color: var(--orange); box-shadow: 0 18px 40px -22px rgba(10,11,14,.35); font-weight: 700; }
}
.hl-stage { position: relative; aspect-ratio: 4 / 5; background: var(--night); overflow: hidden; border-radius: 20px; color: #fff; }
@media (min-width: 640px) { .hl-stage { aspect-ratio: 16 / 11; } }
.hl-panel { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.hl-panel.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hl-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.hl-panel.is-active img { transform: scale(1); }
.hl-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,14,0) 25%, rgba(10,11,14,.9) 100%); }
.hl-cap { position: relative; z-index: 1; padding: 24px; width: 100%; transform: translateY(18px); opacity: 0; transition: transform .8s var(--ease) .15s, opacity .6s ease .15s; }
.hl-panel.is-active .hl-cap { transform: none; opacity: 1; }
@media (min-width: 640px) { .hl-cap { padding: 36px; } }
.hl-cap h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 8px; }
.hl-cap p { color: #d3d5d9; margin-bottom: 18px; max-width: 52ch; }
.hl-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; border-top: 1px solid rgba(255,255,255,.3); padding-top: 12px; }
.hl-meta span { font: 500 .88rem/1.3 var(--font); color: #d3d5d9; letter-spacing: .02em; }
.hl-timer { position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2; background: rgba(255,255,255,.15); }
.hl-timer i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.hl-timer i.run { animation: bar 6s linear forwards; }

/* Markets scroller */
.scroller { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 24px; }
.scroller::-webkit-scrollbar { display: none; }
.mk { flex: none; width: min(78vw, 300px); scroll-snap-align: start; background: var(--paper); border-radius: 20px; padding: 28px 24px; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: background-color .35s, color .35s, transform .45s var(--ease); }
.mk::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .6s var(--ease); z-index: 0; }
.mk > * { position: relative; z-index: 1; }
.mk:hover { background: var(--ink); color: #fff; transform: translateY(-6px); }
.mk:hover::after { transform: scale(1); }
.mk b { font: 300 3.2rem/1 var(--font-head); color: var(--g300); letter-spacing: -0.04em; transition: color .35s; }
.mk:hover b { color: var(--orange); }
.mk h3 { margin: 0 0 6px; font-size: 1.25rem; }
.mk p { margin: 0; font-size: .98rem; color: var(--g500); transition: color .35s; }
.mk:hover p { color: var(--g300); }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: none; cursor: pointer; display: grid; place-items: center; transition: background-color .25s, color .25s; }
.arrows button:hover { background: var(--ink); color: #fff; }
.arrows svg { width: 18px; height: 18px; }

/* Numbers */
.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(4, 1fr); } }
.num { border-top: 1px solid var(--g200); padding-top: 20px; }
.num b { display: block; font: 500 clamp(2.8rem, 6.4vw, 5rem)/1 var(--font-head); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.num b small { font-size: .4em; color: var(--orange-ink); margin-left: 4px; letter-spacing: 0; }
.num span { display: block; margin-top: 10px; color: var(--g500); }
.why { display: grid; gap: 40px; margin-bottom: 64px; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.why-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--g200); }
.why-list li:first-child { border-top: 1px solid var(--g200); }
.why-list i { font: 600 .9rem/1.9 var(--font-head); font-style: normal; color: var(--orange-ink); }
.why-list h3 { margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--g500); font-size: 1rem; }

/* Process */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border-radius: 20px; padding: 28px 24px 30px; counter-increment: s; position: relative; overflow: hidden; }
.step::before { content: "0" counter(s); display: block; font: 600 .9rem/1 var(--font-head); color: var(--orange-ink); margin-bottom: 44px; }
.step::after { content: ""; position: absolute; left: 24px; right: 24px; top: 58px; height: 2px; background: var(--g200); }
.step i { position: absolute; left: 24px; right: 24px; top: 58px; height: 2px; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s var(--ease); z-index: 1; }
.step.in i { transform: scaleX(1); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--g500); font-size: 1rem; }

/* Quality split */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split .pic { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--night); }
.split .pic img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.checks { display: grid; gap: 0; margin: 24px 0 32px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--g200); }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checks b { display: block; font-family: var(--font-head); }
.checks span { color: var(--g500); font-size: 1rem; }

/* CTA / contact */
.cta { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.cta::before, .cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); }
.cta::before { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; left: 30%; top: -30%; background: radial-gradient(closest-side, rgba(238,116,38,.55), rgba(238,116,38,0)); animation: drift 14s ease-in-out infinite alternate; }
.cta::after { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; left: -10%; bottom: -30%; background: radial-gradient(closest-side, rgba(255,255,255,.14), rgba(255,255,255,0)); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(-12%, -6%) scale(1); } to { transform: translate(14%, 10%) scale(1.25); } }
.cta-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 16ch; }
.cta .lead { color: #d3d5d9; }
.contact-list { display: grid; gap: 18px; margin-top: 36px; }
.contact-list a { text-decoration: none; display: grid; gap: 4px; font: 500 1.25rem/1.2 var(--font-head); width: fit-content; }
.contact-list small { font: 600 .72rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--g400); }
.contact-list a:hover { color: var(--orange-hi); }
.form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 24px; padding: 24px; display: grid; gap: 16px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; padding: 36px; } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font: 600 .78rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #d3d5d9; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(10,11,14,.55); color: #fff; font: 400 1rem var(--font); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(238,116,38,.35); }
.form-note { margin: 0; font-size: .88rem; color: var(--g400); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 12px; background: rgba(238,116,38,.16); border: 1px solid var(--orange); }
.form-status[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--paper); color: var(--g500); padding: 64px 0 28px; font-size: .98rem; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-grid > div + div { border-top: 1px solid var(--g200); padding-top: 24px; }
@media (min-width: 800px) { .foot-grid > div + div { border-top: 0; padding-top: 0; border-left: 1px solid var(--g200); padding-left: 28px; } }
.site-footer h4 { font: 700 .82rem/1 var(--font); letter-spacing: .08em; color: var(--ink); margin-bottom: 14px; }
.site-footer li a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; transition: color .2s; }
.site-footer li a:hover { color: var(--orange-ink); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--g200); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease), background-color .2s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); color: #000; }
.to-top svg { width: 18px; height: 18px; }

/* Scroll reveals: hidden only when JS runs and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s ease var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
  .js [data-reveal="left"] { transform: translateX(-40px); }
  .js [data-reveal="scale"] { transform: scale(.94); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .slide .hero-copy > * { opacity: 1; transform: none; }
  .slide .bg, .hl-panel img { transform: none; }
  .step i { transform: scaleX(1); }
}

/* ===== Logo image ===== */
.logo img { height: 28px; width: auto; display: block; }
@media (min-width: 900px) { .logo img { height: 40px; } }
.foot-grid .logo img { height: 34px; }
.credit { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--g500); transition: color .2s; }
.credit:hover { color: var(--ink); }
.credit img { height: 22px; width: auto; }

/* ===== Inner pages ===== */
.phero { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px); }
.phero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; transform: scale(1.08); animation: slowzoom 14s ease-out forwards; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,11,14,.94) 0%, rgba(10,11,14,.72) 50%, rgba(10,11,14,.25) 100%); }
@keyframes slowzoom { to { transform: scale(1); } }
.phero .kicker { color: var(--orange-hi); }
.page-title { font: 700 clamp(2.2rem, 5.4vw, 3.8rem)/1.05 var(--font-head); letter-spacing: -0.03em; margin: 0 0 20px; max-width: 18ch; }
.phero .lead { color: #d3d5d9; max-width: 56ch; margin-bottom: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .88rem; color: #b9bbc0; margin-bottom: 28px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--orange-hi); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--g500); }
.phero .wrap > * { animation: rise .8s var(--ease) both; }
.phero .wrap > *:nth-child(2) { animation-delay: .08s; } .phero .wrap > *:nth-child(3) { animation-delay: .16s; } .phero .wrap > *:nth-child(4) { animation-delay: .24s; } .phero .wrap > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.subnav { position: sticky; top: var(--header-h); z-index: 90; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--g200); transition: top .4s var(--ease); }
body.hdr-hidden .subnav { top: 0; }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: flex; align-items: center; min-height: 52px; padding: 0 14px; white-space: nowrap; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--g500); border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover, .subnav a.is-active { color: var(--ink); border-bottom-color: var(--orange); }

.pd { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .pd { grid-template-columns: 1fr 340px; gap: 72px; } }
.aside { position: sticky; top: calc(var(--header-h) + 76px); background: var(--night); color: #d3d5d9; border-radius: 20px; padding: 28px; }
.aside h3 { color: #fff; font-size: 1.3rem; }
.aside p { font-size: .98rem; }
.aside .btn { width: 100%; }
.aside .or { display: block; text-align: center; margin: 14px 0 6px; font-size: .88rem; color: var(--g400); }
.aside a.tl { display: block; text-align: center; color: #fff; text-decoration: none; font-weight: 600; min-height: 44px; line-height: 44px; }
.aside a.tl:hover { color: var(--orange-hi); }
.block + .block { margin-top: clamp(48px, 6vw, 80px); }
.block > h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 20px; }
.cards3 { display: grid; gap: 16px; }
@media (min-width: 700px) { .cards3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards3.c3 { grid-template-columns: repeat(3, 1fr); } }
.tc { background: #fff; border-radius: 20px; padding: 24px; border: 1px solid var(--g200); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.tc:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 24px 50px -28px rgba(10,11,14,.35); }
.tc h3 { margin-bottom: 8px; }
.tc p { margin: 0; color: var(--g500); font-size: 1rem; }
.section--white .tc { background: var(--paper); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 1rem; background: #fff; border-radius: 16px; overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--g200); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 34%; font: 600 .82rem/1.5 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--g500); background: var(--g100); }
@media (max-width: 560px) { .spec-table th, .spec-table td { display: block; width: 100%; } .spec-table th { padding-bottom: 4px; border-bottom: 0; } .spec-table td { padding-top: 4px; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font: 500 .88rem/1 var(--font); padding: 9px 14px; border-radius: 64px; border: 1px solid var(--g200); background: #fff; color: var(--g700); }
.faq details { border-bottom: 1px solid var(--g200); }
.faq summary { cursor: pointer; padding: 22px 0; font: 600 1.12rem/1.4 var(--font-head); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.8rem/1 var(--font-head); color: var(--orange-ink); flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--g500); padding-bottom: 22px; margin: 0; }
.rel { display: grid; gap: 16px; }
@media (min-width: 700px) { .rel { grid-template-columns: repeat(3, 1fr); } }
.rc { position: relative; display: flex; align-items: flex-end; min-height: 240px; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--night); }
.rc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.rc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,14,.05) 20%, rgba(10,11,14,.88)); }
.rc:hover img { transform: scale(1.07); }
.rc div { padding: 22px; }
.rc h3 { margin: 0 0 6px; }
.rc span { font-weight: 600; font-size: .92rem; display: inline-flex; gap: 8px; }
.rc span::after { content: "\2192"; transition: transform .3s var(--ease); }
.rc:hover span::after { transform: translateX(5px); }
.row2 { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .row2 { grid-template-columns: 1fr 1fr; gap: 64px; } .row2.rev > :first-child { order: 2; } }
.row2 .pic { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--night); }
.row2 .pic img { width: 100%; height: 115%; object-fit: cover; }
.row2 + .row2 { margin-top: clamp(48px, 7vw, 96px); }
.big-n { font: 300 clamp(3rem, 7vw, 5rem)/1 var(--font-head); color: var(--g300); letter-spacing: -0.04em; display: block; margin-bottom: 8px; }
.mat-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .mat-grid { grid-template-columns: repeat(3, 1fr); } }
.mat { background: var(--night-2); border-radius: 20px; padding: 26px; color: var(--g300); }
.mat h3 { color: #fff; }
.mat li { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mat li:last-child { border-bottom: 0; }
.section--dark { background: var(--night); color: #d3d5d9; }
.section--dark h2 { color: #fff; }
.info-card { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--g200); }
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.form--light { background: #fff; border: 1px solid var(--g200); backdrop-filter: none; }
.form--light .field label { color: var(--g500); }
.form--light .field input, .form--light .field select, .form--light .field textarea { background: var(--paper); color: var(--ink); border-color: var(--g200); }
.form--light .form-note { color: var(--g500); }
.form--light .form-status { background: rgba(238,116,38,.12); color: var(--ink); }
.chk { display: grid; gap: 0; }
.chk li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--g200); }
.chk li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 20px no-repeat; }
.mk-sec { scroll-margin-top: 120px; }
.credit img { height: 30px; }
.foot-bottom { align-items: center; padding-right: 72px; }
@media (max-width: 600px) { .foot-bottom { padding-right: 0; padding-bottom: 56px; } }

/* ===== About (V3 refresh) ===== */
.cmp { border-top: 1px solid var(--g200); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--g200); }
.cmp-head { display: none; }
.cmp-row b { font: 600 1.15rem/1.3 var(--font-head); }
.cmp-row p { margin: 0; color: var(--g500); }
.cmp-row p.yes { color: var(--ink); font-weight: 500; border-left: 3px solid var(--orange); padding-left: 14px; }
@media (min-width: 860px) {
  .cmp-head, .cmp-row { grid-template-columns: .8fr 1fr 1.2fr; gap: 32px; align-items: start; padding: 24px 0; }
  .cmp-head { display: grid; padding: 14px 0; }
  .cmp-head b { font: 600 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--g500); }
  .cmp-head b.yes { color: var(--orange-ink); }
  .cmp-row { transition: background-color .3s; }
  .cmp-row:hover { background: rgba(238,116,38,.06); }
}
.pcard { display: grid; gap: 0; border-radius: 24px; overflow: hidden; background: var(--night-2); border: 1px solid rgba(255,255,255,.1); }
@media (min-width: 960px) { .pcard { grid-template-columns: 1.05fr 1fr; } }
.pc-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; min-height: 340px; }
.pc-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pc-photos .a { grid-row: 1 / 3; }
.pcard:hover .pc-photos img { transform: scale(1.04); }
.pc-photos { overflow: hidden; }
.pc-body { padding: clamp(24px, 4vw, 48px); color: #d3d5d9; }
.pc-body h3 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 14px; }
.checks.dk li { border-bottom-color: rgba(255,255,255,.14); }
.checks.dk b { color: #fff; }
.checks.dk span { color: #b9bbc0; }
.tc-dk { background: var(--night-2); border-color: rgba(255,255,255,.1); }
.tc-dk h3 { color: #fff; } .tc-dk p { color: #b9bbc0; }
.section--dark .tc-dk:hover { border-color: var(--orange); }
.flow { background: var(--paper); border-radius: 24px; padding: clamp(16px, 3vw, 40px); }
.flow-svg { width: 100%; height: auto; overflow: visible; }
.flow-svg .fl { stroke: var(--g300); stroke-width: 2; fill: none; stroke-dasharray: 6 8; }
.flow-svg .fp { stroke: var(--orange); stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 46 400; }
.flow-svg .nd circle { fill: #fff; stroke: var(--g300); stroke-width: 2; }
.flow-svg .nd.core circle { fill: var(--ink); stroke: var(--orange); stroke-width: 3; }
.flow-svg text { font: 600 17px var(--font-head); fill: var(--ink); }
.flow-svg .core text { fill: #fff; font-size: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .flow-svg .fp { animation: fpulse 3.2s linear infinite; }
  .flow-svg .fp.d2 { animation-delay: -1.6s; }
  @keyframes fpulse { from { stroke-dashoffset: 446; } to { stroke-dashoffset: 0; } }
  .flow-svg .core circle { animation: breathe 3.2s ease-in-out infinite; transform-origin: 450px 110px; }
  @keyframes breathe { 50% { transform: scale(1.05); } }
}
.tl { list-style: none; padding: 0; margin: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 19px; top: 12px; bottom: 12px; width: 2px; background: var(--g200); }
.tl-i { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 0 0 36px; }
.tl-i:last-child { padding-bottom: 0; }
.tl-i span { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--g300); display: grid; place-items: center; font: 600 .85rem/1 var(--font-head); color: var(--ink); transition: background-color .5s, border-color .5s, color .5s; }
.tl-i.in span { background: var(--orange); border-color: var(--orange); color: #000; }
.tl-i h3 { margin: 6px 0 6px; font-size: 1.35rem; }
.tl-i p { margin: 0; color: var(--g500); }
.prin { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--g200); }
.prin-i { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--g200); transition: padding-left .4s var(--ease); }
@media (min-width: 800px) { .prin-i { grid-template-columns: 120px 1fr; padding: 36px 0; } .prin-i:hover { padding-left: 16px; } }
.prin-i b { font: 300 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-head); color: var(--g300); letter-spacing: -0.04em; transition: color .3s; }
.prin-i:hover b { color: var(--orange); }
.prin-i h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin-bottom: 6px; }
.prin-i p { margin: 0; color: var(--g500); }

/* Menu: ponte invisivel entre o botao Products e o painel, para o hover nao fechar no caminho */
@media (min-width: 1080px) { .drop::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } }

/* Menu superior: nunca quebrar linha; compacta entre 1080 e 1280px */
@media (min-width: 1080px) {
  #nav a.nl, #nav .menu-btn, #nav .btn { white-space: nowrap; }
  #nav { gap: 16px; }
  #nav > ul { gap: 0; }
  #nav a.nl, #nav .menu-btn { padding: 0 11px; font-size: .95rem; }
  .logo img { height: 34px; }
}
@media (min-width: 1280px) { #nav { gap: 28px; } #nav > ul { gap: 4px; } #nav a.nl, #nav .menu-btn { padding: 0 14px; font-size: .98rem; } .logo img { height: 40px; } }

/* Corrige menu mobile: backdrop-filter no header criava um bloco de contencao para o menu fixed (menu ficava com altura zero).
   O desfoque agora fica num pseudo-elemento. */
.site-header { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
