*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #1a1a18;
  --ink-soft: #4a4a46;
  --ink-mute: #8a8a84;
  --surface: #f5f3ee;
  --surface-card: #ffffff;
  --accent: #1d4ed8;
  --accent-light: #dbeafe;
  --accent-text: #1e3a8a;
  --green: #15803d;
  --green-light: #dcfce7;
  --border: rgba(26, 26, 24, 0.10);
  --border-strong: rgba(26, 26, 24, 0.22);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --wa: #25D366;
  --wa-dark: #128C7E;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--wa);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  flex-shrink: 0;
}

/* ── SECTIONS ── */
section {
  padding: 5rem 1.5rem;
}

.inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ── HERO ── */
.hero {
  padding: 5.5rem 1.5rem 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent-text);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 2.25rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.28);
}

.btn-primary:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.36);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid var(--border-strong);
  transition: border-color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-mute);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  background: var(--border-strong);
  align-self: stretch;
  min-height: 40px;
}

/* ── SERVICES ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.section-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 540px;
  margin-bottom: 2.75rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(29, 78, 216, 0.09);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 300;
}

/* ── ZONAS ── */
.zonas-section {
  background: var(--accent-light);
}

.zonas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.zona-group h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--accent-text);
  margin-bottom: 0.5rem;
}

.zona-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zona-list li {
  background: white;
  border: 1px solid rgba(29, 78, 216, 0.18);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.82rem;
  color: var(--accent-text);
  font-weight: 400;
}

/* ── QUIÉN SOY ── */
.quien-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 650px) {
  .quien-inner {
    grid-template-columns: 1fr;
  }
}

.quien-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: white;
  margin: 0 auto 1rem;
  letter-spacing: -0.04em;
}

.quien-card .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.quien-card .role {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}

.quien-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.quien-text h2 {
  margin-bottom: 1rem;
}

.quien-text p {
  font-size: 1rem;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.quien-text strong {
  color: var(--ink);
  font-weight: 500;
}

/* ── CTA FINAL ── */
.cta-section {
  background: var(--ink);
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta-section h2 {
  color: #f5f3ee;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(245, 243, 238, 0.55);
  font-weight: 300;
  max-width: 440px;
  margin: 0 auto 2.25rem;
}

.btn-wa-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 16px 34px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-wa-large:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.45);
}

.btn-wa-large svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ── FOOTER ── */
footer {
  background: #111110;
  padding: 1.75rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(245, 243, 238, 0.3);
}

footer a {
  color: rgba(245, 243, 238, 0.45);
  text-decoration: none;
}

footer a:hover {
  color: rgba(245, 243, 238, 0.75);
}

/* ── FLOAT WA ── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.wa-float:hover {
  background: var(--wa-dark);
  transform: scale(1.08);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ── DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero > * {
  animation: fadeUp 0.6s ease both;
}

.hero > *:nth-child(1) { animation-delay: 0.05s; }
.hero > *:nth-child(2) { animation-delay: 0.15s; }
.hero > *:nth-child(3) { animation-delay: 0.25s; }
.hero > *:nth-child(4) { animation-delay: 0.35s; }
.hero > *:nth-child(5) { animation-delay: 0.45s; }
