/* ═══════════════════════════════════════════════════════════
   webia.com.ar — Stylesheet
   Fuentes: Bricolage Grotesque (display) + DM Sans (body)
   ═══════════════════════════════════════════════════════════ */

/* ── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: #ffffff;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a   { color:inherit; text-decoration:none; }

/* ── VARIABLES ──────────────────────────────────── */
:root {
  --black:    #1a1a1a;
  --white:    #ffffff;
  --bg:       #f4f9fa;
  --accent:   #00b5c8;
  --accent2:  #00d4aa;
  --mid:      #777;
  --border:   #e4e4e4;

  /* Blanco texturado: fondo de tarjetas que no sean blanco puro */
  --card-bg:  #fafafa;
  --card-border: #e0e0e0;

  --f-display:'Bricolage Grotesque', sans-serif;
  --f-body:   'DM Sans', sans-serif;
}

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  height: 68px;
  display: flex; align-items:center; justify-content:space-between;
  padding: 0 48px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.07); }

.nav-logo {
  font-family: var(--f-display);
  font-size: 21px; font-weight: 800;
  letter-spacing: -0.5px; color: var(--black);
  display: flex; align-items:center;
  line-height: 1;
}
.nav-logo .logo-main { color: var(--accent); }
.nav-logo .logo-main .logo-ia {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -1px;
}
.nav-logo .logo-tld  { color: var(--black); }
.nav-logo .logo-by {
  font-size: 10px; font-weight: 400;
  color: var(--mid);
  letter-spacing: 0.5px;
  margin-left: 9px;
  padding-left: 9px;
  border-left: 1px solid var(--border);
  font-family: var(--f-body);
}

.nav-links {
  display: flex; align-items:center; gap:32px;
}
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--mid);
  transition: color .2s;
}
.nav-links a:hover { color: var(--black); }

.nav-cta {
  background: var(--black); color: var(--white);
  padding: 10px 24px;
  font-family: var(--f-body);
  font-size: 13.5px; font-weight: 500;
  border-radius: 100px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--accent); }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 140px 48px 100px;
  text-align: center;
  position: relative; overflow: hidden;
}

/* Imagen de fondo del hero */
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1a1a2e;
}
/* Overlay sobre la foto para que el texto sea legible */
.hero-bg::after {
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(
    170deg,
    rgba(255,255,255,.91) 0%,
    rgba(255,255,255,.82) 55%,
    rgba(230,245,248,.78) 100%
  );
}

/* Placeholder visual cuando no hay foto:
   muestra el tamaño recomendado */
.hero-bg-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction:column;
  align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #cce9ee 0%, #d8f0f5 50%, #c8e8ef 100%);
  color: #6ab0ba;
  font-family: var(--f-body);
  font-size: 13px;
  pointer-events: none;
}
.hero-bg-placeholder .ph-label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  opacity: .6;
}
.hero-bg-placeholder .ph-size {
  font-family: var(--f-display); font-size: 22px; font-weight: 700;
  opacity: .8;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex; align-items:center; gap:8px;
  border: 1px solid rgba(0,0,0,.1);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 6px 18px 6px 10px;
  font-size: 12.5px; font-weight: 500;
  color: var(--mid);
  margin-bottom: 36px;
  animation: fadeUp .7s ease both;
}
.hero-badge .pulse {
  width:8px; height:8px; border-radius:50%;
  background: var(--accent2);
  box-shadow: 0 0 0 3px rgba(0,212,170,.25);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100%{ box-shadow:0 0 0 3px rgba(0,212,170,.25); }
  50%    { box-shadow:0 0 0 7px rgba(0,212,170,.08); }
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -3px;
  color: var(--black);
  margin-bottom: 28px;
  animation: fadeUp .75s .08s ease both;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 300;
  color: #111;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 48px;
  animation: fadeUp .8s .16s ease both;
}

.hero-btns {
  display: flex; gap:14px; justify-content:center; flex-wrap:wrap;
  animation: fadeUp .85s .24s ease both;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex; justify-content:center;
  border: 1px solid rgba(0,0,0,.09);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  max-width: 680px; width:100%;
  margin: 0 auto;
  animation: fadeUp .9s .32s ease both;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.hero-stat {
  flex: 1; padding: 24px 20px; text-align:center;
  border-right: 1px solid rgba(0,0,0,.07);
}
.hero-stat:last-child { border-right:none; }
.hero-stat .val {
  font-family: var(--f-display);
  font-size: 27px; font-weight: 800;
  letter-spacing: -1px; color: var(--black);
  display:block;
}
.hero-stat .lbl {
  font-size: 11.5px; color: var(--mid);
  margin-top: 4px; display:block;
}

@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ══════════════════════════════════════════════════
   BOTONES
══════════════════════════════════════════════════ */
.btn-primary {
  background: var(--accent); color: var(--white);
  padding: 16px 40px;
  font-family: var(--f-body);
  font-size: 15px; font-weight: 500;
  border-radius: 100px;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 6px 28px rgba(0,181,200,.28);
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,181,200,.38);
  background: #009aae;
}

.btn-secondary {
  background: transparent; color: var(--black);
  padding: 15px 36px;
  font-family: var(--f-body);
  font-size: 15px; font-weight: 500;
  border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,.18);
  transition: border-color .2s, transform .2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--black); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════
   REVEAL ON SCROLL
══════════════════════════════════════════════════ */
.reveal {
  opacity:0; transform:translateY(32px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity:1; transform:translateY(0); }
.reveal-left {
  opacity:0; transform:translateX(-48px);
  transition:opacity .8s ease, transform .8s ease;
}
.reveal-left.in { opacity:1; transform:translateX(0); }
.reveal-right {
  opacity:0; transform:translateX(48px);
  transition:opacity .8s ease, transform .8s ease;
}
.reveal-right.in { opacity:1; transform:translateX(0); }
.d1{transition-delay:.09s} .d2{transition-delay:.18s}
.d3{transition-delay:.27s} .d4{transition-delay:.36s}

/* ══════════════════════════════════════════════════
   SECTION LABELS & TITLES
══════════════════════════════════════════════════ */
.section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform:uppercase;
  color: var(--accent); margin-bottom:16px; display:block;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800; letter-spacing: -2px;
  line-height: 1.05; color: var(--black);
  margin-bottom: 20px;
}

.section-body {
  font-size: 17px; color: #111;
  line-height: 1.75; max-width: 480px;
  margin-bottom: 36px;
}

/* ══════════════════════════════════════════════════
   INTRO SECTION
══════════════════════════════════════════════════ */
.intro-section {
  padding: 100px 48px;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.intro-section .inner { max-width: 780px; margin:0 auto; }
.intro-section h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800; letter-spacing: -2px;
  line-height: 1.05; color: var(--black);
  margin-bottom: 20px;
}
.intro-section p {
  font-size: 19px; color: #111; line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   BLOQUES ALTERNADOS (split-section)
══════════════════════════════════════════════════ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-top: 1px solid var(--border);
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-visual {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.split-visual-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
}

/* split-visual-inner con display flex explícito (para Safari) */
.split-visual-inner--flex {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

/* Fondos de secciones */
.block-teal  { background: #eaf6f8; }
.block-light { background: #f2f2f2; }
.block-soft  { background: #f5f5f3; }
.block-mint  { background: #eaf7f4; }
.block-cream { background: #f7f5f0; }

/* Foto de sección: placeholder visual */
.block-photo {
  background-color: #d0e8ec;
  background-image: url('../images/seccion-proceso.jpg');
  background-size: cover;
  background-position: center;
}
.block-photo-2 {
  background-color: #dceee8;
  background-image: url('../images/seccion-incluye.jpg');
  background-size: cover;
  background-position: center;
}
.block-photo-3 {
  background-color: #ddeaec;
  background-image: url('../images/seccion-precio.jpg');
  background-size: cover;
  background-position: center;
}

/* Overlay para fotos */
.photo-overlay {
  position: absolute; inset: 0;
  background: rgba(0,181,200,.12);
  pointer-events: none;
}

/* Placeholder visual para imágenes de sección */
.img-placeholder {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: #8bbec6;
  font-family: var(--f-body);
}
.img-placeholder .ph-icon { font-size: 36px; opacity: .5; }
.img-placeholder .ph-size {
  font-family: var(--f-display); font-size: 18px; font-weight: 700;
  opacity: .7;
}
.img-placeholder .ph-note {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  opacity: .5;
}
.img-placeholder .ph-rec {
  font-size: 12px; opacity: .5; margin-top: 4px;
}

/* Contenido de split */
.split-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 72px;
}

/* ══════════════════════════════════════════════════
   TARJETAS (antes negras → ahora blanco texturado)
══════════════════════════════════════════════════ */

/* Tarjeta base blanco texturado */
.card-paper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
  /* Textura sutil: grain noise via SVG inline */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
}

/* Step list */
.step-list { display:flex; flex-direction:column; gap:0; padding: 36px; }
.step-row {
  display:flex; gap:18px; align-items:flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #ebebeb;
}
.step-row:last-child { border-bottom:none; padding-bottom:0; }
.step-num-badge {
  width:36px; height:36px; border-radius:10px;
  background: var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-display); font-size:14px; font-weight:800;
  color:var(--white); flex-shrink:0;
}
.step-row-info h4 {
  font-family:var(--f-display); font-size:15px; font-weight:700;
  margin-bottom:3px; color: var(--black);
}
.step-row-info p { font-size:14px; color:#222; line-height:1.5; }

/* Feature grid */
.feat-grid {
  display: -webkit-grid;
  display: grid;
  -webkit-grid-template-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}
.feat-item {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 20px 16px;
  transition: box-shadow .2s, border-color .2s;
}
.feat-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,181,200,.1);
}
.feat-icon { font-size:22px; margin-bottom:10px; }
.feat-item h5 {
  font-family:var(--f-display); font-size:13px; font-weight:700;
  letter-spacing:-.2px; margin-bottom:4px; color: var(--black);
}
.feat-item p { font-size:13px; color:#222; line-height:1.5; }

/* Timeline días */
.timeline-block { display:flex; flex-direction:column; gap:0; margin-bottom:32px; }
.tl-row {
  display:flex; gap:16px; align-items:flex-start;
  padding:18px 0; border-bottom:1px solid var(--border);
}
.tl-row:last-child { border-bottom:none; }
.tl-day-badge {
  width:44px; height:44px;
  background: var(--accent);
  border-radius:12px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  flex-shrink:0; color:#fff;
}
.tl-day-badge .d { font-size:9px; font-weight:600; opacity:.7; letter-spacing:.5px; }
.tl-day-badge .n { font-family:var(--f-display); font-size:20px; font-weight:800; line-height:1; }
.tl-info h4 {
  font-family:var(--f-display); font-size:15px; font-weight:700;
  margin-bottom:3px; color: var(--black);
}
.tl-info p { font-size:14.5px; color:#222; line-height:1.55; }

/* Pricing card (antes negra) */
.price-visual {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  width: 100%; max-width: 400px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
}
.price-visual .pv-badge {
  display:inline-block;
  background: var(--accent);
  color: var(--white);
  font-size:11px; font-weight:600;
  letter-spacing:.8px; text-transform:uppercase;
  padding:5px 14px; border-radius:100px;
  margin-bottom:20px;
}
.price-visual .pv-label {
  font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase;
  color: var(--mid); margin-bottom:12px; display:block;
}
.price-visual .pv-amount {
  font-family:var(--f-display); font-size:72px; font-weight:800;
  letter-spacing:-4px; line-height:1; color: var(--black);
  margin-bottom:6px;
}
.price-visual .pv-period {
  font-size:13px; color: var(--mid); margin-bottom:28px;
}
.price-visual .pv-features { list-style:none; }
.price-visual .pv-features li {
  font-size:15px; color:#111;
  padding:11px 0;
  border-bottom:1px solid #eaeaea;
  display:flex; align-items:center; gap:10px;
}
.price-visual .pv-features li:last-child { border-bottom:none; }
.price-visual .pv-features .ck { color: var(--accent2); font-size:15px; }

/* Renovation + correo cards */
.sub-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: box-shadow .2s;
}
.sub-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.sub-card h4 {
  font-family:var(--f-display); font-size:14px; font-weight:600;
  color:var(--mid); letter-spacing:1px; text-transform:uppercase;
  margin-bottom:10px;
}
.sub-card .sub-amount {
  font-family:var(--f-display); font-size:38px; font-weight:800;
  letter-spacing:-2px; margin-bottom:6px; color: var(--black);
}
.sub-card .sub-period { font-size:13px; color:var(--mid); margin-bottom:14px; }
.sub-card a { font-size:14px; font-weight:500; color:var(--accent); }

/* ══════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════ */
.faq-section {
  padding: 100px 48px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.faq-inner { max-width: 760px; margin:0 auto; }
.faq-header { text-align:center; margin-bottom:56px; }
.faq-header h2 {
  font-family: var(--f-display);
  font-size: clamp(28px,4vw,48px);
  font-weight: 800; letter-spacing:-2px; line-height:1.05;
  color: var(--black); margin-bottom:14px;
}
.faq-header p { font-size:16px; color:var(--mid); }
.faq-list {}
.faq-item { border-top:1px solid var(--border); }
.faq-item:last-child { border-bottom:1px solid var(--border); }
.faq-q {
  display:flex; justify-content:space-between; align-items:center;
  padding:24px 0; cursor:pointer; gap:16px;
  font-family:var(--f-display); font-size:17px; font-weight:700;
  letter-spacing:-.3px;
  transition:color .2s;
}
.faq-q:hover { color:var(--accent); }
.faq-icon {
  width:28px; height:28px; flex-shrink:0;
  border:1.5px solid var(--border); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:18px; color:var(--mid);
  transition:transform .3s, border-color .3s, color .3s;
}
.faq-item.open .faq-icon { transform:rotate(45deg); border-color:var(--accent); color:var(--accent); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .4s ease, padding .3s; }
.faq-item.open .faq-a { max-height:300px; padding-bottom:24px; }
.faq-a p { font-size:16.5px; color:#111; line-height:1.75; }

/* ══════════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════════ */
.cta-final {
  /* Foto local: misma imagen AI, crop centrado */
  background-image: url('../images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 48px;
  text-align:center;
  position:relative; overflow:hidden;
}
.cta-final::before {
  content:'';
  position:absolute; inset:0;
  background: rgba(255,255,255,.88);
  pointer-events:none;
}
.cta-final::after {
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 70% 80% at 30% 50%, rgba(0,181,200,.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(0,212,170,.06) 0%, transparent 50%);
  pointer-events:none;
}
.cta-final-inner { position:relative; z-index:1; max-width:640px; margin:0 auto; }
.cta-final h2 {
  font-family: var(--f-display);
  font-size: clamp(34px,5.5vw,64px);
  font-weight:800; letter-spacing:-2.5px; line-height:1.0;
  color: var(--black); margin-bottom:20px;
}
.cta-final p { font-size:18px; color:#555; line-height:1.65; margin-bottom:40px; }
.cta-contact {
  display:flex; align-items:center; justify-content:center; gap:24px;
  margin-top:36px; flex-wrap:wrap;
}
.cta-contact a {
  color:#888; font-size:14px;
  display:flex; align-items:center; gap:8px;
  transition:color .2s;
}
.cta-contact a:hover { color: var(--black); }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
footer {
  background: var(--card-bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f8f8f8 0%, #f2f2f0 100%);
  border-top: 1px solid var(--card-border);
  padding: 36px 48px 28px;
}
.footer-grid {
  max-width: 1100px; margin:0 auto;
  display:grid; grid-template-columns: 1fr auto;
  gap:32px; align-items:center;
  padding-bottom:24px;
  border-bottom:1px solid var(--card-border);
}
.footer-logo {
  font-family:var(--f-display); font-size:20px; font-weight:800;
  letter-spacing:-0.5px; display:inline-block; margin-bottom:6px;
}
.footer-logo .logo-main { color:var(--accent); }
.footer-logo .logo-main .logo-ia { font-style:italic; font-weight:300; letter-spacing:-1px; }
.footer-logo .logo-tld  { color: var(--black); }
.footer-tagline { font-size:12.5px; color:#999; line-height:1.5; }
.footer-links { display:flex; gap:24px; flex-wrap:wrap; align-items:center; }
.footer-links a { font-size:13px; color:#aaa; transition:color .2s; }
.footer-links a:hover { color: var(--black); }
.footer-bottom {
  max-width:1100px; margin:16px auto 0;
  display:flex; justify-content:space-between; align-items:center;
  font-size:11.5px; color:#bbb; flex-wrap:wrap; gap:8px;
}
.footer-by-link { color:#bbb; transition:color .2s; }
.footer-by-link:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════
   WA FLOAT
══════════════════════════════════════════════════ */
.wa-float {
  position:fixed; bottom:28px; right:28px; z-index:200;
  width:58px; height:58px;
  background:#25d366; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform .25s, box-shadow .25s;
  animation: waPop .6s 1.5s ease both;
}
.wa-float:hover { transform:scale(1.1) translateY(-2px); box-shadow:0 10px 32px rgba(37,211,102,.5); }
.wa-float svg { width:32px; height:32px; fill:#fff; }
.wa-tooltip {
  position:absolute; right:70px;
  background:var(--black); color:var(--white);
  font-size:13px; font-weight:500;
  padding:8px 14px; border-radius:10px; white-space:nowrap;
  opacity:0; pointer-events:none;
  transform:translateX(6px); transition:opacity .25s, transform .25s;
}
.wa-tooltip::after {
  content:''; position:absolute; right:-7px; top:50%;
  transform:translateY(-50%);
  border:7px solid transparent; border-right:none;
  border-left-color:var(--black);
}
.wa-float:hover .wa-tooltip { opacity:1; transform:translateX(0); }
@keyframes waPop { from{opacity:0;transform:scale(.5)} to{opacity:1;transform:scale(1)} }

/* ══════════════════════════════════════════════════
   RESPONSIVE — tablet
══════════════════════════════════════════════════ */
@media(max-width:960px){
  .split-section { grid-template-columns:1fr; }
  .split-section.reverse { direction:ltr; }
  .split-visual { min-height:340px; }
  .split-content { padding:60px 40px; }
  .nav { padding:0 28px; }
  .nav-links { display:none; }
  .hero { padding:120px 28px 80px; }
  .intro-section, .faq-section, .cta-final { padding:72px 28px; }
  footer { padding:28px 28px 20px; }
  .footer-grid { grid-template-columns:1fr; gap:16px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — móvil Safari iOS fix
   Problema: position:absolute dentro de min-height
   no funciona en Safari iOS → usar flujo normal
══════════════════════════════════════════════════ */
@media(max-width:600px){

  /* Hero */
  .hero { padding:110px 20px 72px; }
  .hero-stats { flex-direction:column; }
  .hero-stat { border-right:none; border-bottom:1px solid rgba(0,0,0,.07); }
  .hero-stat:last-child { border-bottom:none; }
  .hero-btns { flex-direction:column; align-items:center; }
  .btn-primary, .btn-secondary { width:100%; text-align:center; }

  /* ── FIX SAFARI iOS: split-visual ──────────────────
     Sacamos position:absolute del inner y usamos
     flexbox con altura auto para que todo fluya.
  ────────────────────────────────────────────────── */
  .split-visual {
    min-height: 0;
    height: auto;
    overflow: visible;
    /* La foto de fondo sigue mostrándose */
    background-attachment: scroll;
  }

  .split-visual-inner {
    position: relative !important;
    inset: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Ocultar placeholder de texto (la foto de fondo alcanza) */
  .img-placeholder { display: none; }

  /* ── FIX feat-grid (módulo iconos) ─────────────────
     Safari iOS: grid 2 col desborda → forzar 1 col
  ────────────────────────────────────────────────── */
  .feat-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }
  .feat-item {
    padding: 16px 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .feat-item h5 { font-size: 14px; }
  .feat-item p  { font-size: 13px; }

  /* ── FIX price-visual (módulo "Lo más elegido") ────
     Safari iOS: position:relative+z-index no alcanza
     → sacarlo del flujo absoluto completamente
  ────────────────────────────────────────────────── */
  .price-visual {
    position: relative !important;
    z-index: 2;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 28px 20px !important;
    margin: 0;
  }
  .pv-amount { font-size: 52px; letter-spacing: -2px; }
  .pv-badge  { font-size: 11px; }
  .price-visual .pv-features li { font-size: 14px; }

  /* Split content */
  .split-content { padding: 40px 20px; }

  /* Steps */
  .step-list { padding: 24px 16px !important; }
  .step-row  { gap: 12px; }

  /* CTA contacto */
  .cta-contact { flex-direction: column; gap: 12px; align-items: center; }

  /* Sub-card */
  .sub-card { padding: 20px 16px; }

  /* Footer */
  .footer-links { gap: 16px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* WA */
  .wa-float { bottom: 20px; right: 20px; }
  .wa-tooltip { display: none; }
}

/* ── iPhone mini ≤390px ───────────────────────────── */
@media(max-width:390px){
  .hero h1       { font-size: 36px; letter-spacing: -2px; }
  .hero-stat .val { font-size: 21px; }
  .section-title { font-size: 27px; letter-spacing: -1.5px; }
  .price-visual  { padding: 22px 14px !important; }
  .pv-amount     { font-size: 44px; }
  .pv-badge      { font-size: 10px; padding: 4px 10px; }
  .split-content { padding: 32px 16px; }
  .nav-logo      { font-size: 18px; }
}

/* ══════════════════════════════════════════════════
   NOSOTROS
══════════════════════════════════════════════════ */
.nosotros-section {
  padding: 100px 48px;
  background: #f7f9fa;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.nosotros-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.nosotros-header {
  text-align: center;
  margin-bottom: 60px;
}
.nosotros-header h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 12px;
}
.nosotros-header p {
  font-size: 18px;
  color: #666;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

/* Layout: foto cuadrada izq + texto der — flex en lugar de grid */
.nosotros-body {
  display: flex;
  flex-direction: row;
  gap: 64px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.nosotros-photo {
  flex: 0 0 360px;
  width: 360px;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: #eaf6f8;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.nosotros-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.nosotros-text {
  flex: 1;
  min-width: 0;
}

/* Tipografía párrafos: Inter neo sans-serif */
.nosotros-text p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #2a2a2a;
  line-height: 1.85;
  margin-bottom: 18px;
  letter-spacing: -0.1px;
}
.nosotros-lead {
  font-family: 'Inter', sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: #111 !important;
  line-height: 1.75 !important;
}
.nosotros-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media(max-width:960px){
  .nosotros-section { padding: 72px 28px; }
  .nosotros-photo { flex: 0 0 300px; width: 300px; height: 300px; }
}
@media(max-width:700px){
  .nosotros-body { flex-direction: column; gap: 32px; }
  .nosotros-photo { width: 280px; height: 280px; flex: none; margin: 0 auto; }
}
@media(max-width:600px){
  .nosotros-section { padding: 60px 20px; }
  .nosotros-header { margin-bottom: 36px; }
  .nosotros-text p { font-size: 15px; }
  .nosotros-lead   { font-size: 16px !important; }
  .nosotros-photo  { width: 240px; height: 240px; }
}

/* Firma Nosotros */
.nosotros-firma {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.nosotros-firma strong {
  font-size: 16px;
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.nosotros-firma span {
  font-size: 13px;
  color: var(--mid);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
