﻿/* =========================================================================
   Pokoje u Jadzi — Gródek nad Dunajcem
   Warm, natural design system
   ========================================================================= */

:root {
  /* Palette — warm & natural */
  --cream:        #f8f3ea;
  --cream-2:      #f2ead9;
  --paper:        #fffdf8;
  --ink:          #2b2620;
  --ink-soft:     #5a5145;
  --muted:        #8a7f6e;
  --line:         #e4d9c4;

  --forest:       #3c5344;   /* deep green */
  --forest-dark:  #2c3f34;
  --wood:         #a9682f;   /* warm terracotta wood */
  --wood-dark:    #8a5423;
  --gold:         #c39a4e;   /* muted gold accent */
  --gold-soft:    #d8b877;

  --shadow-sm: 0 1px 3px rgba(43, 38, 32, .07), 0 1px 2px rgba(43, 38, 32, .05);
  --shadow-md: 0 10px 30px -12px rgba(43, 38, 32, .22);
  --shadow-lg: 0 30px 60px -20px rgba(43, 38, 32, .35);

  --radius:   6px;
  --radius-lg: 14px;

  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p { max-width: 68ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wood);
  display: inline-block;
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--gold-soft); }

.lede { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--cream2 { background: var(--cream-2); }
.section--forest { background: var(--forest); color: #e9e2d3; }
.section--forest h2, .section--forest h3 { color: #fff; }

.center { text-align: center; }
.center p { margin-inline: auto; }
.section-head { max-width: 62ch; }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: .6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em;
  padding: .95em 1.7em; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--wood); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--wood-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--wood); color: var(--wood); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--forest-dark); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #322610; }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 1.1em 2.1em; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding-block: 1.1rem;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; flex-direction: column; line-height: 1; z-index: 2; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: #fff; transition: color .35s ease; }
.brand__sub  { font-family: var(--sans); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: .35rem; transition: color .35s ease; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a {
  font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.92);
  letter-spacing: .02em; position: relative; padding-block: .3rem; transition: color .3s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold-soft); transition: width .3s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }

/* scrolled state */
.site-header.is-scrolled { background: var(--paper); box-shadow: var(--shadow-sm); padding-block: .7rem; }
.site-header.is-scrolled .brand__name { color: var(--ink); }
.site-header.is-scrolled .brand__sub { color: var(--wood); }
.site-header.is-scrolled .nav__links a { color: var(--ink-soft); }
.site-header.is-scrolled .nav__links a:hover { color: var(--wood); }
.site-header.is-scrolled .btn--light { background: var(--wood); color: #fff; border-color: transparent; }
.site-header.is-scrolled .btn--light:hover { background: var(--wood-dark); }
/* solid header on interior pages */
.site-header.header--solid { position: sticky; background: var(--paper); box-shadow: var(--shadow-sm); }
.site-header.header--solid .brand__name { color: var(--ink); }
.site-header.header--solid .brand__sub { color: var(--wood); }
.site-header.header--solid .nav__links a { color: var(--ink-soft); }
.site-header.header--solid .btn--light { background: var(--wood); color: #fff; border-color: transparent; }

/* burger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .4rem; z-index: 120; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease, background .3s ease; }
.site-header.is-scrolled .nav-toggle span, .header--solid .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(24,32,26,.55) 0%, rgba(24,32,26,.25) 40%, rgba(24,32,26,.6) 100%);
}
.hero__inner { padding-block: 9rem 4rem; max-width: 46rem; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero__sub { font-family: var(--sans); font-size: .82rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.4rem; }
.hero__desc { font-size: 1.22rem; color: rgba(255,255,255,.92); margin-top: 1.4rem; max-width: 34rem; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .5rem; cursor: pointer; transition: color .3s ease; }
.hero__scroll:hover { color: #fff; }
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,0)); animation: scrollpulse 2s ease-in-out infinite; }
@keyframes scrollpulse { 0%,100%{opacity:.3; transform: scaleY(.6) translateY(-6px);} 50%{opacity:1; transform: scaleY(1);} }

.reserve-note {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; letter-spacing: .04em; color: rgba(255,255,255,.85);
  margin-top: 1.6rem; padding: .4rem .9rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
}
.reserve-note svg { width: 1rem; height: 1rem; color: var(--gold-soft); }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; color: #fff; padding-block: clamp(6rem, 14vw, 9rem) clamp(3rem, 7vw, 5rem); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28,40,32,.55), rgba(28,40,32,.7)); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; margin-top: .8rem; }
.breadcrumb { font-size: .8rem; letter-spacing: .05em; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split__media--stack img:first-child { aspect-ratio: 3/4; grid-row: span 2; }
.split__media--stack img { aspect-ratio: 4/3; }
.badge-float {
  position: absolute; bottom: -1.4rem; right: -1.2rem; background: var(--paper);
  border-radius: var(--radius-lg); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-md);
  text-align: center; border: 1px solid var(--line);
}
.badge-float strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--wood); line-height: 1; }
.badge-float span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1.4rem; margin-top: 3rem; }
.amenity {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.amenity__icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--wood); margin-bottom: 1.1rem; }
.amenity__icon svg { width: 1.5rem; height: 1.5rem; }
.amenity h3 { font-size: 1.28rem; margin-bottom: .3rem; }
.amenity p { font-size: .95rem; margin: 0; }

/* ---------- Cards (rooms / posts) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 2rem; }

.card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.92); color: var(--wood-dark); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.card__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .5rem; }
.card__body p { font-size: .96rem; margin: 0 0 1.2rem; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; }
.card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.card__meta svg { width: 1rem; height: 1rem; color: var(--wood); }
.card__link { font-weight: 600; color: var(--wood); font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; transition: gap .25s ease; }
.card__link:hover { gap: .7rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: 1rem; }
.gallery > * { break-inside: avoid; margin-bottom: 1rem; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; transition: transform .5s ease, filter .5s ease; }
.gallery button:hover img { transform: scale(1.04); filter: brightness(1.05); }

.gallery-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.gallery-strip img { aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-lg); scroll-snap-align: start; box-shadow: var(--shadow-sm); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,17,13,.94); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s ease; }
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; transition: background .25s ease; }
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__btn svg { width: 1.4rem; height: 1.4rem; }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .85rem; letter-spacing: .1em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(44,63,52,.82), rgba(44,63,52,.88)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 1rem auto 0; font-size: 1.15rem; }
.cta-phone { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.4rem; transition: color .3s ease; }
.cta-phone:hover { color: var(--gold-soft); }
.cta-phone svg { width: .85em; height: .85em; color: var(--gold-soft); }

/* ---------- Info / contact ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1.6rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__icon { flex: 0 0 auto; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--cream-2); color: var(--wood); display: grid; place-items: center; }
.info-item__icon svg { width: 1.3rem; height: 1.3rem; }
.info-item h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .25rem; }
.info-item p, .info-item a { font-size: 1.05rem; color: var(--ink); }
.info-item a:hover { color: var(--wood); }

.map-embed { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); filter: saturate(.9); }

/* ---------- Article ---------- */
.article { max-width: 46rem; margin-inline: auto; }
.article p { max-width: none; margin-bottom: 1.3rem; }
.article h2 { margin-top: 2.6rem; margin-bottom: 1rem; }
.article h3 { margin-top: 2rem; margin-bottom: .7rem; }
.article ul.bullets { margin: 0 0 1.5rem; padding-left: 0; }
.article ul.bullets li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; }
.article ul.bullets li::before { content: ""; position: absolute; left: .2rem; top: .65em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--wood); }
.article figure { margin: 2rem 0; }
.article figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.article figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .7rem; font-style: italic; }
.article__meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 2rem; }
.pull {
  border-left: 3px solid var(--gold); padding: .3rem 0 .3rem 1.5rem; margin: 2rem 0;
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; color: var(--ink); font-style: italic;
}
.tip-box { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; margin: 2rem 0; }
.tip-box h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); margin-bottom: .6rem; }
.tip-box p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-dark); color: rgba(233,226,211,.75); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand__name { font-family: var(--serif); font-size: 1.8rem; color: #fff; }
.footer-brand p { font-size: .95rem; margin-top: .8rem; }
.footer-links li { margin-bottom: .6rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; font-size: .95rem; }
.footer-contact svg { width: 1.1rem; height: 1.1rem; color: var(--gold-soft); flex: 0 0 auto; margin-top: .2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: rgba(233,226,211,.55); }

/* ---------- Price ---------- */
.card__price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--wood); margin: 0 0 1rem; }
.card__price small { font-family: var(--sans); font-size: .76rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem .7rem; margin: 0 0 1.4rem; font-family: var(--serif); }
.price strong { font-size: 1.9rem; font-weight: 600; color: var(--wood); line-height: 1; }
.price span { font-family: var(--sans); font-size: .9rem; color: var(--muted); align-self: center; }
.price em { font-family: var(--sans); font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--wood-dark); background: rgba(195,154,78,.18); padding: .25rem .65rem; border-radius: 999px; align-self: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 60rem; margin: 2.6rem auto 0; display: grid; gap: .9rem; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem;
  font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.35rem); color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: 0 0 auto; font-family: var(--sans); font-size: 1.6rem; line-height: 1; color: var(--wood); transition: transform .3s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { max-width: none; margin: 0; padding: 0 1.4rem 1.3rem; font-size: .98rem; color: var(--ink-soft); }
.faq__item a { color: var(--wood); font-weight: 600; }

/* anchor offset for fixed/sticky header */
section[id] { scroll-margin-top: 5rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .split--reverse .split__media { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
}
@media (max-width: 780px) {
  .nav__links, .nav .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--paper); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 0; padding: 3rem 2.4rem; transform: translateX(100%); transition: transform .4s cubic-bezier(.16,.8,.3,1);
    box-shadow: var(--shadow-lg); z-index: 110;
  }
  .nav.is-open { transform: none; }
  .nav.is-open .nav__links, .nav.is-open .btn { display: flex; }
  .nav__links { flex-direction: column; gap: 0; width: 100%; }
  .nav__links a { color: var(--ink); font-family: var(--serif); font-size: 1.5rem; padding-block: .7rem; border-bottom: 1px solid var(--line); width: 100%; }
  .nav.is-open .btn { margin-top: 1.6rem; }
  .nav.is-open .btn--light { background: var(--wood); color: #fff; border-color: transparent; }
  .nav-toggle.is-open span { background: var(--ink); }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-contact li { justify-content: center; text-align: left; }
  .footer-bottom { justify-content: center; text-align: center; }
  .gallery { columns: 1; }
  .split__media--stack { grid-template-columns: 1fr 1fr; }
  .badge-float { right: 1rem; bottom: 1rem; }
  /* Hero: center content for balanced mobile layout */
  .hero__inner { text-align: center; padding-block: 7rem 4.5rem; max-width: 34rem; margin-inline: auto; }
  .hero__sub, .hero__desc { margin-inline: auto; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
