/* =========================================================
   Kaszmir Handmade — bespoke stylesheet
   Palette: dusty rose · mauve · cream · antique gold
   Type: Fraunces (display) · Nunito Sans (body)
   ========================================================= */

:root {
  /* Brand palette */
  --cream:      #FBF6F2;
  --cream-2:    #F7EDE7;
  --blush:      #FBECEE;
  --rose-50:    #FCEFF1;
  --rose-100:   #F6DEE3;
  --rose-200:   #EEC8D0;
  --rose-300:   #DDA4B1;
  --rose-400:   #CB8497;
  --rose-500:   #B0697D;
  --mauve:      #A86A78;
  --rosewood:   #8E4F5E;
  --plum-ink:   #432830;
  --plum-soft:  #6B4951;
  --gold:       #BE9B57;
  --gold-deep:  #A07C39;
  --white:      #FFFFFF;

  /* Semantic */
  --bg:          var(--cream);
  --bg-alt:      #FFFDFC;
  --text:        var(--plum-ink);
  --text-soft:   var(--plum-soft);
  --line:        #EAD6D2;
  --primary:     var(--rosewood);
  --primary-2:   var(--rose-500);

  /* Type scale (fluid) */
  --h1: clamp(2.3rem, 1.2rem + 4.6vw, 4.4rem);
  --h2: clamp(1.8rem, 1.1rem + 2.8vw, 2.9rem);
  --h3: clamp(1.12rem, 1rem + 0.5vw, 1.35rem);
  --lead: clamp(1.02rem, 0.96rem + 0.45vw, 1.22rem);

  /* Spacing / shape */
  --container: 1200px;
  --gutter: clamp(1.1rem, 0.6rem + 2.4vw, 2.4rem);
  --section-y: clamp(3.6rem, 2rem + 7vw, 7rem);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(120, 70, 80, 0.08);
  --shadow-md: 0 14px 38px rgba(120, 64, 78, 0.14);
  --shadow-lg: 0 28px 70px rgba(110, 56, 70, 0.20);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text-soft);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 100% -5%, var(--rose-50), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, #FFF6F0, transparent 55%);
  background-attachment: fixed;
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, .nav__wordmark {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--text);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Accessibility helpers ---------- */
.visually-hidden, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px;
  box-shadow: var(--shadow-md);
}
:focus-visible { outline: 3px solid var(--rose-400); outline-offset: 3px; border-radius: 6px; }

/* Placeholder content marker (for the client to fill in) */
[data-placeholder] { position: relative; }
.pricing__note[data-placeholder] {
  font-size: 0.74rem; color: var(--gold-deep); background: #FBF1DC;
  border: 1px dashed var(--gold); padding: 3px 10px; border-radius: 999px; letter-spacing: 0.02em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.5em; min-height: 48px;
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  border-radius: 999px; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { background: linear-gradient(135deg, var(--rosewood), var(--rose-500)); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold), #D8BC77); color: var(--plum-ink); box-shadow: var(--shadow-sm); }
.btn--gold:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,0.6); color: var(--rosewood); border: 1.5px solid var(--rose-200); }
.btn--ghost:hover { background: #fff; border-color: var(--rose-400); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: "Nunito Sans", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.76rem;
  color: var(--mauve);
}
.eyebrow__mark { width: 14px; height: 14px; fill: var(--gold); }
.section { padding-block: var(--section-y); position: relative; }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__title { font-size: var(--h2); margin-top: 0.5rem; }
.section__lead { font-size: var(--lead); color: var(--text-soft); margin-top: 1rem; }
.section__title em, .hero__title em { font-style: italic; color: var(--rose-500); }

/* ---------- Stitch divider ---------- */
.stitch { position: relative; height: 46px; }
.stitch::before {
  content: ""; position: absolute; top: 50%; left: 8%; right: 8%;
  border-top: 2px dashed var(--rose-200);
}
.stitch::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px;
  background: var(--rose-300); transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: -22px 0 0 -3px var(--gold), 22px 0 0 -3px var(--gold);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  background: rgba(251, 244, 240, 0.72);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav--scrolled { background: rgba(251, 244, 240, 0.9); box-shadow: 0 6px 24px rgba(120,64,78,0.08); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__logo { width: 46px; height: auto; }
.nav__wordmark { font-size: 1.4rem; line-height: 1; display: flex; flex-direction: column; }
.nav__wordmark small { font-family: "Nunito Sans", sans-serif; font-weight: 600; font-size: 0.52rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--mauve); margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: clamp(0.4rem, 1.4vw, 1.4rem); }
.nav__link {
  font-weight: 600; font-size: 0.96rem; color: var(--plum-soft); padding: 0.5em 0.3em;
  position: relative; transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0.3em; right: 0.3em; bottom: 0.15em; height: 2px;
  background: var(--rose-400); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--rosewood); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.4rem; }

.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--rosewood); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__scrim { position: fixed; inset: 0; background: rgba(67,40,48,0.45); z-index: 90; opacity: 0; transition: opacity 0.3s var(--ease); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(2rem, 4vw, 4rem); padding-bottom: 0; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-bottom: var(--section-y); }
.hero__title { font-size: var(--h1); margin: 0.6rem 0 1.1rem; }
.hero__lead { font-size: var(--lead); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 2rem; color: var(--mauve); font-weight: 600; font-size: 0.9rem; }
.hero__trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero__trust li::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

.hero__media { position: relative; }

/* Stacked cards — inspired by chetanverma16/stacked-cards-interaction,
   reimplemented in vanilla CSS. Old floating animation is preserved on the stack. */
.hero__stack {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  cursor: pointer;
  outline: none;
  animation: floaty 7s ease-in-out infinite; /* stara animacja — zachowana */
}
.hero__stack:focus-visible { outline: 3px solid var(--rose-400); outline-offset: 8px; border-radius: var(--radius-xl); }
.hero__card {
  position: absolute; inset: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 8px solid #fff; background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.9s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.5s var(--ease);
  transform-origin: center center; will-change: transform;
}
.hero__card picture { display: block; height: 100%; }
.hero__card img { width: 100%; height: 100%; object-fit: cover; }

/* Rotating deck — JS assigns .pos-0/1/2; each card cycles to the front.
   pos-0 = front (visible motto), pos-1/2 = peeking behind. */
.hero__card.pos-0 { z-index: 30; transform: translate(0, 0) rotate(0deg) scale(1); }
.hero__card.pos-1 { z-index: 20; transform: translate(7%, 5%) rotate(4deg) scale(0.95); }
.hero__card.pos-2 { z-index: 10; transform: translate(-7%, 6%) rotate(-4deg) scale(0.92); }

/* Hover / focus (urządzenia z myszą) = rozłożenie wachlarza: karta na wierzchu
   się powiększa, dwie pozostałe wyjeżdżają na boki i odsłaniają (rotacja jest
   wtedy wstrzymana przez JS). Gated do (hover: hover), aby tap na telefonie
   jedynie przełączał kartę, bez rozkładania. */
@media (hover: hover) {
  .hero__stack:hover .hero__card.pos-0,
  .hero__stack:focus-within .hero__card.pos-0 { z-index: 30; transform: translate(0, -2%) rotate(0deg) scale(1.05); }
  .hero__stack:hover .hero__card.pos-1,
  .hero__stack:focus-within .hero__card.pos-1 { transform: translate(31%, 6%) rotate(8deg) scale(1); }
  .hero__stack:hover .hero__card.pos-2,
  .hero__stack:focus-within .hero__card.pos-2 { transform: translate(-25%, 9%) rotate(-8deg) scale(1); }
}

.hero__motto {
  position: absolute; left: 12px; bottom: 12px; z-index: 5;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 0.5rem 0.85rem; border-radius: 999px; box-shadow: var(--shadow-md);
  font-weight: 700; font-size: 0.8rem; color: var(--rosewood); line-height: 1.15;
}
.hero__motto svg { width: 18px; height: 18px; flex: none; fill: var(--rose-400); }
.hero__motto--gold svg { fill: var(--gold); }

/* soft drifting blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(36px); opacity: 0.55; z-index: 0; pointer-events: none; }
.blob--1 { width: 420px; height: 420px; right: -120px; top: -60px; background: radial-gradient(circle, var(--rose-200), transparent 70%); animation: drift 16s ease-in-out infinite; }
.blob--2 { width: 360px; height: 360px; left: -140px; bottom: -40px; background: radial-gradient(circle, #FBE6CF, transparent 70%); animation: drift 20s ease-in-out infinite reverse; }

@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,24px) scale(1.06); } }

/* ---------- Decorative scissors-and-thread shapes (entrance on load + slow float) ---------- */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-shapes__def { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero-shape {
  position: absolute; opacity: 0; transform: rotate(var(--rot, 0deg));
  animation: shapeIn 2.2s cubic-bezier(0.23, 0.86, 0.39, 0.96) var(--d, 0.3s) forwards;
}
.hero-shape__i { display: block; animation: shapeFloat 12s ease-in-out infinite; animation-delay: 2.4s; will-change: transform; }
.hero-shape svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 22px rgba(160, 110, 120, 0.16)); }
/* Scissor blades rotate around the pivot (78,43 in the viewBox) — JS sets --snip on scroll for the "cutting" motion */
.scissors__blade { transform-box: view-box; transform-origin: 78px 43px; transition: transform 0.18s ease-out; }
.scissors__blade--top { transform: rotate(var(--snip, 0deg)); }
.scissors__blade--bot { transform: rotate(calc(-1 * var(--snip, 0deg))); }
@keyframes shapeIn {
  0%   { opacity: 0; transform: translateY(-90px) rotate(calc(var(--rot, 0deg) - 15deg)); }
  100% { opacity: var(--op, 0.45); transform: translateY(0) rotate(var(--rot, 0deg)); }
}
@keyframes shapeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(14px); } }

/* =========================================================
   FEATURES (trust strip)
   ========================================================= */
.features { padding-block: clamp(1rem, 3vw, 1rem); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: -3.2rem; position: relative; z-index: 4; }
.feature {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--rose-200); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--rose-50); margin-bottom: 0.9rem; }
.feature__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--rosewood); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: var(--h3); margin-bottom: 0.35rem; }
.feature p { font-size: 0.95rem; }

/* =========================================================
   OFFER (custom sewing)
   ========================================================= */
.offer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.9rem, 1.6vw, 1.3rem); }
.cat-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.3rem; text-align: left;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--rose-300); background: #fff; }
.cat-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--rose-50), var(--rose-100)); margin-bottom: 1rem; }
.cat-card__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--rosewood); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cat-card h3 { font-size: var(--h3); margin-bottom: 0.3rem; }
.cat-card p { font-size: 0.92rem; }

.offer__cta {
  margin-top: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  background: linear-gradient(120deg, var(--rose-50), #FFF7EE); border: 1px solid var(--rose-100);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.offer__cta h3 { font-size: var(--h3); }
.offer__cta p { font-size: 0.98rem; max-width: 52ch; margin-top: 0.3rem; }

/* =========================================================
   RENTAL + PRICING
   ========================================================= */
.rental { background: linear-gradient(180deg, transparent, var(--rose-50) 40%, transparent); }
.rental__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.rental__features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.4rem; margin: 1.6rem 0; }
.rental__features li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--plum-ink); }
.rental__features .icon { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--rose-100); fill: none; stroke: var(--rosewood); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.pricing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-md); }
.pricing__head { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pricing__head h3 { font-size: var(--h3); }
.pricing__table { width: 100%; border-collapse: collapse; }
.pricing__table th, .pricing__table td { text-align: left; padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.pricing__table th { font-family: "Nunito Sans"; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; color: var(--mauve); }
.pricing__table td:last-child, .pricing__table th:last-child { text-align: right; font-weight: 700; color: var(--plum-ink); white-space: nowrap; }
.pricing__table tr:last-child td { border-bottom: none; }
.pricing__foot { margin-top: 1rem; font-size: 0.86rem; color: var(--text-soft); }
td[data-placeholder], .pricing__foot span[data-placeholder] { color: var(--gold-deep); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: clamp(0.6rem, 1.4vw, 1rem); }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); padding: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item picture { display: block; height: 100%; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(67,40,48,0.35));
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__more { text-align: center; margin-top: 1.8rem; }
.gallery__more a { color: var(--rosewood); font-weight: 700; border-bottom: 2px solid var(--rose-200); transition: border-color 0.25s var(--ease); }
.gallery__more a:hover { border-color: var(--rose-400); }

/* =========================================================
   VOUCHER
   ========================================================= */
.voucher__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.voucher__media picture { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); rotate: -1.5deg; border: 8px solid #fff; }
.voucher__media img { width: 100%; }

/* =========================================================
   ABOUT
   ========================================================= */
.about__inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.6rem, 4vw, 3.6rem); align-items: center; }
.about__media { position: relative; }
.about__media > picture:first-child { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 7px solid #fff; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media-2 { position: absolute; right: -6%; bottom: -14%; width: 46%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; display: none; }
.about__text p { margin-top: 1rem; font-size: var(--lead); }
.stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2rem; }
.stat dt { font-family: "Fraunces", serif; font-size: 1.7rem; color: var(--rosewood); font-weight: 600; }
.stat dd { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mauve); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.testi-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi-card__stars { color: var(--gold); letter-spacing: 0.12em; margin-bottom: 0.7rem; }
.testi-card blockquote { font-family: "Fraunces", serif; font-style: italic; font-size: 1.12rem; color: var(--plum-ink); line-height: 1.5; }
.testi-card figcaption { margin-top: 1rem; font-weight: 700; color: var(--mauve); font-size: 0.9rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: stretch; }
.contact__list { margin: 1.6rem 0; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact__list .icon { width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 12px; background: var(--rose-50); fill: none; stroke: var(--rosewood); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact__list a { color: var(--rosewood); font-weight: 700; }
.contact__list a:hover { text-decoration: underline; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); min-height: 380px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: linear-gradient(180deg, var(--cream-2), #F2E2DC); margin-top: var(--section-y); padding-top: clamp(2.6rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.4rem; }
.footer__brand img { width: 64px; margin-bottom: 0.9rem; }
.footer__brand p { font-size: 0.94rem; max-width: 38ch; }
.footer__nav { display: grid; gap: 0.6rem; align-content: start; }
.footer__nav a { font-weight: 600; color: var(--plum-soft); transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: var(--rosewood); }
.footer__contact p { margin-bottom: 0.6rem; }
.footer__contact a { color: var(--rosewood); font-weight: 700; }
.footer__social { display: flex; gap: 0.7rem; margin-top: 0.6rem; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), background-color 0.25s var(--ease); }
.footer__social a:hover { transform: translateY(-3px); background: var(--rose-50); }
.footer__social svg { width: 22px; height: 22px; fill: none; stroke: var(--rosewood); stroke-width: 1.6; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; padding-block: 1.4rem; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--text-soft); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(50,28,34,0.82); backdrop-filter: blur(6px); padding: 4vw; opacity: 0; transition: opacity 0.3s var(--ease); }
/* IMPORTANT: the class rule above sets display:grid, which overrides the [hidden]
   attribute. Without this, the (invisible) overlay covers the page and eats all clicks. */
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__img { max-width: min(94vw, 1100px); max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); border: 5px solid #fff; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.92); box-shadow: var(--shadow-md); transition: transform 0.2s var(--ease), background-color 0.2s var(--ease); }
.lightbox__close svg, .lightbox__nav svg { width: 24px; height: 24px; fill: none; stroke: var(--plum-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 4vw; right: 4vw; }
.lightbox__nav--prev { left: 3vw; }
.lightbox__nav--next { right: 3vw; }
.lightbox__close:hover, .lightbox__nav:hover { background: #fff; transform: scale(1.08); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .offer__grid { grid-template-columns: repeat(2, 1fr); }
  .testi__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  /* Disable glass on mobile: backdrop-filter creates a containing block that
     would trap the fixed off-canvas panel inside the 76px nav bar. */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251, 244, 240, 0.96); }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; height: 100dvh; width: min(82vw, 340px); z-index: 95;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.4rem;
    background: var(--cream); padding: 6rem 1.6rem 2rem; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.4s var(--ease); overflow-y: auto;
  }
  .nav__links.is-open { transform: none; }
  .nav__link { font-size: 1.1rem; padding: 0.7em 0.2em; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 0.8rem 0 0; }
  .nav__toggle { display: block; }
  .nav__scrim:not([hidden]) { display: block; }
  body.nav-open { overflow: hidden; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { max-width: none; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__media { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .features__grid { margin-top: 1.5rem; }

  .rental__inner, .voucher__inner, .about__inner, .contact__inner { grid-template-columns: 1fr; }
  .voucher__media { order: -1; }
  .gallery__grid { grid-auto-rows: 180px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features__grid, .offer__grid { grid-template-columns: 1fr; }
  .rental__features { grid-template-columns: 1fr; }
  .testi__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .offer__cta { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .hero__card.pos-1 { transform: translate(6%, 4%) rotate(3deg) scale(0.95); }
  .hero__card.pos-2 { transform: translate(-6%, 5%) rotate(-3deg) scale(0.93); }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__stack { animation: none; }
  .blob { animation: none; }
  .hero-shape { animation: none; opacity: var(--op, 0.4); transform: rotate(var(--rot, 0deg)); }
  .hero-shape__i { animation: none; }
}
