/* Hospital y Clínica Veterinaria Del Noroeste — veterinaria amigable y de tradición: verde bosque y mostaza */
:root {
  --fuente-titulo: "Poppins", "Trebuchet MS", sans-serif;
  --fuente-texto: "Nunito", system-ui, sans-serif;
  --fondo: #fbf8f1;
  --fondo-2: #e7f1e8;
  --superficie: #ffffff;
  --texto: #3b463f;
  --texto-suave: #66706a;
  --titulos: #1f3a2c;
  --acento: #2e7a4f;
  --acento-oscuro: #22613d;
  --acento-texto: #ffffff;
  --acento-2: #f2b53a;
  --acento-2-oscuro: #946300;
  --linea: #e6e0d1;
  --oscuro: #1d3528;
  --hoy: #e7f1e8;
}

/* ===== Base compartida ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--fuente-texto);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
main, .pie { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fuente-titulo); line-height: 1.1; margin: 0 0 .5em; color: var(--titulos); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 em, h1 em { font-style: normal; color: var(--acento); }
p { margin: 0 0 1em; }
.marco { width: min(1200px, 100% - 48px); margin-inline: auto; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }

.sobretitulo { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--acento); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

/* Botones */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border: 2px solid transparent; border-radius: var(--radio-btn, 999px);
  font-family: var(--fuente-texto); font-size: .95rem; font-weight: 700; text-decoration: none; line-height: 1.2;
  cursor: pointer; transition: transform .3s, box-shadow .3s, background .3s, color .3s, border-color .3s;
}
.btn .ico { width: 22px; height: 22px; }
.btn--principal { background: var(--acento); color: var(--acento-texto); }
.btn--principal:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px var(--acento); }
.btn--secundario { border-color: currentColor; color: var(--titulos); }
.btn--secundario:hover { background: var(--titulos); color: var(--fondo); }

/* Barra de progreso */
.progreso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progreso span { display: block; height: 100%; background: var(--acento); transform: scaleX(0); transform-origin: left; }

/* Cabecera */
.cabecera { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s, box-shadow .4s, border-color .4s; border-bottom: 1px solid transparent; }
.cabecera__fila { display: flex; align-items: center; gap: 28px; height: 80px; transition: height .4s; }
.cabecera.solida .cabecera__fila { height: 66px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1; min-width: 0; }
.marca__logo { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.marca__textos { display: flex; flex-direction: column; min-width: 0; }
.marca__nombre { font-family: var(--fuente-titulo); font-size: 1.45rem; font-weight: 700; white-space: nowrap; }
.marca__sub { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; margin-top: 5px; opacity: .8; white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { position: relative; text-decoration: none; font-size: .92rem; font-weight: 600; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--acento); transform: scaleX(0); transition: transform .35s; }
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta { padding: 10px 18px; border-radius: var(--radio-btn, 999px); background: var(--acento); color: var(--acento-texto) !important; transition: transform .3s; }
.nav__cta:hover { transform: translateY(-1px); }
.hamburguesa { display: none; margin-left: auto; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; position: relative; z-index: 61; color: inherit; }
.hamburguesa span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s, top .35s, opacity .2s; }
.hamburguesa span:nth-child(1) { top: 15px; }
.hamburguesa span:nth-child(2) { top: 22px; }
.hamburguesa span:nth-child(3) { top: 29px; }
.menu-abierto .hamburguesa span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-abierto .hamburguesa span:nth-child(2) { opacity: 0; }
.menu-abierto .hamburguesa span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Portada (dos columnas) */
.hero { position: relative; overflow: hidden; }
.hero__fila { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; position: relative; }
.hero__titulo { font-size: clamp(2.7rem, 6.4vw, 5.4rem); margin-bottom: 24px; }
.linea { display: block; overflow: hidden; padding-bottom: .08em; }
.linea > span { display: inline-block; }
.js .linea > span { transform: translateY(110%); transition: transform 1.1s cubic-bezier(.77, 0, .18, 1); }
.js .listo .linea > span { transform: none; }
.js .listo .linea:nth-child(2) > span { transition-delay: .12s; }
.js .listo .linea:nth-child(3) > span { transition-delay: .24s; }
.hero__lema { font-size: 1.15rem; color: var(--texto-suave); max-width: 44ch; margin: 0 0 34px; }
.hero__botones { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__datos { list-style: none; padding: 0; margin: 46px 0 0; display: flex; flex-wrap: wrap; gap: 0; }
.hero__datos li { padding: 0 28px; border-left: 1px solid var(--linea); }
.hero__datos li:first-child { padding-left: 0; border-left: 0; }
.hero__datos strong { display: block; font-family: var(--fuente-titulo); font-size: 2.3rem; line-height: 1.1; color: var(--titulos); }
.hero__datos span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.hero__foto { margin: 0; position: relative; }
.hero__marco { position: relative; overflow: hidden; }
.hero__marco img { width: 100%; height: 100%; object-fit: cover; }

/* Portada a todo lo ancho */
.hero--completa { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 110px; }
.hero__fondo { position: absolute; inset: 0; z-index: 0; }
.hero__fondo img { width: 100%; height: 100%; object-fit: cover; animation: lentoZoom 16s ease-out forwards; }
.hero__fondo::after { content: ""; position: absolute; inset: 0; }
.hero__contenido { position: relative; z-index: 1; }
@keyframes lentoZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__bajar { position: absolute; left: 50%; bottom: 26px; z-index: 1; width: 26px; height: 42px; border: 2px solid currentColor; border-radius: 13px; transform: translateX(-50%); opacity: .7; }
.hero__bajar span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: currentColor; border-radius: 2px; animation: rueda 2s infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Cinta */
.cinta { overflow: hidden; padding: 18px 0; background: var(--acento); color: var(--acento-texto); }
.cinta__pista { display: flex; gap: 30px; width: max-content; animation: cinta 36s linear infinite; }
.cinta span { font-family: var(--fuente-titulo); font-size: 1.5rem; white-space: nowrap; }
.cinta i { font-style: normal; align-self: center; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Secciones */
.nosotros, .servicios, .especial, .galeria, .opiniones, .visitanos { padding: 120px 0; position: relative; }
.encabezado-seccion { margin-bottom: 56px; max-width: 760px; }
.encabezado-seccion h2 { margin: 0; }
.encabezado-seccion__intro { margin: 18px 0 0; color: var(--texto-suave); font-size: 1.1rem; max-width: 60ch; }
.encabezado-seccion--fila { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.nosotros__fila, .especial__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.especial__fila { grid-template-columns: 1fr 1fr; }
.nosotros__fotos, .especial__fotos { position: relative; padding: 0 0 90px 0; }
.nosotros__fotos figure, .especial__fotos figure { margin: 0; overflow: hidden; }
.nosotros__f1, .especial__f1 { width: 78%; aspect-ratio: 4 / 5; }
.nosotros__f2, .especial__f2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; }
.nosotros__fotos img, .especial__fotos img { width: 100%; height: 100%; object-fit: cover; }
.nosotros__fotos:not(:has(.nosotros__f2)), .especial__fotos:not(:has(.especial__f2)) { padding: 0; }
.nosotros__fotos:not(:has(.nosotros__f2)) .nosotros__f1, .especial__fotos:not(:has(.especial__f2)) .especial__f1 { width: 100%; }
.nosotros__texto > p:not(.sobretitulo), .especial__texto > p:not(.sobretitulo) { color: var(--texto-suave); font-size: 1.08rem; max-width: 54ch; }
.extras { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.extras li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: .9rem; font-weight: 600; }
.extras .ico { width: 18px; height: 18px; color: var(--acento); }
.extras--lista { flex-direction: column; gap: 4px; margin-bottom: 34px; }
.extras--lista li { padding: 6px 0; background: none !important; border: 0 !important; }

/* Servicios */
.servicios__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.serv { position: relative; }
.serv h3 { font-size: 1.35rem; margin: 0 0 6px; }
.serv p { margin: 0; color: var(--texto-suave); font-size: .98rem; }
.serv__ico { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; }
.serv__ico .ico { width: 28px; height: 28px; }
.serv__img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; }
.serv__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.serv:hover .serv__img img { transform: scale(1.06); }
.serv__num { display: none; }
.serv__mini { display: none; }
.servicios__nota { margin: 40px 0 0; color: var(--texto-suave); text-align: center; }

/* Galería */
.mosaico { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; grid-auto-flow: dense; gap: 16px; }
.mosaico__item { position: relative; margin: 0; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--fondo-2); font: inherit; }
.mosaico__item.m-alto { grid-row: span 2; }
.mosaico__item.m-ancho { grid-column: span 2; }
.mosaico__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.22, .61, .36, 1); }
.mosaico__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .6)); opacity: 0; transition: opacity .5s; }
.mosaico__item span { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.mosaico__item:hover img, .mosaico__item:focus-visible img { transform: scale(1.06); }
.mosaico__item:hover::after, .mosaico__item:focus-visible::after, .mosaico__item:hover span, .mosaico__item:focus-visible span { opacity: 1; transform: none; }
.enlace-red { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; border-bottom: 2px solid var(--acento); padding-bottom: 6px; }

/* Opiniones */
.opiniones__fila { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: center; }
.opiniones__nota { text-align: center; padding: 44px 28px; }
.opiniones__num { display: block; font-family: var(--fuente-titulo); font-size: 5.6rem; line-height: 1; color: var(--titulos); }
.opiniones__estrellas { display: block; color: var(--estrella, #f5b301); letter-spacing: 5px; font-size: 1.4rem; margin: 10px 0; }
.opiniones__estrellas .media { background: linear-gradient(90deg, var(--estrella, #f5b301) 50%, var(--estrella-vacia, #ccc) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.opiniones__estrellas .vacia { color: var(--estrella-vacia, #ccc); }
.opiniones__nota p { margin: 0 0 14px; color: var(--texto-suave); }
.enlace-sub { color: var(--acento); text-decoration: none; font-weight: 700; font-size: .9rem; }
.testimonios { position: relative; }
.testimonios--rotar { padding-left: 20px; }
.comillas { position: absolute; left: -20px; top: -70px; font-family: var(--fuente-titulo); font-size: 11rem; line-height: 1; color: var(--acento); opacity: .22; }
.testimonios__pista { display: grid; }
.testimonio { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(14px); transition: opacity .8s, transform .8s; pointer-events: none; }
.testimonio.activo { opacity: 1; transform: none; pointer-events: auto; }
.testimonio p { font-family: var(--fuente-titulo); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.4; color: var(--titulos); margin: 0 0 22px; }
.testimonio footer { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--acento); font-weight: 600; }
.testimonios__puntos { display: flex; gap: 10px; margin-top: 30px; }
.testimonios__puntos button { width: 30px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: var(--linea); cursor: pointer; transition: background .4s, width .4s; }
.testimonios__puntos button[aria-selected="true"] { background: var(--acento); width: 50px; }
.testimonios--tarjetas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tarjeta-op { margin: 0; padding: 26px 26px 22px; display: flex; flex-direction: column; }
.tarjeta-op p { margin: 10px 0 18px; font-size: 1rem; color: var(--texto); flex: 1; }
.tarjeta-op__estrellas { color: var(--estrella, #f5b301); letter-spacing: 3px; }
.tarjeta-op footer { font-weight: 700; color: var(--titulos); display: flex; flex-direction: column; line-height: 1.3; }
.tarjeta-op footer span { font-weight: 400; font-size: .8rem; color: var(--texto-suave); }

/* Llamado */
.llamado { position: relative; padding: 140px 0; overflow: hidden; text-align: center; }
.llamado__fondo { position: absolute; inset: -18% 0; z-index: 0; }
.llamado__fondo img { width: 100%; height: 100%; object-fit: cover; }
.llamado::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.llamado__contenido { position: relative; z-index: 1; }
.llamado h2 { color: #fff; }
.llamado p { color: rgba(255, 255, 255, .88); font-size: 1.15rem; margin: 0 auto 34px; max-width: 46ch; }

/* Visítanos */
.visitanos__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.estado { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .9rem; font-weight: 700; color: var(--texto-suave); }
.estado::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #d64545; }
.estado--abierto { color: #1e9e57; }
.estado--abierto::before { background: #1e9e57; animation: latido 2s infinite; }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(30, 158, 87, .55); } 100% { box-shadow: 0 0 0 12px rgba(30, 158, 87, 0); } }
.horario { margin: 0 0 12px; border-top: 1px solid var(--linea); }
.horario > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 6px; border-bottom: 1px solid var(--linea); transition: background .3s; }
.horario dt { font-weight: 700; color: var(--titulos); }
.horario dd { margin: 0; color: var(--texto-suave); text-align: right; }
.horario > div.hoy { background: var(--hoy, rgba(0, 0, 0, .04)); padding-inline: 14px; }
.horario > div.hoy dt, .horario > div.hoy dd { color: var(--acento); }
.nota { font-size: .92rem; color: var(--texto-suave); margin: 0 0 28px; }
.contacto { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 14px; }
.contacto li { display: flex; gap: 14px; align-items: flex-start; }
.contacto .ico { color: var(--acento); margin-top: 4px; }
.contacto a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; overflow-wrap: anywhere; }
.contacto a:hover { color: var(--acento); border-color: var(--acento); }
.visitanos__mapa { position: relative; min-height: 440px; overflow: hidden; }
.visitanos__mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Pie */
.pie { padding: 70px 0 110px; text-align: center; }
.pie__fila { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pie__logo { width: 120px; height: auto; }
.pie__marca { font-family: var(--fuente-titulo); font-size: 1.8rem; margin: 0; }
.pie__redes { display: flex; gap: 12px; }
.pie__redes a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; transition: background .3s, color .3s; }
.pie p { margin: 0; font-size: .92rem; opacity: .8; }
.pie a { text-decoration: none; }
.pie__copy { font-size: .8rem !important; }

/* WhatsApp flotante */
.flotante { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #1fa855; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .3s; }
.flotante::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fa855; animation: onda 2.4s infinite; }
.flotante:hover { transform: scale(1.08); }
.flotante svg { width: 30px; height: 30px; fill: #fff; }
@keyframes onda { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* Visor de fotos */
.visor { position: fixed; inset: 0; z-index: 90; background: rgba(8, 8, 8, .94); display: grid; place-items: center; padding: 60px 70px; }
.visor[hidden] { display: none; }
.visor img { max-height: 86vh; max-width: 100%; width: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.visor button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; line-height: 1; font-family: Arial, sans-serif; }
.visor__cerrar { top: 14px; right: 22px; font-size: 3rem; }
.visor__nav { top: 50%; transform: translateY(-50%); font-size: 4rem; padding: 10px; }
.visor__prev { left: 10px; }
.visor__sig { right: 10px; }

/* Revelados al hacer scroll */
.js [data-reveal="up"] { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform 1s cubic-bezier(.22, .61, .36, 1); }
.js [data-reveal="up"].visto { opacity: 1; transform: none; }
.js [data-reveal="mask"] > :first-child { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1); }
.js [data-reveal="mask"].visto > :first-child { clip-path: inset(0 0 0 0); }
.js [data-reveal="mask"] img { transform: scale(1.15); transition: transform 1.6s cubic-bezier(.22, .61, .36, 1); }
.js [data-reveal="mask"].visto img { transform: none; }
.js .mosaico__item[data-reveal="mask"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1); }
.js .mosaico__item[data-reveal="mask"].visto { clip-path: inset(0); }
.js .mosaico__item[data-reveal="mask"] > :first-child { clip-path: none; }
.js .mosaico__item.visto:hover img { transform: scale(1.06); }
.js .btn[data-reveal] { transition: opacity .9s, transform 1s, box-shadow .3s, background .3s, color .3s; }
[data-delay="1"] { transition-delay: .1s !important; }
[data-delay="2"] { transition-delay: .2s !important; }
[data-delay="3"] { transition-delay: .3s !important; }
[data-delay="4"] { transition-delay: .4s !important; }
.js [data-reveal="mask"][data-delay="2"] > :first-child { transition-delay: .2s; }

/* Tableta */
@media (max-width: 980px) {
  .hamburguesa { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 60;
    flex-direction: column; justify-content: center; gap: 22px;
    clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path .7s cubic-bezier(.77, 0, .18, 1);
  }
  .nav a { font-size: 1.6rem; }
  .nav__cta { font-size: 1rem !important; margin-top: 10px; padding: 14px 26px; }
  .menu-abierto .nav { clip-path: circle(150% at calc(100% - 44px) 40px); }
  .menu-abierto .cabecera { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .hero__fila, .nosotros__fila, .especial__fila, .opiniones__fila, .visitanos__fila { grid-template-columns: 1fr; gap: 54px; }
  .hero__foto { max-width: 560px; width: 100%; justify-self: center; }
  .nosotros__fotos, .especial__fotos { max-width: 560px; }
  .mosaico { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .visitanos__mapa { min-height: 360px; }
}

/* Celular */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .marco { width: calc(100% - 32px); }
  .marca__nombre { font-size: 1.2rem; }
  .marca__sub { letter-spacing: .2em; }
  .nosotros, .servicios, .especial, .galeria, .opiniones, .visitanos { padding: 84px 0; }
  .hero__lema { font-size: 1.05rem; }
  .hero__botones .btn { flex: 1 1 100%; }
  .hero__datos li { padding: 0 14px; }
  .hero__datos strong { font-size: 1.8rem; }
  .hero__datos span { font-size: .66rem; letter-spacing: .08em; }
  .hero--completa { padding: 120px 0 90px; }
  .hero__bajar { display: none; }
  .cinta span { font-size: 1.2rem; }
  .nosotros__fotos, .especial__fotos { padding-bottom: 60px; }
  .servicios__lista { grid-template-columns: 1fr; }
  .mosaico { grid-auto-rows: 160px; gap: 8px; }
  .mosaico__item.m-ancho { grid-column: span 2; }
  .mosaico__item span { opacity: 1; transform: none; font-size: .9rem; left: 10px; bottom: 8px; }
  .mosaico__item::after { opacity: 1; }
  .opiniones__num { font-size: 4.4rem; }
  .comillas { font-size: 7rem; top: -40px; left: -8px; }
  .testimonios--tarjetas { grid-template-columns: 1fr; }
  .llamado { padding: 100px 0; }
  .horario > div { padding: 12px 4px; }
  .visor { padding: 50px 10px; }
  .visor__nav { font-size: 3rem; }
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal] > :first-child, .js .mosaico__item[data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal] img { transform: none !important; }
  .js .linea > span { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Tema veterinaria: cálido, redondeado y amigable ===== */
.tema-vet { --radio: 28px; --radio-btn: 999px; --estrella-vacia: #e3dccf; }
.tema-vet h1, .tema-vet h2, .tema-vet h3 { font-weight: 600; letter-spacing: -.01em; }
.tema-vet h2 em, .tema-vet h1 em { color: var(--acento); }
.tema-vet .sobretitulo { padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--fondo-2); color: var(--acento-oscuro, var(--acento)); letter-spacing: .08em; font-size: .78rem; }
.tema-vet .sobretitulo::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12.3c-2.7 0-6.2 3.9-6.2 6.6 0 1.6 1.1 2.6 2.7 2.6 1.4 0 2.3-.8 3.5-.8s2.1.8 3.5.8c1.6 0 2.7-1 2.7-2.6 0-2.7-3.5-6.6-6.2-6.6zM6.1 11.9c1.2-.4 1.6-2 1-3.5-.6-1.6-2.1-2.5-3.3-2.1-1.2.4-1.6 2-1 3.5.6 1.6 2.1 2.5 3.3 2.1zm3.6-1.6c1.5 0 2.6-1.6 2.6-3.6S11.2 3 9.7 3 7.1 4.6 7.1 6.7s1.1 3.6 2.6 3.6zm4.6 0c1.5 0 2.6-1.6 2.6-3.6S15.8 3 14.3 3s-2.6 1.6-2.6 3.7 1.1 3.6 2.6 3.6zm6.9-1.4c.6-1.5.2-3.1-1-3.5-1.2-.4-2.7.5-3.3 2.1-.6 1.5-.2 3.1 1 3.5 1.2.4 2.7-.5 3.3-2.1z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12.3c-2.7 0-6.2 3.9-6.2 6.6 0 1.6 1.1 2.6 2.7 2.6 1.4 0 2.3-.8 3.5-.8s2.1.8 3.5.8c1.6 0 2.7-1 2.7-2.6 0-2.7-3.5-6.6-6.2-6.6zM6.1 11.9c1.2-.4 1.6-2 1-3.5-.6-1.6-2.1-2.5-3.3-2.1-1.2.4-1.6 2-1 3.5.6 1.6 2.1 2.5 3.3 2.1zm3.6-1.6c1.5 0 2.6-1.6 2.6-3.6S11.2 3 9.7 3 7.1 4.6 7.1 6.7s1.1 3.6 2.6 3.6zm4.6 0c1.5 0 2.6-1.6 2.6-3.6S15.8 3 14.3 3s-2.6 1.6-2.6 3.7 1.1 3.6 2.6 3.6zm6.9-1.4c.6-1.5.2-3.1-1-3.5-1.2-.4-2.7.5-3.3 2.1-.6 1.5-.2 3.1 1 3.5 1.2.4 2.7-.5 3.3-2.1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tema-vet .btn--secundario { color: var(--titulos); border-color: var(--linea); background: var(--superficie); }
.tema-vet .btn--secundario:hover { border-color: var(--titulos); background: var(--titulos); color: #fff; }

/* Cabecera */
.tema-vet .cabecera { color: var(--titulos); }
.tema-vet .cabecera.solida { background: color-mix(in srgb, var(--fondo) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 30px -18px rgba(23, 50, 77, .35); }
.tema-vet .marca__nombre { color: var(--titulos); }
.tema-vet .marca__sub { color: var(--acento); opacity: 1; font-weight: 700; }
.tema-vet .marca__logo { box-shadow: 0 0 0 3px var(--superficie), 0 6px 16px -6px rgba(0, 0, 0, .3); }
@media (max-width: 980px) { .tema-vet .nav { background: var(--fondo); } .tema-vet .nav a { font-family: var(--fuente-titulo); } }

/* Portada */
.tema-vet .hero { padding: 150px 0 110px; background:
  radial-gradient(48% 60% at 92% 18%, color-mix(in srgb, var(--acento-2) 28%, transparent), transparent 70%),
  radial-gradient(40% 50% at 0% 100%, color-mix(in srgb, var(--acento) 16%, transparent), transparent 70%), var(--fondo); }
.tema-vet .hero__titulo { color: var(--titulos); }
.tema-vet .hero__marco { aspect-ratio: 1 / 1.05; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: 0 30px 60px -30px rgba(23, 50, 77, .45); animation: forma 14s ease-in-out infinite alternate; }
@keyframes forma { to { border-radius: 56% 44% 52% 48% / 44% 56% 46% 54%; } }
.tema-vet .hero__foto::before { content: ""; position: absolute; inset: 6% -4% -4% 8%; border-radius: 50%; background: var(--acento-2); opacity: .55; z-index: -1; filter: blur(2px); }
.tema-vet .hero__mini { position: absolute; left: -26px; bottom: 6%; width: 34%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--fondo); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); }
.tema-vet .hero__mini img { width: 100%; height: 100%; object-fit: cover; }
.tema-vet .hero__sello { position: absolute; right: -6px; top: 10%; padding: 14px 18px; border-radius: 20px; background: var(--superficie); color: var(--titulos); font-weight: 800; line-height: 1.2; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .45); animation: flotar 5s ease-in-out infinite alternate; font-size: .95rem; max-width: 190px; }
.tema-vet .hero__sello em { display: block; font-style: normal; color: var(--acento); font-size: 1.5rem; font-family: var(--fuente-titulo); }
@keyframes flotar { to { transform: translateY(-12px); } }
.tema-vet .hero__datos li { border-color: var(--linea); }
.tema-vet .hero__datos strong { color: var(--acento); }

/* Nosotros */
.tema-vet .nosotros { background: var(--superficie); border-radius: 48px 48px 0 0; }
.tema-vet .nosotros__f1, .tema-vet .especial__f1 { border-radius: var(--radio); }
.tema-vet .nosotros__f2, .tema-vet .especial__f2 { border-radius: 50%; aspect-ratio: 1; border: 8px solid var(--superficie); }
.tema-vet .especial__f2 { border-color: var(--fondo-2); }
.tema-vet .extras li { background: var(--fondo-2); border-radius: 999px; color: var(--titulos); }

/* Servicios */
.tema-vet .servicios { background: var(--fondo); }
.tema-vet .encabezado-seccion { text-align: center; margin-inline: auto; }
.tema-vet .encabezado-seccion__intro { margin-inline: auto; }
.tema-vet .encabezado-seccion--fila { text-align: left; }
.tema-vet .serv { padding: 30px 28px; background: var(--superficie); border-radius: var(--radio); box-shadow: 0 1px 0 var(--linea), 0 20px 40px -32px rgba(23, 50, 77, .5); transition: transform .4s, box-shadow .4s; }
.tema-vet .serv:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--linea), 0 30px 50px -30px rgba(23, 50, 77, .55); }
.tema-vet .serv__ico { border-radius: 20px; background: var(--fondo-2); color: var(--acento); transition: transform .4s, background .4s, color .4s; }
.tema-vet .serv:hover .serv__ico { transform: rotate(-8deg) scale(1.06); background: var(--acento); color: var(--acento-texto); }
.tema-vet .serv:nth-child(3n+2) .serv__ico { background: color-mix(in srgb, var(--acento-2) 30%, transparent); color: var(--acento-2-oscuro, var(--titulos)); }
.tema-vet .serv__img { border-radius: 20px; margin: -10px -10px 18px; }

/* Especial */
.tema-vet .especial { background: var(--fondo-2); }

/* Galería */
.tema-vet .galeria { background: var(--superficie); }
.tema-vet .mosaico__item { border-radius: 22px; }
.tema-vet .mosaico__item span { font-family: var(--fuente-titulo); font-weight: 600; font-size: 1.1rem; }

/* Opiniones */
.tema-vet .opiniones { background: var(--fondo); }
.tema-vet .opiniones__nota { background: var(--acento); color: var(--acento-texto); border-radius: var(--radio); box-shadow: 0 30px 60px -36px var(--acento); }
.tema-vet .opiniones__num, .tema-vet .opiniones__nota strong { color: var(--acento-texto); }
.tema-vet .opiniones__nota p { color: color-mix(in srgb, var(--acento-texto) 85%, transparent); }
.tema-vet .opiniones__nota .enlace-sub { color: var(--acento-texto); text-decoration: underline; text-underline-offset: 4px; }
.tema-vet .opiniones__estrellas .vacia { color: rgba(255, 255, 255, .35); }
.tema-vet .opiniones__estrellas .media { background: linear-gradient(90deg, var(--estrella, #f5b301) 50%, rgba(255, 255, 255, .35) 50%); -webkit-background-clip: text; background-clip: text; }
.tema-vet .tarjeta-op { background: var(--superficie); border-radius: 24px; box-shadow: 0 20px 40px -34px rgba(23, 50, 77, .6); border: 1px solid var(--linea); }
.tema-vet .tarjeta-op:nth-child(odd) { transform: rotate(-.6deg); }
.tema-vet .tarjeta-op:nth-child(even) { transform: rotate(.6deg); }
.tema-vet .tarjeta-op.visto { transition: opacity .9s, transform 1s; }

/* Llamado */
.tema-vet .llamado { margin: 0 24px; border-radius: 40px; }
.tema-vet .llamado::after { background: linear-gradient(120deg, color-mix(in srgb, var(--oscuro) 88%, transparent), color-mix(in srgb, var(--acento) 70%, transparent)); }

/* Visítanos */
.tema-vet .visitanos { background: var(--fondo); }
.tema-vet .horario { border: 0; background: var(--superficie); border-radius: 22px; padding: 8px 18px; box-shadow: 0 20px 40px -34px rgba(23, 50, 77, .5); }
.tema-vet .horario > div:last-child { border-bottom: 0; }
.tema-vet .horario > div.hoy { background: var(--fondo-2); border-radius: 12px; }
.tema-vet .visitanos__mapa { border-radius: var(--radio); box-shadow: 0 30px 60px -36px rgba(23, 50, 77, .55); }

/* Pie */
.tema-vet .pie { background: var(--oscuro); color: #fff; border-radius: 48px 48px 0 0; margin-top: 40px; }
.tema-vet .pie__logo { border-radius: 50%; background: #fff; padding: 6px; }
.tema-vet .pie__marca { color: #fff; }
.tema-vet .pie__redes a { border-color: rgba(255, 255, 255, .35); }
.tema-vet .pie__redes a:hover { background: #fff; color: var(--oscuro); }

@media (max-width: 980px) {
  .tema-vet .hero { padding: 120px 0 80px; }
  .tema-vet .hero__mini { left: 0; }
  .tema-vet .hero__sello { right: 0; }
}
@media (max-width: 600px) {
  .tema-vet .llamado { margin: 0 12px; border-radius: 28px; }
  .tema-vet .nosotros, .tema-vet .pie { border-radius: 30px 30px 0 0; }
  .tema-vet .serv { padding: 24px 22px; }
  .tema-vet .hero__sello { font-size: .82rem; padding: 10px 14px; }
  .tema-vet .hero__sello em { font-size: 1.2rem; }
}

/* Ajustes propios de este negocio */
.tema-vet h1, .tema-vet h2 { font-weight: 600; letter-spacing: -.02em; }
.tema-vet .hero__titulo { font-size: clamp(2.6rem, 5.8vw, 4.9rem); }
