/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f2f7f8;
  --bg-dot: #dbe9ec;
  --surface: #ffffff;
  --surface-border: #e1edf0;
  --ink: #3d454c;
  --ink-soft: #838d93;
  --ink-faint: #aab2b7;

  --teal: #29b6d8;
  --teal-deep: #10708c;
  --teal-grad: linear-gradient(135deg, #3fd0f2, #10708c);
  --glow: rgba(41, 182, 216, 0.16);
  --badge-shadow: rgba(16, 90, 112, 0.28);
  --badge-edge: rgba(255, 255, 255, 0.55);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1518;
    --bg-dot: #172226;
    --surface: #121b1e;
    --surface-border: #1e2b30;
    --ink: #e9eff1;
    --ink-soft: #8a9aa0;
    --ink-faint: #5b666b;
    --teal: #3fd0f2;
    --teal-deep: #157e9b;
    --glow: rgba(63, 208, 242, 0.14);
    --badge-shadow: rgba(0, 0, 0, 0.55);
    --badge-edge: rgba(255, 255, 255, 0.18);
  }
}
:root[data-theme="dark"] {
  --bg: #0d1518;
  --bg-dot: #172226;
  --surface: #121b1e;
  --surface-border: #1e2b30;
  --ink: #e9eff1;
  --ink-soft: #8a9aa0;
  --ink-faint: #5b666b;
  --teal: #3fd0f2;
  --teal-deep: #157e9b;
  --glow: rgba(63, 208, 242, 0.14);
  --badge-shadow: rgba(0, 0, 0, 0.55);
  --badge-edge: rgba(255, 255, 255, 0.18);
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(var(--bg-dot) 1.2px, transparent 1.2px) 0 0/26px 26px,
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  animation: aurora-hue 90s ease-in-out infinite;
}
.bg-aurora::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: linear-gradient(120deg,
    var(--teal) 0%,
    transparent 30%,
    var(--teal-deep) 55%,
    transparent 80%,
    var(--teal) 100%);
  background-size: 300% 300%;
  opacity: 0.16;
  animation: gradient-flow 55s ease-in-out infinite;
}
@keyframes gradient-flow {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
}
.aurora.a1 {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  background: var(--teal);
  top: -12%; left: -8%;
  animation: aurora-drift-1 60s ease-in-out infinite;
}
.aurora.a2 {
  width: 40vw; height: 40vw; max-width: 540px; max-height: 540px;
  background: var(--teal-deep);
  bottom: -14%; right: -6%;
  animation: aurora-drift-2 75s ease-in-out infinite;
}
.aurora.a3 {
  width: 34vw; height: 34vw; max-width: 460px; max-height: 460px;
  background: var(--teal);
  top: 32%; right: 18%;
  opacity: 0.22;
  animation: aurora-drift-3 85s ease-in-out infinite;
}
@keyframes aurora-hue {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(28deg); }
}
@keyframes aurora-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 8vh) scale(1.12); }
}
@keyframes aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7vw, -6vh) scale(1.08); }
}
@keyframes aurora-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5vw, 7vh) scale(0.92); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-aurora, .aurora, .bg-aurora::before { animation: none !important; }
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}

.accent {
  background: var(--teal-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; position: relative; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: var(--teal); } }
:root[data-theme="dark"] .eyebrow { color: var(--teal); }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary {
  background: var(--teal-grad);
  color: #fff;
  box-shadow: 0 10px 24px -8px var(--badge-shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px var(--badge-shadow); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-small { padding: 0.6em 1.3em; font-size: 0.88rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  padding: 12px 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--surface-border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-icon { height: 28px; width: auto; flex: none; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-word em { font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--teal-deep); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.music-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--surface-border);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
}
.music-toggle svg { width: 17px; height: 17px; }
.music-toggle.playing { color: var(--teal-deep); border-color: var(--teal); }
.music-toggle:disabled { opacity: 0.4; cursor: not-allowed; }
.music-bars { display: none; }

.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  position: relative;
}
.whatsapp-float svg { width: 19px; height: 19px; }
.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  from { transform: scale(0.9); opacity: 0.6; }
  to { transform: scale(1.35); opacity: 0; }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .header-inner { gap: 10px; }
  .brand-word { font-size: 0.85rem; }
  .header-actions { gap: 8px; }
  .main-nav {
    position: fixed;
    top: 68px; left: 16px; right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: 0 20px 40px -16px var(--badge-shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 10px 12px; width: 100%; border-radius: 8px; }
  .main-nav a:hover { background: var(--bg); }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; flex: none; }
}

@media (max-width: 480px) {
  .music-toggle { display: none; }
  .brand-word { font-size: 0.78rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}
.hero-copy .eyebrow { display: block; }
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 20px;
}
.hero h1 .word { display: inline-block; white-space: nowrap; }
.hero h1 .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: letter-gradient-in 0.7s ease forwards;
}
@keyframes letter-gradient-in {
  0% { opacity: 0; transform: translateY(12px); color: var(--teal); }
  45% { color: var(--teal); }
  75% { color: var(--teal-deep); }
  100% { opacity: 1; transform: translateY(0); color: var(--ink); }
}
.hero-sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orbit-guide {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--surface-border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-orbit-guide.outer { width: 94%; height: 94%; }
.hero-orbit-guide.inner { width: 58%; height: 58%; }
.hero-ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-ring.outer { animation: hero-spin 30s linear infinite; }
.hero-ring.inner { animation: hero-spin-rev 20s linear infinite; }
.hero-node { position: absolute; top: 0; left: 0; width: 0; height: 0; transform: translate(-50%, -50%); }
.hero-ring.outer .hero-node { animation: hero-node-rev 30s linear infinite; }
.hero-ring.inner .hero-node { animation: hero-node-fwd 20s linear infinite; }
@keyframes hero-spin { to { transform: rotate(360deg); } }
@keyframes hero-spin-rev { to { transform: rotate(-360deg); } }
@keyframes hero-node-rev { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes hero-node-fwd { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-badge {
  position: absolute;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-grad);
  box-shadow: 0 8px 18px -6px var(--badge-shadow), 0 0 0 1px var(--badge-edge) inset;
}
.hero-ring.outer .hero-badge { width: 72px; aspect-ratio: 1; }
.hero-ring.inner .hero-badge { width: 56px; aspect-ratio: 1; }
.hero-badge svg { width: 55%; height: 55%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-center .l1 { font-family: var(--font-display); font-size: clamp(1.3rem, 3.2vw, 1.9rem); color: var(--ink); }
.hero-center .l2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
.hero-center .l2 .da { font-family: var(--font-body); font-weight: 500; font-style: italic; font-size: 0.5em; color: var(--ink-soft); margin-right: 0.2em; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: 1; max-width: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ring, .hero-node { animation: none !important; }
}

/* ---------- Trust strip ---------- */
.trust-strip { padding: 28px 0; border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); }
.trust-inner { text-align: center; color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 16px 32px -18px var(--badge-shadow);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-grad);
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Process ---------- */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-line {
  position: absolute;
  top: 22px; left: 6%; right: 6%;
  height: 2px;
  background: var(--surface-border);
}
.process-step { position: relative; text-align: center; }
.step-num {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--teal);
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 780px) {
  .process-track { grid-template-columns: 1fr; gap: 32px; }
  .process-line { display: none; }
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num, .stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--teal-deep);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stat-num, :root:not([data-theme="light"]) .stat-suffix { color: var(--teal); } }
.stat p { color: var(--ink-soft); margin-top: 6px; font-size: 0.95rem; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }

/* ---------- CTA band ---------- */
.cta-band { padding: 80px 0; }
.cta-inner {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  max-width: 780px;
  margin: 0 auto;
}
.cta-inner h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 12px; }
.cta-inner p { color: var(--ink-soft); margin-bottom: 26px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.contact-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.contact-list a { font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--teal-deep); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-note { font-size: 0.9rem; min-height: 1.2em; color: var(--teal-deep); }
@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--surface-border); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner .brand-word { font-size: 0.92rem; }
.footer-inner p { color: var(--ink-faint); font-size: 0.88rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-size: 0.9rem; }
.footer-links a:hover { color: var(--teal-deep); }

/* ---------- Legal pages ---------- */
.legal-page { padding: 150px 0 100px; }
.legal-container { max-width: 760px; margin: 0 auto; }
.legal-container h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin-bottom: 8px; }
.legal-updated { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 32px; }
.legal-container h2 { font-size: 1.25rem; margin: 36px 0 12px; font-family: var(--font-body); font-weight: 700; }
.legal-container p { margin-bottom: 14px; color: var(--ink-soft); }
.legal-container strong { color: var(--ink); }
.legal-container ul { margin: 0 0 14px 20px; }
.legal-container li { list-style: disc; color: var(--ink-soft); margin-bottom: 6px; }
.legal-container a { color: var(--teal-deep); font-weight: 600; }
.legal-container a:hover { text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }
