/* Clínica Veterinaria Añaza — estilos
   Paleta del logotipo: magenta de la espiral, gris de «naz» y la huella, negro del rótulo.
   Planteamiento: clínica luminosa, mosaico (bento), tarjetas redondeadas y blancas. */
:root {
  --mag: #c8177a;
  --mag-deep: #a10f62;
  --ink: #1e1b1d;
  --grey: #77767a;
  --paper: #fbf8f9;
  --pearl: #efebed;
  --blush: #f8e6f0;
  --line: rgba(30, 27, 29, .1);
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 3.4vw, 3rem);
  --r: clamp(20px, 2.4vw, 36px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1; letter-spacing: -.025em; }
p { margin: 0; }
em { font-style: normal; color: var(--mag); }
svg use { pointer-events: none; }
::selection { background: var(--mag); color: #fff; }
:focus-visible { outline: 3px solid var(--mag); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.tag {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .38em .95em .38em .75em; border-radius: 999px;
  border: 1.5px solid rgba(200, 23, 122, .35); color: var(--mag);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 1.3rem;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag--light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.h2 { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 5.2rem); font-weight: 800; }

/* Botones */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .85em 1.45em; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--body);
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 56px; padding: 1em 1.7em; font-size: 1.05rem; }
.btn--mag { --bg: var(--mag); }
.btn--mag:hover { --bg: var(--ink); }
.btn--white { --bg: #fff; --fg: var(--mag-deep); }
.btn--white:hover { --bg: var(--ink); --fg: #fff; }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: rgba(30, 27, 29, .2); }
.btn--outline:hover { --bd: var(--mag); --fg: var(--mag); }

.logo-mask {
  display: block; aspect-ratio: 634 / 320; width: 160px; background: currentColor;
  -webkit-mask: url(../logo.svg) center / contain no-repeat; mask: url(../logo.svg) center / contain no-repeat;
}

/* ============ CABECERA: píldora flotante ============ */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: .8rem var(--gutter) 0; pointer-events: none; transition: transform .5s var(--ease); }
.top.is-hidden { transform: translateY(-120%); }
.top__pill {
  pointer-events: auto;
  max-width: 1120px; margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .45rem .45rem .45rem 1.1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 30px -12px rgba(30, 27, 29, .25);
  border: 1px solid rgba(30, 27, 29, .06);
}
.top__logo { display: block; width: clamp(86px, 7.6vw, 108px); flex: none; }
.top__logo img { width: 100%; height: auto; }
.top__nav { display: flex; gap: .2rem; margin-inline: auto; }
.top__nav a { text-decoration: none; font-weight: 500; font-size: .96rem; padding: .55rem .95rem; border-radius: 999px; transition: background .25s, color .25s; }
.top__nav a:hover { background: var(--blush); color: var(--mag-deep); }
.top__call { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1.2rem; border-radius: 999px; background: var(--mag); color: #fff; font-weight: 600; text-decoration: none; transition: background .25s; flex: none; }
.top__call:hover { background: var(--ink); }
.top__call svg { width: 17px; height: 17px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--pearl); color: var(--ink); cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* ============ PORTADA EN MOSAICO ============ */
.hero { max-width: var(--max); margin-inline: auto; padding: clamp(6.8rem, 10vw, 8.6rem) var(--gutter) clamp(2.5rem, 5vw, 4rem); }
.hero__title { font-size: clamp(3.1rem, 1rem + 8.4vw, 9.6rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero__title .line > span { display: inline-flex; align-items: center; gap: .18em; }
.hero__pill { display: inline-block; width: 1.9em; height: .82em; border-radius: 999px; overflow: hidden; background: var(--pearl); vertical-align: middle; position: relative; top: .04em; }
.hero__pill video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: clamp(.7rem, 1.2vw, 1.1rem); }
.tile { position: relative; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.tile--video { grid-column: 1 / span 7; grid-row: 1 / span 2; min-height: clamp(380px, 42vw, 600px); background: #9e2459; border: 0; }
.tile--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__tag { position: absolute; left: 1.1rem; bottom: 1.1rem; padding: .5rem .95rem; border-radius: 999px; background: rgba(255,255,255,.92); font-weight: 600; font-size: .9rem; }
.tile--intro { grid-column: 8 / span 5; padding: clamp(1.5rem, 2.6vw, 2.4rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem; }
.tile__lead { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.35; font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
.tile__ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.tile--estado, .tile--nota { padding: clamp(1.2rem, 2vw, 1.8rem); display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; text-decoration: none; }
.tile--estado { grid-column: 8 / span 3; background: var(--pearl); border: 0; }
.tile--nota { grid-column: 11 / span 2; background: var(--ink); color: #fff; border: 0; transition: background .3s; }
.tile--nota:hover { background: var(--mag); }
.tile__k { position: absolute; top: clamp(1.1rem, 1.8vw, 1.6rem); left: clamp(1.2rem, 2vw, 1.8rem); font-size: .85rem; font-weight: 600; opacity: .7; }
.tile__big { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.7rem); line-height: 1; letter-spacing: -.03em; margin-bottom: .35rem; }
.tile__big span { color: #ffc21a; font-size: .7em; margin-left: .1em; }
.tile__small { font-size: .92rem; opacity: .8; }
.tile__dot { position: absolute; top: clamp(1.2rem, 1.9vw, 1.7rem); right: clamp(1.2rem, 1.9vw, 1.7rem); width: 12px; height: 12px; border-radius: 50%; background: #b9b5b8; }
.tile--estado.is-open .tile__dot { background: #22c56b; animation: latido 2s infinite; }
.tile--estado.is-open .tile__big { color: #12894a; }
.tile--estado.is-closed .tile__big { color: var(--mag-deep); }
.tile__arrow { position: absolute; top: clamp(1rem, 1.7vw, 1.5rem); right: clamp(1rem, 1.7vw, 1.5rem); width: 26px; height: 26px; transition: transform .35s var(--ease); }
.tile--nota:hover .tile__arrow { transform: translate(3px, -3px); }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(34,197,107,.55); } 70% { box-shadow: 0 0 0 10px rgba(34,197,107,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,107,0); } }

/* ============ CINTA ============ */
.cinta { background: var(--mag); color: #fff; overflow: hidden; padding: 1rem 0; transform: rotate(-1.2deg); margin: 1.5rem -2vw; }
.cinta__track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: cinta 36s linear infinite; }
.cinta__track span { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); letter-spacing: -.02em; white-space: nowrap; }
.cinta__track i { width: 24px; height: 24px; flex: none; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6' cy='9' rx='2.2' ry='3'/%3E%3Cellipse cx='10.5' cy='5.5' rx='2.2' ry='3'/%3E%3Cellipse cx='15.5' cy='5.5' rx='2.2' ry='3'/%3E%3Cellipse cx='20' cy='9' rx='2.2' ry='3'/%3E%3Cpath d='M13 11c3 0 7 5 7 8s-3 3-4 3-2-1-3-1-2 1-3 1-4 0-4-3 4-8 7-8z'/%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%3Cellipse cx='6' cy='9' rx='2.2' ry='3'/%3E%3Cellipse cx='10.5' cy='5.5' rx='2.2' ry='3'/%3E%3Cellipse cx='15.5' cy='5.5' rx='2.2' ry='3'/%3E%3Cellipse cx='20' cy='9' rx='2.2' ry='3'/%3E%3Cpath d='M13 11c3 0 7 5 7 8s-3 3-4 3-2-1-3-1-2 1-3 1-4 0-4-3 4-8 7-8z'/%3E%3C/svg%3E") center/contain no-repeat; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ============ MANIFIESTO ============ */
.manifiesto { max-width: 1240px; margin-inline: auto; padding: clamp(5rem, 11vw, 10rem) var(--gutter) clamp(3rem, 6vw, 5rem); text-align: center; }
.manifiesto__text { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 1rem + 3.3vw, 4.2rem); line-height: 1.1; letter-spacing: -.03em; }
.manifiesto__text .w { opacity: .14; }
.manifiesto__text .w.is-mag { color: var(--mag); }

/* ============ SERVICIOS: tarjetas que se apilan ============ */
.servicios { max-width: var(--max); margin-inline: auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(4rem, 8vw, 7rem); }
.servicios__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.stack { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.sc {
  position: sticky; top: calc(96px + var(--i) * 16px);
  min-height: clamp(300px, 46vh, 440px);
  border-radius: var(--r); padding: clamp(1.8rem, 4vw, 3.6rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem;
  transform-origin: 50% 0;
  box-shadow: 0 -10px 40px -24px rgba(30, 27, 29, .35);
}
.sc__n { display: block; font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: .02em; opacity: .55; margin-bottom: 1rem; }
.sc h3 { font-size: clamp(2rem, 1.2rem + 3.2vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: 1rem; }
.sc p { max-width: 46ch; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.sc .btn { margin-top: 1.6rem; }
.sc__ico { width: clamp(84px, 12vw, 180px); height: clamp(84px, 12vw, 180px); align-self: start; opacity: .9; }
.sc--white { background: #fff; border: 1px solid var(--line); }
.sc--white .sc__ico { color: var(--mag); }
.sc--mag { background: var(--mag); color: #fff; }
.sc--ink { background: var(--ink); color: #fff; }
.sc--ink .sc__ico { color: var(--mag); }
.sc--blush { background: var(--blush); }
.sc--blush .sc__ico { color: var(--mag-deep); }
.sc--grey { background: #77767a; color: #fff; }

/* ============ GATOS ============ */
.gatos { max-width: var(--max); margin-inline: auto; padding: clamp(4rem, 9vw, 8rem) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.gatos__text .h2 { margin-bottom: 1.5rem; }
.gatos__text > p { font-size: 1.12rem; max-width: 46ch; }
.cita { margin: 2.2rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.cita blockquote { margin: 0 0 .6rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); line-height: 1.3; }
.cita figcaption { color: var(--grey); font-size: .95rem; }
.gatos__media { position: relative; padding: 0 0 3rem 3rem; }
.gatos__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.6; }
.gatos__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.sello { position: absolute; top: -1.6rem; left: 0; width: clamp(110px, 12vw, 160px); animation: girar 22s linear infinite; }
.sello text { fill: #fff; font: 700 15.5px var(--body); letter-spacing: 2.2px; }
@keyframes girar { to { transform: rotate(360deg); } }
.nota-papel { position: absolute; right: clamp(-1rem, -1vw, 0rem); bottom: 0; max-width: 270px; background: #fff7c9; padding: 1.1rem 1.2rem; border-radius: 6px 6px 6px 22px; box-shadow: 0 16px 30px -16px rgba(30,27,29,.35); transform: rotate(2.5deg); font-size: .98rem; line-height: 1.45; }

/* ============ PRIMERA VISITA ============ */
.visita { max-width: var(--max); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.visita__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.visita__head .tag { width: 100%; max-width: max-content; margin-bottom: 0; }
.visita__head .h2 { width: 100%; }
.visita__banner { margin: 0 0 clamp(2.5rem, 5vw, 4rem); border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 8; }
.visita__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.linea { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); position: relative; }
.linea::before { content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 2px; background: var(--line); }
.linea::after { content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 2px; background: var(--mag); transform-origin: left; transform: scaleX(var(--p, 1)); }
.linea li { position: relative; z-index: 1; }
.linea__n { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--paper); border: 2px solid var(--mag); color: var(--mag); font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin-bottom: 1.4rem; }
.linea h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); font-weight: 800; margin-bottom: .7rem; }
.linea p { color: #4a4649; }
.linea a { color: var(--mag); font-weight: 600; }

/* ============ RESIDENCIA ============ */
.residencia { max-width: var(--max); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.residencia__video { grid-column: 1 / span 8; grid-row: 1; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; background: #6b5a50; }
.residencia__video video { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.residencia__card { grid-column: 7 / span 6; grid-row: 1; position: relative; z-index: 1; background: var(--mag); color: #fff; border-radius: var(--r); padding: clamp(2rem, 4vw, 3.6rem); box-shadow: 0 30px 60px -30px rgba(120, 10, 70, .6); }
.residencia__card .h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); margin-bottom: 1.3rem; }
.residencia__card p { margin-bottom: 1rem; color: rgba(255,255,255,.92); }
.residencia__nota { font-weight: 600; color: #fff !important; background: rgba(255,255,255,.14); padding: .7rem 1rem; border-radius: 14px; margin-bottom: 1.6rem !important; }

/* ============ OPINIONES: muro con columnas que se mueven ============ */
.opiniones { max-width: var(--max); margin-inline: auto; padding: clamp(4rem, 8vw, 7rem) var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.opiniones__side .h2 { margin-bottom: 1.8rem; }
.sello-nota { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 1.6rem; width: fit-content; }
.sello-nota svg { width: 40px; height: 40px; flex: none; }
.sello-nota p { line-height: 1.4; }
.stars { color: #f5b400; letter-spacing: .12em; }
.opiniones__ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.muro { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; height: clamp(520px, 72vh, 720px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.muro__col { overflow: hidden; }
.muro__track { display: flex; flex-direction: column; gap: 1rem; animation: subir 40s linear infinite; }
.muro__col--rev .muro__track { animation-direction: reverse; animation-duration: 46s; }
.muro:hover .muro__track { animation-play-state: paused; }
@keyframes subir { to { transform: translateY(-50%); } }
.op { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; }
.op blockquote { margin: 0 0 1.1rem; font-size: 1.02rem; line-height: 1.5; }
.op figcaption { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.op figcaption i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blush); color: var(--mag-deep); font-style: normal; font-weight: 700; }
.op--mag { background: var(--mag); color: #fff; border: 0; }
.op--mag figcaption i { background: rgba(255,255,255,.2); color: #fff; }
.op--ink { background: var(--ink); color: #fff; border: 0; }
.op--ink figcaption i { background: var(--mag); color: #fff; }

/* ============ CONTACTO ============ */
.contacto { max-width: var(--max); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.contacto__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.contacto__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(.7rem, 1.2vw, 1.1rem); }
.cbox { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; min-height: 250px; padding: clamp(1.4rem, 2.4vw, 2.2rem); border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
a.cbox:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(30,27,29,.45); }
.cbox--mag { background: var(--mag); color: #fff; border: 0; }
.cbox__k { position: absolute; top: clamp(1.2rem, 2vw, 1.8rem); left: clamp(1.4rem, 2.4vw, 2.2rem); font-weight: 600; font-size: .9rem; opacity: .75; }
.cbox__big { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.3rem); letter-spacing: -.03em; line-height: 1; }
.cbox__mid { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.15; letter-spacing: -.01em; }
.cbox__small { font-size: .95rem; opacity: .8; }
.cbox__arrow { position: absolute; top: clamp(1.1rem, 1.9vw, 1.7rem); right: clamp(1.1rem, 1.9vw, 1.7rem); width: 26px; height: 26px; transition: transform .35s var(--ease); }
a.cbox:hover .cbox__arrow { transform: translate(3px, -3px); }
.cbox--horario { justify-content: flex-end; }
.horario { border-collapse: collapse; width: 100%; margin-top: 2.2rem; font-size: .95rem; }
.horario th, .horario td { padding: .32rem 0; text-align: left; font-weight: 500; }
.horario td { text-align: right; color: #4a4649; }
.horario tr.is-hoy th, .horario tr.is-hoy td { color: var(--mag); font-weight: 700; }

/* ============ MAPA A TODO LO ANCHO ============ */
.mapa { width: 100%; height: clamp(360px, 55vh, 560px); background: var(--pearl); }
.mapa iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.3); }

/* ============ PIE ============ */
.pie { background: var(--ink); color: #fff; padding: clamp(3rem, 6vw, 5rem) var(--gutter) 1.6rem; }
.pie__top { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.pie__brand .logo-mask { color: #fff; margin-bottom: 1.2rem; }
.pie__brand p, .pie__info p { color: rgba(255,255,255,.72); font-size: .98rem; }
.pie__info p + p { margin-top: .7rem; }
.pie__info a { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: #fff; }
.pie__nav { display: flex; flex-direction: column; gap: .45rem; }
.pie a { text-decoration: none; }
.pie__nav a { color: rgba(255,255,255,.85); width: fit-content; }
.pie__nav a:hover, .pie__info a:hover { color: #ff7fbf; }
.pie__base { max-width: var(--max); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; font-size: .9rem; color: rgba(255,255,255,.6); }
.redes { display: flex; gap: .6rem; }
.redes a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .25s, transform .3s var(--ease); }
.redes a:hover { background: var(--mag); transform: translateY(-2px); }
.redes svg { width: 20px; height: 20px; }
.pie__up:hover { color: #fff; }

.barra-movil { display: none; }

.js [data-reveal] { clip-path: inset(10% 6% 10% 6% round var(--r)); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .burger { display: inline-block; }
  .top__call { margin-left: auto; }
  .top__nav.is-open {
    display: flex; flex-direction: column; gap: .3rem;
    position: fixed; left: var(--gutter); right: var(--gutter); top: 5.4rem;
    background: #fff; border-radius: 28px; padding: 1rem; margin: 0;
    box-shadow: 0 30px 60px -20px rgba(30,27,29,.35);
  }
  .top__nav.is-open a { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; padding: .7rem 1rem; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile--video { grid-column: 1 / -1; grid-row: auto; min-height: 56vw; }
  .tile--intro { grid-column: 1 / -1; }
  .tile--estado { grid-column: 1 / span 3; }
  .tile--nota { grid-column: 4 / span 3; }
  .residencia__video { grid-column: 1 / -1; }
  .residencia__card { grid-column: 2 / span 10; grid-row: 2; margin-top: -5rem; }
  .opiniones { grid-template-columns: 1fr; }
  .pie__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .top { padding-top: .6rem; }
  .top__call span { display: none; }
  .top__call { width: 46px; padding: 0; justify-content: center; }
  .hero__pill { width: 1.7em; }
  .tile--video { min-height: 82vw; }
  .tile__ctas .btn { flex: 1 1 auto; }

  .cinta { margin-block: .8rem; }
  .manifiesto { text-align: left; }
  .sc { grid-template-columns: 1fr; top: calc(84px + var(--i) * 10px); min-height: 360px; align-content: space-between; }
  .sc__ico { width: 70px; height: 70px; grid-row: 1; }
  .gatos { grid-template-columns: 1fr; }
  .gatos__media { padding: 0 0 4.5rem 1.4rem; }
  .nota-papel { right: 0; max-width: 240px; }
  .visita__banner { aspect-ratio: 4 / 3; }
  .linea { grid-template-columns: 1fr; gap: 2rem; padding-left: 0; }
  .linea::before, .linea::after { left: 28px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--p, 1)); }
  .linea li { display: grid; grid-template-columns: 58px 1fr; column-gap: 1.2rem; }
  .linea__n { grid-row: 1 / span 2; margin: 0; }
  .residencia { padding-inline: var(--gutter); }
  .residencia__video { aspect-ratio: 4 / 3.4; }
  .residencia__card { grid-column: 1 / -1; margin: -3rem .6rem 0; }
  .muro { grid-template-columns: 1fr; height: 560px; }
  .muro__col--rev { display: none; }
  .contacto__grid { grid-template-columns: 1fr; }
  .cbox { min-height: 200px; }
  .mapa { height: 380px; }
  .pie__top { grid-template-columns: 1fr; }
  .pie__base { flex-direction: column; align-items: flex-start; padding-bottom: 5.5rem; }

  .barra-movil {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: .5rem;
    position: fixed; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom)); z-index: 60;
    padding: .45rem; border-radius: 999px; background: rgba(30,27,29,.92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(30,27,29,.25);
    transform: translateY(150%); transition: transform .5s var(--ease);
  }
  .barra-movil.is-on { transform: none; }
  .barra-movil a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; }
  .barra-movil svg { width: 18px; height: 18px; }
  .barra-movil__main { background: var(--mag); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { clip-path: none; }
  .manifiesto__text .w { opacity: 1; }
}
