:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --card: #181818;
  --text: #f2ede5;
  --text-muted: #c3b9ab;
  --line: #2d2a26;
  --accent: #d7b98e;
  --accent-strong: #e3c79f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 15% 10%, #1f1a16 0%, var(--bg) 35%), var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background: rgba(8, 8, 8, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-left {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.12rem 0;
}

.language-link {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.language-link:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.1);
}

.language-link.is-active {
  opacity: 1;
  border-color: rgba(215, 185, 142, 0.85);
  box-shadow: 0 0 0 1px rgba(215, 185, 142, 0.35);
}

.language-link.is-active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: rgba(215, 185, 142, 0.9);
  border-radius: 999px;
  transform: translateX(-50%);
}

.language-flag {
  font-size: 0.98rem;
  line-height: 1;
  filter: saturate(0.88) brightness(0.94);
  transition: filter 0.3s ease;
}

.language-link:hover .language-flag,
.language-link.is-active .language-flag {
  filter: saturate(1) brightness(1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.menu-toggle {
  position: relative;
  z-index: 32;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.45rem 0.75rem;
  border-radius: 0.3rem;
  font: inherit;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 1rem;
  z-index: 32;
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  min-width: 180px;
  max-height: min(85svh, 85vh);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  transform: none;
  animation: none;
  padding-bottom: 3.35rem;
}

.site-nav > a {
  display: block;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line);
}

.site-nav > a:last-of-type {
  border-bottom: 0;
}

.site-nav.open {
  display: block;
}

.nav-social {
  display: flex;
  gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  border-top: 1px solid var(--line);
  position: sticky;
  bottom: 0;
  background: #0f0f0f;
  z-index: 1;
}

.menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 31;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: default;
}

body.menu-open .menu-backdrop {
  display: block;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #080808;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.62) 100%),
    url("assets/hero-fallback.jpg"),
    url("assets/hero-wedding-couple.svg");
  background-size: cover, cover, cover;
  background-position: center, center, center;
}

.hero-youtube-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.7778vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-media.is-ready .hero-youtube-iframe {
  opacity: 1;
}

.hero-media.hero-youtube-fallback .hero-youtube-iframe {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.34) 45%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(circle at 78% 38%, rgba(229, 179, 120, 0.14) 0%, rgba(0, 0, 0, 0) 36%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
  text-align: center;
  display: grid;
  justify-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-size: 0.75rem;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-top: 0.45rem;
}

.lead {
  max-width: 55ch;
  color: #e1d6c7;
}

.hero-actions,
.builder-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-actions {
  justify-content: center;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.35rem;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #100e0b;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-outline {
  border-color: var(--line);
  background: #111;
  color: var(--text);
}

.section {
  padding: 4rem 0;
}

.section h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.section-intro {
  color: var(--text-muted);
  margin-top: 0;
}

.package-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.package-card {
  background: linear-gradient(145deg, #151515 0%, #101010 100%);
  border: 1px solid var(--line);
  padding: 1.2rem;
  border-radius: 0.6rem;
}

.package-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(215, 185, 142, 0.25);
}

.price {
  color: var(--accent);
  font-size: 1.45rem;
  margin: 0.5rem 0 1rem;
  font-family: "Playfair Display", serif;
}

.price-note {
  color: var(--accent);
  margin: 0.5rem 0 1rem;
  font-weight: 600;
}

.package-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.section-dark {
  background: linear-gradient(0deg, #111111 0%, #0a0a0a 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.builder-layout {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.builder-form fieldset {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1rem;
  margin: 0 0 1rem;
}

.builder-form legend {
  padding: 0 0.35rem;
  color: #ddd1c2;
  font-weight: 600;
}

.choice-row {
  display: flex;
  gap: 0.65rem;
  padding: 0.55rem 0;
  align-items: center;
  border-bottom: 1px solid #24211d;
}

.choice-row:last-child {
  border-bottom: 0;
}

.choice-row input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}

.summary-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1rem;
  position: sticky;
  top: 6.2rem;
  align-self: start;
}

.summary-card h3 {
  margin-bottom: 1rem;
}

.summary-services {
  padding-left: 1rem;
  margin: 0.2rem 0 1rem;
  color: #e5dccf;
}

.summary-total {
  font-size: 1.1rem;
  color: var(--accent);
}

.summary-caption {
  margin: 1rem 0 0.4rem;
  color: #dfd4c6;
}

.selection-summary-text {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid #2a2722;
  border-radius: 0.4rem;
  background: #111;
  color: #e5dccf;
  white-space: pre-wrap;
  font: 0.9rem/1.5 "Manrope", sans-serif;
}

.summary-card #copySelectionButton {
  margin-top: 0.85rem;
}

.page-hero {
  padding: 5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
}

.video-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.video-card {
  background: #121212;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  transition: transform 0.5s ease;
}

.video-meta {
  padding: 0.8rem;
  color: var(--text-muted);
}

.films-grid .video-card:hover {
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.films-grid .video-card {
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.45s ease;
}

.films-grid .video-card:hover iframe {
  transform: scale(1.02);
}

.about-copy {
  max-width: 70ch;
  color: #e8dfd2;
  font-size: 1.05rem;
}

.about-layout {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.faq-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1.35rem;
}

.faq-item {
  padding: 1.05rem 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: linear-gradient(145deg, #141414 0%, #101010 100%);
}

.faq-question {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  margin-bottom: 0.65rem;
  color: #f1e8db;
}

.faq-item p {
  margin: 0;
  color: #ddd2c2;
}

.portrait-media {
  margin: 0;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.6rem;
  overflow: hidden;
  background: #111;
  justify-self: center;
}

.portrait-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible,
.films-grid .video-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  max-width: 980px;
}

.form-note {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #101010;
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
}

.contact-form-message {
  grid-column: 1 / -1;
}

.contact-submit {
  grid-column: 1 / -1;
  width: fit-content;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem;
  color: var(--text-muted);
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-inner p {
  margin: 0;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #111;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-link svg {
  width: 1rem;
  height: 1rem;
}

.icon-link:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .hero-media {
    background-position: 52% center, 52% center, 52% center;
  }

  .hero-youtube-iframe {
    left: 52%;
  }
}

@media (min-width: 760px) {
  .site-header {
    padding-inline: 2rem;
  }

  .header-left {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
  }

  .language-switcher {
    margin-top: 0.02rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 1rem;
    border: 0;
    background: transparent;
    min-width: auto;
    max-height: none;
    overflow: visible;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: auto;
    touch-action: auto;
    padding-bottom: 0;
  }

  .site-nav > a {
    border: 0;
    padding: 0;
    color: #d8ccbc;
  }

  .site-nav > a:hover,
  .site-nav > a[aria-current="page"] {
    color: var(--accent);
  }

  .nav-social {
    padding: 0;
    margin-left: 0.1rem;
    border-top: 0;
  }

  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .builder-layout {
    grid-template-columns: 2fr 1fr;
    gap: 1.2rem;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout {
    grid-template-columns: 1fr 1.6fr;
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .footer-inner {
    justify-content: center;
  }
}

@media (min-width: 1080px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    background: #0f0f0f;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    min-width: 180px;
    max-height: min(85svh, 85vh);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    align-items: stretch;
    gap: 0;
    transform: none;
    animation: none;
    padding-bottom: 3.35rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav > a {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 0.7rem 0.95rem;
    color: inherit;
  }

  .site-nav > a:last-of-type {
    border-bottom: 0;
  }

  .nav-social {
    padding: 0.7rem 0.95rem;
    margin-left: 0;
    border-top: 1px solid var(--line);
    position: sticky;
    bottom: 0;
    background: #0f0f0f;
  }
}
