/* ========== TOKENS ========== */
:root {
  /* Default: Зелёная природная палитра */
  --bg: #F5F0E8;
  --bg-alt: #ECE5D6;
  --surface: #FFFFFF;
  --ink: #1B2419;
  --ink-soft: #4A5447;
  --ink-muted: #8B928A;
  --line: #D9D0BC;
  --line-soft: #E5DECC;
  --accent: #2C3A2A;
  --accent-2: #7A8B5C;
  --accent-soft: #B8C49E;
  --gold: #B89968;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --container: 1280px;

  --shadow-sm: 0 1px 2px rgba(27, 36, 25, 0.04), 0 1px 3px rgba(27, 36, 25, 0.06);
  --shadow: 0 4px 12px rgba(27, 36, 25, 0.06), 0 2px 4px rgba(27, 36, 25, 0.04);
  --shadow-lg: 0 24px 48px rgba(27, 36, 25, 0.12), 0 8px 16px rgba(27, 36, 25, 0.06);
}

/* Палитра: тёплая (терракот/охра) */
[data-palette="warm"] {
  --bg: #F7F1E8;
  --bg-alt: #EFE3D0;
  --surface: #FFFFFF;
  --ink: #2A1F17;
  --ink-soft: #5A4636;
  --ink-muted: #9A8775;
  --line: #DCC8AE;
  --line-soft: #E9DBC4;
  --accent: #7A3A1F;
  --accent-2: #C97B4F;
  --accent-soft: #E5BFA0;
  --gold: #C29A56;
}

/* Палитра: премиальная (графит/беж/латунь) */
[data-palette="premium"] {
  --bg: #F4EFE7;
  --bg-alt: #E8E0D2;
  --surface: #FFFFFF;
  --ink: #14110D;
  --ink-soft: #3A352C;
  --ink-muted: #847C6E;
  --line: #C7BCA6;
  --line-soft: #DCD2BC;
  --accent: #14110D;
  --accent-2: #6E5F44;
  --accent-soft: #C9B98C;
  --gold: #B89968;
}

/* ========== RESET ========== */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  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 { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ========== UTILS ========== */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.section {
  padding: 120px 0;
}
.section-tight { padding: 80px 0; }
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  font-weight: 600;
}
.section-head p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 480px;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(36px, 9vw, 56px); }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-ghost:hover { background: var(--accent); color: var(--bg); }
.btn-sm { padding: 12px 20px; font-size: 14px; }

.btn .arrow {
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ========== PHOTO PLACEHOLDER ========== */
.photo {
  position: relative;
  overflow: hidden;
  background: #2C3A2A center/cover no-repeat;
  isolation: isolate;
}
.photo img.photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45));
  z-index: 1;
}
.photo .photo-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(27,36,25,0.55);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.photo svg.photo-icon { display: none; }

/* Photo variants — different gradient palettes */
.photo[data-tone="forest"] { background: linear-gradient(135deg, #4A6741, #1F2C1A); }
.photo[data-tone="meadow"] { background: linear-gradient(160deg, #B8C49E, #6B7F4A); }
.photo[data-tone="dusk"] { background: linear-gradient(180deg, #C97B4F, #4A2818); }
.photo[data-tone="cream"] { background: linear-gradient(135deg, #F5E6CC, #C9A878); }
.photo[data-tone="wine"] { background: linear-gradient(135deg, #6E2E2E, #3A1717); }
.photo[data-tone="herb"] { background: linear-gradient(135deg, #8FA56F, #3D5530); }
.photo[data-tone="stone"] { background: linear-gradient(135deg, #A99F8C, #57503F); }
.photo[data-tone="amber"] { background: linear-gradient(135deg, #D4A562, #7A4F1F); }

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav {
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 18px -8px rgba(20, 30, 22, 0.18);
}
.nav.scrolled {
  background: rgba(245, 240, 232, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 22px -8px rgba(20, 30, 22, 0.25);
}
.nav.over-hero {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.nav-logo span {
  font-size: 11px;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .nav-links, .nav-phone { display: none; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent-2);
}
.hero h1 {
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--accent);
  margin-bottom: 32px;
}
.hero h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-2);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item .num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.hero-meta-item .lab {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-photo .badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  background: var(--bg);
  color: var(--accent);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-photo .badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-marquee {
  margin-top: 80px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.hero-marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
}
.hero-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-soft);
}
.hero-marquee-item::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  margin-left: 32px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 120px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { aspect-ratio: 4/5; max-height: 60vh; }
  .hero-meta { gap: 24px; }
  .hero-marquee { margin-top: 48px; }
}

/* ========== FORMATS ========== */
.formats {
  background: var(--accent);
  color: var(--bg);
}
.formats .container { position: relative; }
.formats .section-head h2 { color: var(--bg); }
.formats .section-head p { color: rgba(245,240,232,0.7); }
.formats .eyebrow { color: var(--accent-soft); }

.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.format-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
.format-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.format-card[data-featured="true"] {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--bg);
}
.format-card[data-featured="true"] .format-name { color: var(--accent); }
.format-card[data-featured="true"] .format-desc { color: var(--ink-soft); }
.format-card[data-featured="true"] li { color: var(--ink-soft); border-color: var(--line); }
.format-card[data-featured="true"] .format-tag { background: var(--accent); color: var(--bg); }

.format-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--accent-2);
  color: var(--bg);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.format-name {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
}
.format-name em { font-style: normal; opacity: 0.9; font-weight: 600; }
.format-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245,240,232,0.75);
  max-width: 420px;
}
.format-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.format-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 15px;
  color: rgba(245,240,232,0.85);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.format-list li:first-child { border-top: none; }
.format-list .check {
  flex-shrink: 0;
  color: var(--accent-soft);
}
.format-card[data-featured="true"] .format-list .check { color: var(--accent-2); }

.format-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.format-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.format-price small {
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
  display: block;
}
.format-card[data-featured="true"] .format-price small { color: var(--ink-muted); }

@media (max-width: 900px) {
  .format-grid { grid-template-columns: 1fr; }
  .format-card { padding: 32px; }
  .format-name { font-size: 44px; }
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--line-soft);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-photo {
  aspect-ratio: 4/3;
}
.service-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}
.service-num {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.service-title {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
}
.service-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  flex-grow: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.service-tag {
  font-size: 12px;
  padding: 6px 12px;
  background: var(--bg-alt);
  border-radius: 999px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========== MENU ========== */
.menu-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.menu-tab {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.menu-tab.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.menu-tab .price-tag {
  font-family: var(--sans);
  opacity: 0.7;
  font-size: 13px;
  font-weight: 400;
}

/* Variant: minimal */
.menu-grid[data-variant="minimal"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.menu-grid[data-variant="minimal"] .menu-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.menu-grid[data-variant="minimal"] .menu-item:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.menu-grid[data-variant="minimal"] .menu-item:nth-child(even) { padding-left: 32px; }
.menu-grid[data-variant="minimal"] .menu-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}
.menu-grid[data-variant="minimal"] .menu-name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
}
.menu-grid[data-variant="minimal"] .menu-desc {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
}
.menu-grid[data-variant="minimal"] .menu-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--accent);
  white-space: nowrap;
}

/* Variant: editorial (журнальный) */
.menu-grid[data-variant="editorial"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.menu-grid[data-variant="editorial"] .menu-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.menu-grid[data-variant="editorial"] .menu-photo {
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
}
.menu-grid[data-variant="editorial"] .menu-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
}
.menu-grid[data-variant="editorial"] .menu-num {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.menu-grid[data-variant="editorial"] .menu-name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
}
.menu-grid[data-variant="editorial"] .menu-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.menu-grid[data-variant="editorial"] .menu-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

/* Variant: card */
.menu-grid[data-variant="card"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.menu-grid[data-variant="card"] .menu-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-grid[data-variant="card"] .menu-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.menu-grid[data-variant="card"] .menu-photo {
  aspect-ratio: 4/3;
}
.menu-grid[data-variant="card"] .menu-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.menu-grid[data-variant="card"] .menu-name {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
}
.menu-grid[data-variant="card"] .menu-desc {
  font-size: 14px;
  color: var(--ink-soft);
  flex-grow: 1;
}
.menu-grid[data-variant="card"] .menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.menu-grid[data-variant="card"] .menu-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}
.menu-grid[data-variant="card"] .menu-num {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .menu-grid[data-variant="minimal"] { grid-template-columns: 1fr; }
  .menu-grid[data-variant="minimal"] .menu-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .menu-grid[data-variant="minimal"] .menu-item:nth-child(even) { padding-left: 0; }
  .menu-grid[data-variant="editorial"], .menu-grid[data-variant="card"] { grid-template-columns: 1fr; }
}

.menu-includes {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.menu-includes h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}
.menu-includes p {
  font-size: 14px;
  color: var(--ink-soft);
}
.menu-includes-icons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.menu-includes-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}
.menu-includes-icon svg { width: 28px; height: 28px; color: var(--accent); }
@media (max-width: 720px) {
  .menu-includes { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
}

/* ========== CALCULATOR ========== */
.calc {
  background: var(--bg-alt);
}
.calc-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.calc-controls {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.calc-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.calc-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.calc-value {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
}
.calc-slider {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  transition: transform 0.15s ease;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
}
.calc-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.calc-option {
  padding: 14px 12px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
}
.calc-option:hover { border-color: var(--accent-2); }
.calc-option.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.calc-option .opt-name { font-size: 14px; font-weight: 600; }
.calc-option .opt-price { font-size: 12px; opacity: 0.7; }

.calc-options-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.calc-summary {
  background: var(--accent);
  color: var(--bg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.calc-summary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(122,139,92,0.4), transparent);
  pointer-events: none;
}
.calc-summary > * { position: relative; z-index: 1; }
.calc-summary-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.calc-total {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: -0.02em;
}
.calc-total small {
  font-size: 0.32em;
  font-family: var(--sans);
  font-weight: 400;
  opacity: 0.75;
  display: block;
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.calc-breakdown-row span:last-child { color: var(--bg); }
.calc-breakdown-row span:first-child { color: rgba(245,240,232,0.65); }
.calc-disclaimer {
  font-size: 12px;
  color: rgba(245,240,232,0.55);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .calc-shell { grid-template-columns: 1fr; }
  .calc-controls, .calc-summary { padding: 32px; }
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-item:hover { transform: scale(0.98); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item .photo { width: 100%; height: 100%; }
.gallery-item .photo-img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) {
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 2; }
}
@media (max-width: 900px) {
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr !important; grid-auto-rows: 220px !important; }
  .gallery-item.wide { grid-column: span 1 !important; }
  .gallery-item.tall { grid-row: span 1 !important; }
}
.gallery-item .gallery-meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(27,36,25,0.7), transparent);
  color: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-meta { opacity: 1; }
@media (hover: none) {
  .gallery-item .gallery-meta { opacity: 1; }
}
.gallery-item .gallery-title {
  font-family: var(--serif);
  font-size: 18px;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}

/* ========== PROCESS ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  padding: 32px 24px 32px 0;
  border-top: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process-step + .process-step { padding-left: 32px; }
.process-step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--accent);
}
.process-num {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.process-title {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
}
.process-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step + .process-step { padding-left: 0; }
}

/* ========== REVIEWS ========== */
.reviews {
  background: var(--accent);
  color: var(--bg);
}
.reviews .section-head h2 { color: var(--bg); }
.reviews .section-head p { color: rgba(245,240,232,0.7); }
.reviews .eyebrow { color: var(--accent-soft); }

.reviews-stage {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.review-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.review-quote-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.review-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 88px;
  line-height: 0.4;
  color: var(--accent-2);
}
.review-text {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  font-weight: 600;
  color: var(--bg);
  text-wrap: balance;
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.review-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
}
.review-event {
  font-size: 13px;
  color: rgba(245,240,232,0.6);
}
.review-controls {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.review-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  transition: all 0.2s ease;
}
.review-btn:hover { background: var(--bg); color: var(--accent); border-color: var(--bg); }
.review-counter {
  margin-left: auto;
  align-self: center;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(245,240,232,0.6);
}
@media (max-width: 900px) {
  .reviews-stage { grid-template-columns: 1fr; gap: 32px; }
  .review-photo { aspect-ratio: 3/2; }
}

/* ========== FAQ ========== */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
  color: var(--accent);
  font-weight: 600;
}
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-icon {
  background: var(--accent);
  color: var(--bg);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a {
  max-height: 800px;
  padding-bottom: 28px;
}
.faq-a-inner {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ========== LEAD FORM ========== */
.lead {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.lead-copy h2 {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
  font-weight: 600;
  margin-bottom: 24px;
}
.lead-copy h2 em { font-style: normal; color: var(--accent-2); font-weight: 700; }
.lead-copy p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 480px;
}
.lead-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.lead-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.lead-perk svg { color: var(--accent-2); }

.lead-form {
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}
.lead-form h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}
.lead-form-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.field label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
.field input.error { border-color: #b54848; }
.field-error { font-size: 12px; color: #b54848; margin-top: -4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.lead-form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
}
.lead-fineprint {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 16px;
  text-align: center;
}
.lead-fineprint a { color: var(--accent-2); text-decoration: underline; }

.lead-success {
  text-align: center;
  padding: 40px 0;
}
.lead-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.lead-success h3 { margin-bottom: 12px; }
.lead-success p { color: var(--ink-soft); }

@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; gap: 32px; }
  .lead-form { padding: 32px 24px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--accent);
  color: var(--bg);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 15px; color: rgba(245,240,232,0.85); transition: color 0.2s ease; }
.footer ul a:hover { color: var(--bg); }

.footer-brand-name {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 0.9;
  margin-bottom: 16px;
}
.footer-brand-tag {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(245,240,232,0.75);
  max-width: 320px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: rgba(245,240,232,0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  transition: all 0.2s ease;
}
.footer-socials a:hover { background: var(--bg); color: var(--accent); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== MODAL ========== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 13, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modal-fade 0.25s ease;
}
@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 12px 24px rgba(0,0,0,0.2);
  animation: modal-pop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.modal-close:hover { background: var(--accent); color: var(--bg); }
.modal-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.modal-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--accent);
  margin-bottom: 12px;
  text-wrap: balance;
}
.modal-sub {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.55;
}
.modal-submit {
  width: 100%;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .modal-card { padding: 32px 24px; }
  .modal-title { font-size: 26px; }
}

/* ========== TWEAKS PANEL ========== */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  font-family: var(--sans);
}
.tweaks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.tweaks-head strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}
.tweaks-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 18px;
  line-height: 1;
  color: var(--ink-soft);
}
.tweaks-close:hover { background: var(--accent); color: var(--bg); }
.tweaks-section { margin-bottom: 16px; }
.tweaks-section:last-child { margin-bottom: 0; }
.tweaks-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.tweaks-radio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--bg-alt);
  padding: 4px;
  border-radius: var(--radius);
}
.tweaks-radio button {
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 4px;
  transition: all 0.15s ease;
}
.tweaks-radio button:hover { color: var(--ink); }
.tweaks-radio button.active {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
