/* ============================================================
   Clínica Veterinaria Huellas - Demo
   Estética editorial (inspirada en Grabados BioBio) · TEMA CLARO
   Paleta: azul marino + celeste del logo de Huellas
   ============================================================ */

:root {
  color-scheme: light;
  --bg-0: #f4f8fb;          /* fondo página (celeste muy claro) */
  --bg-1: #ffffff;          /* card base */
  --bg-2: #eaf2f7;          /* card hover / secciones suaves */
  --stone: #dbe7f0;
  --stone-2: #cfe0ec;
  --line: rgba(0, 96, 138, 0.16);
  --gold: #008bbf;          /* celeste principal (rol "oro") */
  --gold-soft: #00608a;
  --gold-bright: #0090d0;   /* sky del logo */
  --text: #00304a;          /* tinta azul profunda */
  --text-dim: #3d5566;
  --text-faint: #6b8090;
  --danger: #c0392b;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 48, 74, 0.10);
  --shadow-lg: 0 18px 44px rgba(0, 48, 74, 0.16);
  --maxw: 1200px;
  --footer-bg: #00304a;
  --font-head: "Cormorant Garamond", "Fraunces", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; background-color: var(--bg-0); }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageIn .45s ease both;
}

@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* Textura sutil azul clara */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0,144,208,.08), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(0,139,191,.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--gold-soft); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-bright); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { color: var(--text-dim); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

section { padding: 80px 0; position: relative; z-index: 1; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  text-transform: uppercase;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-soft));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0,139,191,.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,139,191,.35); color: #ffffff; }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- Topbar (azul marca) ---------- */
.topbar {
  background: var(--footer-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .78rem;
  color: rgba(234, 242, 247, .8);
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar p { color: rgba(234, 242, 247, .8); }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { color: rgba(234, 242, 247, .85); }
.topbar-links a:hover { color: #5cb8e0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 248, 251, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(244, 248, 251, 0.97); box-shadow: 0 6px 24px rgba(0,48,74,.06); }
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); }
.brand:hover { color: var(--text); }
/* Logo: chip rectangular blanco, logo completo sin recortes */
.brand-mark {
  height: 46px;
  width: auto;
  padding: 5px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,48,74,.06);
}
.brand-mark img { height: 34px; width: auto; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .03em; }
.brand-text span { font-size: .64rem; color: var(--gold-soft); letter-spacing: .25em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--text-dim);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav a:hover, .nav a.active { color: var(--gold-soft); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 70px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/ig/ig-08.jpg") center/cover no-repeat;
  opacity: .38;
  filter: saturate(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(244,248,251,.97) 0%, rgba(244,248,251,.72) 45%, rgba(244,248,251,.35) 100%),
    linear-gradient(180deg, rgba(244,248,251,.25), rgba(244,248,251,.92));
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero .eyebrow::before {
  content: "";
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero h1 { margin-bottom: 24px; color: var(--text); }
.hero h1 .accent { color: var(--gold-bright); font-style: italic; }
.hero .lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero .lead strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--gold-soft);
  display: block;
  line-height: 1;
}
.hero-stat .lbl { font-size: .76rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .15em; margin-top: 6px; }

/* ---------- Eyebrow de sección ---------- */
.section-eyebrow {
  text-align: center;
  color: var(--gold-soft);
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title { text-align: center; margin-bottom: 18px; }
.section-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  color: var(--text-dim);
}

/* ---------- Accesos rápidos ---------- */
.accesos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.acceso-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.acceso-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.acceso-ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold-soft);
  background: var(--bg-2);
}
.acceso-ico svg { width: 22px; height: 22px; }
.acceso-ico img { width: 24px; height: 24px; object-fit: contain; }
.acceso-text strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--text); }
.acceso-text small { color: var(--text-faint); font-size: .78rem; }

/* ---------- Cat cards (servicios) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.cat-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.cat-card .thumb {
  aspect-ratio: 5 / 3;
  background: linear-gradient(135deg, var(--bg-2), var(--stone));
  overflow: hidden;
  position: relative;
  display: grid; place-items: center;
}
.cat-card .thumb img { width: 50%; max-height: 60%; object-fit: contain; transition: transform .5s ease; }
.cat-card:hover .thumb img { transform: scale(1.08); }
.cat-card .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,48,74,.06));
}
.cat-card .cat-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(255,255,255,.9);
  padding: 4px 10px; border-radius: 20px; border: 1px solid var(--line);
}
.cat-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { margin-bottom: 8px; color: var(--text); }
.cat-card p { font-size: .9rem; color: var(--text-dim); margin-bottom: 16px; flex: 1; }
.cat-card .more {
  font-size: .78rem;
  color: var(--gold-soft);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cat-card .more::after { content: "→"; transition: transform .25s; }
.cat-card:hover .more::after { transform: translateX(4px); }
.cat-card.featured { border-color: var(--gold); }
.cat-card.featured .cat-tag { color: var(--gold-soft); background: #fff; }

/* ---------- Valores (mat-card) ---------- */
.materials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.mat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  background: var(--bg-1);
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.mat-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mat-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-soft);
  border: 1px solid var(--gold);
  background: var(--bg-2);
}
.mat-card .icon svg { width: 26px; height: 26px; }
.mat-card h3 { margin-bottom: 8px; }
.mat-card p { font-size: .88rem; }

/* ---------- Doctor ---------- */
.doctor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.doctor-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.doctor-photo:hover img { transform: scale(1.04); }
.doctor-badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.95);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.doctor-badge strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--text); }
.doctor-badge span { font-size: .76rem; color: var(--gold-soft); letter-spacing: .14em; text-transform: uppercase; }
.doctor-copy .lead-eyebrow { color: var(--gold-soft); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 12px; }
.doctor-copy h2 { margin-bottom: 16px; }
.doctor-copy p { margin-bottom: 14px; max-width: 50ch; }
.amen-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin: 18px 0 26px; }
.amen-list li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--text-dim); }
.amen-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
.doctor-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Proceso ---------- */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 26px 26px;
  border-left: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--gold);
  opacity: .5;
  display: block;
  margin-bottom: 10px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .9rem; }

/* ---------- Banner de condiciones / horario ---------- */
.lead-banner {
  background: linear-gradient(135deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}
.lead-banner h2 { margin-bottom: 14px; }
.lead-banner ul { list-style: none; }
.lead-banner li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px;
  font-size: .95rem;
  color: var(--text-dim);
}
.lead-banner li:last-child { border-bottom: none; }
.lead-banner li strong { color: var(--gold-soft); }

/* ---------- Galería ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 13rem;
  gap: 10px;
}
.gallery-grid figure {
  margin: 0; overflow: hidden;
  border-radius: 8px;
  background: var(--stone);
  border: 1px solid var(--line);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); filter: saturate(1.1) brightness(1.03); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

.ig-cta {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 40px auto 0;
  padding: 14px 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 40px;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.ig-cta:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ig-cta-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 30%;
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  color: #fff;
  flex-shrink: 0;
}
.ig-cta-icon svg { width: 22px; height: 22px; }
.ig-cta strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.ig-cta small { color: var(--text-faint); font-size: .78rem; }
.ig-inline { color: var(--gold-soft); font-weight: 600; }

/* ---------- Trust band ---------- */
.trustband {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 50px 24px;
}
.trust-item { text-align: center; border-left: 1px solid var(--line); padding-left: 20px; }
.trust-item:first-child { border-left: none; padding-left: 0; }
.trust-item .num { font-family: var(--font-head); font-size: 2.4rem; color: var(--gold-soft); display: block; line-height: 1; }
.trust-item .lbl { font-size: .76rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .15em; margin-top: 8px; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--bg-1);
  box-shadow: var(--shadow);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.1rem;
  padding: 20px 24px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .pm { color: var(--gold); font-size: 1.4rem; transition: transform .25s; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 22px; }
.faq-a p { color: var(--text-dim); font-size: .95rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.info-row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-row .ic {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center; color: var(--gold-soft);
  background: var(--bg-2);
}
.info-row .ic svg { width: 22px; height: 22px; }
.info-row h4 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold-soft); margin-bottom: 4px; }
.info-row p { color: var(--text); font-size: 1rem; }
.info-row a { color: var(--text); }
.info-row a:hover { color: var(--gold-bright); }

.social-row { display: flex; gap: 12px; margin-top: 8px; }
.social-row a {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-dim);
  background: var(--bg-1);
  transition: all .25s;
  font-size: .8rem; font-weight: 600;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-3px); }
.social-row svg { width: 22px; height: 22px; display: block; }

.form { background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; padding: 36px; box-shadow: var(--shadow); }
.form h3 { margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-soft); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-0); border: 1px solid var(--stone);
  border-radius: 8px; padding: 12px 14px; color: var(--text);
  font-family: var(--font-body); font-size: .95rem; transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .8rem; color: var(--text-faint); margin-top: 14px; }
.form-note a { color: var(--gold-soft); }
.form-success {
  display: none;
  background: rgba(46, 204, 113, .12);
  border: 1px solid rgba(46,204,113,.4);
  color: #1f8a4c;
  padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: .9rem;
}
.form-success.show { display: block; }

.map-embed {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA barra ---------- */
.cta-bar {
  background: linear-gradient(135deg, rgba(0,144,208,.12), rgba(0,139,191,.03));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-bar h2 { margin-bottom: 18px; }
.cta-bar p { max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 60px 0 24px;
  color: var(--text-dim);
}
.site-footer .brand-text strong { color: #eaf2f7; }
.site-footer .brand-text span { color: #5cb8e0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .15em;
  color: #5cb8e0; margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(234,242,247,.75); font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: .9rem; line-height: 1.7; color: rgba(234,242,247,.65); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-mark { background: #fff; }
.site-footer .social-row a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: rgba(234,242,247,.85); }
.site-footer .social-row a:hover { border-color: #5cb8e0; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .82rem; color: rgba(234,242,247,.5);
}
.footer-bottom a { color: rgba(234,242,247,.6); }

/* ---------- Llamada flotante ---------- */
.call-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-soft));
  display: grid; place-items: center;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0,139,191,.4);
  transition: transform .25s;
}
.call-float:hover { transform: scale(1.08); color: #ffffff; }
.call-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-photo { max-width: 30rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-item:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 880px) {
  .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(244,248,251,.98);
    border-bottom: 1px solid var(--line);
    padding: 0 24px;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height .32s ease, opacity .25s ease, transform .25s ease, padding .32s ease, gap .32s ease;
  }
  .nav.open { max-height: 460px; opacity: 1; transform: none; padding: 16px 24px 22px; gap: 6px; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .lead-banner { grid-template-columns: 1fr; padding: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .accesos { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding: 50px 0 50px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
  section { padding: 56px 0; }
  .cat-grid { gap: 18px; }
  .form { padding: 24px; }
  .map-embed { aspect-ratio: 4 / 3; }
  .call-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .call-float svg { width: 24px; height: 24px; }
  .section-sub { margin-bottom: 36px; }
  .hero .lead { font-size: 1.02rem; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .brand-text span { display: none; }
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 1.95rem; }
  .hero .lead { font-size: .96rem; }
  .hero-stats { gap: 16px 20px; }
  .hero-stat .num { font-size: 1.55rem; }
  .mat-card { padding: 24px 18px; }
  .lead-banner { padding: 22px; }
  .lead-banner li { font-size: .9rem; }
  .form { padding: 20px; }
  .container { padding: 0 18px; }
  .section-title { margin-bottom: 12px; }
  .accesos { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 9rem; }
  .g-wide { grid-column: span 2; }
  .amen-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .reveal { transition: none; }
}
