/* ==========================================================================
   Linea Pura — landing page
   Premium, čistý, realitně-profesionální styl.
   ========================================================================== */

/* -------------------------------- TOKENS -------------------------------- */
:root {
  --bg: #f6f2eb;
  --bg-alt: #ebe4d8;
  --bg-dark: #161412;
  --bg-elev: #ffffff;

  --ink: #161412;
  --ink-soft: #4a443d;
  --ink-muted: #807767;
  --line: #161412;
  --line-soft: rgba(22, 20, 18, 0.12);
  --line-faint: rgba(22, 20, 18, 0.06);

  --accent: #b89a5b;
  --accent-deep: #8d7949;
  --accent-soft: #d8c9ad;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 130px);
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(22, 20, 18, 0.06);
  --shadow-2: 0 4px 16px rgba(0, 0, 0, 0.06), 0 24px 48px rgba(22, 20, 18, 0.10);

  --t-fast: 180ms cubic-bezier(.25,.46,.45,.94);
  --t-base: 320ms cubic-bezier(.25,.46,.45,.94);
  --t-slow: 600ms cubic-bezier(.25,.46,.45,.94);

  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* -------------------------------- RESET --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent-deep); }

button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0 0 .4em; font-family: var(--font-serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.005em; color: var(--ink); }

h1 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); font-weight: 500; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }

::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; top: -100px; left: 16px; padding: 12px 18px;
  background: var(--ink); color: var(--bg);
  z-index: 200; font-weight: 600; transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }

/* -------------------------------- LAYOUT -------------------------------- */
.container {
  max-width: var(--max);
  padding: 0 var(--gutter);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  margin: 0 0 14px;
}
.eyebrow--tag {
  background: rgba(184, 154, 91, 0.14);
  border: 1px solid rgba(184, 154, 91, 0.34);
  color: var(--accent-deep);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.14em;
}

.section {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line-faint);
}
.section--alt { background: var(--bg-alt); border-top-color: transparent; }
.section--feature { background: var(--bg-dark); color: var(--bg); border-top-color: transparent; }
.section--feature h2,
.section--feature h3 { color: #fff; }
.section--feature .eyebrow { color: var(--accent-soft); }

.section__inner > * + * { margin-top: 0; }
.section__head { max-width: 760px; margin: 0 0 clamp(36px, 5vw, 64px); }
.section__head--centered { margin-left: auto; margin-right: auto; text-align: center; }
.section__intro { color: var(--ink-soft); font-size: 1.05rem; max-width: 720px; }

/* -------------------------------- HEADER -------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(246, 242, 235, 0);
  transition: background var(--t-base), box-shadow var(--t-base), backdrop-filter var(--t-base);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(246, 242, 235, 0.96);
  box-shadow: 0 1px 0 var(--line-faint), 0 8px 24px rgba(22, 20, 18, 0.06);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}

.site-header__row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
  position: relative;
}
.brand {
  display: inline-flex; align-items: center;
  margin-right: auto;
  position: relative;
}
.brand__mark { height: 28px; width: auto; transition: opacity var(--t-base); }
.brand__mark--dark {
  position: absolute; left: 0; top: 0;
  opacity: 0;
}
.site-header.is-scrolled .brand__mark--light,
.site-header.is-open .brand__mark--light { opacity: 0; }
.site-header.is-scrolled .brand__mark--dark,
.site-header.is-open .brand__mark--dark { opacity: 1; }

.primary-nav ul {
  display: flex; gap: clamp(14px, 2vw, 28px);
}
.primary-nav a {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  padding: 6px 0;
  transition: color var(--t-base);
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}
.site-header.is-scrolled .primary-nav a { color: var(--ink); text-shadow: none; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}
.primary-nav a.is-active::after,
.primary-nav a:hover::after { transform: scaleX(1); }

.site-header__cta {
  white-space: nowrap;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.96);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.site-header__cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.site-header.is-scrolled .site-header__cta { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.site-header.is-scrolled .site-header__cta:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
@media (max-width: 960px) {
  .primary-nav,
  .btn.site-header__cta { display: none; }
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-base), opacity var(--t-base), top var(--t-base);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
}

.mobile-nav {
  background: var(--bg);
  border-top: 1px solid var(--line-faint);
  padding: 16px 0 24px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { padding: 0 var(--gutter); display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--line-faint); }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.05rem;
  font-weight: 500;
}

/* -------------------------------- HERO ---------------------------------- */
.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 880px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  margin-top: 0; /* header is fixed */
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(22,20,18,0.18) 0%, rgba(22,20,18,0.0) 30%, rgba(22,20,18,0.55) 75%, rgba(22,20,18,0.85) 100%),
    linear-gradient(90deg, rgba(22,20,18,0.55) 0%, rgba(22,20,18,0.0) 60%);
}
.hero__content {
  position: relative; z-index: 2;
  padding-top: 120px;
  padding-bottom: clamp(48px, 7vw, 96px);
  width: 100%;
}
.hero__eyebrow {
  font-size: .8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent-soft);
  margin: 0 0 18px;
}
.hero h1 {
  color: #fff;
  max-width: 16ch;
  margin: 0 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 56ch;
  color: rgba(255,255,255,0.92);
  margin: 0 0 32px;
}
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  margin: 0 0 36px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,0.22);
  max-width: 720px;
}
.hero__facts li {
  display: flex; flex-direction: column; gap: 2px;
}
.hero__facts strong {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero__facts span {
  font-size: .82rem; color: rgba(255,255,255,0.72);
  text-transform: uppercase; letter-spacing: 0.14em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------- BUTTONS ------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent-deep); color: #fff; }
.section--feature .btn--primary { background: var(--accent); color: var(--ink); }
.section--feature .btn--primary:hover { background: var(--accent-soft); }

.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.section--feature .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.section--feature .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--sm { padding: 10px 16px; font-size: .85rem; }

.btn__arrow { transition: transform var(--t-fast); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* -------------------------------- INTRO --------------------------------- */
.lede-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  margin: 0;
}
.usp-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.usp-list li {
  position: relative;
  padding-left: 26px;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
}
.usp-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 14px; height: 1px; background: var(--accent-deep);
}
@media (max-width: 720px) {
  .lede-grid { grid-template-columns: 1fr; }
}

/* -------------------------------- USES ---------------------------------- */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.use-card {
  background: var(--bg);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section--alt .use-card { background: var(--bg-alt); }
.use-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: -0.005em;
  margin: 0;
}
.use-card p { color: var(--ink-soft); font-size: .96rem; margin: 0; line-height: 1.55; }
@media (max-width: 1100px) {
  .uses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .uses-grid { grid-template-columns: 1fr; }
}

.uses-note {
  margin: 24px 0 0;
  font-size: .92rem;
  color: var(--ink-muted);
}

.uses-visual {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-soft);
}
.uses-visual__title {
  font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 500;
  letter-spacing: -0.005em; margin: 0 0 8px;
}
.uses-visual__lede { color: var(--ink-soft); margin: 0 0 28px; max-width: 64ch; }
.uses-visual__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.uses-visual__grid figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4/3; background: var(--ink); border-radius: var(--radius); }
.uses-visual__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.uses-visual__grid figure:hover img { transform: scale(1.04); }
.uses-visual__grid figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(22,20,18,0.78);
  color: #fff;
  font-size: .78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}
@media (max-width: 920px) { .uses-visual__grid { grid-template-columns: repeat(2, 1fr); } }

/* -------------------------------- PARAMS -------------------------------- */
.params-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin: 0;
}
.param {
  background: var(--bg);
  padding: 22px clamp(20px, 2.2vw, 28px);
}
.section--alt .param { background: var(--bg-alt); }
.param dt {
  font-size: .76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 0 0 6px;
}
.param dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
@media (max-width: 900px) { .params-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .params-grid { grid-template-columns: 1fr; } }

.params-note { margin: 24px 0 0; font-size: .9rem; color: var(--ink-muted); }

/* -------------------------------- LOCALITY ------------------------------ */
.locality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 56px);
}
.locality-block h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line-soft);
}
.locality-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-faint);
  gap: 18px;
}
.locality-list span { color: var(--ink); font-size: .98rem; }
.locality-list em {
  color: var(--ink-muted);
  font-style: normal;
  font-size: .85rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (max-width: 820px) { .locality-grid { grid-template-columns: 1fr; } }

/* -------------------------------- GALLERY ------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  cursor: zoom-in;
  aspect-ratio: 3/2;
  border-radius: var(--radius);
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 16/9; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow), opacity var(--t-base);
}
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
  transition: opacity var(--t-base);
  opacity: 0;
}
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item:hover::after { opacity: 1; }

.gallery--concepts .gallery__item { aspect-ratio: 4/3; }
.gallery--concepts .gallery__item--wide { grid-column: auto; aspect-ratio: 4/3; }
.gallery--concepts figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(22,20,18,0.82);
  color: #fff;
  font-size: .78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 540px) {
  .gallery { grid-template-columns: 1fr; gap: 10px; }
  .gallery__item--wide { grid-column: auto; aspect-ratio: 4/3; }
}

/* -------------------------------- FLOORPLAN ----------------------------- */
.floorplan {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: clamp(20px, 2.5vw, 36px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.floorplan img { width: 100%; height: auto; }
.floorplan figcaption {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: .92rem; color: var(--ink-muted);
}

/* -------------------------------- PRICE --------------------------------- */
.price-card {
  max-width: 880px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  text-align: center;
}
.price-card__lede {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto 28px;
}
.price-card__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin: 0 auto 32px;
  text-align: left;
  max-width: 720px;
}
.price-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: .98rem;
  color: rgba(255,255,255,0.92);
}
.price-card__list strong { color: #fff; }
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 14px; height: 1px; background: var(--accent-soft);
}
.price-card__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-width: 640px) { .price-card__list { grid-template-columns: 1fr; } }

/* -------------------------------- MAP ----------------------------------- */
.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-alt);
}
.map iframe {
  width: 100%; height: clamp(360px, 50vw, 520px); border: 0;
  display: block;
  filter: saturate(0.85) contrast(0.95);
}
.map__attribution {
  font-size: .8rem;
  color: var(--ink-muted);
  margin: 12px 0 0;
}

/* -------------------------------- CONTACT ------------------------------- */
.contact-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  max-width: 920px;
  margin: 0 auto;
  box-shadow: var(--shadow-1);
}
.section--alt .contact-card { background: #fff; }

.contact-card__avatar {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-soft), var(--accent));
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 4.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  border: 1px solid rgba(22,20,18,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.contact-card__role {
  font-size: .76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin: 0 0 8px;
}
.contact-card h3 {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 500; margin: 0 0 4px; letter-spacing: -0.005em;
}
.contact-card__org { color: var(--ink-soft); font-size: 1rem; margin: 0 0 24px; }
.contact-card__list {
  display: grid; gap: 8px;
  margin: 0 0 28px;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
}
.contact-card__list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  font-size: 1rem;
}
.contact-card__list span {
  font-size: .76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.contact-card__list a { font-weight: 500; color: var(--ink); border-bottom: 1px solid transparent; }
.contact-card__list a:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

@media (max-width: 720px) {
  .contact-card { grid-template-columns: 1fr; text-align: left; }
  .contact-card__avatar { width: 130px; height: 130px; font-size: 2.6rem; }
}

/* -------------------------------- FOOTER -------------------------------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px);
  color: var(--ink-soft);
  font-size: .92rem;
}
.site-footer__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}
.site-footer__brand img { height: 26px; width: auto; }
.site-footer__brand p { margin: 12px 0 0; color: var(--ink-muted); }
.site-footer__nav ul { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.site-footer__nav a { color: var(--ink-soft); }
.site-footer__nav a:hover { color: var(--ink); }
.site-footer__legal { text-align: right; color: var(--ink-muted); margin: 0; }

@media (max-width: 820px) {
  .site-footer__row { grid-template-columns: 1fr; text-align: left; }
  .site-footer__nav ul { justify-content: flex-start; }
  .site-footer__legal { text-align: left; }
}

/* -------------------------------- STICKY CTA ---------------------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  padding: 12px max(12px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  gap: 10px;
  background: rgba(246, 242, 235, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -8px 24px rgba(22, 20, 18, 0.08);
}
.sticky-cta__btn {
  flex: 1;
  display: inline-flex; justify-content: center; align-items: center;
  height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.sticky-cta__btn--primary {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* -------------------------------- LIGHTBOX ------------------------------ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(8, 7, 6, 0.985);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(40px, 6vw, 72px);
  opacity: 0;
  transition: opacity var(--t-base);
}
.lightbox[hidden] { display: none !important; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage {
  margin: 0;
  max-width: min(1400px, 100%);
  max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  width: auto; height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.lightbox__stage figcaption {
  color: rgba(255,255,255,0.84);
  font-size: .92rem;
  text-align: center;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), transform var(--t-fast);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,0.16); transform: scale(1.04); }
.lightbox__close { top: 24px; right: 24px; font-size: 2rem; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); font-size: 2.2rem; }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); font-size: 2.2rem; }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.04); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.04); }
.lightbox__counter {
  position: absolute;
  left: 50%; bottom: 24px; transform: translateX(-50%);
  color: rgba(255,255,255,0.78);
  font-size: .82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .lightbox { padding: 16px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__stage img { max-height: calc(100vh - 140px); }
}

/* -------------------------------- SCROLL ANIM --------------------------- */
.fx-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(.2,.7,.2,1);
}
.fx-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Don't animate hero — it's above the fold */
.hero .fx-fade { opacity: 1; transform: none; }
