:root {
  /* Paleta tomada directamente del logo de Iconica */
  --accent: #E91F57;        /* rojo/rosa del punto del logo */
  --accent-dark: #B81344;   /* rosa oscurecido, para hovers */
  --accent-light: #18C1F3;  /* celeste de la primera barra del ícono */
  --navy: #4D024A;          /* berenjena/violeta oscuro del wordmark */
  --brand-green: #21B175;   /* verde de la segunda barra del ícono */
  --brand-orange: #FAAF0E;  /* naranja de la tercera barra del ícono */
  --gray: #6B7280;
  --light-bg: #FDEAF0;      /* tinte suave del rosa del logo, para fondos */
  --off-white: #FAF7F1;     /* mismo blanco cálido del fondo del logo */
  --border: #E5E7EB;
  --font-display: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

/* ACCESIBILIDAD */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10000;
  background: var(--navy); color: white; padding: 12px 20px; border-radius: 0 0 8px 0;
  font-weight: 700; font-size: 14px;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent-light); outline-offset: 2px; border-radius: 4px;
}

/* FADE-IN AL SCROLLEAR */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-up.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in-up { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .btn-primary:hover, .btn-secondary:hover, .nav-cta:hover, .card:hover, .service-card:hover, .team-card:hover, .back-to-top:hover { transform: none; }
  .hero-scroll-cue svg { animation: none; }
  nav { transition: none; }
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  line-height: 1.6;
  background: var(--off-white);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4, .logo, .tag, .section-tag, .eyebrow, .role-tag, .step .num {
  font-family: var(--font-display);
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,241,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.25s ease, padding 0.25s ease;
}
nav.nav-scrolled {
  background: rgba(250,247,241,0.98);
  box-shadow: 0 4px 20px rgba(77,2,74,0.08);
}
nav.nav-scrolled .container { padding: 10px 24px; }
nav .container { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; transition: padding 0.25s ease; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.5px; color: var(--accent); display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; display: block; }
.footer-logo { height: 32px; width: auto; display: block; margin: 0 auto 12px; opacity: 0.85; }
.nav-links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links a { padding: 4px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-cta {
  background: var(--navy); color: white; padding: 10px 20px; border-radius: 8px;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* PAGE HEADER (para páginas internas) */
.page-header {
  padding: 64px 24px 56px;
  background: linear-gradient(160deg, #FAF7F1 0%, var(--light-bg) 55%, #FDF0E4 100%);
  text-align: center;
}
.page-header .tag {
  display: inline-block; background: white; color: var(--accent);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 20px;
  border: 1px solid var(--border);
}
.page-header h1 { font-size: 40px; font-weight: 800; letter-spacing: -1px; max-width: 760px; margin: 0 auto 16px; }
.page-header h1 span {
  background: linear-gradient(90deg, var(--accent) 0%, var(--navy) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-header p.lead { font-size: 18px; color: var(--gray); max-width: 600px; margin: 0 auto; }

/* HERO (home) */
.hero { position: relative; overflow: hidden; padding: 96px 24px 80px; background: linear-gradient(160deg, #FAF7F1 0%, var(--light-bg) 55%, #FDF0E4 100%); text-align: center; }
.hero::before {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.22; z-index: 0;
  width: 320px; height: 320px; background: var(--accent-light); top: -120px; left: -100px;
}
.hero .container { position: relative; z-index: 1; }

/* Motivo gráfico de marca en el hero (barras ascendentes + punto, eco del isotipo) */
.hero-graphic { position: absolute; top: 50%; right: -30px; transform: translateY(-50%) rotate(-6deg); width: 240px; height: auto; z-index: 0; opacity: 0.9; pointer-events: none; }
.hero-graphic .bar-1 { fill: var(--accent-light); }
.hero-graphic .bar-2 { fill: var(--brand-green); }
.hero-graphic .bar-3 { fill: var(--brand-orange); }
.hero-graphic .bar-4 { fill: var(--navy); }
.hero-graphic .dot { fill: var(--accent); }
.hero .tag { display: inline-block; background: white; color: var(--accent); padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 24px; border: 1px solid var(--border); }
.hero h1 { font-size: 46px; font-weight: 800; letter-spacing: -1px; max-width: 780px; margin: 0 auto 20px; }
.hero h1 span {
  background: linear-gradient(90deg, var(--accent) 0%, var(--navy) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--gray); max-width: 620px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent); color: white; padding: 14px 28px; border-radius: 10px;
  font-weight: 700; font-size: 15px; display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(233,31,87,0.28); }
.btn-secondary {
  background: white; color: var(--navy); padding: 14px 28px; border-radius: 10px;
  font-weight: 700; font-size: 15px; border: 1px solid var(--border); display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31,41,55,0.08); }

section { padding: 72px 24px; }
.section-tag { color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; }
.section-title { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; }
.section-lead { color: var(--gray); font-size: 16px; max-width: 640px; margin-bottom: 44px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.card {
  background: white; border: 1px solid var(--border); border-radius: 20px; padding: 28px; text-align: left;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31,41,55,0.08); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; }
.icon-badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
  box-shadow: 0 4px 14px rgba(77,2,74,0.06);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; color: var(--accent);
}
.icon-badge svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge.c-blue { color: var(--accent-light); }
.icon-badge.c-green { color: var(--brand-green); }
.icon-badge.c-orange { color: var(--brand-orange); }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 32px; transition: transform .15s, box-shadow .15s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31,41,55,0.08); }
.service-card .eyebrow { color: var(--accent); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
.service-card .eyebrow.c-blue { color: var(--accent-light); }
.service-card .eyebrow.c-green { color: var(--brand-green); }
.service-card .eyebrow.c-orange { color: var(--brand-orange); }
.service-card li.c-blue::before { color: var(--accent-light) !important; }
.service-card li.c-green::before { color: var(--brand-green) !important; }
.service-card li.c-orange::before { color: var(--brand-orange) !important; }
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card ul { list-style: none; color: var(--gray); font-size: 14.5px; }
.service-card li { padding: 5px 0 5px 20px; position: relative; }
.service-card li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.service-card.highlight { background: var(--navy); color: white; }
.service-card.highlight .eyebrow { color: var(--accent-light); }
.service-card.highlight ul { color: #D1D5DB; }
.service-card.highlight li::before { color: var(--accent-light); }
.service-card .price-tag { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--light-bg); padding: 5px 12px; border-radius: 999px; }
.service-card.highlight .price-tag { background: rgba(255,255,255,0.12); color: var(--accent-light); }

table.pricing { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
table.pricing th { background: var(--navy); color: white; text-align: left; padding: 14px 18px; font-size: 14px; }
table.pricing td { padding: 14px 18px; border-top: 1px solid var(--border); font-size: 14.5px; color: var(--navy); }
table.pricing tr:nth-child(even) td { background: var(--light-bg); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: left; }
.step .num { width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--gray); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 26px; text-align: left; transition: transform .15s, box-shadow .15s; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31,41,55,0.08); }
.team-card .role-tag { color: var(--accent); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px; }
.team-card .role-tag.c-blue { color: var(--accent-light); }
.team-card .role-tag.c-green { color: var(--brand-green); }
.team-card .role-tag.c-orange { color: var(--brand-orange); }
.team-card h4 { font-size: 17px; margin-bottom: 8px; }
.team-card p { font-size: 14px; color: var(--gray); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 30px; text-align: left; }
.case-card .tag-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.case-card .pill { background: var(--light-bg); color: var(--accent); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.case-card .pill.c-blue { background: #E4F7FD; color: var(--accent-light); }
.case-card .pill.c-green { background: #E5F7EE; color: var(--brand-green); }
.case-card .pill.c-orange { background: #FFF3DD; color: var(--brand-orange); }
.case-card h3 { font-size: 19px; margin-bottom: 10px; }
.case-card p { color: var(--gray); font-size: 14.5px; margin-bottom: 10px; }
.case-card .metric { font-size: 22px; font-weight: 800; color: var(--navy); }
.case-card .metric span { font-size: 13px; font-weight: 500; color: var(--gray); display: block; }
.placeholder-note { font-size: 13px; color: var(--accent); font-style: italic; margin-top: 10px; }

/* HERO STATS (franja de datos junto al hero, estilo GrupoSet) */
.hero-stats {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 30px; margin: 0 0 36px; font-size: 14.5px; color: var(--navy); font-weight: 600;
}
.hero-stats li { display: flex; align-items: center; gap: 7px; }
.hero-stats strong { font-family: var(--font-display); color: var(--accent); font-weight: 800; }
.flag-row { display: inline-flex; align-items: center; gap: 4px; }
.flag-row svg { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(77,2,74,0.14); display: block; }

/* FLECHA DE SCROLL EN EL HERO */
.hero-scroll-cue {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--gray); font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; opacity: 0.85; transition: opacity 0.15s ease;
}
.hero-scroll-cue:hover { opacity: 1; color: var(--accent); }
.hero-scroll-cue svg {
  width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; animation: hero-scroll-bounce 1.6s ease-in-out infinite;
}
@keyframes hero-scroll-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* CTA CHICO AL PIE DE CADA BLOQUE DE SERVICIO */
.feature-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-weight: 700; font-size: 14px; color: var(--accent); font-family: var(--font-display);
  transition: gap 0.15s ease, color 0.15s ease;
}
.feature-link:hover { color: var(--accent-dark); gap: 10px; }

/* BLOQUES GRANDES ALTERNADOS (estilo GrupoSet, con ilustraciones propias de marca) */
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px;
}
.feature-block:last-of-type { margin-bottom: 0; }
.feature-block--reverse { direction: rtl; }
.feature-block--reverse > * { direction: ltr; }
.feature-visual {
  position: relative; border-radius: 28px; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
  box-shadow: 0 12px 32px rgba(77,2,74,0.08);
  display: flex; align-items: center; justify-content: center;
}
.feature-svg { width: 60%; height: 60%; }
.fv-dot { fill: var(--accent); }
.fv-arc { fill: none; stroke-width: 9; stroke-linecap: round; }
.fv-arc-1 { stroke: var(--accent-light); }
.fv-arc-2 { stroke: var(--brand-green); }
.fv-arc-3 { stroke: var(--brand-orange); }
.fv-ring { fill: none; stroke-width: 10; }
.fv-ring-1 { stroke: var(--brand-orange); }
.fv-ring-2 { stroke: var(--navy); }
.fv-orbit { fill: none; stroke: var(--accent-light); stroke-width: 2; stroke-dasharray: 4 6; }
.fv-core { fill: var(--navy); }
.fv-dot-a { fill: var(--accent); }
.fv-dot-b { fill: var(--brand-green); }
.fv-dot-c { fill: var(--brand-orange); }

.feature-text h3 { font-size: 26px; margin-bottom: 12px; }
.feature-text .feature-desc { color: var(--gray); font-size: 15.5px; margin-bottom: 18px; }
.feature-text h4 { font-size: 14px; font-weight: 800; color: var(--navy); margin: 18px 0 6px; font-family: var(--font-display); }
.feature-text .feature-subgroup:first-of-type h4 { margin-top: 0; }
.feature-text ul { list-style: none; color: var(--gray); font-size: 15px; }
.feature-text li { padding: 6px 0 6px 22px; position: relative; }
.feature-text li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* BOTÓN LATERAL "HABLÁ CON UN ESPECIALISTA" */
.specialist-tab {
  position: fixed; top: 50%; right: 0; transform: translateY(-50%);
  writing-mode: vertical-rl; background: var(--navy); color: white; border: none; cursor: pointer;
  padding: 18px 10px; border-radius: 10px 0 0 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.4px;
  display: flex; align-items: center; gap: 8px; z-index: 996; box-shadow: -4px 0 16px rgba(0,0,0,0.12);
  transition: background 0.15s ease, transform 0.25s ease;
  font-family: var(--font-display);
}
.specialist-tab:hover { background: var(--accent); }
.specialist-tab svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }
.specialist-panel {
  position: fixed; top: 50%; right: 0; transform: translateY(-50%) translateX(110%);
  background: white; border-radius: 16px; box-shadow: 0 16px 40px rgba(31,41,55,0.18);
  padding: 22px; width: 260px; z-index: 999; opacity: 0; visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}
.specialist-widget.is-open .specialist-panel { transform: translateY(-50%) translateX(-16px); opacity: 1; visibility: visible; }
.specialist-widget.is-open .specialist-tab { transform: translateY(-50%) translateX(-244px); }
.specialist-panel h4 { font-size: 15px; margin-bottom: 14px; font-family: var(--font-display); }
.specialist-option {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; margin-bottom: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy); background: var(--off-white);
  transition: background 0.15s ease;
}
.specialist-option:hover { background: var(--light-bg); }
.specialist-option svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.specialist-option--primary { background: var(--accent); color: white; justify-content: center; margin-bottom: 0; }
.specialist-option--primary:hover { background: var(--accent-dark); }

/* STATS BAND */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 36px 0; }
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--navy) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item .stat-label { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 6px; }

/* BANNER DE UBICACIÓN + CONTADOR */
.location-banner { background: var(--navy); color: white; border-radius: 24px; padding: 44px 32px; text-align: center; }
.location-pin {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12);
  padding: 7px 18px; border-radius: 999px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 18px; color: var(--accent-light);
}
.location-pin svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.location-banner h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 30px; }
.countdown { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.countdown-item { background: rgba(255,255,255,0.08); border-radius: 14px; padding: 16px 22px; min-width: 76px; }
.countdown-num { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; }
.countdown-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #D1D5DB; margin-top: 6px; }

/* FAQ ACORDEÓN */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 4px; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; flex-shrink: 0; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 4px 20px; color: var(--gray); font-size: 15px; max-width: 640px; }

.cta-band { background: var(--navy); color: #ffffff; border-radius: 24px; padding: 64px 40px; text-align: center; margin: 0 24px; }
.cta-band h2 { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; color: #ffffff; }
.cta-band p { color: #D1D5DB; max-width: 520px; margin: 0 auto 30px; font-size: 16.5px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info div { margin-bottom: 18px; }
.contact-info .label { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-info .value { font-size: 17px; font-weight: 600; }

form.contact-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 14.5px; margin-bottom: 18px; background: var(--off-white);
}
form.contact-form textarea { resize: vertical; min-height: 100px; }
form.contact-form button { width: 100%; border: none; cursor: pointer; }

footer { border-top: 1px solid var(--border); padding: 32px 24px; text-align: center; color: var(--gray); font-size: 13px; }
footer .foot-links { margin-top: 10px; display: flex; gap: 18px; justify-content: center; }
footer .foot-social { margin-top: 16px; display: flex; gap: 12px; justify-content: center; }
footer .foot-social a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--light-bg);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  transition: background 0.15s, color 0.15s;
}
footer .foot-social a:hover { background: var(--accent); color: white; }
footer .foot-social svg { width: 17px; height: 17px; fill: currentColor; }

/* PÁGINA 404 */
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 90px 24px; }
.error-code { font-size: 96px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.error-page h1 { font-size: 28px; margin-bottom: 12px; }
.error-page p { color: var(--gray); max-width: 440px; margin-bottom: 28px; }

/* WHATSAPP FLOTANTE */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 998;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* VOLVER ARRIBA */
.back-to-top {
  position: fixed; bottom: 22px; right: 90px; z-index: 997;
  width: 44px; height: 44px; border-radius: 50%; background: white; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.15s ease, color 0.15s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy); color: white; }
.back-to-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* SPLASH SCREEN */
.splash {
  position: fixed; inset: 0; z-index: 9999; background: var(--off-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-logo { height: 68px; width: auto; animation: splash-pulse 1.3s ease-in-out infinite; }
.splash-bar { width: 170px; height: 4px; background: var(--border); border-radius: 999px; overflow: hidden; }
.splash-bar-fill { height: 100%; width: 0%; background: var(--accent); border-radius: 999px; animation: splash-fill 1.1s ease forwards; }
.splash-text { font-size: 13px; color: var(--gray); font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
@keyframes splash-fill { from { width: 0%; } to { width: 100%; } }
@keyframes splash-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 4px; background: var(--off-white);
    border-bottom: 1px solid var(--border); padding: 12px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; border-bottom: 1px solid var(--border); }
  .nav-links a:last-of-type { border-bottom: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-cta-mobile {
    display: inline-block; text-align: center; background: var(--navy); color: white;
    padding: 12px 16px; border-radius: 8px; font-weight: 700; margin-top: 8px;
  }
  .hero h1, .page-header h1 { font-size: 30px; }
  .split, .services-grid, .contact-grid, .team-grid, .case-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stat-item .stat-num { font-size: 28px; }
  .countdown { gap: 10px; }
  .countdown-item { padding: 12px 14px; min-width: 62px; }
  .countdown-num { font-size: 26px; }

  /* Tabla de precios en formato tarjeta */
  table.pricing, table.pricing thead, table.pricing tbody, table.pricing th, table.pricing td, table.pricing tr { display: block; width: 100%; }
  table.pricing thead { position: absolute; left: -9999px; top: -9999px; }
  table.pricing tr { margin-bottom: 14px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
  table.pricing tr:nth-child(even) td { background: white; }
  table.pricing td {
    border-top: none; border-bottom: 1px solid var(--border); position: relative; padding: 12px 14px 12px 46%;
  }
  table.pricing td:last-child { border-bottom: none; }
  table.pricing td::before {
    content: attr(data-label); position: absolute; left: 14px; top: 12px; width: 40%;
    font-weight: 700; color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 0.3px;
  }

  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 24px; height: 24px; }

  .back-to-top { width: 40px; height: 40px; bottom: 18px; right: 72px; }

  .hero-graphic { display: none; }

  .hero-stats { gap: 8px 18px; font-size: 13px; margin-bottom: 28px; }

  .feature-block, .feature-block--reverse { grid-template-columns: 1fr; direction: ltr; gap: 24px; margin-bottom: 44px; }
  .feature-visual { aspect-ratio: 16 / 10; }
  .feature-text h3 { font-size: 22px; }

  .specialist-tab span { display: none; }
  .specialist-tab { padding: 14px 8px; }
  .specialist-panel { width: calc(100vw - 48px); max-width: 260px; }

  .cta-band { padding: 44px 26px; }
  .cta-band h2 { font-size: 26px; letter-spacing: -0.5px; }

  .hero-scroll-cue { display: none; }
}
