:root {
  color-scheme: dark;
  --bg: #07100d;
  --bg-deep: #050b09;
  --panel: rgba(14, 27, 23, 0.74);
  --panel-strong: #0d1b17;
  --panel-soft: #0a1512;
  --text: #f2f7f4;
  --muted: #9eada6;
  --muted-2: #6f8179;
  --line: rgba(185, 217, 202, 0.14);
  --line-strong: rgba(185, 217, 202, 0.24);
  --accent: #76f2bb;
  --accent-2: #6bd7e8;
  --accent-soft: rgba(118, 242, 187, 0.09);
  --max: 1160px;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 2%, rgba(50, 127, 95, 0.12), transparent 26rem),
    linear-gradient(180deg, #08110e 0%, var(--bg) 52%, #060d0b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(118, 242, 187, .28); color: #fff; }

.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 100; top: 12px; left: 12px;
  transform: translateY(-160%); background: var(--accent); color: #03100a;
  padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(185, 217, 202, 0.09);
  background: rgba(5, 11, 9, 0.74);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(118,242,187,.13), rgba(107,215,232,.05));
  color: var(--accent); font-weight: 800;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: #b8c5bf; text-decoration: none; font-size: 14px; transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible { color: #fff; }
.nav-contact {
  padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255,255,255,.025);
}

.hero {
  position: relative; overflow: clip;
  min-height: 650px; display: grid; align-items: center;
  border-bottom: 1px solid rgba(185, 217, 202, 0.08);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 68px 68px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.58), transparent 82%);
}
.hero-inner { position: relative; z-index: 2; padding-block: 118px 108px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; }
.hero-glow-one { width: 520px; height: 520px; right: -190px; top: -150px; background: radial-gradient(circle, rgba(118,242,187,.16), transparent 66%); }
.hero-glow-two { width: 400px; height: 400px; left: 8%; bottom: -260px; background: radial-gradient(circle, rgba(107,215,232,.09), transparent 68%); }
.eyebrow, .section-kicker {
  color: #b8c7c0; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .16em;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 25px; }
.eyebrow span, .status-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px rgba(118,242,187,.6); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 980px; margin-bottom: 28px; font-size: clamp(3rem, 6vw, 6.25rem); line-height: .99;
  letter-spacing: -0.059em; font-weight: 700;
}
.hero-copy { max-width: 750px; color: #aebdb6; font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.68; margin-bottom: 37px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: #81938b; font-size: 13px; font-weight: 600; }
.hero-meta i { width: 3px; height: 3px; background: #53645d; border-radius: 50%; }

.section { padding: 112px 0; border-bottom: 1px solid rgba(185, 217, 202, 0.075); }
.section-tight { padding-top: 24px; }
.section-kicker { color: #6f8f81; margin-bottom: 14px; }
h2 { font-size: clamp(2rem, 3.7vw, 3.6rem); line-height: 1.05; letter-spacing: -0.045em; margin-bottom: 0; }
h3 { font-size: 1.28rem; letter-spacing: -0.025em; }
.split-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 84px; align-items: start; }
.lead-stack { color: #acbbb4; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.75; max-width: 670px; }
.lead-stack p:last-child { margin-bottom: 0; }

.feature-card, .quatra-card, .details-card, .brand-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(16,31,26,.88), rgba(8,18,15,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), var(--shadow);
}
.group-card { display: grid; grid-template-columns: auto 1fr auto; gap: 26px 32px; align-items: start; padding: 34px; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(118,242,187,.18); }
.feature-icon svg { width: 23px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.group-card h2 { font-size: clamp(1.65rem, 2.4vw, 2.35rem); margin-bottom: 16px; }
.group-card p { color: #a7b7b0; max-width: 760px; margin-bottom: 0; }
.group-card p a { color: #dce9e3; text-decoration-color: rgba(118,242,187,.4); text-underline-offset: 3px; }
.text-link { align-self: center; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #c5d3cd; text-decoration: none; font-size: 13px; font-weight: 700; }
.text-link svg, .contact-tile svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.text-link:hover, .text-link:focus-visible { color: var(--accent); }

.section-heading-row { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 38px; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #9fb0a8; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.grid-three { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.focus-card { min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(12,25,21,.56); }
.card-index { display: block; color: #547265; font-size: 11px; font-weight: 800; letter-spacing: .14em; margin-bottom: 68px; }
.focus-card h3 { margin-bottom: 10px; }
.focus-card p { color: #8fa098; margin-bottom: 0; }

.brand-card { position: relative; overflow: hidden; padding: 34px; min-height: 430px; }
.brand-card::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; bottom: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(107,215,232,.13), transparent 67%); }
.brand-card-top, .brand-card-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.optima-mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; font-weight: 700; border: 1px solid rgba(107,215,232,.25); background: linear-gradient(145deg, rgba(107,215,232,.14), rgba(118,242,187,.06)); color: #c9f6ee; }
.brand-status { color: #71877d; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.brand-card-copy { position: relative; z-index: 2; max-width: 720px; margin-top: 86px; }
.brand-label { color: var(--accent-2); letter-spacing: .18em; font-weight: 800; font-size: 12px; margin-bottom: 12px; }
.brand-card-copy h3 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.04; margin-bottom: 18px; }
.brand-card-copy p:last-child { color: #9eaea7; font-size: 1.05rem; line-height: 1.7; }
.brand-card-foot { justify-content: flex-start; gap: 8px; margin-top: 30px; }
.brand-card-foot span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: #82948b; font-size: 11px; font-weight: 700; }

.quatra-card { padding: 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 58px; align-items: center; }
.quatra-copy h2 { margin-bottom: 20px; }
.quatra-copy p:last-child { color: #a6b5ae; font-size: 1.04rem; margin-bottom: 0; max-width: 650px; }
.quatra-links { display: grid; gap: 12px; }
.contact-tile { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 18px 18px 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.02); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.contact-tile:hover, .contact-tile:focus-visible { transform: translateY(-2px); border-color: rgba(118,242,187,.28); background: rgba(118,242,187,.045); }
.contact-label { grid-column: 1; color: #71857b; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.contact-tile strong { grid-column: 1; color: #e8f1ed; font-size: 16px; font-weight: 650; }
.contact-tile svg { grid-column: 2; grid-row: 1 / span 2; color: #729488; }
.whatsapp strong { color: #c9f6dd; }

.details-card { overflow: hidden; }
.details-list { margin: 0; }
.details-list > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.details-list > div:last-child { border-bottom: 0; }
.details-list dt { color: #74877d; font-size: 13px; font-weight: 650; }
.details-list dd { margin: 0; color: #e2ebe7; font-size: 15px; }
.details-list a { color: #d7e8e0; text-decoration-color: rgba(118,242,187,.35); text-underline-offset: 4px; }

.site-footer { padding: 54px 0 38px; background: #050b09; }
.footer-grid { display: grid; grid-template-columns: 1.2fr auto; gap: 34px; align-items: start; }
.footer-brand p { max-width: 420px; color: #667a70; font-size: 12px; margin: 16px 0 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: #819289; font-size: 12px; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: #fff; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; color: #53665c; font-size: 11px; margin: 10px 0 0; }

.legal-page { min-height: 100vh; }
.legal-main { padding: 88px 0 120px; }
.legal-shell { max-width: 820px; }
.legal-main h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 18px; }
.legal-meta { color: #71857b; font-size: 13px; margin-bottom: 54px; }
.legal-content { color: #a7b6af; }
.legal-content h2 { font-size: 1.45rem; margin: 42px 0 14px; letter-spacing: -.025em; color: #edf5f1; }
.legal-content p, .legal-content li { line-height: 1.75; }
.legal-content a { color: #d7eee2; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 900px) {
  .nav a:not(.nav-contact) { display: none; }
  .hero { min-height: 590px; }
  .hero-inner { padding-block: 100px 90px; }
  .split-intro, .quatra-card { grid-template-columns: 1fr; gap: 40px; }
  .group-card { grid-template-columns: auto 1fr; }
  .group-card .text-link { grid-column: 2; justify-self: start; }
  .grid-three { grid-template-columns: 1fr; }
  .focus-card { min-height: auto; }
  .card-index { margin-bottom: 42px; }
  .quatra-card { padding: 30px; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .nav-wrap { height: 66px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 9px; }
  .nav-contact { padding: 7px 11px !important; }
  .hero { min-height: 600px; }
  .hero-inner { padding-block: 92px 74px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-meta { max-width: 310px; gap: 8px; }
  .section { padding: 78px 0; }
  .section-tight { padding-top: 8px; }
  .split-intro { gap: 32px; }
  .group-card { grid-template-columns: 1fr; padding: 24px; }
  .group-card .text-link { grid-column: 1; }
  .section-heading-row { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .brand-card { padding: 24px; min-height: 470px; }
  .brand-card-copy { margin-top: 76px; }
  .brand-card-foot { flex-wrap: wrap; }
  .quatra-card { padding: 24px; }
  .details-list > div { grid-template-columns: 1fr; gap: 8px; padding: 19px 20px; }
  .details-list dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .copyright { grid-column: 1; }
  .legal-main { padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
