:root {
  --bg: #faf6ec;
  --bg-alt: #f1e7d3;
  --card: #fffdf8;
  --border: rgba(31, 58, 95, 0.14);
  --border-gold: rgba(184, 137, 47, 0.35);
  --text: #2c2a24;
  --text-muted: #6f6a5c;
  --navy: #1f3a5f;
  --navy-deep: #142a45;
  --gold: #b8892f;
  --gold-deep: #8a6520;
  --gold-soft: #e9d6ab;
  --whatsapp: #25d366;
  --radius: 14px;
  --max-width: 1160px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-card: 0 10px 30px rgba(31, 42, 58, 0.07);
  --shadow-card-hover: 0 18px 40px rgba(31, 42, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--navy);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

p {
  color: var(--text-muted);
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
}

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

.brand-logo-full {
  height: 84px;
  width: auto;
}

@media (max-width: 480px) {
  .brand-logo-full {
    height: 60px;
  }
}

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

.brand span:not(.sr-only) {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

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

.btn-gold {
  background: var(--navy);
  color: var(--bg);
  box-shadow: 0 10px 24px rgba(31, 58, 95, 0.22);
}

.btn-gold:hover {
  background: var(--navy-deep);
}

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

.btn-outline:hover {
  background: var(--navy);
  color: var(--bg);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-outline {
  border-color: var(--whatsapp);
  color: #128c3e;
  background: transparent;
}

.btn-whatsapp-outline:hover {
  background: var(--whatsapp);
  color: #ffffff;
}

.whatsapp-icon {
  flex-shrink: 0;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (min-width: 860px) {
  .header-cta {
    display: inline-flex;
  }
}

@media (max-width: 859px) {
  .nav-links {
    position: fixed;
    top: 112px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    height: 88px;
  }
  .nav-links {
    top: 88px;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(250, 246, 236, 1) 0%,
      rgba(250, 246, 236, 1) 34%,
      rgba(250, 246, 236, 0.88) 48%,
      rgba(250, 246, 236, 0.5) 66%,
      rgba(250, 246, 236, 0.18) 85%,
      rgba(250, 246, 236, 0.05) 100%
    ),
    url("/assets/hero-photo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

.hero .container {
  display: block;
}

.hero-copy {
  max-width: 640px;
}

.hero-copy p.lead {
  font-size: 1.05rem;
  max-width: 480px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

@media (max-width: 859px) {
  .hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(250, 246, 236, 0.92) 0%,
        rgba(250, 246, 236, 0.85) 45%,
        rgba(250, 246, 236, 0.6) 70%,
        rgba(250, 246, 236, 0.4) 100%
      ),
      url("/assets/hero-photo.jpg");
    background-position: center;
    text-align: center;
    padding-top: 120px;
  }
  .hero-copy {
    max-width: none;
    margin: 0 auto;
  }
  .hero-copy p.lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
}

/* ---------- Divider ---------- */

.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  max-width: 360px;
  margin: 40px auto;
}

.ornament-divider::before,
.ornament-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold));
}

.ornament-divider::after {
  background: linear-gradient(90deg, var(--border-gold), transparent);
}

.ornament-divider span {
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- About ---------- */

.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.about-stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.about-stats div {
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.about-stats strong {
  display: block;
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.3rem;
}

.about-stats span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--gold-deep);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

@media (max-width: 859px) {
  .about .container {
    grid-template-columns: 1fr;
  }
}

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

.about-gallery > a {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.about-gallery a:hover img {
  transform: scale(1.06);
}

.about-gallery-empty {
  grid-column: 1 / -1;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  color: var(--text-muted);
}

.about-gallery-empty .btn {
  margin-top: 16px;
}

/* ---------- Events ---------- */

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.event-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card-hover);
}

.event-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--card);
  border: 1px solid var(--border-gold);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.event-body h3 {
  font-size: 1.2rem;
  margin: 0;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.84rem;
  color: var(--gold-deep);
  font-weight: 500;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
}

.event-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: var(--border-gold);
}

.event-body p.desc {
  font-size: 0.92rem;
  flex: 1;
}

.event-body .btn {
  margin-top: 8px;
  justify-content: center;
}

.empty-state {
  text-align: center;
  padding: 40px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}

/* ---------- Instagram teaser ---------- */

.instagram-teaser {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 48px;
  box-shadow: var(--shadow-card);
}

.instagram-teaser img {
  width: 76px;
  height: 76px;
}

.instagram-teaser h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.instagram-teaser p {
  margin: 0;
}

@media (max-width: 700px) {
  .instagram-teaser {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
  }
  .instagram-teaser img {
    margin: 0 auto;
  }
}

/* ---------- Contact / Footer ---------- */

.contact {
  background: var(--bg-alt);
}

.contact-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.contact-inner .btn {
  margin: 8px;
}

.contact-details {
  margin-top: 24px;
  display: flex;
  gap: 10px 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer.site-footer {
  padding: 64px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

footer.site-footer a {
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand .brand-logo-full {
  height: 76px;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1rem;
  margin: 0 0 16px;
}

.footer-col nav,
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand .brand {
    justify-content: center;
  }
  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- Floating WhatsApp ---------- */

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--whatsapp);
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  font-size: 1.6rem;
  transition: transform 0.2s;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}
