/* Green Notes Dénia - estilos */
:root {
  --sand: #ebe8e2;
  --sand-2: #e2dfd8;
  --sage: #a5a184;
  --olive: #676555;
  --ink: #1c1c1c;
  --muted: #999;
  --white: #fff;
  --pad: clamp(16px, 2.8vw, 40px);
  --serif: 'Hedvig Letters Serif', Georgia, serif;
  --sans: 'Noto Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 15px; line-height: 1.35; overflow-x: hidden; }
img, video, iframe { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.muted { color: #d6d3c8; }
.h2 { font-family: var(--sans); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin: 0; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 15px; text-decoration: none; transition: background .2s, color .2s; }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--light, .btn--white { background: var(--white); }
.btn--sand { background: var(--sand); }
.btn:hover { background: var(--ink); color: var(--white); }

/* ---------- Cabecera ---------- */
.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 36px var(--pad) 20px; }
.site-header--home { background: var(--sand); }
.logo { font-family: var(--serif); font-size: clamp(34px, 3.2vw, 46px); letter-spacing: -0.02em; text-decoration: none; line-height: 1; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 16px; }
.nav > a:not(.btn) { color: #555; text-decoration: none; }
.nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.nav > a:not(.btn):hover { color: var(--ink); }
.nav__cta { padding: 8px 24px; }
.page-apartments .nav__cta, .page-gallery .nav__cta { background: var(--sand); }
.lang { position: relative; color: #555; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 12px; height: 12px; }
.lang__menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); box-shadow: 0 6px 20px rgba(0,0,0,.1); display: grid; min-width: 120px; }
.lang__menu a { padding: 8px 14px; text-decoration: none; }
.lang__menu a:hover, .lang__menu a[aria-current] { background: var(--sand); }
.menu-toggle { display: none; }

/* ---------- Hero ----------
   Como en Framer: cada foto tiene su propio tamaño y posición, y cambian
   en seco cada segundo (las esquinas se mueven con la foto). */
.hero { position: relative; background: var(--sand); height: calc(100vh - 110px); height: calc(100svh - 110px); min-height: 560px; }
.hero__text { position: absolute; left: var(--pad); bottom: 40px; z-index: 2; font-size: 20px; line-height: 1.2; }
.hero__text p { margin: 0; white-space: nowrap; }
.hero__slide { position: absolute; margin: 0; visibility: hidden; }
.hero__slide.is-active { visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
/* 1, 3 y 5: posiciones medidas en Framer. 2 y 4: fotos añadidas, mismo estilo. */
.hero__slide:nth-child(1) { width: 710px; height: 473px; right: 65px; top: calc(50% + 20px - 236px); }
.hero__slide:nth-child(2) { width: 600px; height: 418px; right: 300px; top: 70px; }
.hero__slide:nth-child(3) { width: 653px; height: 435px; right: 60px; top: 64px; }
.hero__slide:nth-child(4) { width: 700px; height: 394px; right: 90px; top: calc(50% + 30px - 197px); }
.hero__slide:nth-child(5) { width: 618px; height: 449px; right: 354px; top: calc(50% - 35px - 224px); }
.corner { position: absolute; width: 25px; height: 25px; border: 0 solid #666; }
.corner--tl { top: -25px; left: -25px; border-width: 2px 0 0 2px; }
.corner--tr { top: -25px; right: -25px; border-width: 2px 2px 0 0; }
.corner--bl { bottom: -25px; left: -25px; border-width: 0 0 2px 2px; }
.corner--br { bottom: -25px; right: -25px; border-width: 0 2px 2px 0; }
/* Pantallas bajas: mismas posiciones, fotos un 20 % más pequeñas para no tapar el texto */
@media (min-width: 1280px) and (max-height: 820px) {
  .hero__slide { transform: scale(.8); transform-origin: 100% 0; }
}
@media (max-width: 1279px) {
  .hero__slide:nth-child(n) { width: min(618px, 52vw); height: auto; aspect-ratio: 3 / 2; right: max(60px, var(--pad)); top: 50%; transform: translateY(-55%); }
}

/* ---------- Vídeo ---------- */
.video { position: relative; background: var(--olive); }
.video video { width: 100%; height: min(100vh, 56.25vw); object-fit: cover; }
.statusbar { display: flex; justify-content: space-between; padding: 22px 24px; color: var(--white); font-size: 15px; line-height: 1.3; }
.statusbar p { margin: 0; }
.statusbar__right { text-align: right; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); margin-right: 8px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }

/* ---------- Secciones con pestaña ----------
   Cada sección empieza con una fila de pestaña: la parte izquierda es
   transparente y deja ver la pestaña de la sección anterior. */
.section { position: relative; }
.tab { display: flex; font-size: 18px; height: 104px; }
.tab span { flex: 1; display: flex; align-items: center; padding: 0 57px; }
.tab--white span { background: var(--white); }
.tab--sand span { margin-left: 200px; background: var(--sand); }
.tab--sage span { margin-left: 400px; background: var(--sage); color: var(--white); }
.tab--olive span { margin-left: 600px; background: var(--olive); color: var(--white); }
.section__inner { padding: 40px var(--pad) 80px; }
.section--location .section__inner { background: var(--white); }
.section--homes .section__inner { background: var(--sand); }
.section--mortgage .section__inner { background: var(--sage); color: var(--white); }
.section--contact .section__inner { background: var(--olive); color: var(--white); }
.page-apartments .section--contact { margin-top: 0; background: var(--olive); }
.page-apartments .section--contact .tab span { margin-left: 0; }

/* Inicio: secciones apiladas "tipo archivo" (solo escritorio).
   Cada sección ocupa la pantalla y se queda fija arriba; la siguiente
   sube por encima. Al final quedan todas las pestañas a la vista. */
.stack { padding-top: 0; }
.stack .section { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.stack .section__inner { flex: 1; }
@media (min-width: 821px) {
  .stack .section { position: sticky; top: var(--stick, 0px); }
  .stack .section + .section { margin-top: 60vh; }
  /* Tramo final: Contacto se queda fijo mientras se recorre este espacio, luego llega el pie */
  .stack::after { content: ''; display: block; height: 60vh; }
}
/* Pantallas de poca altura: se compactan los espacios para que cada
   sección quepa entera y las pestañas sigan visibles al apilarse. */
@media (min-width: 821px) and (max-height: 900px) {
  .stack .tab { height: 80px; }
  .stack .section__inner { padding-top: 20px; padding-bottom: 40px; }
  .stack .location { padding-top: 20px; }
  .stack .location .h2 { margin-bottom: 24px; }
  .stack .chips { margin: 24px 0; }
  .stack .map { min-height: 0; height: calc(100vh - 160px); }
  .stack .split-head { margin-bottom: 24px; }
  .stack .carousel__slide { aspect-ratio: auto; height: calc(100vh - 330px); }
  .stack .mortgage .h2 { margin: 8px 0 32px; }
  .stack .form { margin-top: 24px; gap: 10px 20px; }
  .stack .field { gap: 6px; }
  .stack .field textarea { min-height: 70px; }
}

/* Ubicación */
.location { display: grid; grid-template-columns: minmax(0, 440px) 1fr; grid-template-areas: "head map" "extras map"; grid-template-rows: auto 1fr; column-gap: clamp(24px, 6vw, 84px); align-items: start; padding-top: 60px; padding-left: 56px; }
.location__head { grid-area: head; }
.location__extras { grid-area: extras; }
.location .map { grid-area: map; align-self: stretch; }
.only-mobile { display: none !important; }
.location .h2 { margin-bottom: 44px; }
.location p { font-size: 16px; line-height: 1.22; }
.chips { display: grid; justify-items: start; gap: 8px; margin: 40px 0; }
.chips li { display: flex; align-items: center; gap: 12px; background: var(--olive); color: #f2f0ea; padding: 7px 24px; font-size: 16px; }
.chips svg { width: 20px; height: 20px; }
.map { width: 100%; height: 100%; min-height: 540px; border: 0; }

/* Cabeceras partidas (título + texto + botón) */
.split-head { display: grid; grid-template-columns: 200px minmax(0, 700px); gap: 24px; align-items: center; margin-bottom: 40px; }
.split-head p { margin: 0; font-size: 15px; line-height: 1.25; }
.split-head--cta { grid-template-columns: 200px minmax(0, 700px) 1fr; }
.split-head--cta .btn { justify-self: end; }
.section--contact .split-head { grid-template-columns: 220px 1fr; }
.section--contact .split-head p { font-size: 17px; }
.section--contact a { color: inherit; text-decoration: none; }

/* Carrusel */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { margin: 0; flex: 0 0 44%; scroll-snap-align: start; aspect-ratio: 4 / 3.15; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel--wide .carousel__slide { flex-basis: 100%; aspect-ratio: 16 / 9; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn--prev { left: 20px; }
.carousel__btn--next { right: 20px; }
.carousel__dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 8px; border-radius: 20px; background: rgba(0,0,0,.25); }
.carousel__dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.carousel__dots button[aria-selected="true"] { background: var(--white); }

/* Hipoteca */
.mortgage .h2 { margin: 24px 0 60px; }
.mortgage__body { display: grid; grid-template-columns: 300px 1fr; gap: 100px; }
.mortgage__text p { font-size: 15px; line-height: 1.2; }
.mortgage__text a { color: inherit; text-decoration: none; }
.steps { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 10px 60px; align-content: start; }
.steps li { display: flex; align-items: center; gap: 24px; font-size: 18px; }
.steps span { width: 45px; height: 45px; flex: none; display: grid; place-items: center; background: var(--sand); color: #999; font-size: 17px; }

/* Formulario */
.form { max-width: 816px; margin: 70px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: grid; gap: 10px; font-size: 13px; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: 15px var(--sans); color: var(--white); background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.75); border-radius: 8px; padding: 10px 12px; width: 100%; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M0 0h12L6 8z' fill='white'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 36px; min-height: 46px; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 100px; }
.field ::placeholder { color: rgba(255,255,255,.55); }
.field select:invalid { color: rgba(255,255,255,.55); }
.field :focus-visible { outline: 2px solid var(--white); outline-offset: 1px; }
.field .is-invalid, .field input.is-invalid { border-color: #ffb4a8; }
.form__submit { font: 500 15px var(--sans); background: #333; color: var(--white); border: 0; border-radius: 8px; padding: 12px; cursor: pointer; margin-top: 4px; }
.form__submit:hover { background: var(--ink); }
.form__submit:disabled { opacity: .6; cursor: wait; }
.form__status { margin: 0; min-height: 1.3em; font-size: 15px; }
.hp { position: absolute; left: -9999px; }

/* Pie */
.site-footer { background: var(--ink); color: #eee; text-align: center; padding: 130px var(--pad) 120px; font-size: 13px; }
.site-footer p { margin: 0 0 12px; }
.site-footer a { text-decoration: none; }
.site-footer__label { color: #aaa; }
.site-footer__logo { font-family: var(--serif); font-size: clamp(56px, 8vw, 116px); line-height: 1; color: #eceae2; margin: 16px 0 24px !important; letter-spacing: -0.02em; }

/* ---------- Viviendas ---------- */
.apt-intro { padding: 40px var(--pad) 40px; }
.apt-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; margin-bottom: 80px; }
.lead { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; margin: 0; }
.features { display: grid; gap: 14px; font-size: 19px; padding-top: 4px; }
.features li { display: flex; align-items: center; gap: 12px; }
.features svg { width: 24px; height: 24px; color: #6b6a5c; flex: none; }
.price { display: grid; font-size: clamp(44px, 4.2vw, 60px); line-height: 1; margin-bottom: 80px; }
.price span { font-size: 18px; margin-bottom: 10px; }
.section--plans { background: var(--sand); padding-bottom: 40px; }
.section--plans .h2 { margin-bottom: 70px; }
.plans__text { max-width: 1070px; font-size: 18px; line-height: 1.33; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 60px; }
.table-wrap { overflow-x: auto; }
.types { width: 100%; min-width: 720px; border-collapse: collapse; font-family: var(--sans); font-size: 19px; text-align: center; }
.types th, .types td { padding: 22px 12px; font-weight: 400; }
.types thead th { color: #888; font-weight: 500; }
.types tbody tr.sold { background: var(--sand-2); color: #aaa; }
.types tbody tr { transition: background-color .15s; }
.types tbody tr:hover { background: var(--white); }
.types tbody tr.sold:hover { background: #d9d5cd; }
.types a { text-decoration: none; }
.types a:hover { text-decoration: underline; }
.badge { display: inline-block; background: var(--ink); color: var(--white); font-size: 15px; padding: 11px 30px; }
.info { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: #eee; font-size: 14px; vertical-align: middle; margin-left: 8px; cursor: help; }

/* ---------- Galería ---------- */
.gallery-page { padding: 16px var(--pad) 80px; }
.masonry { columns: 3; column-gap: 12px; }
.masonry__item { display: block; margin-bottom: 12px; break-inside: avoid; }
.masonry__item img { width: 100%; height: auto; }
.disclaimer { font-size: 12px; color: #777; max-width: 1100px; margin-top: 40px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,20,.92); display: grid; place-items: center; padding: 40px; }
.lightbox img { max-height: 90vh; width: auto; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; font-size: 32px; padding: 12px; }
.lightbox .lb-close { top: 10px; right: 16px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mortgage__body { grid-template-columns: 1fr; gap: 40px; }
}
/* ---------- Móvil (medidas de la versión móvil de Framer) ---------- */
@media (max-width: 820px) {
  :root { --pad: 24px; }
  body { font-size: 16px; }
  .only-mobile { display: revert !important; }
  .only-desktop { display: none !important; }
  .h2 { font-size: 32px; line-height: 1.2; }
  p { line-height: 1.2; }

  /* Cabecera y menú */
  .site-header { padding: 22px var(--pad) 18px; }
  .logo { font-size: 44px; }
  .menu-toggle { display: grid; gap: 9px; background: none; border: 0; padding: 8px 0 8px 10px; cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: #999; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5.5px) rotate(-45deg); }
  .site-header.menu-open { background: #d6d2ca; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: center; gap: 20px; padding: 16px var(--pad) 40px; background: #d6d2ca; font-size: 16px; }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { color: var(--ink); }
  .nav__cta, .page-apartments .nav__cta, .page-gallery .nav__cta { background: var(--white); padding: 8px 24px; }
  .lang { color: var(--ink); text-align: center; }
  .lang__menu { position: static; box-shadow: none; margin-top: 8px; background: transparent; }

  /* Portada: ocupa la pantalla junto con la cabecera */
  .hero { height: calc(100svh - 84px); min-height: 520px; padding: 0; display: block; }
  .hero__stage { position: absolute; left: 46px; right: 46px; top: 38%; transform: translateY(-50%); aspect-ratio: 298 / 216; }
  .hero__slide:nth-child(n) { inset: 0; width: 100%; height: 100%; transform: none; aspect-ratio: auto; right: 0; top: 0; }
  .corner { width: 12px; height: 12px; }
  .corner--tl { top: -12px; left: -12px; } .corner--tr { top: -12px; right: -12px; }
  .corner--bl { bottom: -12px; left: -12px; } .corner--br { bottom: -12px; right: -12px; }
  .hero__text { position: absolute; left: var(--pad); right: var(--pad); bottom: 66px; font-size: 16px; line-height: 1.2; }
  .hero__text p { white-space: normal; }

  /* Barra de estado y vídeo */
  .statusbar { padding: 22px var(--pad); font-size: 16px; color: var(--sand); }
  .statusbar .muted { font-weight: 300; color: var(--sand); }
  .video video { height: 84svh; }

  /* Secciones: cada una ocupa al menos la pantalla, sin apilarse (como Framer) */
  .section, .stack .section { min-height: 100svh; display: flex; flex-direction: column; }
  .section__inner { flex: 1; padding: 0 var(--pad) 64px; }
  .stack .section + .section, .page-apartments .section--contact { margin-top: 0; }
  .tab { height: auto; font-size: 18px; }
  .tab span { margin-left: 0 !important; padding: 24px var(--pad); }
  .section--location .tab span, .section--location .section__inner { background: var(--white); }
  .section--homes .tab span { background: var(--sand); }
  .h2 { margin-top: 24px !important; margin-bottom: 44px !important; }
  .section__inner p { font-size: 16px; }

  /* Ubicación: texto, mapa, datos y dossier */
  .location { display: block; padding: 0 var(--pad) 64px; }
  .location .h2 { line-height: 1; max-width: 200px; }
  .location p { line-height: 1.2; margin-bottom: 20px; }
  .location .map { width: 100%; height: 218px; min-height: 0; margin-top: 20px; }
  .chips { margin: 40px 0 36px; gap: 8px; justify-items: stretch; }
  .chips li { padding: 8px 24px; gap: 24px; font-size: 16px; color: var(--sand); }
  .btn { font-size: 16px; padding: 10px 16px; }

  /* Viviendas (inicio) */
  .split-head, .split-head--cta, .section--contact .split-head { display: block; margin-bottom: 40px; }
  .split-head p, .section--contact .split-head p { font-size: 16px; line-height: 1.2; }
  .carousel__track { gap: 10px; }
  .carousel__slide { flex: 0 0 calc(100% - 32px); aspect-ratio: 310 / 255; }
  .carousel__btn { width: 40px; height: 40px; }
  .carousel__btn--next { right: 20px; }
  .homes__cta { display: inline-flex !important; margin-top: 37px; padding: 10px 24px; }

  /* Hipoteca */
  .mortgage__body { display: block; }
  .mortgage__text p { font-size: 16px; line-height: 1.2; margin-bottom: 20px; }
  .steps { display: grid; grid-template-columns: 1fr; grid-auto-flow: row; gap: 8px; margin-top: 25px; }
  .steps li { gap: 12px; font-size: 16px; color: var(--sand); }
  .steps span { width: 35px; height: 35px; font-size: 16px; color: var(--sage); }
  .mortgage__more { margin-top: 16px; }
  .mortgage__more a { color: inherit; text-decoration: none; }

  /* Contacto: orden de campos como en Framer */
  .form { display: flex; flex-direction: column; gap: 22px; margin-top: 48px; max-width: none; }
  .field { font-size: 12px; font-weight: 500; color: var(--sand); gap: 8px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .field input { height: 40px; }
  .field select { min-height: 46px; }
  .field textarea { min-height: 100px; }
  .f-name { order: 1; } .f-email { order: 2; } .f-lang { order: 3; } .f-phone { order: 4; }
  .f-buyer { order: 5; } .f-message { order: 6; } .form__submit { order: 7; } .form__status { order: 8; }
  .form__submit { font-size: 14px; font-weight: 600; height: 40px; padding: 0; margin-top: 0; }

  /* Pie */
  .site-footer { padding: 150px 14px 170px; font-size: 12px; }
  .site-footer__logo { font-size: 58px; margin: 6px 0 12px !important; }

  /* Página Viviendas */
  .apt-intro { padding: 24px var(--pad) 40px; }
  .apt-top { display: block; margin-bottom: 64px; }
  .lead { font-size: 16px; line-height: 1.2; margin-bottom: 72px; }
  .features { gap: 17px; font-size: 16px; padding-top: 0; }
  .features li { gap: 8px; }
  .price { font-size: 57px; margin-bottom: 40px; }
  .price span { font-size: 20px; margin-bottom: 0; }
  .carousel--wide .carousel__slide { flex-basis: 100%; aspect-ratio: 342 / 384; }
  .section--plans { padding-bottom: 40px; }
  .section--plans .section__inner { padding-top: 48px; }
  .section--plans .h2 { margin-top: 0 !important; margin-bottom: 40px !important; }
  .plans__text { font-size: 16px; line-height: 1.2; }
  .btn-row { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 40px; }
  .table-wrap { overflow: visible; padding: 0 var(--pad); }
  .types { min-width: 0; font-size: 16px; table-layout: fixed; }
  .types th, .types td { padding: 20px 2px; }
  .types th:nth-child(4), .types td:nth-child(4) { display: none; }
  .types thead th { color: var(--olive); font-weight: 600; font-size: 14px; }
  .types .info { display: none; }
  .badge { font-size: 11px; padding: 5px 6px; line-height: 1.2; }
  .dl-icon svg { width: 22px; height: 22px; vertical-align: middle; }

  /* Galería */
  .gallery-page { padding: 16px var(--pad) 64px; }
  .masonry { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade img { transition: none; }
  .dot { animation: none; }
}
