/* Landetxo Gunea — base editorial, patrimonio y naturaleza */
@font-face {
  font-family: Inter;
  src: url("../assets/fonts/Inter-VariableFont_opszwght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f0ebe5;
  --white: #fafaf8;
  --ink: #252e28;
  --muted: #596158;
  --clay: #a24625;
  --line: #cdc8be;
  --forest: #283e31;
  --sand: #e4ddcf;
  --font-body: Inter, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --width: 1280px;
  --gutter: clamp(20px, 4vw, 72px);
  --section: clamp(60px, 8vw, 112px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
figcaption {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  margin-top: 12px;
  color: var(--muted);
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  cursor: pointer;
}
a:hover {
  color: var(--clay);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(3.2rem, 5.8vw, 6.3rem);
  margin-bottom: 30px;
}
h2 {
  font-size: clamp(2.5rem, 4vw, 4.7rem);
  margin-bottom: 28px;
}
h3 {
  font-size: clamp(1.9rem, 2.7vw, 3rem);
  margin-bottom: 22px;
}
p {
  margin-bottom: 22px;
}
ul {
  padding-left: 22px;
}
.wrap {
  width: min(var(--width), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.section {
  padding-block: var(--section);
}
.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-weight: 650;
  margin-bottom: 24px;
  line-height: 1.6;
}
.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.23rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 620px;
}
.small {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 22px;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  padding: 12px;
  background: var(--ink);
  color: white;
  z-index: 100;
}
.skip:focus {
  top: 15px;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  min-height: 106px;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: block;
  flex-shrink: 0;
}
.brand img {
  width: 83px;
  height: 83px;
  object-fit: contain;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
}
.site-header nav a {
  font-size: 0.78rem;
  text-decoration: none;
  white-space: nowrap;
  padding-block: 8px;
  position: relative;
}
.site-header nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--clay);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language {
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
  min-width: 32px;
  min-height: 44px;
  display: grid;
  place-items: center;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 15px 23px;
  min-height: 50px;
  background: var(--clay);
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--clay);
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.4;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.button:hover {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button.secondary:hover {
  background: var(--ink);
  color: white;
}
.header-actions .button {
  padding: 12px 17px;
  gap: 18px;
}
.menu-toggle {
  display: none;
}
.actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.text-link {
  font-size: 0.8rem;
}
.home-hero {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 670px;
}
.hero-copy {
  padding: clamp(40px, 5vw, 80px) 40px 35px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-copy h1 {
  font-size: clamp(3.5rem, 5.9vw, 6.5rem);
}
.hero-copy .lead {
  max-width: 450px;
}
.hero-location {
  margin-top: auto;
  padding-top: 40px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.home-hero figure {
  position: relative;
  min-width: 0;
}
.home-hero figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  position: absolute;
}
.home-hero figcaption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--paper);
  padding: 8px 14px;
  color: var(--ink);
  max-width: calc(100% - 48px);
}
.section-heading {
  margin-bottom: 65px;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 7vw, 110px);
  align-items: center;
  min-width: 0;
}
.editorial-grid + .editorial-grid {
  margin-top: 110px;
}
.photo-frame img {
  height: 580px;
  object-fit: cover;
}
.photo-frame.landscape img {
  height: 470px;
}
.editorial-copy {
  max-width: 520px;
}
.section-number {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 25px;
}
.editorial-copy .button {
  margin-top: 15px;
}
.reversed .photo-frame {
  grid-column: 2;
  grid-row: 1;
}
.reversed .editorial-copy {
  grid-column: 1;
  grid-row: 1;
}
.season-feature {
  padding: var(--section) 0;
  background: var(--forest);
  color: var(--paper);
}
.season-feature .lead {
  color: var(--paper);
}
.season-feature img {
  max-height: 540px;
  object-fit: cover;
}
.visit-info {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.visit-info h3 {
  font-size: 1.8rem;
}
.visit-info img {
  height: 330px;
  object-fit: cover;
}
.visit-info p {
  font-size: 0.85rem;
}
.visit-info dl div,
.facts div {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  display: flex;
  gap: 15px;
  justify-content: space-between;
}
.visit-info dl {
  font-size: 0.85rem;
}
.visit-info dd,
.facts dd {
  margin: 0;
  font-weight: 600;
}
.contact-band {
  padding: 60px 0;
  background: var(--sand);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-grid h2 {
  max-width: 600px;
  margin: 0;
}
.contact-grid > div:last-child {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}
.contact-number {
  font-size: 1.55rem;
  text-decoration: none;
}
.site-footer {
  padding-top: 70px;
  background: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 60px;
  padding-bottom: 65px;
}
.footer-brand img {
  width: 95px;
  height: 95px;
  margin-bottom: 20px;
}
.footer-grid h2 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 650;
}
.footer-grid p {
  font-size: 0.8rem;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  font-size: 0.84rem;
}
.socials {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  font-size: 0.76rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 0.72rem;
}
.footer-bottom a[aria-current="page"] {
  color: var(--clay);
  font-weight: 650;
}
.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.page-intro {
  padding-top: 75px;
  padding-bottom: 25px;
}
.page-intro h1 {
  max-width: 950px;
}
.program-main {
  padding-top: 45px;
}
.program-main img {
  height: 610px;
  object-fit: cover;
}
.season-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.season-list li {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 0.88rem;
}
.season-list strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--clay);
  margin-bottom: 6px;
}
.tinted {
  background: var(--sand);
}
.tinted h2 {
  margin-bottom: 50px;
}
.tinted .editorial-grid img {
  height: 540px;
  object-fit: cover;
}
.tinted h3:not(:first-child) {
  margin-top: 40px;
}
.archive-event {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
  align-items: center;
}
.event-details {
  border-left: 1px solid var(--line);
  padding-left: 45px;
}
.shop-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 100px;
  align-items: center;
  padding-top: 45px;
}
.shop-grid img {
  height: 640px;
  object-fit: cover;
}
.birthday-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  padding-top: 40px;
}
.birthday-grid > img {
  height: 650px;
  object-fit: cover;
}
.facts {
  margin-bottom: 30px;
}
.facts dt {
  font-size: 0.8rem;
}
.facts dd {
  font-size: 0.88rem;
  text-align: right;
}
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.booking-layout > div {
  position: sticky;
  top: 150px;
}
.booking-layout form {
  background: var(--white);
  padding: 35px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-size: 1.6rem;
  font-family: var(--font-display);
  margin-bottom: 25px;
  line-height: 1.3;
}
label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
}
input,
select {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  background: var(--white);
  border: 1px solid #8b9287;
  border-radius: 0;
  color: var(--ink);
  padding: 10px 12px;
  margin-bottom: 20px;
}
input:invalid:not(:placeholder-shown) {
  box-shadow: none;
}
.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 10px;
}
.checkbox input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 5px;
  accent-color: var(--clay);
}
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
}
#summary {
  margin: 0 0 25px;
}
#summary div {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
#summary dt {
  font-size: 0.72rem;
  color: var(--muted);
}
#summary dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.christmas-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 75px 0 45px;
}
.christmas-hero img {
  height: 620px;
  object-fit: cover;
}
.christmas-info {
  max-width: 900px;
  padding-top: 70px;
}
.christmas-info > p:not(.eyebrow) {
  max-width: 620px;
}
.legal {
  max-width: 850px;
  padding-block: 35px 100px;
  overflow-wrap: anywhere;
}
.legal h2 {
  font-size: 1.65rem;
  margin-top: 45px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.legal p,
.legal li {
  font-size: 0.95rem;
  line-height: 1.85;
}
.legal ul,
.legal ol {
  margin-bottom: 25px;
}
.footer-grid a,
.header-actions a {
  overflow-wrap: anywhere;
}
@media (min-width: 1500px) {
  .home-hero {
    padding-right: var(--gutter);
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy {
    padding-left: 40px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }
  .site-header nav {
    gap: 14px;
  }
  .site-header nav a {
    font-size: 0.69rem;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions .button {
    font-size: 0.72rem;
    padding: 10px 12px;
  }
  .brand img {
    width: 65px;
    height: 65px;
  }
  .home-hero {
    min-height: 630px;
  }
  .hero-copy {
    padding-right: 30px;
  }
  .visit-info {
    grid-template-columns: 1fr 1fr;
  }
  .visit-info > img {
    display: none;
  }
  .birthday-grid,
  .shop-grid,
  .booking-layout {
    gap: 50px;
  }
  .footer-grid {
    gap: 35px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    min-height: 90px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .brand img {
    width: 62px;
    height: 62px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: 1px solid var(--line);
    padding: 10px 14px;
    margin-left: auto;
    min-height: 44px;
    font-size: 0.8rem;
    color: var(--ink);
  }
  .site-header nav {
    width: 100%;
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 12px 0 20px;
    gap: 0;
  }
  .site-header nav a {
    font-size: 0.95rem;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header nav a[aria-current="page"]::after {
    width: 25px;
    bottom: 4px;
  }
  .js .site-header nav {
    display: none;
  }
  .js .site-header nav.is-open {
    display: flex;
  }
  .header-actions .button {
    min-height: 44px;
  }
  .home-hero {
    min-height: 580px;
  }
  .hero-copy h1 {
    font-size: clamp(2.8rem, 6.5vw, 4rem);
  }
  .hero-copy .eyebrow {
    font-size: 0.7rem;
  }
  .hero-copy .lead {
    font-size: 0.96rem;
  }
  .hero-copy .actions {
    gap: 20px;
  }
  .photo-frame img {
    height: 460px;
  }
  .editorial-grid {
    gap: 40px;
  }
  .editorial-grid + .editorial-grid {
    margin-top: 75px;
  }
  .editorial-copy p {
    font-size: 0.93rem;
  }
  .program-main img {
    height: 520px;
  }
  .birthday-grid > img {
    height: 570px;
  }
  .facts div {
    display: block;
  }
  .facts dd {
    text-align: left;
    margin-top: 4px;
  }
  .christmas-hero {
    gap: 35px;
  }
  .christmas-hero img {
    height: 540px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .footer-brand img {
    margin: 0;
  }
  .footer-grid > div:first-child p {
    margin: 0;
  }
  .contact-grid {
    gap: 35px;
  }
  .archive-event {
    gap: 40px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.75;
  }
  h1 {
    font-size: 3.1rem;
  }
  h2 {
    font-size: 2.6rem;
  }
  h3 {
    font-size: 2.15rem;
  }
  .header-inner {
    padding: 8px 20px;
    gap: 10px;
  }
  .brand img {
    width: 56px;
    height: 56px;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions .button {
    padding: 10px 12px;
    gap: 10px;
    font-size: 0.66rem;
  }
  .menu-toggle {
    padding: 9px 11px;
    font-size: 0.75rem;
    gap: 7px;
  }
  .language {
    font-size: 0.7rem;
    min-width: 29px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 45px 25px 32px;
  }
  .hero-copy h1 {
    font-size: 3.5rem;
    line-height: 1.04;
    margin-bottom: 25px;
  }
  .hero-copy .eyebrow {
    font-size: 0.7rem;
  }
  .hero-copy .lead {
    font-size: 1rem;
  }
  .hero-location {
    padding-top: 28px;
  }
  .home-hero figure {
    height: 360px;
  }
  .home-hero figure img {
    object-position: 50% 45%;
  }
  .home-hero figcaption {
    font-size: 0.72rem;
    bottom: 18px;
    left: 20px;
  }
  .section-heading {
    margin-bottom: 40px;
  }
  .editorial-grid,
  .shop-grid,
  .birthday-grid,
  .booking-layout,
  .christmas-hero,
  .archive-event,
  .contact-grid,
  .visit-info {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .editorial-grid + .editorial-grid {
    margin-top: 65px;
  }
  .reversed .photo-frame,
  .reversed .editorial-copy {
    grid-column: auto;
    grid-row: auto;
  }
  .photo-frame img {
    height: 420px;
  }
  .photo-frame.landscape img {
    height: 320px;
  }
  .editorial-copy {
    max-width: none;
  }
  .editorial-copy p {
    font-size: 1rem;
  }
  .season-feature img {
    height: 360px;
  }
  .season-feature .lead {
    font-size: 1rem;
  }
  .visit-info h2 {
    margin-bottom: 22px;
  }
  .visit-info dl div {
    gap: 15px;
  }
  .contact-grid h2 {
    font-size: 2.6rem;
  }
  .contact-grid > div:last-child {
    gap: 12px;
  }
  .contact-grid > div:last-child > a:not(.button) {
    font-size: 0.93rem;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .footer-grid {
    gap: 35px 24px;
    padding-bottom: 40px;
  }
  .footer-grid > div:first-child {
    gap: 20px;
  }
  .footer-grid > div:nth-child(3) {
    min-width: 0;
  }
  .footer-grid > div > a:not(.brand) {
    font-size: 0.75rem;
    overflow-wrap: anywhere;
  }
  .socials {
    flex-direction: column;
    gap: 9px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
  .footer-bottom > div {
    gap: 14px;
  }
  .page-intro {
    padding-top: 45px;
    padding-bottom: 5px;
  }
  .page-intro .lead {
    font-size: 1.02rem;
  }
  .program-main {
    padding-top: 35px;
  }
  .program-main img {
    height: 400px;
  }
  .tinted h2 {
    margin-bottom: 35px;
  }
  .tinted .editorial-grid img {
    height: 330px;
  }
  .event-details {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 25px 0 0;
  }
  .archive-event h2 {
    font-size: 2.6rem;
  }
  .shop-grid {
    padding-top: 35px;
  }
  .shop-grid img {
    height: 460px;
  }
  .birthday-grid {
    padding-top: 35px;
  }
  .birthday-grid > img {
    height: 460px;
  }
  .facts div {
    display: flex;
    gap: 20px;
  }
  .facts dd {
    text-align: right;
    max-width: 58%;
    margin-top: 0;
  }
  .booking-layout > div {
    position: static;
  }
  .booking-layout form {
    padding: 25px 20px;
  }
  .booking-layout h2 {
    margin-bottom: 25px;
  }
  .form-actions .button {
    gap: 15px;
    padding: 13px 18px;
  }
  .christmas-hero {
    padding-top: 45px;
    padding-bottom: 10px;
  }
  .christmas-hero h1 {
    font-size: 3.2rem;
  }
  .christmas-hero img {
    height: auto;
    aspect-ratio: 1.1;
    object-fit: cover;
  }
  .christmas-info {
    padding-top: 55px;
  }
  .legal {
    padding-bottom: 65px;
  }
  .legal h2 {
    font-size: 1.55rem;
  }
  .button {
    max-width: 100%;
    gap: 20px;
  }
  .eyebrow {
    overflow-wrap: anywhere;
  }
}
/* ------------------------------------------------------------------
   Acabados y movimiento — "laino": el contenido emerge de la niebla.
   Estados ocultos solo bajo .motion (JS activo y sin reduced-motion).
------------------------------------------------------------------- */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .15 0 0 0 0 .18 0 0 0 0 .16 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M4.5 11.5 11.5 4.5M5.5 4.5h6v6'/%3E%3C/svg%3E");
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 0.28s var(--ease-soft) both vt-out;
}
::view-transition-new(root) {
  animation: 0.5s var(--ease-out) both vt-in;
}
.site-header {
  view-transition-name: site-header;
}
@keyframes vt-out {
  to {
    opacity: 0;
    filter: blur(6px);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    filter: blur(8px);
  }
}

/* Superficies del navegador */
html {
  scrollbar-color: #b9b1a3 var(--paper);
}
body {
  background-image: var(--grain);
  caret-color: var(--clay);
}
::selection {
  background: var(--clay);
  color: var(--white);
}
.season-feature ::selection {
  background: var(--paper);
  color: var(--forest);
}
a {
  text-decoration-thickness: 1px;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}
:is(.text-link, .visit-info a[href^="tel"], .contact-grid a:not(.button)):hover {
  text-decoration-color: var(--clay);
}

/* Enlaces sobre fondos oscuros: el terracota no contrasta */
.skip:hover,
.season-feature a:not(.button):hover {
  color: var(--white);
}

/* Cabecera: se condensa al hacer scroll */
.site-header {
  transition:
    box-shadow 0.4s var(--ease-soft),
    background-color 0.4s;
}
.site-header.is-scrolled {
  background: rgba(240, 235, 229, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 10px 30px -18px rgba(37, 46, 40, 0.35);
}
.brand img {
  transform-origin: left center;
  transition: transform 0.5s var(--ease-out);
}
.site-header.is-scrolled .header-inner > .brand img {
  transform: scale(0.82);
}
@media (min-width: 901px) {
  .site-header nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--clay);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease-out);
  }
  .site-header nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  .site-header nav a[aria-current="page"]::after {
    height: 2px;
    width: 24px;
    transform: none;
  }
}

/* Icono de flecha dibujado (sustituye el carácter ↗) */
.button > span[aria-hidden="true"] {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  font-size: 0;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  transition: transform 0.35s var(--ease-out);
}
.button {
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.15s var(--ease-soft);
}
.button:hover > span[aria-hidden="true"] {
  transform: translate(3px, -3px);
}
.button:active {
  transform: scale(0.98);
}

/* Botón de menú: dos trazos que se cruzan al abrir */
.menu-toggle > span[aria-hidden="true"] {
  position: relative;
  width: 16px;
  height: 10px;
  font-size: 0;
}
.menu-toggle > span[aria-hidden="true"]::before,
.menu-toggle > span[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}
.menu-toggle > span[aria-hidden="true"]::before {
  top: 0;
}
.menu-toggle > span[aria-hidden="true"]::after {
  bottom: 0;
}
.menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]::before {
  transform: translateY(4.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]::after {
  transform: translateY(-4.25px) rotate(-45deg);
}
.motion .site-header nav.is-open a {
  animation: rise-in 0.45s var(--ease-out) both;
}
.motion .site-header nav.is-open a:nth-child(2) { animation-delay: 30ms; }
.motion .site-header nav.is-open a:nth-child(3) { animation-delay: 60ms; }
.motion .site-header nav.is-open a:nth-child(4) { animation-delay: 90ms; }
.motion .site-header nav.is-open a:nth-child(5) { animation-delay: 120ms; }

/* Fotografías: lento acercamiento al pasar el cursor */
.photo-frame,
.home-hero figure,
.christmas-hero figure {
  overflow: hidden;
}
@media (hover: hover) {
  .photo-frame img {
    transition: scale 1.4s var(--ease-out);
  }
  .photo-frame:hover img {
    scale: 1.035;
  }
}

/* Momento principal: la portada emerge de la niebla */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes mist-in {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(0.18em);
  }
}
@keyframes unveil {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes settle {
  from {
    scale: 1.14;
    filter: blur(6px);
  }
}
.motion :is(.hero-copy, .page-intro, .christmas-hero > div) > * {
  animation: rise-in 0.8s var(--ease-out) both;
  animation-delay: 0.32s;
}
.motion :is(.hero-copy, .page-intro, .christmas-hero > div) > h1 {
  animation: mist-in 1.3s var(--ease-out) both;
  animation-delay: 0.08s;
}
.motion :is(.hero-copy, .page-intro, .christmas-hero > div) > h1 ~ * {
  animation-delay: 0.42s;
}
.motion :is(.hero-copy, .page-intro, .christmas-hero > div) > h1 ~ * ~ * {
  animation-delay: 0.52s;
}
.motion :is(.hero-copy, .christmas-hero > div) > h1 ~ * ~ * ~ * {
  animation-delay: 0.62s;
}
.motion :is(.home-hero, .christmas-hero) figure {
  animation: unveil 1.25s var(--ease-out) 0.05s both;
}
.motion :is(.home-hero, .christmas-hero) figure img {
  animation: settle 1.8s var(--ease-out) 0.05s both;
}
.motion :is(.home-hero, .christmas-hero) figcaption {
  animation: rise-in 0.7s var(--ease-out) 0.9s both;
}
@supports (animation-timeline: view()) {
  @keyframes drift {
    to {
      translate: 0 12%;
    }
  }
  .motion .home-hero figure img {
    animation:
      settle 1.8s var(--ease-out) 0.05s both,
      drift linear both;
    animation-timeline: auto, view();
    animation-range: normal, exit 0% exit 100%;
  }
}

/* Al hacer scroll: las fotos se descubren; el texto no se mueve */
.motion .reveal {
  clip-path: inset(10% 6% 10% 6%);
  opacity: 0;
  transition:
    clip-path 1.2s var(--ease-out),
    opacity 0.9s var(--ease-soft);
}
.motion .reveal img,
.motion img.reveal {
  scale: 1.1;
  filter: blur(10px);
  transition:
    scale 1.6s var(--ease-out),
    filter 1.1s var(--ease-soft);
}
.motion .reveal.is-in {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}
.motion .reveal.is-in img,
.motion img.reveal.is-in {
  scale: 1;
  filter: none;
}
@media (hover: hover) {
  .motion .photo-frame.reveal.is-in:hover img {
    scale: 1.035;
  }
}

/* Formulario: cada paso entra desde la derecha */
.motion fieldset[data-step]:not([hidden]) {
  animation: step-in 0.45s var(--ease-out) both;
}
@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
}
input,
select {
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
input:focus,
select:focus {
  border-color: var(--clay);
}
/* ------------------------------------------------------------------
   Portada "Landetxo": foto a sangre, niebla crema arriba y texto centrado.
------------------------------------------------------------------- */
:root {
  --green: #2f6d40;
}
.button-green {
  background: var(--green);
  border-color: var(--green);
}
.button-green:hover {
  background: var(--forest);
  border-color: var(--forest);
}
.landing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(560px, calc(100svh - 107px));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(44px, 9vh, 104px) var(--gutter) 48px;
  text-align: center;
}
.landing-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
}
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(240, 235, 229, 0.95) 0%,
    rgba(240, 235, 229, 0.9) 24%,
    rgba(240, 235, 229, 0.62) 38%,
    rgba(240, 235, 229, 0.18) 50%,
    rgba(240, 235, 229, 0) 58%
  );
  pointer-events: none;
}
.landing-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1180px;
}
.landing-copy h1 {
  font-size: clamp(2.7rem, 5.3vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 22px;
}
.landing-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em 1.1em;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
}
.landing-tags span[aria-hidden="true"] {
  color: var(--ink);
  opacity: 0.5;
  letter-spacing: 0;
}
.landing-lead {
  max-width: 44ch;
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  line-height: 1.6;
  color: #343d36;
  text-wrap: pretty;
  margin-bottom: 30px;
}
.landing-cta {
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 16px 34px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 30px -16px rgba(22, 52, 31, 0.7);
}
.ticket-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}
.landing-cta:hover .ticket-icon {
  transform: rotate(-12deg) scale(1.06);
}
@media (max-width: 900px), (max-aspect-ratio: 5/4) {
  .landing-hero {
    min-height: 0;
    padding-bottom: 0;
    padding-inline: 0;
  }
  .landing-hero::before {
    display: none;
  }
  .landing-copy {
    padding-inline: var(--gutter);
  }
  .landing-photo {
    position: relative;
    order: 2;
    margin-top: clamp(-90px, -10vw, -40px);
    height: auto;
    aspect-ratio: 4 / 3.4;
    object-position: 22% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
  }
}
@media (max-width: 640px) {
  .landing-hero {
    padding-top: 40px;
  }
  .landing-copy h1 {
    font-size: clamp(2.5rem, 11vw, 3.3rem);
  }
  .landing-tags {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
  }
  .landing-photo {
    aspect-ratio: 4 / 4.4;
    object-position: 14% 100%;
  }
  .landing-cta {
    width: 100%;
    max-width: 340px;
  }
}
/* Entrada: la foto se asienta, la niebla se posa y el texto emerge */
.motion .landing-photo {
  animation: photo-in 1.8s var(--ease-out) both;
}
@keyframes photo-in {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
}
.motion .landing-hero::before {
  animation: fog-in 1.4s var(--ease-soft) both;
}
.motion .landing-copy h1 {
  animation: mist-in 1.3s var(--ease-out) 0.15s both;
}
.motion .landing-tags {
  animation: rise-in 0.8s var(--ease-out) 0.5s both;
}
.motion .landing-lead {
  animation: rise-in 0.8s var(--ease-out) 0.6s both;
}
.motion .landing-cta {
  animation: rise-in 0.8s var(--ease-out) 0.72s both;
}
@keyframes fog-in {
  from {
    opacity: 0;
  }
}
/* ------------------------------------------------------------------
   Popup de Navidad (Izenaduba Gabonak)
------------------------------------------------------------------- */
.xmas-popup {
  width: min(820px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  box-shadow: 0 40px 80px -30px rgba(15, 26, 19, 0.6);
}
.xmas-popup:focus {
  outline: none;
}
.xmas-popup:not([open]) {
  display: none;
}
.xmas-popup::backdrop {
  background: rgba(22, 34, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.xmas-media {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  min-height: 100%;
}
.xmas-media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.xmas-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(40, 62, 49, 0) 45%, rgba(40, 62, 49, 0.55) 100%);
  pointer-events: none;
}
.xmas-snow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.xmas-snow i {
  position: absolute;
  top: -10px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  opacity: 0;
}
.motion .xmas-snow i {
  animation: snow var(--d) linear var(--delay) infinite;
}
@keyframes snow {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  10% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate3d(24px, 460px, 0);
  }
}
.xmas-content {
  position: relative;
  padding: clamp(40px, 5vw, 60px) clamp(28px, 4vw, 52px) clamp(36px, 4.5vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.xmas-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition:
    background-color 0.2s,
    transform 0.3s var(--ease-out);
}
.xmas-close:hover {
  background: var(--sand);
  transform: rotate(90deg);
}
.xmas-close-icon {
  width: 20px;
  height: 20px;
}
.xmas-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  color: var(--clay);
}
.xmas-star {
  width: 15px;
  height: 15px;
  color: #b8862f;
}
.motion .xmas-star {
  animation: twinkle 2.8s ease-in-out infinite;
}
@keyframes twinkle {
  50% {
    transform: rotate(45deg) scale(0.8);
    opacity: 0.6;
  }
}
.xmas-content h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 18px;
}
.xmas-body {
  color: #3e4740;
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
  margin-bottom: 30px;
  max-width: 34ch;
}
.xmas-cta {
  min-width: 200px;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  box-shadow: 0 14px 26px -14px rgba(22, 52, 31, 0.7);
}
/* Entrada y salida */
.motion .xmas-popup[open] {
  animation: popup-in 0.6s var(--ease-out) both;
}
.motion .xmas-popup[open]::backdrop {
  animation: fog-in 0.5s var(--ease-soft) both;
}
.motion .xmas-popup[open] .xmas-media img {
  animation: photo-in 1.4s var(--ease-out) both;
}
.motion .xmas-popup[open] .xmas-content > :not(.xmas-close) {
  animation: rise-in 0.7s var(--ease-out) both;
}
.motion .xmas-popup[open] .xmas-content h2 {
  animation-delay: 0.12s;
}
.motion .xmas-popup[open] .xmas-body {
  animation-delay: 0.2s;
}
.motion .xmas-popup[open] .xmas-cta {
  animation-delay: 0.28s;
}
.motion .xmas-popup.is-closing {
  animation: popup-out 0.25s var(--ease-soft) both;
}
.motion .xmas-popup.is-closing::backdrop {
  animation: popup-fade-out 0.25s var(--ease-soft) both;
}
@keyframes popup-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}
@keyframes popup-out {
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@keyframes popup-fade-out {
  to {
    opacity: 0;
  }
}
@media (max-width: 640px) {
  .xmas-popup {
    grid-template-columns: 1fr;
    grid-template-rows: 210px auto;
    overflow-y: auto;
  }
  .xmas-media {
    min-height: 210px;
  }
  .xmas-close {
    top: -200px;
    right: 10px;
    background: rgba(240, 235, 229, 0.92);
  }
  .xmas-content {
    padding: 30px 24px 30px;
  }
  .xmas-cta {
    width: 100%;
  }
}
/* ------------------------------------------------------------------
   Banner de cookies
------------------------------------------------------------------- */
.consent {
  position: fixed;
  left: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: min(440px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: 26px 26px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -24px rgba(22, 34, 26, 0.45);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s var(--ease-soft),
    transform 0.55s var(--ease-out);
}
.consent.is-visible {
  opacity: 1;
  transform: none;
}
.consent h2 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.consent-message {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #3e4740;
  margin-bottom: 18px;
}
.consent-message a {
  color: var(--clay);
  font-weight: 600;
}
.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.consent-actions .button {
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 600;
}
.consent-link {
  grid-column: 1 / -1;
  justify-self: center;
  min-height: 40px;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.consent-link:hover {
  color: var(--clay);
}
.consent-save {
  grid-column: 1 / -1;
}
.consent-categories {
  margin: 0 0 18px;
  border-top: 1px solid var(--line);
}
.consent-category {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.consent-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.consent-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.consent-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  min-height: 0;
}
.consent-track {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #b9b1a3;
  transition: background-color 0.25s;
}
.consent-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease-out);
}
.consent-switch input:checked + .consent-track {
  background: var(--green);
}
.consent-switch input:checked + .consent-track::after {
  transform: translateX(16px);
}
.consent-switch input:disabled + .consent-track {
  opacity: 0.6;
}
.consent-switch input:focus-visible + .consent-track {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}
.consent-always {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
}
.consent-category-text {
  margin: 6px 0 0 50px;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--muted);
}
.consent-tab {
  position: fixed;
  left: 20px;
  bottom: 0;
  z-index: 55;
  padding: 9px 16px calc(9px + env(safe-area-inset-bottom, 0px));
  border: 1px solid var(--line);
  border-bottom: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 0.75rem;
  box-shadow: 0 -8px 20px -14px rgba(22, 34, 26, 0.4);
  transition: transform 0.3s var(--ease-out);
}
.consent-tab:hover {
  transform: translateY(-3px);
  color: var(--clay);
}
@media (max-width: 640px) {
  .consent {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: auto;
    padding: 22px 20px 16px;
  }
  .consent-tab {
    left: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
