/* =========================================================
   Parivqenx — Custom CSS
   Design: Architectural Grid | Precise, Intellectual, Structured
   ========================================================= */

/* --- Custom Properties --- */
:root {
  --color-bg: #f4f2ee;
  --color-bg-alt: #edeae4;
  --color-bg-dark: #1a1a2e;
  --color-bg-darker: #12121f;
  --color-primary: #1a1a2e;
  --color-secondary: #2d4a7a;
  --color-accent: #b8860b;
  --color-accent-light: #d4a017;
  --color-text: #1e1e2e;
  --color-text-muted: #5a5a72;
  --color-text-light: #f0ede8;
  --color-grid-line: rgba(45, 74, 122, 0.12);
  --color-border: rgba(26, 26, 46, 0.15);
  --color-white: #faf9f6;

  --font-main: 'Instrument Sans', sans-serif;

  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2.5rem);
  --space-xl: clamp(2rem, 5vw, 4rem);
  --space-2xl: clamp(3rem, 8vw, 7rem);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(26,26,46,0.08), 0 1px 2px rgba(26,26,46,0.05);
  --shadow-md: 0 4px 12px rgba(26,26,46,0.10), 0 2px 6px rgba(26,26,46,0.07);
  --shadow-lg: 0 12px 32px rgba(26,26,46,0.14), 0 4px 12px rgba(26,26,46,0.08);
  --shadow-accent: 0 6px 24px rgba(184,134,11,0.22), 0 2px 8px rgba(184,134,11,0.12);

  --transition-fast: 0.18s ease;
  --transition-med: 0.32s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.55s cubic-bezier(0.4,0,0.2,1);

  --grid-max: 1280px;
  --header-h: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.canvas {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- Architectural Grid Background --- */
body.canvas::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--color-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* --- Typography Scale --- */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.section-title--centered { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  letter-spacing: 0.01em;
  min-height: 48px;
}
.btn--primary {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--outline {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.btn--outline:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn--light {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.btn--light:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--full { width: 100%; justify-content: center; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(244,242,238,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
}
.site-header__inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.site-header__logo img { height: 36px; width: auto; }
.site-header__nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}
.site-header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  transition: color var(--transition-fast);
  padding-bottom: 2px;
}
.site-header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-med);
}
.site-header__nav a:hover { color: var(--color-primary); }
.site-header__nav a:hover::after { width: 100%; }

.site-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
}
.site-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-med), opacity var(--transition-fast);
}

/* =========================================================
   MOBILE DRAWER (Curtain Drop)
   ========================================================= */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--color-bg-dark);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform var(--transition-slow);
}
.drawer.is-open { transform: translateY(0); }

.drawer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}
.drawer__link {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity var(--transition-med), transform var(--transition-med), color var(--transition-fast);
}
.drawer__link:hover { color: var(--color-accent-light); }
.drawer.is-open .drawer__link {
  opacity: 1;
  transform: translateY(0);
}
.drawer.is-open .drawer__link:nth-child(1) { transition-delay: 0.08s; }
.drawer.is-open .drawer__link:nth-child(2) { transition-delay: 0.14s; }
.drawer.is-open .drawer__link:nth-child(3) { transition-delay: 0.20s; }
.drawer.is-open .drawer__link:nth-child(4) { transition-delay: 0.26s; }
.drawer.is-open .drawer__link:nth-child(5) { transition-delay: 0.32s; }

.drawer__close {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  transition: color var(--transition-fast), border-color var(--transition-fast);
  min-height: 44px;
}
.drawer__close:hover { color: var(--color-white); border-color: rgba(255,255,255,0.4); }

/* =========================================================
   HERO / STAGE
   ========================================================= */
.stage {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  z-index: 1;
}

.stage__grid-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(45,74,122,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,74,122,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.stage__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stage__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-accent);
}

.stage__headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}
.stage__headline--accent { color: var(--color-secondary); }

.stage__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 48ch;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}
.stage__actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

.stage__visual { position: relative; }
.stage__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--color-border);
}
.stage__image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.stage__image-frame:hover img { transform: scale(1.03); }

.stage__image-badge {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  background: rgba(26,26,46,0.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  display: flex;
  gap: 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
}
.stage__image-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* =========================================================
   FILIERA / GALLERY SECTION
   ========================================================= */
.gallery {
  position: relative;
  z-index: 1;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.gallery__inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}
.gallery__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.gallery__rule {
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.gallery__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.gallery__editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}
.gallery__text-block .section-title { margin-bottom: var(--space-lg); }
.gallery__text-block p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-size: 1.02rem;
  line-height: 1.75;
}
.gallery__image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.gallery__image-block img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__image-block:hover img { transform: scale(1.04); }

.gallery__stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
}
.gallery__stat-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}
.gallery__stat-item i {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.gallery__stat-item strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}
.gallery__stat-item p {
  font-size: 0.87rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================================================
   SERVICES / SHELF
   ========================================================= */
.shelf {
  position: relative;
  z-index: 1;
  background: var(--color-bg);
}
.shelf__inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}
.shelf__header {
  margin-bottom: var(--space-xl);
}
.shelf__rule {
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.shelf__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-md);
}
.shelf__intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-top: var(--space-md);
  line-height: 1.7;
}
.shelf__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.shelf__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
  box-shadow: var(--shadow-sm);
}
.shelf__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(45,74,122,0.15);
  border-color: rgba(45,74,122,0.25);
}
.shelf__card.spotlight {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent), var(--shadow-sm);
}
.shelf__card.spotlight:hover {
  box-shadow: var(--shadow-accent), var(--shadow-lg);
}
.shelf__card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-bg-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 12px rgba(45,74,122,0.25);
}
.shelf__card-icon i { color: var(--color-white); font-size: 1.1rem; }
.shelf__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}
.shelf__card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.shelf__card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(184,134,11,0.1);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}
/* 5th card spans full in row */
.shelf__grid .shelf__card:nth-child(4) { grid-column: 1 / 2; }
.shelf__grid .shelf__card:nth-child(5) { grid-column: 2 / 4; }

/* =========================================================
   METHOD / SPOTLIGHT
   ========================================================= */
.spotlight {
  position: relative;
  z-index: 1;
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.spotlight__inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.spotlight__rule {
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.spotlight__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-md);
}
.spotlight__left .section-title {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}
.spotlight__left p {
  color: rgba(240,237,232,0.65);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
}
.spotlight__steps { display: flex; flex-direction: column; gap: var(--space-lg); }
.spotlight__step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: background var(--transition-med), border-color var(--transition-med);
}
.spotlight__step:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(184,134,11,0.3);
}
.spotlight__step-num {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(184,134,11,0.3);
}
.spotlight__step-content strong {
  display: block;
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.spotlight__step-content p {
  color: rgba(240,237,232,0.6);
  font-size: 0.88rem;
  line-height: 1.6;
}

.spotlight__image-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-2xl);
}
.spotlight__image-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}
.spotlight__image-strip img:hover { transform: scale(1.02); }

/* =========================================================
   CAROUSEL SECTION
   ========================================================= */
.gallery--carousel {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.gallery--carousel .gallery__header {
  flex-direction: column;
  align-items: flex-start;
}
.gallery--carousel .gallery__header .section-title {
  margin-top: var(--space-md);
}
.splide-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}
.splide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.splide-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.splide-card:hover img { transform: scale(1.04); }
.splide-card__body { padding: var(--space-md); }
.splide-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-sm);
}
.splide-card__body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.splide-card__body p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.splide__pagination__page.is-active { background: var(--color-secondary); }
.splide__arrow { background: var(--color-white); box-shadow: var(--shadow-md); }
.splide__arrow svg { fill: var(--color-primary); }

/* =========================================================
   VALUES SECTION
   ========================================================= */
.shelf--values { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); }
.shelf__values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.shelf__value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  box-shadow: var(--shadow-sm);
}
.shelf__value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.shelf__value-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(45,74,122,0.12), rgba(45,74,122,0.06));
  border: 1px solid rgba(45,74,122,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.shelf__value-icon i { font-size: 1.2rem; color: var(--color-secondary); }
.shelf__value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.shelf__value-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* =========================================================
   CTA SPLIT / STAGE-CURTAIN
   ========================================================= */
.stage-curtain {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-bg-dark) 100%);
  overflow: hidden;
}
.stage-curtain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.stage-curtain__inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}
.stage-curtain__rule {
  width: 40px;
  height: 2px;
  background: var(--color-accent-light);
  margin-bottom: var(--space-sm);
}
.stage-curtain__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  display: block;
  margin-bottom: var(--space-md);
}
.stage-curtain__text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}
.stage-curtain__text p {
  color: rgba(240,237,232,0.7);
  font-size: 1.02rem;
  line-height: 1.7;
}
.stage-curtain__action { text-align: center; }
.stage-curtain__sub {
  margin-top: var(--space-md);
  font-size: 0.85rem;
  color: rgba(240,237,232,0.5);
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.gallery--contact { background: var(--color-bg); border-top: 1px solid var(--color-border); }
.gallery__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* Form Styles */
.form-row { margin-bottom: var(--space-md); }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
  appearance: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(45,74,122,0.12);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row--privacy { display: flex; align-items: flex-start; }
.form-privacy {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
}
.form-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-secondary);
}
.form-privacy span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.form-privacy a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gallery__contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.gallery__contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.gallery__contact-item i {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-bg-dark));
  color: var(--color-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(45,74,122,0.2);
}
.gallery__contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}
.gallery__contact-item span {
  font-size: 0.95rem;
  color: var(--color-primary);
  line-height: 1.5;
}
.gallery__contact-item a {
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}
.gallery__contact-item a:hover { color: var(--color-accent); }
.gallery__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.gallery__map iframe { display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-bg-darker);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}
.site-footer__inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: var(--space-xl);
}
.site-footer__col--brand img { margin-bottom: var(--space-md); filter: brightness(0) invert(1) opacity(0.8); }
.site-footer__col--brand p {
  font-size: 0.88rem;
  color: rgba(240,237,232,0.5);
  line-height: 1.7;
  max-width: 28ch;
}
.site-footer__col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__col ul li a {
  font-size: 0.9rem;
  color: rgba(240,237,232,0.55);
  transition: color var(--transition-fast);
}
.site-footer__col ul li a:hover { color: var(--color-text-light); }
.site-footer__legal-list li {
  font-size: 0.83rem;
  color: rgba(240,237,232,0.45);
  line-height: 1.7;
}
.site-footer__legal-list strong {
  color: rgba(240,237,232,0.65);
  font-weight: 600;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-md) var(--space-lg);
  max-width: var(--grid-max);
  margin: 0 auto;
  text-align: center;
}
.site-footer__bottom p {
  font-size: 0.8rem;
  color: rgba(240,237,232,0.35);
}
.site-footer__bottom a {
  color: rgba(240,237,232,0.5);
  transition: color var(--transition-fast);
}
.site-footer__bottom a:hover { color: var(--color-text-light); }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(45,74,122,0.35), 0 2px 8px rgba(45,74,122,0.2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-med), transform var(--transition-med), background var(--transition-fast);
  pointer-events: none;
  z-index: 50;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--color-accent);
  box-shadow: var(--shadow-accent);
}

/* =========================================================
   COOKIE CONSENT PANEL
   ========================================================= */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}
.cookie-overlay.is-active { opacity: 1; pointer-events: auto; }
.cookie-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: var(--color-bg-dark);
  border-left: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: var(--space-xl) var(--space-lg);
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0,0,0,0.3);
}
.cookie-panel.is-active { transform: translateX(0); }
.cookie-panel__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  font-weight: 700;
  font-size: 1.1rem;
}
.cookie-panel__header i { color: var(--color-accent); font-size: 1.3rem; }
.cookie-panel__intro {
  font-size: 0.85rem;
  color: rgba(240,237,232,0.6);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}
.cookie-panel__categories { display: flex; flex-direction: column; gap: var(--space-md); flex: 1; }
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cookie-category__info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.cookie-category__info p { font-size: 0.78rem; color: rgba(240,237,232,0.45); line-height: 1.5; max-width: 18ch; }
.cookie-toggle--locked { color: rgba(240,237,232,0.3); font-size: 0.9rem; }
.cookie-toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.cookie-toggle-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 24px;
  transition: background var(--transition-fast);
}
.cookie-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}
.cookie-toggle-switch input:checked + .cookie-slider { background: var(--color-accent); }
.cookie-toggle-switch input:checked + .cookie-slider::before { transform: translateX(20px); }
.cookie-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: var(--space-lg);
}
.cookie-btn {
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast);
  min-height: 44px;
}
.cookie-btn--primary { background: var(--color-accent); color: var(--color-white); }
.cookie-btn--primary:hover { background: var(--color-accent-light); }
.cookie-btn--secondary { background: rgba(255,255,255,0.1); color: var(--color-text-light); }
.cookie-btn--secondary:hover { background: rgba(255,255,255,0.18); }
.cookie-btn--ghost { background: transparent; color: rgba(240,237,232,0.5); }
.cookie-btn--ghost:hover { color: var(--color-text-light); }
.cookie-panel__links {
  margin-top: var(--space-md);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(240,237,232,0.35);
}
.cookie-panel__links a {
  color: rgba(240,237,232,0.5);
  transition: color var(--transition-fast);
}
.cookie-panel__links a:hover { color: var(--color-text-light); }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-canvas {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal-hero {
  background: var(--color-bg-dark);
  padding: var(--space-xl) var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-hero__inner {
  max-width: var(--grid-max);
  margin: 0 auto;
}
.legal-hero__breadcrumb {
  font-size: 0.8rem;
  color: rgba(240,237,232,0.45);
  margin-bottom: var(--space-md);
}
.legal-hero__breadcrumb a { color: rgba(240,237,232,0.6); transition: color var(--transition-fast); }
.legal-hero__breadcrumb a:hover { color: var(--color-text-light); }
.legal-hero__breadcrumb span { margin: 0 0.4rem; }
.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: -0.02em;
}
.legal-hero__date {
  font-size: 0.85rem;
  color: rgba(240,237,232,0.45);
  margin-top: var(--space-sm);
}
.legal-content {
  flex: 1;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  width: 100%;
}
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-lg);
}
.legal-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.legal-content ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}
.legal-content ul li {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}
.legal-content a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--color-accent); }

/* =========================================================
   THANKS PAGE
   ========================================================= */
.thanks-stage {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-lg);
}
.thanks-card {
  text-align: center;
  max-width: 480px;
}
.thanks-svg { margin: 0 auto var(--space-xl); }
.thanks-circle {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: draw-circle 0.8s ease forwards;
}
.thanks-check {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: draw-check 0.5s ease 0.7s forwards;
}
@keyframes draw-circle {
  to { stroke-dashoffset: 0; }
}
@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}
.thanks-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fade-up 0.5s ease 1.2s forwards;
}
.thanks-card p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fade-up 0.5s ease 1.4s forwards;
}
.thanks-card .btn {
  opacity: 0;
  animation: fade-up 0.5s ease 1.6s forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  .shelf__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shelf__grid .shelf__card:nth-child(4) { grid-column: auto; }
  .shelf__grid .shelf__card:nth-child(5) { grid-column: auto; }
  .gallery__stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
  .stage__visual { order: -1; }
  .stage__image-frame img { height: 320px; }
  .gallery__editorial { grid-template-columns: 1fr; }
  .gallery__image-block { order: -1; }
  .spotlight__inner { grid-template-columns: 1fr; }
  .spotlight__image-strip { grid-template-columns: 1fr; }
  .stage-curtain__inner { grid-template-columns: 1fr; text-align: center; }
  .gallery__contact-grid { grid-template-columns: 1fr; }
  .shelf__values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-header__nav { display: none; }
  .site-header__hamburger { display: flex; }
  .shelf__grid { grid-template-columns: 1fr; }
  .gallery__stats-row { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .back-to-top { bottom: 1.25rem; right: 1.25rem; width: 46px; height: 46px; }
  .cookie-panel { width: 100%; }
  .stage__headline { font-size: clamp(2.2rem, 8vw, 3rem); }
}

@media (max-width: 480px) {
  .stage__actions { flex-direction: column; }
  .stage__actions .btn { width: 100%; justify-content: center; }
  .spotlight__image-strip { padding: 0 var(--space-md) var(--space-xl); }
}