/* 1. Design tokens: marca en modo oscuro. Ajusta estos valores para cambiar
   el tema sin tener que editar cada componente por separado. */
:root {
  color-scheme: dark;
  --bg: #111416;
  --surface: #1a2022;
  --surface-raised: #232a2d;
  --ink: #f7f5ef;
  --muted: #b7c0c2;
  --line: #354044;
  --pink: #f06ba6;
  --yellow: #ffc928;
  --sky: #65c9ed;
  --green: #4ba66d;
  --purple: #aa86db;
  --blue: #28548e;
  --paper: #fffdf7;
  --shadow: 0 22px 55px #0006;
  --focus: #ffd95c;
}

/* 2. Base y accesibilidad: contraste, foco de teclado y movimiento reducido. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Fraunces, serif; letter-spacing: -.045em; }
.wrap { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sky);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { width: 19px; height: 1px; background: var(--pink); content: ''; }

/* 3. Barra informativa y navegación. El CTA conserva un color vivo para destacar
   sobre el fondo oscuro y llevar directamente a WhatsApp. */
.topline {
  padding: 9px 14px;
  background: #090b0c;
  color: #f9f6e9;
  font-size: 12px;
  letter-spacing: .08em;
  text-align: center;
}
.topline b { color: var(--yellow); }
header.wrap {
  position: relative;
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font: 700 21px Fraunces, serif; letter-spacing: -.04em; }
.brand-logo {
  /* El emblema va separado del nombre para que ambos sigan legibles al reducir. */
  width: 58px;
  height: 52px;
  border: 1px solid #ffffff70;
  border-radius: 12px;
  background: #cdecf4;
  object-fit: contain;
}
.brand-name { display: flex; align-items: baseline; gap: 7px; }
.brand-subtitle { color: var(--sky); font: 700 9px 'DM Sans', sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #e0e6e2; font-size: 13px; font-weight: 600; }
.nav-links a, .contact-line a { transition: color .2s ease; }
.nav-links a:hover, .contact-line a:hover { color: var(--yellow); }
.nav-cta, .btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta, .btn-dark { background: var(--pink); color: #1c1118; box-shadow: 0 8px 22px #f06ba62b; }
.nav-cta:hover, .btn-dark:hover { transform: translateY(-2px); background: #ff82b8; box-shadow: var(--shadow); }
.btn-services { border-color: #59666a; background: #ffffff08; color: var(--ink); }
.btn-services:hover, .btn-call:hover { transform: translateY(-2px); border-color: var(--sky); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); }

/* 4. Hero: fotografía con velo oscuro para que los rótulos sigan legibles. */
.hero { position: relative; overflow: hidden; padding: 58px 0 68px; background: radial-gradient(ellipse at 92% 18%, #65c9ed1c, transparent 28%), var(--bg); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 45px; }
h1 { max-width: 560px; margin: 19px 0 21px; font-size: clamp(48px, 6vw, 76px); line-height: .99; }
h1 em { color: var(--pink); font-style: normal; }
.hero-copy > p { max-width: 455px; margin-bottom: 27px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 11px; }
.faces { display: flex; padding-left: 4px; }
.faces i { display: grid; width: 28px; height: 28px; margin-left: -5px; place-items: center; border: 2px solid var(--bg); border-radius: 50%; background: var(--surface-raised); font-size: 14px; font-style: normal; }
.hero-art {
  position: relative;
  height: 482px;
  overflow: hidden;
  border-radius: 230px 230px 34px 34px;
  background: #2c5263;
  box-shadow: var(--shadow);
}
.hero-video { position: absolute; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; inset: 0; }
.hero-art::before, .hero-art::after { display: none; }
.hero-sticker { position: absolute; z-index: 2; padding: 16px 19px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); color: #24364a; }
.sticker-top { top: 40px; left: -18px; transform: rotate(-4deg); }
.sticker-bottom { right: -10px; bottom: 29px; transform: rotate(3deg); }
.hero-sticker small, .story-tag small { display: block; color: #5f6d71; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-sticker strong { font: 700 20px Fraunces, serif; }
.hero-caption { position: absolute; z-index: 2; bottom: 27px; left: 28px; color: white; }
.hero-caption small { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.hero-caption strong { display: block; font: 700 25px Fraunces, serif; }
.paw { position: absolute; width: 40px; aspect-ratio: 1; background: currentColor; color: var(--pink); opacity: .45; }
.paw.one { top: 70px; right: 5%; transform: rotate(22deg); }
.paw.two { bottom: 50px; left: 3%; transform: rotate(-15deg); }

/* 5. Beneficios rápidos y servicios: los tres tonos pastel del volante aparecen
   como acentos sobre tarjetas oscuras, no como grandes bloques saturados. */
.intro-strip { padding: 16px 0; border-block: 1px solid var(--line); background: #171c1e; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.strip-inner span { display: flex; align-items: center; gap: 10px; color: #e2e8e4; font-size: 12px; font-weight: 600; }
.strip-inner i { color: var(--yellow); font-size: 19px; font-style: normal; }
.section { padding: 96px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section h2 { margin: 13px 0 0; font-size: clamp(36px, 4vw, 52px); line-height: 1.04; }
.section-head p { max-width: 370px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 325px; overflow: hidden; padding: 25px; border: 1px solid var(--line); border-radius: 23px; background: var(--surface); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #67767a; box-shadow: var(--shadow); }
.service-card:nth-child(1) { --service-accent: var(--pink); --service-wash: #f06ba61e; }
.service-card:nth-child(2) { --service-accent: var(--sky); --service-wash: #65c9ed1e; }
.service-card:nth-child(3) { --service-accent: var(--yellow); --service-wash: #ffc9281e; }
.card-number { position: absolute; top: 18px; right: 20px; color: #aeb9b5; font: 700 13px Fraunces, serif; }
.service-icon { display: grid; width: 48px; height: 48px; margin-bottom: 24px; place-items: center; border-radius: 16px; background: var(--service-wash); font-size: 23px; }
.service-card h3 { margin: 0 0 9px; font: 700 25px Fraunces, serif; }
.service-card p { max-width: 270px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.service-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 7px; color: var(--service-accent); font-size: 12px; font-weight: 700; }
.card-deco { position: absolute; right: -14px; bottom: -21px; width: 116px; height: 116px; border-radius: 50%; background: var(--service-wash); }

/* 6. La experiencia: bloque azul profundo separa la historia del resto del sitio. */
.story { overflow: hidden; padding: 84px 0; background: linear-gradient(135deg, #152b3e, #1c4160); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; }
.story h2 { margin: 15px 0 19px; font-size: clamp(38px, 5vw, 60px); line-height: 1.04; }
/* El bloque azul es oscuro; fija un tono claro para que no herede el texto
   marino del tema claro en el titulo y los nombres de cada momento del dia. */
.story h2, .story .day-row strong { color: #fff; }
.story .eyebrow { color: var(--yellow); }
.story p { max-width: 470px; color: #d0dadc; font-size: 14px; line-height: 1.8; }
.day-list { display: grid; margin-top: 27px; }
.day-row { display: grid; grid-template-columns: 72px 1fr; gap: 15px; padding: 13px 0; border-top: 1px solid #ffffff24; }
.day-row time { padding-top: 3px; color: var(--yellow); font-size: 11px; font-weight: 700; }
.day-row strong { display: block; margin-bottom: 4px; font-size: 13px; }
.day-row span { color: #cad6d8; font-size: 11px; }
.story-image { position: relative; height: 470px; border-radius: 180px 180px 24px 24px; background: linear-gradient(180deg, #10141600 48%, #101416a8), url('assets/gallery/hotel/hotel-01.webp') center / cover; box-shadow: var(--shadow); }
.story-tag { position: absolute; bottom: 30px; left: -25px; padding: 16px 21px; border-radius: 17px; background: var(--yellow); color: #25313b; transform: rotate(-4deg); }
.story-tag strong { font: 700 20px Fraunces, serif; }

/* 7. Tarifas: cifras legibles, servicio ordenado por tipo y llamadas a WhatsApp. */
.tariff { position: relative; overflow: hidden; background: #151a1c; }
.tariff .wrap { position: relative; z-index: 1; }
.tariff-heading { max-width: 640px; margin: 0 auto 42px; text-align: center; }
.tariff-heading .eyebrow { justify-content: center; }
.tariff-heading h2 { margin: 15px 0; font-size: clamp(40px, 5vw, 62px); }
/* Refuerza la lectura de tarifas: las condiciones y etiquetas ya no dependen
   de texto diminuto para caber dentro de las tarjetas. */
.tariff-heading p { max-width: 500px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.75; }
.tariff-top { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.tariff-card, .tariff-spa { border: 1px solid var(--line); border-radius: 25px; background: var(--surface); }
.tariff-card { position: relative; overflow: hidden; padding: 29px; }
/* Las dos tarifas principales usan escenas distintas y el mismo recorte para
   que Guarderia se sienta activa y Pension transmita descanso. */
.tariff-photo { height: 172px; margin: -29px -29px 22px; overflow: hidden; border-radius: 24px 24px 0 0; background: #eaf7fb; }
.tariff-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tariff-card:hover .tariff-photo img { transform: scale(1.04); }
.tariff-card.dark { border-color: var(--blue); background: var(--blue); color: #fff; }
.tariff-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.tariff-icon { display: grid; width: 49px; height: 49px; place-items: center; border-radius: 17px; background: #ffffff1c; font-size: 23px; }
.tariff-label { color: #c1ccca; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dark .tariff-label { color: #e1ecf6; }
.tariff-card h3, .spa-title h3 { margin: 5px 0 0; font: 700 27px Fraunces, serif; }
.tariff-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 9px; }
.tariff-price b { color: var(--yellow); font: 700 54px/1 Fraunces, serif; letter-spacing: -.06em; }
.tariff-price span { color: #ccd5d1; font-size: 14px; }
.tariff-detail { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tariff-card.dark .tariff-detail { color: #e0eaf2; }
.tariff-cta { display: inline-flex; gap: 8px; margin-top: 20px; color: var(--yellow); font-size: 13px; font-weight: 700; }
.tariff-card:not(.dark) .tariff-cta { color: var(--pink); }
.tariff-spa { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; padding: 32px; }
.spa-title h3 { margin: 12px 0 7px; }
.spa-title p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.spa-extras { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.spa-extras span { padding: 9px 12px; border: 1px solid #ffc92840; border-radius: 99px; background: #ffc92816; color: #ffe08a; font-size: 12px; font-weight: 700; }
.spa-schedule { padding-left: 28px; border-left: 1px solid var(--line); }
.spa-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spa-row:first-child { padding-top: 2px; }
.spa-row:last-child { border-bottom: 0; }
.spa-row span { color: #d1d9d7; }
.spa-row b { color: var(--sky); font: 700 24px Fraunces, serif; }
.tariff-includes { margin-top: 13px; }
.tariff-note { max-width: 720px; margin: 20px auto 0; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
.tariff-flower { position: absolute; top: 8%; right: 4%; color: #f06ba61c; font-size: 105px; pointer-events: none; transform: rotate(20deg); }

/* 8. Conversión y contacto: WhatsApp y teléfono siempre visibles y diferenciados. */
.visit { padding: 93px 0; }
.visit-card { position: relative; display: grid; overflow: hidden; grid-template-columns: 1fr auto; align-items: center; gap: 35px; padding: 48px; border: 1px solid #65c9ed35; border-radius: 28px; background: linear-gradient(125deg, #1b3c50, #352638); }
.visit-card::after { position: absolute; top: -35px; right: 24%; opacity: .1; content: '🐾'; font-size: 170px; transform: rotate(-18deg); }
.visit h2 { margin: 13px 0; font-size: 45px; }
.visit p { max-width: 500px; margin: 0; color: #d5dadd; font-size: 14px; line-height: 1.65; }
.visit-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.btn-call { border-color: #68777c; background: #ffffff08; color: var(--ink); }
.contact { padding: 62px 0; background: #151a1c; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1160px; gap: 48px; }
.contact h2 { margin: 12px 0; font-size: 42px; }
.contact p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.contact-line { display: flex; align-items: center; gap: 13px; margin: 17px 0; font-size: 13px; }
.contact-line i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 12px; background: #65c9ed1c; color: var(--sky); font-style: normal; }
/* Iconos sociales vectoriales, legibles y consistentes en escritorio y móvil. */
.contact-social-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 12px; }
.contact-social-icon svg { display: block; width: 20px; height: 20px; }
.instagram-icon { background: #fce8f1; color: #c13584; }
.instagram-icon svg { fill: none; stroke: currentColor; stroke-width: 2; }
.instagram-icon .instagram-dot { fill: currentColor; stroke: none; }
.facebook-icon { background: #e7f0ff; color: #1877f2; }
.facebook-icon svg { fill: currentColor; }
.contact-social a { min-height: 34px; display: inline-flex; align-items: center; }
.map-embed { min-height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #eaf7fb; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 360px; border: 0; }
footer { padding: 24px 0; background: #090b0c; color: #cbd2d1; font-size: 11px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer-brand { color: #fff; font: 700 17px Fraunces, serif; }

/* 9. Navegación móvil: menú desplegable accesible y controles cómodos al tacto. */
@media (max-width: 820px) {
  .nav-links { gap: 18px; }
  .hero-grid { gap: 24px; }
  .hero-art { height: 410px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child { grid-column: span 2; min-height: 260px; }
  .story-grid { gap: 35px; }
  .story-image { height: 410px; }
  .strip-inner { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, 500px); }
  .topline { font-size: 10px; }
  header.wrap { min-height: 72px; height: auto; }
  .brand { gap: 7px; font-size: 18px; }
  .brand-logo { width: 46px; height: 42px; }
  .menu-toggle { display: block; margin-left: auto; margin-right: 9px; }
  .nav-cta { min-height: 42px; padding: 10px 12px; font-size: 10px; }
  .nav-links { position: absolute; z-index: 8; top: 72px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; animation: menu-in .18s ease-out both; }
  .nav-links a { padding: 12px 10px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .hero { padding: 38px 0 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 31px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .tariff-heading .eyebrow { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-buttons, .hero-note { justify-content: center; }
  .hero-art { width: calc(100% - 12px); height: 360px; margin: auto; border-radius: 180px 180px 27px 27px; }
  .sticker-top { top: 25px; left: -7px; }
  .sticker-bottom { right: -5px; bottom: 22px; }
  .hero-caption { bottom: 20px; left: 20px; }
  .hero-caption strong { font-size: 20px; }
  .strip-inner { gap: 12px 20px; }
  .strip-inner span { font-size: 10px; }
  .section { padding: 68px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 17px; }
  .service-grid, .tariff-top { grid-template-columns: 1fr; gap: 12px; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 250px; padding: 23px; }
  .story { padding: 65px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 35px; }
  .story-image { width: calc(100% - 12px); height: 340px; margin-left: 10px; border-radius: 145px 145px 22px 22px; }
  .story-tag { left: -8px; }
  .tariff-heading { margin-bottom: 28px; }
  .tariff-card { padding: 23px; }
  .tariff-photo { height: 150px; margin: -23px -23px 20px; }
  .tariff-spa { grid-template-columns: 1fr; gap: 19px; padding: 24px; }
  .spa-schedule { padding: 14px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .tariff-price b { font-size: 48px; }
  .visit { padding: 65px 0; }
  .visit-card { grid-template-columns: 1fr; gap: 22px; padding: 30px 24px; }
  .visit-card::after { top: -32px; right: -20px; }
  .visit h2 { font-size: 36px; }
  .visit-actions { display: grid; grid-template-columns: 1fr; }
  .visit-actions .btn { min-height: 48px; }
  .contact { padding: 55px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact h2 { font-size: 36px; }
  .footer-inner { flex-wrap: wrap; line-height: 1.6; }
  .footer-inner > span:last-child { width: 100%; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 26px); }
  .brand { font-size: 16px; }
  .brand-logo { width: 42px; height: 38px; }
  .nav-cta { padding-inline: 9px; font-size: 9px; }
  .menu-toggle { width: 38px; height: 38px; margin-right: 6px; }
  h1 { font-size: clamp(42px, 12vw, 50px); }
  .hero-art { height: 320px; }
  .sticker-bottom strong { font-size: 14px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
/* Reduce animaciones para visitantes que activaron esta preferencia en su sistema. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 10. Fondo claro y acentos vivos: el blanco deja respirar el logotipo y los
   colores de marca organizan la pagina sin convertirla en un bloque plano. */
:root {
  color-scheme: light;
  --bg: #fffefd;
  --surface: #ffffff;
  --surface-raised: #f2f8fa;
  --ink: #24364a;
  --muted: #65727b;
  --line: #dfe7e9;
  --pink: #e95b9b;
  --yellow: #f3b918;
  --sky: #36a9d5;
  --green: #438b56;
  --purple: #7650a2;
  --blue: #28548e;
  --paper: #fffdf7;
  --shadow: 0 18px 42px #1d3d4c14;
  --focus: #7650a2;
}
body { background: var(--bg); color: var(--ink); }
.topline { background: #24364a; }
header.wrap { border-color: #e7edef; }
.nav-links { color: #3e5261; }
.brand-logo { background: #eaf8fc; }
.hero { background: radial-gradient(ellipse at 88% 15%, #65c9ed24, transparent 28%), radial-gradient(ellipse at 12% 83%, #f06ba614, transparent 25%), #fffefd; }
.hero-copy > p { color: #5e6c74; }
.faces i { border-color: #fffefd; background: #f0f7fa; }
.paw.one { color: var(--purple); }
.paw.two { color: var(--yellow); }
.intro-strip { border-color: #d5eaf2; background: #eaf7fb; }
.strip-inner span { color: #385061; }
.strip-inner i { color: var(--pink); }
.service-card { border-color: #e2e9e7; box-shadow: 0 10px 26px #1d3d4c08; }
.service-card:nth-child(1) { --service-accent: #d84486; --service-wash: #fce4ef; background: #fff7fa; border-top: 3px solid var(--pink); }
.service-card:nth-child(2) { --service-accent: #2684a7; --service-wash: #dff3fa; background: #f4fbfd; border-top: 3px solid var(--sky); }
.service-card:nth-child(3) { --service-accent: #8a6700; --service-wash: #fff0bd; background: #fffaf0; border-top: 3px solid var(--yellow); }
.service-card:nth-child(1) .card-number { color: #bb4c80; }
.service-card:nth-child(2) .card-number { color: #327d99; }
.service-card:nth-child(3) .card-number { color: #967516; }
.service-card:hover { border-color: #c5d5d8; box-shadow: var(--shadow); }
.card-deco { background: var(--service-wash); }
.story { background: linear-gradient(135deg, #152b3e, #1c4160); }
.tariff { background: #f4f8f8; }
.tariff-heading p { color: #5e6c74; }
.tariff-card, .tariff-spa { border-color: #dde7e8; box-shadow: 0 12px 30px #1d3d4c0c; }
.tariff-card:not(.dark) { background: #fff; }
.tariff-card.dark { background: linear-gradient(145deg, #28548e, #356eaa); }
.tariff-label { color: #65747a; }
.tariff-price span { color: #65747a; }
.tariff-detail, .spa-title p, .tariff-note { color: #5e6c74; }
.tariff-card.dark .tariff-detail, .dark .tariff-price span { color: #e7f1f9; }
.tariff-spa { background: #fff; }
.spa-extras span { border-color: #f1d77b; background: #fff7d9; color: #6b571c; }
.spa-row { border-color: #e5ebeb; }
.spa-row span { color: #52636b; }
.spa-row b { color: #28548e; }
.tariff-flower { color: #e95b9b20; }
.visit-card { border-color: #f3d0df; background: linear-gradient(120deg, #ffe8f1, #e6f7fc 58%, #fff5cf); }
.visit p { color: #4d5b62; }
.contact { background: #fffefd; }
.contact p { color: #5e6c74; }
.contact-line i { background: #e5f5fb; color: #28548e; }
.eyebrow { color: #16718f; }
.card-number { color: #63737b; }
.tariff-card:not(.dark) .tariff-price b { color: #8a6700; }
.map-embed { border-color: #d7eaf0; }
.btn-call { border-color: #b9dce8; background: #fff; color: #24364a; }
.btn-call:hover { background: #eff9fc; }
footer { background: #172a3b; }

/* Las tarjetas conservan su contraste y sus botones siguen siendo cómodos en móvil. */
@media (max-width: 620px) {
  .service-card:nth-child(1), .service-card:nth-child(2), .service-card:nth-child(3) { border-top-width: 3px; }
  .tariff-card, .tariff-spa { box-shadow: 0 8px 22px #1d3d4c0b; }
  .map-embed { min-height: 300px; }
  .map-embed iframe { height: 300px; }
}

/* Huellas ornamentales inspiradas en el emblema: la mascara vectorial evita
   depender de emojis, imagenes externas o fuentes instaladas en cada equipo. */
.hero::after,
#servicios::after,
.story::after,
.tariff::before,
.contact::before {
  position: absolute;
  z-index: 0;
  width: 68px;
  aspect-ratio: 1;
  background: var(--paw-tint, #28548e);
  content: '';
  opacity: .10;
  pointer-events: none;
  /* Un SVG local define la silueta, y el color viene de cada seccion. */
  -webkit-mask: url('assets/paw-print.svg') center / contain no-repeat;
  mask: url('assets/paw-print.svg') center / contain no-repeat;
}

/* Cada seccion recibe una sola marca y mantiene su contenido sobre la capa decorativa. */
.paw { z-index: 1; background: currentColor; -webkit-mask: url('assets/paw-print.svg') center / contain no-repeat; mask: url('assets/paw-print.svg') center / contain no-repeat; }
.tariff-flower { width: 78px; height: 78px; background: #e95b9b; color: transparent; font-size: 0; opacity: .12; -webkit-mask: url('assets/paw-print.svg') center / contain no-repeat; mask: url('assets/paw-print.svg') center / contain no-repeat; }
.hero { isolation: isolate; }
.hero-grid { z-index: 1; }
.hero::after { top: 13%; right: 42%; --paw-tint: #e95b9b; transform: rotate(-18deg); }
#servicios { position: relative; isolation: isolate; }
#servicios > .wrap { position: relative; z-index: 1; }
#servicios::after { right: 3%; bottom: 8%; --paw-tint: #36a9d5; transform: rotate(16deg); }
.story { position: relative; isolation: isolate; }
.story-grid { position: relative; z-index: 1; }
.story::after { top: 9%; right: 4%; --paw-tint: #fff; transform: rotate(18deg); }
.tariff { isolation: isolate; }
.tariff::before { top: 43%; left: 3%; --paw-tint: #e95b9b; transform: rotate(-16deg); }
.contact { position: relative; isolation: isolate; }
.contact > .wrap { position: relative; z-index: 1; }
.contact::before { top: 12%; left: 47%; --paw-tint: #36a9d5; transform: rotate(15deg); }

@media (max-width: 620px) {
  .hero::after, #servicios::after, .story::after, .tariff::before, .contact::before { width: 48px; opacity: .08; }
  .hero::after { top: 8%; right: 8%; }
  #servicios::after { right: 5%; bottom: 3%; }
  .story::after { top: 4%; right: 5%; }
  .tariff::before { top: 25%; left: 2%; }
  .contact::before { top: 45%; left: 2%; }
}

/* Las tarjetas completas enlazan al detalle: no hace falta acertar en el CTA. */
.service-card {
  display: block;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.service-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.service-card:active { transform: scale(.99); }
.service-card-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: var(--service-accent);
  font-size: 13px;
  font-weight: 700;
}
.service-card-link b { font-size: 17px; transition: transform .2s ease; }
.service-card:hover .service-card-link b,
.service-card:focus-visible .service-card-link b { transform: translateX(4px); }

/* El foco y la acción táctil siguen claros en tarjetas apiladas en móvil. */
@media (max-width: 620px) {
  .service-card, .service-card:last-child { min-height: 250px; }
  .service-card-link { min-height: 48px; font-size: 14px; }
}

/* Galerías con fotos locales optimizadas y recortes consistentes. */
.photo-gallery { padding: 76px 0; background: #f4f8f8; }
.birthday-gallery { background: #fffefd; }
.birthday-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 21vw, 270px); }
.birthday-photo-grid .photo-tile:first-child { grid-column: auto; grid-row: auto; }
.gallery-heading { max-width: 700px; margin: 0 auto 30px; text-align: center; }
.gallery-heading .eyebrow { justify-content: center; }
.gallery-heading h2 { margin: 12px 0; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.08; }
.gallery-heading p { max-width: 590px; margin: 0 auto; color: #5e6c74; font-size: 15px; line-height: 1.7; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 205px); gap: 14px; }
.photo-tile { position: relative; min-width: 0; overflow: hidden; margin: 0; border-radius: 18px; background: #eaf7fb; box-shadow: 0 12px 26px #1d3d4c12; isolation: isolate; }
.photo-tile:first-child { grid-column: span 2; grid-row: span 2; }
.photo-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.photo-tile:hover img { transform: scale(1.045); }
.photo-tile figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 34px 15px 14px; background: linear-gradient(transparent, #142638c9); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; }
.birthday-cta { display: flex; width: fit-content; margin: 27px auto 0; }

/* En móvil se apilan los mosaicos en dos columnas y se mantienen legibles. */
@media (max-width: 720px) {
  .photo-gallery { padding: 58px 0; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 11px; }
  .photo-tile:first-child { grid-column: span 2; grid-row: span 2; }
  .birthday-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .birthday-photo-grid .photo-tile:first-child { grid-column: auto; grid-row: auto; }
  .photo-tile { border-radius: 15px; }
  .photo-tile figcaption { padding: 30px 11px 11px; font-size: 12px; }
}
@media (max-width: 390px) {
  .photo-grid { grid-auto-rows: 145px; gap: 9px; }
  .gallery-heading { margin-bottom: 22px; }
}

/* Las fotos de tarifas conservan más contexto para evitar recortes de hocicos. */
.tariff-photo {
  height: auto;
  aspect-ratio: 2.1 / 1;
}
.tariff-photo img { object-position: center 42%; }
.tariff-card:first-child .tariff-photo img { object-position: center 38%; }
@media (max-width: 620px) {
  .tariff-photo { height: auto; aspect-ratio: 1.9 / 1; }
}

/* Las tarjetas de servicio combinan una foto propia con texto fácil de recorrer. */
.service-grid { align-items: stretch; gap: 20px; }
.service-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce8eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px #17384d0d;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--service-accent);
  box-shadow: 0 20px 42px #17384d1a;
}
.service-card-photo { position: relative; height: 205px; overflow: hidden; background: #eaf4f6; }
.service-card-photo::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, #132b3db8);
  content: '';
  pointer-events: none;
}
.service-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.service-card:hover .service-card-photo img,
.service-card:focus-visible .service-card-photo img { transform: scale(1.055); }
.card-number,
.service-photo-tag { position: absolute; z-index: 1; display: inline-flex; align-items: center; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.card-number { top: 14px; left: 14px; min-height: 30px; padding: 0 12px; background: #fff; color: #17364a; }
.service-photo-tag { right: 14px; bottom: 13px; left: 14px; color: #fff; font-size: 12px; letter-spacing: .025em; }
.service-card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 19px 21px 17px; }
.service-card-title { display: flex; align-items: center; gap: 11px; }
.service-card-title .service-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; margin: 0; border-radius: 13px; background: var(--service-wash); font-size: 19px; }
.service-card-title h3 { margin: 0; color: #1b3145; font-size: clamp(20px, 2vw, 24px); line-height: 1.15; }
.service-card-content p { margin: 12px 0 10px; color: #586975; font-size: 14px; line-height: 1.6; }
.service-card-link { min-height: 44px; margin-top: auto; padding-top: 8px; color: var(--service-accent); font-size: 13px; }
.service-card-link b { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--service-wash); }
.service-card:nth-child(1) { --service-accent: #b83f78; --service-wash: #fdeaf2; }
.service-card:nth-child(2) { --service-accent: #267f9d; --service-wash: #e6f5fa; }
.service-card:nth-child(3) { --service-accent: #9a7112; --service-wash: #fff4d9; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:last-child { grid-column: 1 / -1; }
  .service-card:last-child .service-card-photo { height: 230px; }
}
@media (max-width: 620px) {
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card,
  .service-card:last-child { min-height: 0; grid-column: auto; border-radius: 19px; }
  .service-card-photo,
  .service-card:last-child .service-card-photo { height: clamp(175px, 54vw, 220px); }
  .service-card-content { padding: 16px 18px 13px; }
  .service-card-title h3 { font-size: 21px; }
  .service-card-content p { font-size: 14px; }
  .service-card-link { min-height: 49px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card-photo img,
  .service-card-link b { transition: none; }
}

/* La foto de spa comparte el bloque con tarifas sin competir con sus cifras. */
.tariff-spa { grid-template-columns: .72fr .9fr 1.2fr; align-items: stretch; }
.spa-feature-photo {
  position: relative;
  min-width: 0;
  min-height: 320px;
  overflow: hidden;
  margin: 0;
  border-radius: 19px;
  background: #eaf4f6;
}
.spa-feature-photo::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, #132b3db8);
  content: '';
  pointer-events: none;
}
.spa-feature-photo img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center 40%; }
.spa-feature-photo figcaption { position: absolute; z-index: 1; right: 16px; bottom: 16px; left: 16px; color: #fff; font-size: 13px; font-weight: 700; }
@media (max-width: 900px) {
  .tariff-spa { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .spa-feature-photo { grid-column: 1 / -1; min-height: 260px; }
  .spa-feature-photo img { min-height: 260px; object-position: center 38%; }
}
@media (max-width: 620px) {
  .tariff-spa { grid-template-columns: 1fr; }
  .spa-feature-photo { min-height: 0; aspect-ratio: 1.25 / 1; }
  .spa-feature-photo img { min-height: 0; }
}

/* Navegación persistente: se oculta al bajar y regresa al iniciar el ascenso. */
html { scroll-padding-top: 100px; }
header.wrap.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 90px;
  background: var(--bg);
  box-shadow: 0 5px 18px #17384d08;
  transition: transform .25s ease, box-shadow .25s ease;
}
.site-header.is-hidden { transform: translateY(calc(-100% - 6px)); box-shadow: none; }
.site-header .brand { font-size: 23px; }
.site-header .brand-logo { width: 64px; height: 58px; }
.site-header .nav-links { gap: 34px; font-size: 14px; }
.site-header .nav-cta { min-height: 50px; padding-inline: 23px; font-size: 14px; }
@media (max-width: 820px) {
  .site-header .nav-links { gap: 18px; }
}
@media (max-width: 620px) {
  header.wrap.site-header { height: auto; min-height: 76px; }
  .site-header .brand { font-size: 19px; }
  .site-header .brand-logo { width: 50px; height: 46px; }
  .site-header .nav-cta { min-height: 44px; padding: 10px 12px; font-size: 11px; }
}
@media (max-width: 390px) {
  .site-header .nav-cta { padding-inline: 9px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
