/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #1a1f1c; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── TOKENS ── */
:root {
  --blue:      #2c7da0;
  --blue-mid:  #61a5c2;
  --blue-lt:   #deeef7;
  --blue-pale: #a8d1e0;
  --brown:     #b5875e;
  --brown-lt:  #f0dece;
  --cream:     #ffffff;
  --offwhite:  #f8f9f6;
  --light:     #eef2f7;
  --mid:       #6b7280;
  --dark:      #1a1f1c;
  --navy:      #1a2535;
}

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: white;
  padding: 0 64px;
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
  border-bottom: 1px solid #e8ede9;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; border: 2px solid var(--light); }
.logo-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: var(--dark); }
.logo-name span { color: var(--blue); }
.logo-tagline { font-size: 11px; color: var(--mid); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-link { font-size: 13px; color: var(--mid); font-weight: 400; transition: color 0.2s; }
.nav-link:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: white;
  padding: 11px 26px; border-radius: 6px;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: #1e6080; transform: translateY(-1px); }
.nav-cta i { width: 15px; height: 15px; stroke: white; stroke-width: 2; }

/* hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  min-height: 100vh; padding-top: 84px;
  background: var(--offwhite);
}
.hero-left {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue-lt); color: var(--blue);
  padding: 7px 18px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 32px; width: fit-content;
}
.hero-eyebrow i { width: 14px; height: 14px; stroke: var(--blue); stroke-width: 2.5; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 52px); font-weight: 700;
  color: var(--dark); line-height: 1.1; margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--blue); }
.hero-desc {
  font-size: 16px; color: var(--mid);
  line-height: 1.8; max-width: 460px; font-weight: 300; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-blue {
  background: var(--blue); color: white;
  padding: 15px 30px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-blue:hover { background: #1e6080; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(44,125,160,0.3); }
.btn-blue i { width: 16px; height: 16px; stroke: white; stroke-width: 2; }
.btn-ghost {
  background: white; color: var(--dark);
  padding: 15px 30px; border-radius: 6px;
  font-size: 14px; font-weight: 500;
  border: 1.5px solid #dde4da;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-lt); color: var(--blue); }

.hero-right { position: relative; overflow: hidden; background: var(--light); }
.hero-right img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-right::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to left, transparent 50%, var(--offwhite) 100%);
}
.hero-card {
  position: absolute; bottom: 36px; left: 36px; z-index: 2;
  background: white; border-radius: 10px; padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-left: 4px solid var(--blue);
  display: flex; align-items: center; gap: 16px;
}
.hero-card-icon {
  width: 44px; height: 44px; background: var(--blue-lt);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-card-icon i { width: 22px; height: 22px; stroke: var(--blue); stroke-width: 1.8; }
.hero-card p { font-size: 11px; color: var(--mid); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.hero-card h4 { font-size: 16px; font-weight: 600; color: var(--dark); }

/* ── STATS ── */
.stats-strip { background: var(--blue); display: flex; justify-content: center; }
.stat-item { padding: 28px 40px; text-align: center; border-right: 1px solid rgba(255,255,255,0.15); flex: 1; max-width: 240px; }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: white; line-height: 1; display: block; }
.stat-lbl { font-size: 11px; color: rgba(255,255,255,0.65); letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; display: block; }

/* ── URGENCY ── */
.urgency {
  background: var(--brown); padding: 14px 40px;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.urgency p { font-size: 13px; color: white; font-weight: 400; }
.urgency-btn {
  background: white; color: var(--brown);
  padding: 7px 18px; border-radius: 100px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  transition: opacity 0.2s;
}
.urgency-btn:hover { opacity: 0.85; }

/* ── SECTIONS COMMON ── */
.section-eyebrow {
  font-size: 11px; color: var(--blue); letter-spacing: 2.5px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--blue); border-radius: 2px; }
.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 42px); font-weight: 700;
  color: var(--dark); line-height: 1.1; margin-bottom: 16px;
}
.section-sub { font-size: 15px; color: var(--mid); line-height: 1.75; max-width: 520px; font-weight: 300; margin-bottom: 56px; }

/* ── PROBLEMA ── */
.problema { padding: 96px 64px; background: white; }
.problema-inner { max-width: 1100px; margin: 0 auto; }
.problema-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prob-item {
  background: var(--offwhite); border: 1.5px solid #e8edf0;
  border-radius: 10px; padding: 28px 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: all 0.2s;
}
.prob-item:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(44,125,160,0.1); transform: translateY(-2px); }
.prob-icon { width: 44px; height: 44px; background: var(--blue-lt); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.prob-icon i { width: 22px; height: 22px; stroke: var(--blue); stroke-width: 1.6; }
.prob-title { font-size: 14px; color: var(--dark); font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.prob-sub { font-size: 12px; color: var(--mid); font-weight: 300; line-height: 1.5; }

/* ── SERVICIOS ── */
.servicios { padding: 96px 64px; background: var(--offwhite); }
.servicios-inner { max-width: 1100px; margin: 0 auto; }
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.serv-card {
  background: white; border: 1.5px solid #e8edf0;
  border-radius: 10px; padding: 36px 28px;
  position: relative; overflow: hidden; transition: all 0.25s;
}
.serv-card:hover { border-color: var(--blue); box-shadow: 0 8px 32px rgba(44,125,160,0.1); transform: translateY(-3px); }
.serv-card.featured { border-color: var(--blue); border-width: 2px; }
.serv-card.featured::before {
  content: 'MÁS CONSULTADO'; position: absolute; top: 14px; right: -32px;
  background: var(--blue); color: white; font-size: 9px; letter-spacing: 1.5px;
  padding: 5px 44px; transform: rotate(45deg); font-weight: 700;
}
.serv-num { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: #f0f4f0; position: absolute; top: 12px; right: 16px; line-height: 1; }
.serv-icon { width: 48px; height: 48px; background: var(--blue-lt); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.serv-icon i { width: 24px; height: 24px; stroke: var(--blue); stroke-width: 1.6; }
.serv-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.2; }
.serv-desc { font-size: 13px; color: var(--mid); line-height: 1.65; font-weight: 300; }
.serv-arrow { margin-top: 20px; font-size: 12px; color: var(--blue); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.serv-arrow i { width: 14px; height: 14px; stroke: var(--blue); stroke-width: 2.5; }

/* ── PROCESO ── */
.proceso { padding: 96px 64px; background: white; text-align: center; }
.proceso-inner { max-width: 900px; margin: 0 auto; }
.proceso .section-eyebrow { justify-content: center; }
.proceso .section-h2 { text-align: center; }
.proceso .section-sub { text-align: center; margin: 0 auto 64px; }
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.pasos::after {
  content: ''; position: absolute; top: 27px; left: 12.5%; right: 12.5%;
  height: 1px; background: linear-gradient(to right, transparent, var(--blue-pale), transparent);
}
.paso { padding: 0 20px; position: relative; z-index: 1; }
.paso-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue-lt); color: var(--blue);
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border: 2px solid var(--blue-pale);
}
.paso-t { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.paso-d { font-size: 13px; color: var(--mid); line-height: 1.6; font-weight: 300; }

/* ── QUIENES ── */
.quienes-wrap { background: var(--offwhite); padding: 96px 64px; }
.quienes { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.q-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-lt); color: var(--blue);
  padding: 6px 16px; border-radius: 100px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px;
}
.q-name { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 400; color: var(--dark); line-height: 1.1; margin-bottom: 8px; }
.q-name strong { font-weight: 700; display: block; }
.q-title { font-size: 13px; color: var(--blue); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px; font-weight: 500; }
.q-divider { width: 40px; height: 2px; background: var(--blue); margin-bottom: 24px; border-radius: 2px; }
.q-text { font-size: 14px; color: var(--mid); line-height: 1.9; font-weight: 300; margin-bottom: 14px; }
.q-firma { font-family: 'Playfair Display', serif; font-style: italic; font-size: 28px; color: var(--navy); margin-top: 24px; }
.q-photo { aspect-ratio: 3/4; background: var(--light); border-radius: 12px; overflow: hidden; position: relative; }
.q-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.q-photo-badge {
  position: absolute; bottom: 20px; left: -16px;
  background: white; border: 1.5px solid #e8edf0;
  padding: 14px 20px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.q-photo-badge p { font-size: 11px; color: var(--blue); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.q-photo-badge h5 { font-size: 15px; color: var(--dark); font-weight: 700; margin-top: 4px; }

/* ── OTRAS AREAS ── */
.otras { padding: 64px; background: white; text-align: center; }
.otras-inner { max-width: 700px; margin: 0 auto; }
.otras-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 600; color: var(--dark); margin-bottom: 12px; }
.otras-desc { font-size: 15px; color: var(--mid); margin-bottom: 32px; font-weight: 300; }
.otras-tags { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.tag {
  background: var(--offwhite); border: 1.5px solid #e8edf0;
  padding: 10px 22px; border-radius: 100px;
  font-size: 14px; color: var(--dark); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  transition: border-color 0.2s;
}
.tag:hover { border-color: var(--blue); }
.tag i { width: 14px; height: 14px; stroke: var(--blue); stroke-width: 2; }

/* ── CTA ── */
.cta { padding: 96px 64px; background: var(--blue); text-align: center; }
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta .section-eyebrow { justify-content: center; color: rgba(255,255,255,0.7); }
.cta .section-eyebrow::before { background: rgba(255,255,255,0.5); }
.cta .section-h2 { color: white; text-align: center; margin-bottom: 12px; }
.cta .section-sub { text-align: center; margin: 0 auto 40px; color: rgba(255,255,255,0.65); }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-wsp {
  background: #25D366; color: white;
  padding: 15px 30px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-wsp:hover { background: #1da851; transform: translateY(-2px); }
.btn-wsp i { width: 16px; height: 16px; stroke: white; stroke-width: 2; }
.btn-mail {
  background: white; color: var(--blue);
  padding: 15px 30px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-mail:hover { background: var(--blue-lt); transform: translateY(-2px); }
.btn-mail i { width: 16px; height: 16px; stroke: var(--blue); stroke-width: 2; }
.cta-address { margin-top: 28px; font-size: 13px; color: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; gap: 8px; }
.cta-address i { width: 14px; height: 14px; stroke: rgba(255,255,255,0.5); stroke-width: 2; }

/* ── FOOTER ── */
.site-footer { background: var(--dark); padding: 40px 64px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; }
.footer-logo-img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); }
.footer-logo-name { font-family: 'Playfair Display', serif; font-size: 18px; color: white; font-weight: 600; }
.footer-logo-name span { color: var(--blue-mid); }
.footer-tagline { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px; letter-spacing: 0.5px; }
.footer-info { font-size: 12px; color: rgba(255,255,255,0.35); text-align: right; line-height: 2; }
.footer-info a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-info a:hover { color: white; }

/* ── WSP FLOTANTE ── */
.wsp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  z-index: 999; transition: transform 0.2s;
}
.wsp-float:hover { transform: scale(1.1); }
.wsp-pulse {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: rgba(37,211,102,0.3); border-radius: 50%;
  z-index: 998; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .site-header { padding: 0 32px; }
  .hero-left { padding: 60px 32px; }
  .problema { padding: 72px 32px; }
  .servicios { padding: 72px 32px; }
  .proceso { padding: 72px 32px; }
  .quienes-wrap { padding: 72px 32px; }
  .otras { padding: 48px 32px; }
  .cta { padding: 72px 32px; }
  .site-footer { padding: 32px; }
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .problema-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-header { padding: 0 20px; height: 72px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 24px 20px; border-bottom: 1px solid #e8ede9; box-shadow: 0 8px 24px rgba(0,0,0,0.08); gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; }
  .hero-left { padding: 48px 20px 40px; }
  .hero-right { height: 300px; }
  .hero-right::after { background: linear-gradient(to bottom, var(--offwhite) 0%, transparent 40%); }
  .hero-card { bottom: 20px; left: 20px; padding: 14px 18px; }

  .stats-strip { flex-wrap: wrap; }
  .stat-item { flex: 1 1 40%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px; }
  .stat-item:last-child { border-bottom: none; }

  .problema { padding: 56px 20px; }
  .problema-grid { grid-template-columns: 1fr; }
  .servicios { padding: 56px 20px; }
  .serv-grid { grid-template-columns: 1fr; }
  .proceso { padding: 56px 20px; }
  .pasos { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .pasos::after { display: none; }
  .quienes-wrap { padding: 56px 20px; }
  .quienes { grid-template-columns: 1fr; gap: 40px; }
  .q-photo { aspect-ratio: 4/3; }
  .q-photo-badge { left: 12px; }
  .otras { padding: 48px 20px; }
  .cta { padding: 56px 20px; }
  .site-footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
  .footer-info { text-align: left; }

  .urgency { padding: 12px 20px; flex-direction: column; gap: 10px; text-align: center; }
}
