:root {
  --bg: #060911;
  --bg-alt: #0a0f1a;
  --ink: #f3f5f8;
  --ink-2: #aab2c3;
  --ink-3: #6d7688;
  --blue: #3d5a94;
  --blue-light: #93a8cf;
  --blue-deep: #263c68;
  --blue-soft: rgba(61, 90, 148, 0.16);
  --frame: 16px;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --radius: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 26px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.4), 0 30px 70px rgba(0, 0, 0, 0.55);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: #020304; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  margin: var(--frame);
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
/* body intentionally has no overflow:hidden — that would break nav's
   position:sticky (sticky stops working under a non-visible-overflow
   ancestor). Instead nav/footer round their own edges to match the frame. */
/* Faint, almost-imperceptible atmosphere — not a light show */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 35% at 15% 0%, rgba(61, 90, 148, 0.055), transparent 60%),
    radial-gradient(ellipse 45% 35% at 100% 100%, rgba(61, 90, 148, 0.04), transparent 65%);
  background-attachment: fixed;
}

/* ---------- Cursor spotlight (subtle, Apple/Linear-style) ---------- */
#cursor-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--cx, 50%) var(--cy, 50%), rgba(147, 168, 207, 0.06), transparent 45%);
  opacity: 0; transition: opacity 0.4s ease;
}
#cursor-glow.active { opacity: 1; }
@media (hover: none) { #cursor-glow { display: none; } }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 9, 17, 0.65);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-badge {
  display: inline-flex; background: #fff; border-radius: 12px; padding: 6px 11px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.logo-crop { height: 44px; width: 114px; overflow: hidden; flex-shrink: 0; }
.logo-crop img { height: 57px; width: 114px; object-fit: cover; object-position: top; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:not(.pill) {
  color: var(--ink-2); text-decoration: none; font-size: 0.86rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:not(.pill):hover { color: var(--ink); }
.nav-links a.active:not(.pill) { color: var(--blue-light); }

.pill {
  display: inline-block; padding: 11px 26px; border-radius: 999px;
  background: var(--blue); color: #fff; text-decoration: none;
  font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em;
  border: none; cursor: pointer; font-family: var(--sans);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.25s, background 0.25s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.pill:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.pill-ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.pill-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.nav-links .pill { padding: 8px 18px; font-size: 0.84rem; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 38px; height: 38px; border-radius: 10px; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative; transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
header.hero {
  min-height: 82vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 70px 24px 80px;
}
header.hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 50% -10%, rgba(61, 90, 148, 0.09), transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.04); color: var(--ink-2);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 30px;
  border: 1px solid var(--line);
}
.hero-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light);
}
h1 {
  font-size: clamp(2.7rem, 7vw, 4.8rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.06;
  max-width: 16ch; margin: 0 auto 26px;
}
h1 .grad {
  background: linear-gradient(100deg, var(--blue-light) 10%, var(--blue) 55%, var(--blue-deep) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Cinematic word reveal (hero titles) ---------- */
.word-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.word {
  display: inline-block; transform: translateY(115%); opacity: 0;
  animation: wordUp 0.85s cubic-bezier(0.16, 0.9, 0.2, 1) forwards;
}
.grad .word {
  background: linear-gradient(100deg, var(--blue-light) 10%, var(--blue) 55%, var(--blue-deep) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes wordUp { to { transform: translateY(0); opacity: 1; } }
.hero-badge.reveal-in, .hero-sub.reveal-in, .hero-ctas.reveal-in, .micro-note.reveal-in {
  opacity: 0; transform: translateY(16px);
  animation: fadeUpIn 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes fadeUpIn { to { opacity: 1; transform: none; } }

.page-hero h1, .page-hero .hero-badge, .page-hero .hero-sub {
  opacity: 0; transform: translateY(18px);
  animation: fadeUpIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.page-hero .hero-badge { animation-delay: 0.05s; }
.page-hero h1 { animation-delay: 0.16s; }
.page-hero .hero-sub { animation-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .word { animation: none; transform: none; opacity: 1; }
  .hero-badge.reveal-in, .hero-sub.reveal-in, .hero-ctas.reveal-in, .micro-note.reveal-in,
  .page-hero h1, .page-hero .hero-badge, .page-hero .hero-sub { animation: none; opacity: 1; transform: none; }
}
.hero-sub {
  color: var(--ink-2); font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 52ch; margin: 0 auto 40px; font-weight: 400;
}

/* ---------- Micro-note under a CTA ---------- */
.micro-note {
  color: var(--ink-3); font-size: 0.82rem; letter-spacing: 0.02em;
  margin-top: 22px;
}

/* ---------- Mantra divider — quiet, recurring reassurance ---------- */
.mantra { text-align: center; padding: 8px 0 60px; }
.mantra span {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--serif); font-style: italic; font-size: 0.92rem;
  color: var(--ink-3); letter-spacing: 0.01em;
}
.mantra span::before, .mantra span::after {
  content: ""; width: 34px; height: 1px; background: var(--line);
}
@media (max-width: 500px) {
  .mantra span::before, .mantra span::after { width: 18px; }
  .mantra span { font-size: 0.82rem; gap: 10px; }
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-ctas .pill { padding: 14px 32px; font-size: 1rem; }

/* ---------- Page header (subpages) ---------- */
.page-hero {
  padding: 60px 24px 60px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% -20%, rgba(61, 90, 148, 0.08), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 22ch; }
.page-hero .hero-sub { margin-bottom: 0; }

/* ---------- Section base ---------- */
section { padding: 100px 0; position: relative; }
.kicker {
  color: var(--blue-light); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
}
h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
  max-width: 22ch; margin-bottom: 16px;
}
.section-sub { color: var(--ink-2); font-size: 1.08rem; max-width: 58ch; margin-bottom: 56px; }
.center { text-align: center; }
.center h2, .center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Stat strip — a credentials plaque, not app cards ---------- */
.stats-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  margin-top: 60px; padding: 30px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat {
  padding: 4px 38px; text-align: center; position: relative;
}
.stat:not(:first-child)::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px;
  background: var(--line);
}
.stat .num, .stat .num-text {
  font-family: var(--serif); font-weight: 600; font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em;
  color: var(--ink);
  display: block; margin-bottom: 8px;
}
.stat .num-text { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
.stat .label {
  color: var(--ink-3); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; display: block;
}

/* ---------- Quote / promise section ---------- */
.quote-section { text-align: center; }
.quote-mark {
  font-family: var(--serif); font-size: 4rem; color: var(--blue); opacity: 0.5;
  line-height: 1; margin-bottom: 4px;
}
blockquote.quote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.35; letter-spacing: -0.01em;
  max-width: 22ch; margin: 0 auto 20px; color: var(--ink);
}
.quote-by { color: var(--ink-3); font-size: 0.88rem; }

/* ---------- Servicios ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px;
}
.service {
  display: block; text-decoration: none; color: inherit; position: relative;
  background: var(--glass); border-radius: var(--radius);
  padding: 38px 32px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.35s, border-color 0.35s, background 0.35s;
}
.service:hover {
  border-color: rgba(147, 168, 207, 0.45);
  background: linear-gradient(rgba(61, 90, 148, 0.10), rgba(61, 90, 148, 0.10)), var(--glass-hover);
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service .icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service .icon svg { width: 25px; height: 25px; stroke: var(--blue-light); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.service p { color: var(--ink-2); font-size: 0.94rem; }
.service-link {
  display: inline-block; margin-top: 30px; text-align: center;
  color: var(--blue-light); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.service-link:hover { color: #fff; }

.service-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; position: relative; z-index: 1; }
.service-actions .service-link { margin-top: 0; }
.service-wa {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%; background: #25D366;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.service-wa:hover { transform: scale(1.1); }
.service-wa svg { width: 19px; height: 19px; fill: #fff; }

/* ---------- Nosotros / diferenciadores ---------- */
.surface-section { background: var(--bg-alt); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust {
  text-align: center; padding: 8px 12px;
}
.trust .icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 18px;
  background: var(--blue-soft); display: flex; align-items: center; justify-content: center;
}
.trust .icon svg { width: 26px; height: 26px; stroke: var(--blue-light); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trust h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.trust p { color: var(--ink-2); font-size: 0.88rem; }

.diff-list { display: flex; flex-direction: column; }
.diff {
  display: grid; grid-template-columns: 90px 1fr; gap: 24px; align-items: start;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.diff:last-child { border-bottom: 1px solid var(--line); }
.diff .diff-num {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--blue);
  opacity: 0.65; line-height: 1;
}
.diff h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.diff p { color: var(--ink-2); font-size: 0.98rem; max-width: 60ch; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-copy p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 18px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-card {
  background: var(--glass); border-radius: calc(var(--radius) + 4px);
  padding: 44px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
.about-card .logo-badge { display: flex; width: 100%; padding: 18px; margin-bottom: 24px; justify-content: center; }
.about-card .logo-crop { height: auto; width: 80%; overflow: visible; }
.about-card .logo-crop img { height: auto; width: 100%; object-fit: contain; object-position: center; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; align-items: baseline; gap: 12px; font-size: 0.96rem; font-weight: 500; }
.about-list li::before { content: "✓"; font-weight: 700; color: var(--blue-light); flex-shrink: 0; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--glass); border-radius: var(--radius);
  padding: 34px 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.3s, background 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--glass-hover); }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff;
  font-size: 0.95rem; font-weight: 700; margin-bottom: 20px;
}
.step h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 0.9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: calc(var(--radius) + 8px);
  padding: 64px 48px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 90% 0%, rgba(255,255,255,0.14), transparent 60%);
}
.cta-banner h2 { color: #fff; margin-left: auto; margin-right: auto; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); max-width: 50ch; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-banner .pill-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: rgba(255,255,255,0.06); }
.cta-banner .pill-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.cta-banner .pill:not(.pill-ghost) { background: #fff; background-image: none; color: var(--blue-deep); box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.cta-banner .pill:not(.pill-ghost):hover { background: #f2f2f2; }

/* ---------- Contacto ---------- */
.contact-card {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start;
}
.contact-info > p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 30px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.96rem; }
.contact-list .icon {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: var(--blue-soft); display: flex; align-items: center; justify-content: center;
}
.contact-list .icon svg { width: 18px; height: 18px; stroke: var(--blue-light); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--blue-light); }
.contact-list .label { color: var(--ink-3); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }

form {
  background: var(--glass); border-radius: calc(var(--radius) + 4px);
  padding: 42px 38px; border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
form label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--ink-2); margin-bottom: 7px;
}
form input, form textarea, form select {
  width: 100%; background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.12); border-radius: 13px;
  color: var(--ink); padding: 13px 16px; font-family: var(--sans);
  font-size: 0.96rem; margin-bottom: 22px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23aab2c3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
form select option { background: #0b0f1a; color: var(--ink); }
form input:focus, form textarea:focus, form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 90, 148, 0.16);
}
form textarea { resize: vertical; min-height: 120px; }
form .pill { width: 100%; text-align: center; padding: 15px; font-size: 1rem; }

/* ---------- Problemas que resolvemos ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.problem-card {
  background: var(--glass); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.problem-card .worry {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.4;
  color: var(--ink); margin-bottom: 14px;
}
.problem-card .worry::before { content: "“"; color: var(--blue-light); }
.problem-card .worry::after { content: "”"; color: var(--blue-light); }
.problem-card .fix { display: flex; gap: 10px; align-items: flex-start; }
.problem-card .fix svg {
  width: 18px; height: 18px; stroke: var(--blue-light); stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 3px;
}
.problem-card .fix p { color: var(--ink-2); font-size: 0.96rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--glass); border: 1px solid var(--line); border-radius: 16px;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--blue-light);
  flex-shrink: 0; transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 20px; color: var(--ink-2); font-size: 0.96rem; }
.faq-cta {
  display: inline-flex; align-items: center; gap: 7px; margin: 2px 24px 22px;
  color: var(--blue-light); text-decoration: none; font-size: 0.9rem; font-weight: 600;
  transition: color 0.2s;
}
.faq-cta:hover { color: #fff; }
.faq-cta svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

@media (max-width: 700px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ---------- Photo banner (real office photography) ---------- */
.photo-banner {
  position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden;
  min-height: 420px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.photo-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.photo-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(3, 5, 9, 0.92) 0%, rgba(3, 5, 9, 0.5) 45%, rgba(3, 5, 9, 0.05) 80%);
}
.photo-banner-content { position: relative; z-index: 1; padding: 48px; max-width: 40ch; }
.photo-banner .kicker { color: var(--blue-light); }
.photo-banner h2 { color: #fff; margin-bottom: 10px; }
.photo-banner p { color: rgba(255, 255, 255, 0.82); font-size: 1.02rem; }

/* ---------- Gallery strip ---------- */
.gallery-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 24px;
}
.gallery-item { background: var(--bg); }
.gallery-item .frame { aspect-ratio: 3 / 4; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap { padding: 14px 16px; font-size: 0.82rem; color: var(--ink-3); font-weight: 600; letter-spacing: 0.02em; }

/* ---------- Contact strip (used on service pages) ---------- */
.contact-strip {
  display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: center;
  padding: 30px 32px; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.contact-strip a {
  display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: 0.94rem; transition: color 0.2s;
}
.contact-strip a:hover { color: var(--blue-light); }
.contact-strip svg { width: 18px; height: 18px; stroke: var(--blue-light); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Service detail page ---------- */
.service-detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.includes-card {
  background: var(--glass); border-radius: calc(var(--radius) + 4px); padding: 40px;
  border: 1px solid var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.includes-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; }
.includes-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.includes-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; color: var(--ink-2); }
.includes-list li::before { content: "✓"; font-weight: 700; color: var(--blue-light); flex-shrink: 0; }
.service-copy p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 18px; }
.service-copy p:last-child { margin-bottom: 0; }
.for-whom { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.for-whom .label { color: var(--ink-3); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }

@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mapa ---------- */
.map-section { padding-top: 0; }
.map-frame {
  width: 100%; height: 420px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  filter: grayscale(0.15) invert(0.92) contrast(0.92) brightness(1.02) hue-rotate(180deg);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-cta { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
footer {
  padding: 56px 0 48px; position: relative;
  background: linear-gradient(180deg, transparent, rgba(61, 90, 148, 0.06));
  border-radius: 0 0 22px 22px;
}
footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 168, 207, 0.35), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid var(--line); margin-bottom: 28px;
}
.footer-brand .logo-badge { margin-bottom: 14px; }
.footer-brand .logo-crop { height: 52px; width: 134px; }
.footer-brand .logo-crop img { height: 67px; width: 134px; }
.footer-brand p { color: var(--ink-2); font-size: 0.9rem; max-width: 32ch; }
.footer-brand .footer-mantra {
  font-family: var(--serif); font-style: italic; color: var(--ink-3);
  font-size: 0.86rem; margin-top: 10px;
}
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: var(--blue-light); }
footer .wrap > .bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  color: var(--ink-3); font-size: 0.84rem;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; bottom: calc(var(--frame) + 16px); right: calc(var(--frame) + 16px); z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 4px 24px; }
}
@media (max-width: 640px) {
  .stats-strip { flex-direction: column; align-items: center; gap: 22px; padding: 26px 0; }
  .stat { padding: 0; }
  .stat:not(:first-child)::before { display: none; }
}
@media (max-width: 860px) {
  section { padding: 68px 0; }
  .contact-card { grid-template-columns: 1fr; }
  .steps, .trust-grid { grid-template-columns: 1fr 1fr; }
  form { padding: 32px 24px; }
  .cta-banner { padding: 48px 28px; }
  .diff { grid-template-columns: 56px 1fr; gap: 16px; }
  .diff .diff-num { font-size: 1.8rem; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(6, 9, 17, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 340px; }
  .nav-links a:not(.pill) {
    padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 0.98rem;
  }
  .nav-links .pill { margin: 16px 24px; text-align: center; }
}
@media (max-width: 500px) {
  .steps, .trust-grid, .footer-grid, .gallery-strip { grid-template-columns: 1fr; }
  .map-frame { height: 300px; }
  .photo-banner { min-height: 300px; }
  .photo-banner-content { padding: 28px; }
  :root { --frame: 8px; }
  body { border-radius: 16px; }
  nav { border-radius: 16px 16px 0 0; }
  footer { border-radius: 0 0 16px 16px; }
}

/* =====================================================
   Cinematic polish: intro, page transitions, micro-interactions
   ===================================================== */

/* ---------- Page transition overlay ---------- */
body.intro-active, body.page-leaving { overflow: hidden; }

#page-transition {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  opacity: 0; pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
#page-transition.active { opacity: 1; pointer-events: all; }

body.page-enter #page-transition { opacity: 1; }
body.page-enter #page-transition.active { opacity: 0; }

body.page-enter .wrap, body.page-enter header, body.page-enter section, body.page-enter footer {
  animation: pageFadeIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.996); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- Hero gradient — a very slow, barely-visible drift ---------- */
header.hero::before, .page-hero::before {
  background-size: 160% 160%;
  animation: heroDrift 26s ease-in-out infinite;
}
@keyframes heroDrift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 20% 15%; }
}

/* ---------- Card hover polish (subtle tilt + cursor-lit edge) ---------- */
.service, .trust, .step {
  transform-style: preserve-3d;
  will-change: transform;
}
.service { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, border-color 0.35s, background 0.35s; }

.service::before, .step::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(147, 168, 207, 0.9), transparent 72%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.service:hover::before, .step:hover::before { opacity: 1; }

/* ---------- Button micro-interaction ---------- */
.pill { position: relative; overflow: hidden; }
.pill::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.18), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.pill:hover::after { opacity: 1; }
.pill:active { transform: scale(0.97); }

/* ---------- Reveal stagger ---------- */
.reveal { transition-delay: var(--reveal-delay, 0s); }

/* ---------- Calculator intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 400;
  background:
    radial-gradient(ellipse 70% 60% at 30% 20%, rgba(61, 90, 148, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 85%, rgba(38, 60, 104, 0.12), transparent 65%),
    linear-gradient(160deg, #05070c 0%, #0a1526 55%, #071c38 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 1; visibility: visible;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s;
}
.intro.hide { opacity: 0; visibility: hidden; pointer-events: none; }

.calc {
  width: 250px; background: #16181d; border-radius: 30px; padding: 22px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06) inset;
  opacity: 0;
  animation: boomerangIn 1.1s cubic-bezier(0.22, 0.68, 0.24, 1) forwards 0.1s;
}
/* Flies in spinning like a thrown boomerang, overshoots, then settles */
@keyframes boomerangIn {
  0%   { opacity: 0; transform: translate(-65vw, 26vh) rotate(-560deg) scale(0.5); }
  48%  { opacity: 1; transform: translate(7vw, -5vh) rotate(35deg) scale(1.08); }
  70%  { opacity: 1; transform: translate(-3vw, 2vh) rotate(-14deg) scale(0.97); }
  86%  { transform: translate(1vw, -0.6vh) rotate(5deg) scale(1.01); }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
}

.calc-screen {
  background: #060d18; border-radius: 14px; padding: 20px 18px; margin-bottom: 18px;
  text-align: right; box-shadow: inset 0 2px 8px rgba(0,0,0,0.5);
}
#calc-display {
  color: var(--blue-light); font-family: "Courier New", monospace; font-size: 2.1rem; font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
#calc-display.joke { color: #e8a355; }

.calc-caption {
  color: rgba(255,255,255,0.7); font-size: 0.78rem; text-align: right;
  margin-top: -10px; margin-bottom: 4px; opacity: 0; transition: opacity 0.5s;
}
.calc-caption.show { opacity: 1; }

.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.calc-btn {
  aspect-ratio: 1; border-radius: 50%; border: none; background: #24262c; color: #f5f5f7;
  font-size: 0.95rem; font-weight: 600; font-family: var(--sans);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.calc-btn.op { background: rgba(61, 90, 148, 0.5); color: #fff; }
.calc-btn.lit {
  background: var(--blue); color: #fff; transform: scale(0.94);
}

.intro-skip {
  margin-top: 30px; background: none; border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75); padding: 9px 20px; border-radius: 999px;
  font-size: 0.82rem; font-family: var(--sans); cursor: pointer; transition: all 0.2s;
}
.intro-skip:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  header.hero::before, .page-hero::before { animation: none; }
  .reveal { transition-delay: 0s !important; }
  .wa-float { animation: none; }
}
