/* =============================================================
   SALUD URBANA · Clínica odontológica en Villa Ballester
   Stylesheet principal
   ============================================================= */

/* -------- TOKENS -------- */
:root {
  /* Brand alineada a la paleta de Instagram */
  --c-primary: #7E1F22;          /* bordó principal */
  --c-primary-deep: #7E1F22;     /* contraste / hover más fuerte */
  --c-primary-soft: #FAEEEE;     /* fondo suave rosado */
  --c-accent: #FAEEEE;           /* acento claro sobre fondos oscuros */
  --c-warm: #1A1A1A;             /* negro cálido / microacentos */

  /* Acento celeste sutil — info / tecnología */
  --c-info: #597BFB;             /* celeste suave */
  --c-info-soft: #DDE5EC;        /* fondo celeste suave */

  /* Neutros */
  --c-bg: #FFFFFF;
  --c-bg-soft: #FAEEEE;          /* fondo principal cálido */
  --c-bg-cream: #FAEEEE;         /* fondo alternativo */
  --c-bg-deep: #1A1A1A;          /* fondo oscuro */
  --c-text: #000000;             /* texto principal */
  --c-muted: #1A1A1A;            /* texto secundario */
  --c-border: #DDE5EC;           /* borde sutil */

  /* WhatsApp (sin tocar) */
  --c-wa: #25D366;
  --c-wa-dark: #1DA851;

  /* Tipografía */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Sizing */
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.05);
  --shadow: 0 12px 32px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 26, 26, 0.12);
  --shadow-brand: 0 16px 40px rgba(126, 31, 34, 0.22);
}
/* -------- RESET -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* -------- TYPOGRAPHY -------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h1 em {
  font-style: italic;
  color: var(--c-primary);
  font-weight: 600;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
}
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--c-text); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
}

/* -------- COMPONENTES BASE -------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-primary);
  margin-bottom: 1.4rem;
}
.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-warm);
}
.eyebrow--light { color: var(--c-accent); }
.eyebrow--light .eyebrow-dot { background: #fff; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-lead {
  margin-top: 1rem;
  color: var(--c-muted);
  font-size: 1.05rem;
}

.lead-p {
  font-size: 1.08rem;
  color: var(--c-muted);
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: var(--font-body);
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary-deep);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}
.btn-wa {
  background: var(--c-wa);
  color: #fff;
}
.btn-wa:hover {
  background: var(--c-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.3);
}
.btn-wa-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-wa);
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s, transform 0.18s;
}
.btn-wa-sm:hover { background: var(--c-wa-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--c-primary-deep);
  border: 1.5px solid var(--c-border);
}
.btn-ghost:hover {
  border-color: var(--c-primary-deep);
  background: var(--c-primary-soft);
}
.btn-light {
  background: #fff;
  color: var(--c-primary-deep);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 0.7rem; }
.link-arrow::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-primary);
  transition: width 0.25s;
}
.link-arrow:hover::after { width: calc(100% - 24px); }

/* =================== HEADER =================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /*background: rgba(255, 255, 255, 0.92);*/
  background: #FAEEEE;
  /*backdrop-filter: saturate(180%) blur(14px);*/
  backdrop-filter: none;
  /*-webkit-backdrop-filter: saturate(180%) blur(14px);*/
  -webkit-backdrop-filter: none;
  /*border-bottom: 1px solid rgba(227, 236, 243, 0.6);*/
  border-bottom: none;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}
.logo:hover .logo-img { opacity: 0.85; }

.nav-main { flex: 1; display: flex; justify-content: center; }
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-text);
  transition: color 0.18s;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--c-primary); }
.nav-links a:hover::after { width: 100%; }

.btn-cta-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--c-primary-deep);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.18s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn-cta-header:hover {
  background: var(--c-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-primary-deep);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =================== HERO =================== */
.hero {
  position: relative;
  padding: 4.5rem 0 6rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(168, 44, 47, 0.08), transparent 50%),
    linear-gradient(180deg, #fff 0%, #fff 14%, var(--c-bg-soft) 30%, #fff 100%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-copy h1 {
  margin-top: 0.5rem;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--c-muted);
  margin: 1.5rem 0 2.2rem;
  max-width: 540px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-muted);
  font-size: 0.9rem;
}
.hero-trust svg { color: var(--c-primary); flex-shrink: 0; }
.hero-trust strong { color: var(--c-text); font-weight: 600; }

/* Hero visual */
.hero-visual {
  justify-self: center;
  width: 100%;
  max-width: 560px;
  display: flex;
}

.hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg-cream, #EDE3D7);
  box-shadow: 0 30px 60px rgba(28, 28, 28, 0.10);
}
.hero-image-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-fallback {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-image-fallback svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Microcard: idea única, no repite el H1 */
.hero-image-card {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  right: 1.2rem;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.hero-image-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(168, 44, 47, 0.15);
}
.hero-image-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hero-image-card small {
  display: block;
  font-size: 0.78rem;
  color: var(--c-muted);
  line-height: 1.35;
  margin-top: 1px;
}

/* =================== TRUST BAR =================== */
.trust-bar {
  background: var(--c-bg-deep);
  padding: 2.5rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(200, 75, 79, 0.10), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(168, 44, 47, 0.18), transparent 40%);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.trust-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.trust-label {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

/* =================== ABOUT =================== */
.about { padding: 6rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
  background: var(--c-bg-soft);
}
.about-photo svg,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-stat {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  background: #fff;
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--c-border);
}
.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--c-primary-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-stat span {
  color: var(--c-muted);
  font-size: 0.85rem;
  display: block;
  margin-top: 0.4rem;
}

.check-list {
  margin: 1rem 0 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0;
  color: var(--c-text);
  font-size: 1rem;
}
.check-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* =================== SERVICES =================== */
.services {
  background: var(--c-bg-soft);
  padding: 6rem 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-card {
  background: #fff;
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(168, 44, 47, 0.28);
}
.service-card--featured {
  border-color: var(--c-primary);
  background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--c-primary-soft) 100%);
}
.service-card--featured:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-brand);
}
.service-tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--c-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  transition: background 0.25s, transform 0.25s;
}
.service-card:hover .service-icon {
  background: var(--c-primary);
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}
.service-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.service-card p {
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* =================== TECNOLOGÍA =================== */
.tech {
  background: var(--c-bg-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0;
}
.tech::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(200, 75, 79, 0.18), transparent 50%),
    radial-gradient(circle at 0% 90%, rgba(168, 44, 47, 0.18), transparent 50%);
  pointer-events: none;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.tech-copy h2 {
  color: #fff;
}
.tech-copy > p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 1.2rem 0 2rem;
  max-width: 540px;
  line-height: 1.7;
}
.tech-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.tech-list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.tech-list-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 75, 79, 0.10);
  border: 1px solid rgba(200, 75, 79, 0.35);
  color: var(--c-accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.tech-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.2rem;
}
.tech-list p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Visual del tech */
.tech-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  justify-self: center;
  width: 100%;
}
.tech-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.tech-orb--1 {
  width: 70%;
  height: 70%;
  top: 10%;
  right: 5%;
  background: radial-gradient(circle, rgba(168, 44, 47, 0.45), transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}
.tech-orb--2 {
  width: 50%;
  height: 50%;
  bottom: 5%;
  left: 5%;
  background: radial-gradient(circle, rgba(126, 31, 34, 0.5), transparent 70%);
  animation: pulse 6s ease-in-out infinite 2s;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}
/* Animación flotante de cards diferencial */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.tech-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 180px;
  animation: floatY 5s ease-in-out infinite;
}
.tech-card--1 { top: 8%; right: 0; animation-delay: 0s; }
.tech-card--2 { top: 38%; left: 0; animation-delay: 1.5s; }
.tech-card--3 { bottom: 8%; right: 8%; animation-delay: 3s; }
.tech-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(200, 75, 79, 0.22);
  color: var(--c-accent);
  display: grid;
  place-items: center;
}
.tech-card strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}
.tech-card small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

/* =================== TEAM =================== */
.team { padding: 6rem 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  transition: transform 0.25s;
}
.team-card:hover { transform: translateY(-4px); }
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: box-shadow 0.3s;
}
.team-card:hover .team-photo { box-shadow: var(--shadow-brand); }
.team-photo[data-color="1"] { background: linear-gradient(135deg, #A82C2F, #7E1F22); }
.team-photo[data-color="2"] { background: linear-gradient(135deg, #2A2A2A, #1A1A1A); }
.team-photo[data-color="3"] { background: linear-gradient(135deg, #7E1F22, #2A2A2A); }
.team-photo[data-color="4"] { background: linear-gradient(135deg, #A82C2F, #2A2A2A); }
.team-photo[data-color="5"] { background: linear-gradient(135deg, #1A1A1A, #7E1F22); }
.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15), transparent 60%);
}
.team-initials {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
  z-index: 1;
  position: absolute;
}
/* Imagen real del profesional (cubre las iniciales si carga) */
.team-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}
/* Foto grupal: bloque editorial debajo del grid */
.team-group {
  margin: 4rem 0 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--c-bg-soft);
}
.team-group-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.team-group-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  padding: 1rem 1.3rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.team-group-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-primary);
}
.team-group-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}
.team-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  margin-bottom: 0.4rem;
}
.team-spec {
  color: var(--c-muted);
  font-size: 0.85rem;
  line-height: 1.45;
  padding: 0 0.3rem;
}

/* =================== COVERAGE =================== */
.coverage {
  background: var(--c-bg-soft);
  padding: 6rem 0;
}

/* ---------- Pills (compartidas con el detalle) ---------- */
.plan-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  background: #fff;
  border: 1px solid var(--c-primary);
  color: var(--c-primary-deep);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.pill--sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.plan-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 2.5rem;
}
.plan-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.plan-group-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-primary);
}

/* ---------- Nivel 1: cards resumen ---------- */
.cov-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 4rem;
}
.cov-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 260px;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s;
}
.cov-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(168, 44, 47, 0.3);
}
.cov-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.cov-card h3 {
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.cov-card p {
  color: var(--c-muted);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0;
}
.cov-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.3rem;
}
.cov-badge--accent {
  background: var(--c-info-soft, #DDE5EC);
  color: #4A5C6E;
}
.cov-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-primary);
  padding: 0.6rem 0;
  border-bottom: 1.5px solid var(--c-primary);
  transition: gap 0.2s, color 0.2s;
}
.cov-card-action:hover {
  gap: 0.7rem;
  color: var(--c-primary-deep);
  border-color: var(--c-primary-deep);
}

/* ---------- Nivel 2: detalle (tabs en desktop, accordion en mobile) ---------- */
.cov-detail {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
  scroll-margin-top: 100px;
}
.cov-detail-head {
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
}
.cov-detail-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
}
.cov-detail-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--c-text);
  margin: 0;
  letter-spacing: -0.02em;
}

.cov-tabs {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: auto;
  gap: 0 2.5rem;
  align-items: start;
}
.cov-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cov-tab-label {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s;
  border: 1px solid transparent;
}
.cov-tab-label:hover {
  background: var(--c-bg-soft);
}
.cov-tab-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.cov-tab-count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--c-muted);
  letter-spacing: 0.01em;
  font-weight: 500;
  white-space: nowrap;
}
.cov-tab-chev {
  display: none;
  color: var(--c-primary);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.cov-tab-input:checked + .cov-tab-label {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
.cov-tab-input:checked + .cov-tab-label .cov-tab-name,
.cov-tab-input:checked + .cov-tab-label .cov-tab-count {
  color: #fff;
}
.cov-tab-input:checked + .cov-tab-label .cov-tab-count {
  opacity: 0.85;
}

/* Paneles: ocultos por default, visibles cuando su radio está checked */
.cov-tab-panel {
  display: none;
  grid-column: 2;
  grid-row: 1 / span 6;
  align-self: start;
  padding: 0.5rem 0 0.5rem 0;
  min-height: 200px;
}
.cov-tab-input:checked + .cov-tab-label + .cov-tab-panel {
  display: block;
}

.cov-particulares-text {
  color: var(--c-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
}

/* ---------- CTA final ---------- */
.cov-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--c-bg-cream, #EDE3D7);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
}
.cov-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cov-cta-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.cov-cta-text span {
  color: var(--c-muted);
  font-size: 0.92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cov-summary { grid-template-columns: 1fr; gap: 1rem; }
  .cov-card { min-height: auto; padding: 1.6rem 1.6rem 1.3rem; gap: 1.3rem; }

  .cov-detail { padding: 2rem 1.5rem; }

  /* Tabs → Accordion en tablet/mobile */
  .cov-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .cov-tab-label {
    border: 1px solid var(--c-border);
    border-radius: 12px;
    margin-bottom: 0.6rem;
    padding: 1rem 1.2rem;
  }
  .cov-tab-chev { display: block; }
  .cov-tab-input:checked + .cov-tab-label {
    background: var(--c-primary);
    border-color: var(--c-primary);
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
  }
  .cov-tab-input:checked + .cov-tab-label .cov-tab-chev {
    transform: rotate(180deg);
    color: #fff;
  }
  .cov-tab-panel {
    grid-column: auto;
    grid-row: auto;
    padding: 1.4rem 1.2rem;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    margin-bottom: 0.6rem;
  }
  .plan-groups { grid-template-columns: 1fr; gap: 1.3rem; }
}

@media (max-width: 600px) {
  .cov-detail { padding: 1.5rem 1.1rem; }
  .cov-detail-title { font-size: 1.2rem; }
  .cov-card { padding: 1.4rem 1.4rem 1.2rem; }
  .cov-card h3 { font-size: 1.3rem; }

  .cov-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 1.4rem;
  }
  .cov-cta .btn { width: 100%; }

  .cov-tab-name { font-size: 0.95rem; }
  .cov-tab-count { font-size: 0.73rem; }
}

/* =================== REVIEWS =================== */
.reviews {
  padding: 6.5rem 0;
  background: var(--c-bg-soft);
  position: relative;
}
.reviews .section-head--left {
  text-align: left;
  margin: 0 0 3rem;
  max-width: 720px;
}
.reviews .section-head--left .section-lead {
  margin-top: 1rem;
  max-width: 580px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: var(--c-primary-soft);
  line-height: 1;
  pointer-events: none;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--c-text);
  margin: 0 0 1.5rem;
  flex: 1;
  font-style: normal;
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--c-border);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.review-author strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.review-author small {
  display: block;
  color: var(--c-muted);
  font-size: 0.78rem;
  margin-top: 1px;
}

/* Card CTA: Dejar reseña */
.review-card--cta {
  background: linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  color: #fff;
  border: none;
  justify-content: center;
  padding: 2rem 1.8rem;
}
.review-card--cta::before { display: none; }
.review-card--cta:hover {
  box-shadow: var(--shadow-brand);
}
.review-cta-stars {
  display: flex;
  gap: 4px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}
.review-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}
.review-cta-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.4rem;
}
.review-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--c-primary-deep);
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  align-self: flex-start;
  transition: gap 0.2s, transform 0.18s, box-shadow 0.25s;
}
.review-cta-link:hover {
  gap: 0.8rem;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.reviews-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--c-border);
}
.reviews-footer-label {
  font-size: 0.88rem;
  color: var(--c-muted);
  letter-spacing: 0.01em;
}
.reviews-footer .btn-ghost {
  background: #fff;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
}

/* =================== LOCATION =================== */
.location {
  background: var(--c-bg-soft);
  padding: 6rem 0;
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.info-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-primary-deep);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}
.info-item p, .info-item a {
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.info-item a:hover { color: var(--c-primary); }
.location-actions {
  margin-top: 0.8rem;
}
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 480px;
  background: var(--c-border);
}

/* =================== FAQ =================== */
.faq { padding: 6rem 0; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.25s;
}
.faq-item[open] {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--c-primary-deep);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--c-bg-soft); }
.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--c-primary);
  border-radius: 2px;
  transition: transform 0.25s;
}
.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 11px;
  left: 6px;
}
.faq-icon::after {
  width: 2px;
  height: 12px;
  top: 6px;
  left: 11px;
}
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-answer {
  padding: 0 1.6rem 1.4rem;
  color: var(--c-muted);
  line-height: 1.65;
}
.faq-answer p { color: var(--c-muted); }
.faq-answer a { color: var(--c-primary); font-weight: 600; }

/* =================== CONTACT FORM =================== */
.contact { padding: 6rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: start;
}
.contact-copy > p {
  color: var(--c-muted);
  margin: 1rem 0 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.25s;
  background: #fff;
}
.channel:hover {
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.channel-wa .channel-icon { background: var(--c-wa); color: #fff; }
.channel-mail .channel-icon { background: var(--c-primary-soft); color: var(--c-primary); }
.channel strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-primary-deep);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.channel small { color: var(--c-muted); font-size: 0.85rem; }
.channel-arrow {
  margin-left: auto;
  color: var(--c-muted);
  transition: transform 0.2s, color 0.2s;
}
.channel:hover .channel-arrow {
  transform: translateX(4px);
  color: var(--c-primary);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--c-primary-deep);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-border);
}
.form-row {
  margin-bottom: 1.1rem;
}
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-primary-deep);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font: inherit;
  color: var(--c-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(168, 44, 47, 0.12);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 1rem;
}
.form-feedback {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}
.form-feedback.success {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #A5D6A7;
}
.form-feedback.error {
  background: #FDEAEA;
  color: #B71C1C;
  border: 1px solid #F5A8A8;
}

/* =================== FINAL CTA =================== */
.final-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 100%, rgba(168, 44, 47, 0.28), transparent 50%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.1), transparent 50%);
}
.final-cta-inner {
  text-align: center;
  position: relative;
  max-width: 720px;
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
.final-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin: 1rem 0 2rem;
}

/* =================== FOOTER =================== */
.site-footer {
  background: var(--c-bg-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}
.logo--footer .logo-img {
  height: 52px;
  /* Invertir el logo para que el texto negro se vuelva blanco sobre el footer oscuro */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.logo--footer:hover .logo-img { opacity: 1; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a, .footer-col li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--c-accent); }
.footer-contact li:not(:has(a)) { color: rgba(255, 255, 255, 0.7); }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}
.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bar small { color: rgba(255, 255, 255, 0.5); font-size: 0.82rem; }

/* =================== WHATSAPP FLOAT =================== */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background: var(--c-wa);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.25s, box-shadow 0.3s;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-wa);
  animation: waPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-stat { right: 1rem; bottom: 1rem; padding: 1.2rem 1.5rem; }
  .about-stat strong { font-size: 1.8rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; gap: 4rem; }
  .tech-visual { max-width: 380px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid .team-card:nth-child(4),
  .team-grid .team-card:nth-child(5) {
    grid-column: span 1;
  }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
  .location-map { min-height: 360px; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* =================== MOBILE FINE-TUNING =================== */
/* Tablet portrait y abajo: ajustes generales */
@media (max-width: 760px) {
  section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }

  /* Tipografía recalibrada para mobile */
  h1 {
    font-size: 2.15rem;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
  h2 {
    font-size: 1.75rem;
    line-height: 1.12;
    letter-spacing: -0.022em;
  }
  h3 { font-size: 1.1rem; }

  /* Section heads más respirados */
  .section-head { margin-bottom: 2.5rem; }
  .section-lead { font-size: 0.98rem; line-height: 1.6; }
  .eyebrow { font-size: 0.72rem; letter-spacing: 0.18em; margin-bottom: 1rem; }

  /* =============== HEADER =============== */
  .site-header .site-header {
    background: #FAEEEE;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-wrap {
    padding: 0.7rem 1.25rem;
    gap: 0.7rem;
  }
  .logo-img { height: 38px; }
  .nav-main {
    position: fixed;
    inset: 60px 0 auto 0;
    background: #FAEEEE;
    border-bottom: none;
    /*box-shadow: 0 14px 40px rgba(28, 28, 28, 0.08);*/
    box-shadow:none;
    padding: 1rem 0 1.2rem;
    transform: translateY(-110%);
    transition: transform 0.28s ease;
    pointer-events: none;
  }
  .nav-main.open {
    transform: translateY(0);
    pointer-events: auto;
      }
  .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 0 1.5rem;
  }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--c-border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: flex; }
  .btn-cta-header {
    padding: 0.6rem 1.05rem;
    font-size: 0.82rem;
        margin-left: auto;
    margin-right: 0.45rem;
  }

  /* =============== HERO =============== */
  .hero { padding: 2rem 0 3.5rem; }
  .hero-grid { gap: 2.2rem; }
  .hero-copy h1 { margin-top: 0.3rem; }
  .hero-lead {
    font-size: 1rem;
    line-height: 1.6;
    margin: 1.2rem 0 1.8rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  .hero-trust {
    flex-direction: column;
    gap: 0.7rem;
    padding-top: 1.5rem;
  }
  .hero-trust li { font-size: 0.92rem; }
  .hero-visual { max-width: 100%; }
  .hero-image {
    aspect-ratio: 4 / 4.3;
    border-radius: var(--radius);
  }
  .hero-image-card {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 0.8rem 1rem;
    gap: 0.7rem;
  }
  .hero-image-card strong { font-size: 0.88rem; }
  .hero-image-card small { font-size: 0.75rem; }

  /* =============== TRUST BAR =============== */
  .trust-bar { padding: 2.2rem 0; }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.2rem;
  }
  .trust-num { font-size: 1.9rem; }
  .trust-label { font-size: 0.84rem; line-height: 1.4; }

  /* =============== ABOUT =============== */
  .about { padding: 4rem 0; }
  .about-grid { gap: 2.5rem; }
  .about-photo { aspect-ratio: 5/4; }
  .about-stat {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 1.2rem auto 0;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.4rem;
  }
  .about-stat strong {
    font-size: 1.6rem;
    line-height: 1;
  }
  .about-stat span {
    margin-top: 0;
    font-size: 0.85rem;
  }
  .about-visual { text-align: center; }
  .check-list li {
    font-size: 0.96rem;
    padding: 0.5rem 0;
  }

  /* =============== SERVICES =============== */
  .services { padding: 4rem 0; }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-card {
    padding: 1.6rem 1.5rem;
  }
  .service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
  .service-card p { font-size: 0.93rem; line-height: 1.55; }
  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }
  .service-tag { top: 1rem; right: 1rem; }

  /* =============== TECH =============== */
  .tech { padding: 4rem 0; }
  .tech-grid { gap: 2.5rem; }
  .tech-copy > p {
    font-size: 1rem;
    margin: 1rem 0 1.8rem;
  }
  .tech-list { gap: 1rem; margin-bottom: 1.8rem; }
  .tech-list-num {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  .tech-list strong { font-size: 1rem; }
  .tech-list p { font-size: 0.88rem; }
  .tech-copy .btn { width: 100%; justify-content: center; }
  /* En mobile las cards diferencial se reorganizan en grid simple (mantienen animación sutil) */
  .tech-visual {
    display: grid;
    position: relative;
    aspect-ratio: auto;
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 0.5rem;
  }
  .tech-orb--1, .tech-orb--2 { display: none; }
  .tech-card {
    position: static;
    min-width: 0;
    padding: 0.9rem 0.8rem;
    text-align: center;
    align-items: center;
    animation-duration: 4s;
  }
  .tech-card-icon { margin: 0 auto; }
  .tech-card strong { font-size: 0.88rem; }
  .tech-card small { font-size: 0.72rem; line-height: 1.3; }

  /* =============== TEAM =============== */
  .team { padding: 4rem 0; }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 1rem;
  }
  .team-card { text-align: center; }
  .team-initials { font-size: 1.8rem; }
  .team-card h3 { font-size: 0.98rem; margin-bottom: 0.2rem; }
  .team-role { font-size: 0.7rem; margin-bottom: 0.3rem; }
  .team-spec { font-size: 0.8rem; line-height: 1.4; padding: 0; }

  /* =============== COVERAGE =============== */
  .coverage { padding: 4rem 0; }
  .cov-summary {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
  }
  .cov-card {
    padding: 1.4rem 1.4rem 1.2rem;
    min-height: auto;
    gap: 1.1rem;
  }
  .cov-card h3 { font-size: 1.25rem; }
  .cov-card p { font-size: 0.92rem; line-height: 1.55; }

  .cov-detail { padding: 1.5rem 1.2rem; margin-bottom: 2rem; }
  .cov-detail-head {
    margin-bottom: 1.3rem;
    padding-bottom: 1.2rem;
  }
  .cov-detail-title { font-size: 1.15rem; }

  /* CTA Coverage: contener el botón sin overflow */
  .cov-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 1.3rem 1.3rem;
    gap: 1.2rem;
  }
  .cov-cta-text { text-align: left; }
  .cov-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.3;
  }

  /* =============== REVIEWS =============== */
  .reviews { padding: 4rem 0; }
  .reviews .section-head--left {
    margin-bottom: 2rem;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .review-card {
    padding: 1.6rem 1.5rem;
  }
  .review-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.3rem;
  }
  .review-author { padding-top: 1rem; }
  .review-avatar { width: 38px; height: 38px; font-size: 0.85rem; }
  .review-author strong { font-size: 0.92rem; }
  .review-author small { font-size: 0.75rem; }

  .review-cta-title { font-size: 1.4rem; }
  .review-cta-text { font-size: 0.93rem; }

  .reviews-footer {
    margin-top: 1rem;
    padding-top: 2rem;
    gap: 0.8rem;
  }
  .reviews-footer .btn-ghost {
    padding: 0.85rem 1.4rem;
    font-size: 0.92rem;
  }

  /* =============== LOCATION =============== */
  .location { padding: 4rem 0; }
  .location-grid { gap: 2rem; }
  .location-info { gap: 1.2rem; }
  .info-item { gap: 0.85rem; }
  .info-icon { width: 42px; height: 42px; }
  .info-item strong { font-size: 0.92rem; }
  .info-item p, .info-item a { font-size: 0.92rem; }
  .location-map { min-height: 320px; border-radius: var(--radius); }
  .location-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* =============== FAQ =============== */
  .faq { padding: 4rem 0; }
  .faq-list { gap: 0.6rem; }
  .faq-item summary {
    padding: 1.2rem 1.3rem;
    font-size: 0.98rem;
    gap: 0.8rem;
  }
  .faq-icon { width: 22px; height: 22px; flex-shrink: 0; }
  .faq-answer {
    padding: 0 1.3rem 1.3rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* =============== CONTACT / FORM =============== */
  .contact { padding: 4rem 0; }
  .contact-grid { gap: 2.5rem; }
  .contact-copy > p {
    font-size: 1rem;
    margin: 0.9rem 0 1.5rem;
  }
  .contact-channels { gap: 0.7rem; }
  .channel { padding: 1rem 1.1rem; gap: 0.85rem; }
  .channel-icon { width: 42px; height: 42px; }
  .channel strong { font-size: 0.95rem; }
  .channel small { font-size: 0.8rem; }

  .contact-form { padding: 1.5rem 1.3rem; }
  .form-title {
    font-size: 1.05rem;
    margin-bottom: 1.3rem;
    padding-bottom: 0.9rem;
  }
  .form-row { margin-bottom: 1rem; }
  .form-row label {
    font-size: 0.85rem;
    margin-bottom: 0.45rem;
  }
  .form-row input,
  .form-row select,
  .form-row textarea {
    padding: 0.95rem 1rem;
    font-size: 1rem;  /* iOS no zoom */
    border-radius: 12px;
  }
  .form-row textarea { min-height: 110px; }
  .form-note { font-size: 0.85rem; }

  /* =============== FINAL CTA =============== */
  .final-cta { padding: 3.5rem 0; }
  .final-cta h2 { font-size: 1.7rem; }
  .final-cta p { font-size: 1rem; margin: 0.9rem 0 1.5rem; }
  .final-cta .btn { width: 100%; justify-content: center; }

  /* =============== FOOTER =============== */
  .site-footer { padding-top: 3rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .footer-brand p { max-width: 100%; font-size: 0.92rem; }
  .footer-col h4 { margin-bottom: 0.8rem; }
  .footer-col a, .footer-col li { font-size: 0.92rem; }
  .footer-bar { padding: 1.2rem 0; }
  .footer-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .footer-bar small { font-size: 0.78rem; }

  /* WhatsApp float */
  .wa-float {
    width: 56px;
    height: 56px;
    bottom: 1rem;
    right: 1rem;
  }
  .wa-float svg { width: 26px; height: 26px; }

  /* Buttons globales: confort touch */
  .btn { padding: 0.95rem 1.5rem; font-size: 0.95rem; }
  .btn-wa-sm { padding: 0.8rem 1.3rem; }
}

/* Narrow phones (≤ 430px) — fine-tune extra */
@media (max-width: 430px) {
  .container { padding: 0 1.1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  
 .site-header .nav-wrap {
    padding: 0.7rem 1.1rem;
    min-height: 90px;
  }

  /* Hero */
  /* Team a 1 columna en pantallas más angostas */
  .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .team-photo { aspect-ratio: 1.6 / 1; }

  /* Pills más compactas */
  .pill { padding: 0.45rem 0.8rem; font-size: 0.82rem; }
  .pill--sm { padding: 0.4rem 0.7rem; font-size: 0.76rem; }

  /* CTA coverage texto secundario */
  .cov-cta-text strong { font-size: 1rem; }
  .cov-cta-text span { font-size: 0.88rem; }

  /* Final CTA */
  .final-cta h2 { font-size: 1.5rem; }
}

/* =================== ACCESIBILIDAD =================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =================== PRINT =================== */
@media print {
  .wa-float, .menu-toggle, .hero-ctas, .final-cta, .nav-main { display: none; }
  .site-header { position: static; }
}
