:root {
  --burgundy: #7b1834;
  --burgundy-dark: #5a1025;
  --rose: #a33a57;
  --blush: #f8f2f3;
  --ink: #2e2e2e;
  --muted: #6d6366;
  --white: #ffffff;
  --line: #eadce0;
  --gold: #d6aa45;
  --navy: #0d2540;
  --shadow: 0 18px 45px rgba(46, 46, 46, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.65;
  background: var(--white);
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  color: var(--burgundy-dark);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 18px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  background: var(--burgundy);
  border-radius: 50%;
}

.brand-logo {
  max-height: 46px;
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-name {
  display: block;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--burgundy-dark);
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--burgundy);
  background: var(--white);
  border-radius: var(--radius);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 11px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--burgundy);
  background: var(--blush);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--burgundy);
  border: 1px solid var(--burgundy);
  border-radius: var(--radius);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  color: var(--white);
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
}

.btn.gold {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.btn.gold:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.btn.ghost {
  color: var(--burgundy);
  background: transparent;
}

.btn.ghost:hover {
  color: var(--white);
  background: var(--burgundy);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  padding: 150px 0 86px;
  color: var(--white);
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(13, 37, 64, 0.82), rgba(90, 16, 37, 0.68), rgba(123, 24, 52, 0.22));
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1,
.hero p {
  color: var(--white);
}

.hero p {
  max-width: 760px;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--blush);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  height: 100%;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(46, 46, 46, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(123, 24, 52, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--white);
  background: var(--burgundy);
  border-radius: 50%;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.image-stack {
  display: grid;
  gap: 16px;
}

.image-stack img,
.event-card img,
.gallery-item img,
.news-card img,
.portrait {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.image-stack img:first-child {
  height: 370px;
}

.image-stack .mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.image-stack .mini img {
  height: 170px;
}

.stats {
  margin-top: -50px;
  position: relative;
  z-index: 4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat {
  padding: 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--burgundy);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.event-card,
.news-card,
.team-card {
  overflow: hidden;
  padding: 0;
}

.event-card img,
.news-card img {
  height: 220px;
  transition: transform 0.45s ease;
}

.event-card:hover img,
.news-card:hover img,
.gallery-item:hover img {
  transform: scale(1.06);
}

.card-body {
  padding: 24px;
}

.meta {
  color: var(--rose);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--burgundy-dark);
}

.gallery-item img {
  height: 260px;
  transition: transform 0.45s ease, opacity 0.2s ease;
}

.gallery-item span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(90, 16, 37, 0.78));
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--burgundy);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--white);
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.testimonial {
  max-width: 820px;
  min-height: 210px;
  margin: 0 auto;
  padding: 44px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial blockquote {
  margin: 0;
  color: var(--burgundy-dark);
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.35;
}

.testimonial p {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.cta {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--burgundy-dark);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(90, 16, 37, 0.95), rgba(123, 24, 52, 0.8)), var(--cta-image, none);
  background-position: center;
  background-size: cover;
}

.cta .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta h2,
.cta p {
  color: var(--white);
}

.page-hero {
  padding: 110px 0 82px;
  color: var(--white);
  background-position: center;
  background-size: cover;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(13, 37, 64, 0.82), rgba(90, 16, 37, 0.7));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.page-hero p {
  color: var(--white);
  max-width: 780px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline-item {
  padding: 24px 24px 24px 32px;
  border-left: 4px solid var(--burgundy);
  background: var(--white);
  border-radius: var(--radius);
}

.portrait {
  height: 300px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--burgundy);
  background: var(--blush);
  border-radius: 50%;
}

.form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--burgundy-dark);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(163, 58, 87, 0.18);
  border-color: var(--rose);
}

.choice-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--blush);
  border-radius: var(--radius);
}

.choice input {
  width: auto;
  min-height: auto;
}

.payment-note {
  padding: 20px;
  color: var(--burgundy-dark);
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13, 37, 64, 0.86);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--burgundy);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--burgundy-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.8fr 1fr;
  gap: 34px;
  padding: 60px 0 42px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 18px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--white);
}

.newsletter {
  display: flex;
  gap: 8px;
}

.newsletter input {
  min-width: 0;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .split,
  .grid.two,
  .grid.three,
  .grid.four,
  .cta .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    min-width: 0;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: 610px;
    padding-top: 120px;
  }

  .section {
    padding: 66px 0;
  }

  .stats-grid,
  .gallery-grid,
  .form-grid,
  .choice-group {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .testimonial {
    padding: 28px 20px;
  }

  .newsletter {
    flex-direction: column;
  }
}

/* Development Notice Popup */
.dev-notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.dev-notice-overlay.active {
  opacity: 1;
  visibility: visible;
}

.dev-notice-modal {
  background: var(--white);
  max-width: 540px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 6px solid var(--burgundy);
}

.dev-notice-overlay.active .dev-notice-modal {
  transform: translateY(0) scale(1);
}

.dev-notice-icon {
  width: 64px;
  height: 64px;
  background: rgba(123, 24, 52, 0.1);
  color: var(--burgundy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.dev-notice-icon svg,
.dev-notice-icon i {
  width: 32px;
  height: 32px;
}

.dev-notice-modal h3 {
  font-size: 24px;
  color: var(--burgundy-dark);
  margin-bottom: 12px;
}

.dev-notice-modal p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.dev-notice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--burgundy);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  width: 100%;
}

.dev-notice-btn:hover {
  background: var(--burgundy-dark);
  transform: translateY(-2px);
}

