/* =====================================================
   FISIOTERAPEUTAS.MX · DOLORFIN — STYLES
   Basado en V3 "Cálido-humano con data"
   Paleta oficial Dolorfin
===================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: #0B2C4D; font-weight: 800; letter-spacing: -0.5px; }

/* Accessibility helper */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- TOKENS (CSS variables) ---------- */
:root {
  /* Dolorfin palette */
  --c-white: #FFFFFF;
  --c-bg-soft: #F5F7FA;
  --c-text-primary: #374151;
  --c-text-secondary: #6B7280;
  --c-institutional: #0B2C4D;   /* navy */
  --c-medical: #1F5FA8;          /* blue */
  --c-cta: #00A8A8;              /* teal */
  --c-cta-hover: #33C1C1;
  --c-highlight: #EAF2FB;
  --c-border: #E5E7EB;
  --c-dolorfin-green: #2E8B57;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 44, 77, 0.06);
  --shadow-md: 0 8px 22px rgba(11, 44, 77, 0.12);
  --shadow-lg: 0 14px 40px rgba(11, 44, 77, 0.10);
  --shadow-cta: 0 8px 22px rgba(0, 168, 168, 0.30);
  --shadow-cta-lg: 0 10px 28px rgba(0, 168, 168, 0.50);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-xxl: 24px;
  --r-pill: 999px;
}

/* ---------- LAYOUT ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

.section { padding: 100px 0; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-cta);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow.eyebrow-light { color: var(--c-cta-hover); }
.section-head h2, h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  color: var(--c-text-secondary);
  max-width: 620px;
  margin: 12px auto 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.align-top { align-items: flex-start; }
.two-col.two-col--reverse > *:first-child { order: 0; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
}

/* ---------- HEADER ---------- */
.site-header {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255, 255, 255, 0.94);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: 1240px;
  margin: 0 auto;
  gap: 24px;
}
.logo-link {
  display: inline-flex; align-items: center; gap: 12px;
}
.logo-img {
  height: 44px; width: auto; flex-shrink: 0;
  display: block;
}
.logo-img--footer {
  height: 44px; width: auto;
  filter: brightness(0) invert(1);  /* logo en blanco para footer oscuro */
  margin-bottom: 14px;
}
.logo-sub {
  font-weight: 700; font-size: 9px; color: var(--c-dolorfin-green);
  letter-spacing: 2px;
  padding-left: 12px;
  border-left: 2px solid var(--c-border);
  line-height: 1.2;
}
@media (max-width: 520px) {
  .logo-sub { display: none; }
  .logo-img { height: 36px; }
}

.main-nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-institutional);
}
.main-nav a { transition: color .2s; }
.main-nav a:hover { color: var(--c-cta); }

.header-cta { display: flex; gap: 12px; align-items: center; }
.phone-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--c-institutional); font-weight: 600;
}
.phone-link svg { color: var(--c-cta); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-cta); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn-wa:hover { background: var(--c-cta-hover); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 4px; align-items: center;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--c-institutional); border-radius: 1px;
}

@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 12px 0;
    box-shadow: var(--shadow-md); border-top: 1px solid var(--c-border); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 32px; border-bottom: 1px solid var(--c-border); }
  .phone-link { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- HERO ---------- */
.hero {
  background: var(--c-highlight);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  min-height: 520px;
  padding-bottom: 60px;
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-white); padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; color: var(--c-cta);
  margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 4px; background: var(--c-cta);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.25); }
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  color: var(--c-institutional);
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--c-cta); }
.hero-lead {
  font-size: 17px; line-height: 1.65;
  color: var(--c-text-primary);
  margin-bottom: 32px; max-width: 520px;
}

.hero-ctas { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-cta); color: #fff;
  padding: 17px 26px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 700;
  box-shadow: var(--shadow-cta);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary:hover {
  background: var(--c-cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-lg);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-white); color: var(--c-institutional);
  padding: 17px 26px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.hero-trust {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--c-text-secondary);
  margin: 0;
}

/* Hero media */
.hero-media { position: relative; align-self: end; }
.hero-photo {
  margin: 0; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 1 / 1;
  background: repeating-linear-gradient(135deg, #EAF2FB 0 14px, #CFE0F5 14px 28px);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.floating-card {
  position: absolute;
  background: var(--c-white);
  padding: 18px;
  border-radius: var(--r-lg);
  box-shadow: 0 12px 32px rgba(11, 44, 77, 0.14);
}
.floating-card--top {
  top: 30px; left: -30px;
  display: flex; gap: 12px; align-items: center; width: 240px;
}
.floating-card--top .fc-icon {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: rgba(0, 168, 168, 0.15); color: var(--c-cta);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fc-quote {
  font-size: 13px; font-weight: 700; color: var(--c-institutional);
  line-height: 1.3; margin: 0;
}
.fc-meta { font-size: 11px; color: var(--c-text-secondary); margin: 4px 0 0; }

.floating-card--bottom {
  bottom: 40px; right: -20px;
  background: var(--c-institutional); color: #fff; width: 210px;
}
.fc-eyebrow {
  font-size: 11px; color: var(--c-cta-hover);
  letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 700; margin: 0 0 6px;
}
.fc-big { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin: 0; color: #fff; }
.fc-small { font-size: 11px; color: #9FB4CC; margin: 4px 0 0; }

@media (max-width: 1040px) {
  .floating-card--top { left: 10px; }
  .floating-card--bottom { right: 10px; }
}
@media (max-width: 640px) {
  .floating-card { position: static; margin-top: 12px; width: auto; }
}

/* Stats band */
.stats-band-wrap { position: relative; z-index: 2; padding-bottom: 60px; }
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 32px 32px;
  margin-top: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
}
.stat { text-align: center; border-right: 1px solid var(--c-border); padding: 8px 12px; }
.stat:last-child { border-right: 0; }
.stat-n {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; color: var(--c-institutional);
  letter-spacing: -1.5px; line-height: 1;
  margin-bottom: 10px;
}
.stat-l {
  font-size: 12px; color: var(--c-text-secondary);
  letter-spacing: 0.3px;
  line-height: 1.4;
}
@media (max-width: 680px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat { border-right: 0 !important; padding: 12px 0; border-bottom: 1px solid var(--c-border); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- ENFOQUE ---------- */
.section-enfoque { padding-top: 120px; }
.enfoque-photo {
  margin: 0; position: relative;
  border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 6/5;
  background: repeating-linear-gradient(135deg, #E5F7F7 0 14px, #BEEAEA 14px 28px);
}
.enfoque-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge {
  position: absolute; bottom: 20px; right: 20px;
  background: var(--c-white); padding: 14px 18px;
  border-radius: var(--r-md);
  display: flex; gap: 10px; align-items: center;
  box-shadow: var(--shadow-md);
  font-size: 12px; font-weight: 700; color: var(--c-institutional);
}
.photo-badge svg { color: var(--c-cta); }

.enfoque-copy p { font-size: 16px; line-height: 1.7; color: var(--c-text-secondary); margin: 0 0 18px; }
.enfoque-copy strong { color: var(--c-institutional); }
.enfoque-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: 28px;
}
.enfoque-card {
  background: var(--c-bg-soft); padding: 18px; border-radius: var(--r-md);
  display: flex; gap: 12px;
}
.ec-icon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--c-white); color: var(--c-cta);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.enfoque-card h3 {
  font-size: 14px; font-weight: 700; color: var(--c-institutional); margin: 0 0 2px;
}
.enfoque-card p { font-size: 12px; color: var(--c-text-secondary); margin: 0; }

/* ---------- SERVICIOS ---------- */
.section-servicios { background: var(--c-bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1040px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-photo {
  margin: 0; aspect-ratio: 16/9;
  background: repeating-linear-gradient(135deg, #EAF2FB 0 14px, #CFE0F5 14px 28px);
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 18px 20px 20px; }
.service-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.service-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--c-highlight); color: var(--c-medical);
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 14px; font-weight: 700; color: var(--c-institutional); margin: 0; }
.service-card p { font-size: 12px; color: var(--c-text-secondary); line-height: 1.55; margin: 0; }

/* ---------- PADECIMIENTOS ---------- */
.conditions-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 24px;
}
.conditions-list li {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 14px;
  background: var(--c-bg-soft); border-radius: var(--r-sm);
  font-size: 13px; color: var(--c-institutional); font-weight: 500;
}
.conditions-list li svg { color: var(--c-cta); flex-shrink: 0; }

.bodymap-wrap {
  background: var(--c-highlight); border-radius: var(--r-xl);
  padding: 40px; text-align: center;
}
.bodymap { width: 100%; max-height: 440px; }
.bodymap .pain-points text {
  font-size: 11px; font-weight: 600;
  fill: var(--c-institutional); font-family: "Montserrat";
}
.bodymap .pp circle {
  transform-origin: center;
  animation: ping 2s ease-out infinite;
}
.bodymap .pp:nth-child(2) circle { animation-delay: .4s; }
.bodymap .pp:nth-child(3) circle { animation-delay: .8s; }
.bodymap .pp:nth-child(4) circle { animation-delay: 1.2s; }
.bodymap .pp:nth-child(5) circle { animation-delay: 1.6s; }
@keyframes ping {
  0% { transform: scale(1); opacity: 0.9; }
  70% { transform: scale(2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* ---------- POR QUÉ / TESTIMONIOS ---------- */
.section-porque {
  background: var(--c-institutional);
  color: #fff;
}
.section-porque h2 { color: #fff; }
.section-porque p { color: #C9D7E8; font-size: 15px; line-height: 1.7; }

.testimonial-preview {
  display: flex; gap: 16px; align-items: center;
  margin-top: 24px;
}
.testimonial-preview img {
  width: 60px; height: 60px; border-radius: var(--r-pill); object-fit: cover;
  background: repeating-linear-gradient(135deg, #0B2C4D 0 14px, #143a63 14px 28px);
}
.tp-name { font-size: 14px; font-weight: 700; margin: 0; color: #fff; }
.tp-role { font-size: 12px; color: #9FB4CC; margin: 4px 0 0; }

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-xl);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  margin: 0;
}
.testimonial-card p {
  font-size: 20px; line-height: 1.45;
  font-weight: 500; color: #fff;
  margin: 0 0 20px; letter-spacing: -0.3px;
}
.testimonial-card footer { font-size: 13px; color: var(--c-cta-hover); font-weight: 600; }
.quote-mark {
  font-size: 56px; line-height: 0.3;
  color: var(--c-cta-hover); font-family: Georgia, serif;
  display: block; margin-bottom: 10px;
}

.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 60px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-md);
  padding: 22px;
}
.why-icon {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: var(--c-cta); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.why-card h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.why-card p { font-size: 12px; color: #C9D7E8; line-height: 1.55; margin: 0; }

/* ---------- PROCESO ---------- */
.process-list {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  padding: 0; margin: 0; counter-reset: process;
}
@media (max-width: 1000px) { .process-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .process-list { grid-template-columns: 1fr; } }

.process-step {
  background: var(--c-bg-soft);
  color: var(--c-institutional);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex; flex-direction: column;
  min-height: 220px;
  list-style: none;
}
.process-step.active { background: var(--c-cta); color: #fff; }
.ps-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ps-n {
  width: 32px; height: 32px; border-radius: var(--r-lg);
  background: var(--c-institutional); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.process-step.active .ps-n { background: #fff; color: var(--c-cta); }
.ps-line { flex: 1; height: 1px; background: var(--c-border); }
.process-step.active .ps-line { background: rgba(255, 255, 255, 0.3); }
.process-step h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: inherit; }
.process-step p { font-size: 12px; line-height: 1.55; margin: 0; color: var(--c-text-secondary); }
.process-step.active p { color: #E5F7F7; }

/* ---------- PRICING ---------- */
.section-pricing { padding-top: 0; }
.pricing-card {
  background: linear-gradient(135deg, var(--c-cta) 0%, var(--c-medical) 100%);
  border-radius: var(--r-xxl);
  padding: 60px 50px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 900px) {
  .pricing-card { grid-template-columns: 1fr; padding: 40px 28px; }
}
.pricing-info { position: relative; }
.pricing-info h2 { color: #fff; font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 18px; }
.pricing-info p { font-size: 15px; line-height: 1.65; margin: 0 0 22px; opacity: 0.95; }
.pricing-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.pricing-features li {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px;
}

.pricing-box {
  background: #fff; color: var(--c-institutional);
  border-radius: var(--r-xl); padding: 32px;
  text-align: center; position: relative;
}
.pb-struck { font-size: 12px; color: var(--c-text-secondary); margin: 0 0 4px; }
.pb-eyebrow {
  font-size: 12px; font-weight: 700; color: var(--c-cta);
  letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 10px;
}
.pb-price {
  font-size: 60px; font-weight: 800;
  letter-spacing: -2.5px; line-height: 1; margin: 0;
}
.pb-price .currency { font-size: 32px; vertical-align: top; margin-right: 2px; }
.pb-currency { font-size: 13px; color: var(--c-text-secondary); margin: 0 0 22px; }
.btn-pricing {
  display: block; background: var(--c-institutional); color: #fff;
  padding: 14px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 700; transition: background .2s;
}
.btn-pricing:hover { background: #143a63; }
.pb-note { font-size: 11px; color: var(--c-text-secondary); margin: 10px 0 0; }

/* ---------- FAQ ---------- */
.section-faq { background: var(--c-bg-soft); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--c-white); border-radius: var(--r-md);
  border: 1px solid var(--c-border); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: 15px; font-weight: 600; color: var(--c-institutional);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico {
  width: 30px; height: 30px; border-radius: var(--r-lg);
  background: var(--c-highlight); color: var(--c-medical);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
  transition: background .2s, color .2s;
}
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute;
  background: currentColor; border-radius: 1px;
}
.faq-ico::before { width: 14px; height: 2px; }
.faq-ico::after { width: 2px; height: 14px; transition: transform .25s; }
.faq-item[open] .faq-ico { background: var(--c-cta); color: #fff; }
.faq-item[open] .faq-ico::after { transform: rotate(90deg); opacity: 0; }
.faq-answer {
  padding: 0 24px 22px;
  font-size: 14px; color: var(--c-text-secondary); line-height: 1.65;
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--c-cta); text-decoration: underline; }

/* ---------- CONTACTO ---------- */
.section-contacto h2 { font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 20px; }
.section-contacto > .container > .two-col > div > p {
  font-size: 15px; color: var(--c-text-secondary); line-height: 1.65;
}

.contact-wa {
  display: flex; gap: 16px; align-items: center;
  padding: 20px; background: var(--c-cta);
  border-radius: var(--r-lg);
  color: #fff; margin: 20px 0 16px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.contact-wa:hover {
  background: var(--c-cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-lg);
}
.cw-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cw-label { display: block; font-size: 12px; opacity: 0.85; }
.cw-num { display: block; font-size: 20px; font-weight: 800; }

.contact-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.cm-card {
  padding: 18px; background: var(--c-bg-soft); border-radius: var(--r-md);
}
.cm-card svg { margin-bottom: 8px; }
.cm-at {
  display: inline-block; font-size: 20px; color: var(--c-medical);
  font-weight: 800; margin-bottom: 8px;
}
.cm-label { font-size: 12px; color: var(--c-text-secondary); margin: 0 0 2px; }
.cm-value { font-size: 13px; font-weight: 600; color: var(--c-institutional); margin: 0; }
.cm-value a { color: inherit; }

/* Form */
.form-card {
  background: var(--c-bg-soft);
  border-radius: var(--r-xl);
  padding: 36px;
  border: 1px solid var(--c-border);
}
.form-card h3 {
  font-size: 18px; font-weight: 700; color: var(--c-institutional);
  margin: 0 0 6px;
}
.form-lead { font-size: 12px; color: var(--c-text-secondary); margin: 0 0 20px; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .f-row { grid-template-columns: 1fr; } }
.f-field { display: flex; flex-direction: column; gap: 6px; }
.f-label { font-size: 12px; color: var(--c-text-secondary); font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 13px 14px; border: 1px solid var(--c-border); border-radius: var(--r-md);
  font-size: 14px; font-family: inherit;
  background: var(--c-white); color: var(--c-institutional);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--c-cta);
  box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.15);
}
.btn-submit {
  background: var(--c-cta); color: #fff;
  padding: 15px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 700;
  transition: background .2s;
}
.btn-submit:hover { background: var(--c-cta-hover); }
.f-legal { font-size: 11px; color: var(--c-text-secondary); text-align: center; margin: 0; }
.f-legal a { color: var(--c-cta); text-decoration: underline; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--c-institutional);
  color: #fff;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .footer-logo {
  margin-bottom: 16px;
}
.fl-main {
  font-weight: 800; font-size: 32px;
  color: #fff; letter-spacing: -1px;
  line-height: 1;
  display: inline-block;
}
.fl-accent { color: var(--c-cta-hover); }
.fb-name {
  font-size: 11px; font-weight: 700;
  color: var(--c-cta-hover); letter-spacing: 2.5px;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.fb-desc { font-size: 13px; color: #9FB4CC; margin: 10px 0 16px; line-height: 1.7; }
.btn-wa--footer { display: inline-flex; }

.site-footer h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-cta-hover); margin: 0 0 14px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { font-size: 13px; color: #C9D7E8; transition: color .2s; }
.site-footer a:hover { color: #fff; }

.footer-social-handle { font-size: 13px; color: #C9D7E8; margin: 0 0 12px; }
.social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icons a {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.10);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .2s, transform .2s, color .2s;
}
.social-icons a:hover {
  background: var(--c-cta);
  transform: translateY(-2px);
}
.social-icons a svg { display: block; }

.footer-legal {
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: #8AA0BA;
}
.footer-legal a { color: inherit; }

/* ---------- STICKY FAB (WhatsApp color oficial) ---------- */
.fab-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25D366; color: #fff;
  width: 60px; height: 60px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: background .2s, transform .2s;
  animation: fabPulse 2.5s ease-in-out infinite;
}
.fab-wa:hover {
  background: #1FB755;
  transform: scale(1.08);
  animation: none;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- PRINT ---------- */
@media print {
  .fab-wa, .menu-toggle, .btn-wa, .btn-primary, .btn-secondary { display: none; }
  .site-header, .site-footer { background: #fff !important; color: #000 !important; }
}
