:root {
  --ink: #0F172A;
  --petrol: #0A3A40;
  --petrol-deep: #062a2f;
  --slate: #1E293B;
  --canvas: #F8FAFC;
  --card: #FFFFFF;
  --signal: #F97316;
  --signal-hover: #EA580C;
  --emerald: #059669;
  --wa: #1FAF54;
  --wa-hover: #178f44;
  --border: #E2E8F0;
  --muted: #475569;
  --light: #94A3B8;
  --teal-pill-bg: #F0FAF8;
  --teal-pill-text: #0B5A52;
  --teal-pill-border: #C7E8E3;
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Public Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1140px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.02em; }

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; }

h2 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.15; }

h3 { font-size: 1.15rem; font-weight: 600; }

.overline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--emerald);
  margin-bottom: 0.9rem;
}

.overline-light { color: #7BD9C9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 175, 84, 0.55); }
.btn-whatsapp:hover { background: var(--wa-hover); }

.btn-signal { background: var(--signal); color: #fff; box-shadow: 0 8px 20px -8px rgba(249, 115, 22, 0.55); }
.btn-signal:hover { background: var(--signal-hover); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-outline-light:hover { border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 68px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.logo span { color: var(--signal); margin-left: 0.3rem; font-weight: 600; }

.main-nav { display: flex; gap: 1.3rem; }

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-btn.is-active { background: var(--ink); color: #fff; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 34rem;
  margin: 1.4rem 0 2rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-card {
  background: var(--petrol);
  color: #E6F4F1;
  border-radius: 20px;
  padding: 2rem 1.9rem;
  box-shadow: 0 30px 60px -25px rgba(6, 42, 47, 0.55);
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.8rem;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-stat { margin-bottom: 1.6rem; }

.hero-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat-num-sm {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
}

.hero-stat-label { font-size: 0.82rem; color: #A9C8C3; }

.hero-card-foot { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.6rem; }

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #BFE3DC;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* ---------- Case strip (NDA) ---------- */
.case-strip { background: var(--slate); color: #E2E8F0; padding: clamp(2.8rem, 6vw, 4.5rem) 0; }

.case-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.case-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7BD9C9;
  border: 1px dashed rgba(123, 217, 201, 0.5);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  text-align: center;
  white-space: nowrap;
}

.case-badge svg { color: #7BD9C9; }

.case-body h2 { color: #fff; margin-bottom: 0.6rem; }
.case-body .overline { margin-bottom: 0.5rem; }
.case-text { color: #B6C2D1; max-width: 38rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: #fff; border-block: 1px solid var(--border); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.about-body p { color: var(--muted); font-size: 1.04rem; }

.about-list { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.7rem; }

.about-list li {
  position: relative;
  padding-left: 1.7rem;
  font-weight: 500;
  color: var(--ink);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 0.85rem; height: 0.85rem;
  border-radius: 4px;
  background: var(--petrol);
  box-shadow: inset 0 0 0 3px var(--canvas);
  outline: 1px solid var(--petrol);
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.7rem 1.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #C9D5E0;
  box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.22);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-pill-bg);
  border: 1px solid var(--teal-pill-border);
  color: var(--petrol);
  margin-bottom: 1.1rem;
}

.card h3 { margin-bottom: 0.9rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-pill-text);
  background: var(--teal-pill-bg);
  border: 1px solid var(--teal-pill-border);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.service-card p { color: var(--muted); font-size: 0.94rem; margin-top: -0.3rem; }

.service-cta { background: var(--petrol); border-color: var(--petrol); }
.service-cta h3 { color: #fff; }
.service-cta p { color: #A9C8C3; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--signal);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.15s ease;
}

.card-link:hover { gap: 0.65rem; }

/* ---------- Models ---------- */
.model-card { display: flex; flex-direction: column; }

.model-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--signal);
  margin-bottom: 0.8rem;
}

.model-card h3 { margin-bottom: 0.7rem; }
.model-card > p:not(.model-num):not(.model-terms) { color: var(--muted); font-size: 0.94rem; flex: 1; }

.model-terms {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol);
}

.model-featured { border: 2px solid var(--petrol); }

.models-cta { display: flex; justify-content: center; margin-top: 2.4rem; }

/* ---------- Contact ---------- */
.contact-section {
  background: var(--petrol-deep);
  color: #DCEBE8;
  text-align: center;
}

.contact-inner { max-width: 44rem; }
.contact-section h2 { color: #fff; margin-bottom: 1rem; }
.contact-text { color: #A9C8C3; margin-bottom: 2.2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--light); padding: 2.2rem 0; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-footer { color: #fff; }
.footer-copy { font-size: 0.85rem; }

.footer-lang { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-lang .lang-btn { color: var(--light); }
.footer-lang .lang-btn.is-active { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 30rem; }
  .case-inner { grid-template-columns: 1fr; text-align: left; }
  .case-badge { flex-direction: row; justify-content: flex-start; width: fit-content; }
  .about-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 4%;
    display: none;
    box-shadow: 0 20px 30px -20px rgba(15, 23, 42, 0.25);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero-stat-num { font-size: 2.8rem; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- References ---------- */
.section-sub { color: var(--muted); margin-top: 0.8rem; max-width: 34rem; }

.ref-industry {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.7rem;
}

.ref-card { display: flex; flex-direction: column; }
.ref-card h3 { margin-bottom: 0.6rem; }
.ref-card > p:not(.ref-industry) { color: var(--muted); font-size: 0.94rem; flex: 1; }

.ref-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.ref-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--petrol);
}

.ref-stat-label { font-size: 0.78rem; color: var(--muted); }
