:root {
  --primary: #c96532;
  --gold: #d9a441;
  --dark: #21140f;
  --paper: #f6f0e8;
  --text: #281b16;
  --container: 1440px;
  --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; overflow-wrap: break-word; }
p { overflow-wrap: break-word; }

.container-xxl {
  width: min(100%, var(--container)) !important;
  max-width: var(--container) !important;
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 44px) !important;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgba(28, 16, 13, .96), rgba(28, 16, 13, .7) 70%, transparent);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled,
.site-header.menu-active { background: rgba(28, 16, 13, .98); box-shadow: 0 12px 34px rgba(0, 0, 0, .26); }
.navbar { min-height: var(--header-height); padding-block: 8px; }
.navbar-brand { display: flex; align-items: center; min-width: 0; padding: 0; }
.navbar-brand img {
  width: clamp(170px, 16vw, 225px);
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .45));
}
.navbar-toggler { width: 46px; height: 42px; padding: 7px; border-color: rgba(255, 255, 255, .35); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(217, 164, 65, .24); }
.nav-link { position: relative; margin-inline: 5px; padding: 12px 8px !important; color: #fff !important; font-weight: 600; }
.nav-link::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 5px;
  left: 8px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.active::after { transform: scaleX(1); }

/* Hero and sections */
.hero {
  min-height: max(680px, 92svh);
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero-content { width: 100%; padding-top: calc(var(--header-height) + 38px); padding-bottom: 54px; }
.hero-logo {
  width: min(660px, 68vw);
  max-height: 300px;
  margin: 18px 0 20px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .6));
}
.hero p { max-width: 620px; margin: 24px 0; font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.6; }
.hero-tagline {
  position: relative;
  max-width: 680px !important;
  margin: 0 0 30px !important;
  padding-top: 28px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.25rem, 4.2vw, 4.35rem) !important;
  font-weight: 700;
  line-height: 1.04 !important;
  letter-spacing: -.025em;
  text-wrap: balance;
  text-shadow: 0 5px 25px rgba(0, 0, 0, .5);
}
.hero-tagline::before {
  content: "GUSTAVO & FORTUNATO";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .24em;
  text-shadow: none;
}
.hero-tagline::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 205px;
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero .d-flex { row-gap: 10px !important; }
.section { padding-block: clamp(64px, 7vw, 96px); }
.dark { color: #fff; background: var(--dark); }
.light { background: var(--paper); }
.about { color: #fff; background: linear-gradient(135deg, #a74924, #d47b43); }
.eyebrow, .section-head span { color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .2em; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 34px; }
.section-head h2, .section h2 { margin-bottom: .35em; font-size: clamp(2.1rem, 4.8vw, 4rem); line-height: 1.08; }
.section-head a, .text-link { color: var(--primary); font-weight: 800; }
.dark .section-head a { color: var(--gold); }
.narrow { max-width: 850px !important; }
.about p, .prose { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.9; }
.page-hero { padding: calc(var(--header-height) + 88px) 0 76px; color: #fff; background: radial-gradient(circle at 80% 30%, #6b301f, #21140f 55%); }
.page-hero h1 { max-width: 1100px; margin: 10px 0 0; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .98; }

/* Buttons */
.btn { min-height: 46px; border-radius: 999px; padding: .75rem 1.35rem; font-weight: 800; }
.btn-primary { color: #fff; background: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus { color: #fff; background: #a84f26; border-color: #a84f26; }
.btn-gold { color: #20130f; background: var(--gold); border-color: var(--gold); }

/* Lists and cards */
.event-list { border-top: 1px solid rgba(255, 255, 255, .2); }
.event-row {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 22px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  transition: background .2s ease, padding .2s ease;
}
.event-row:hover { padding-left: 20px; background: rgba(255, 255, 255, .06); }
.date { text-align: center; }
.date b { display: block; font: 700 2rem "Playfair Display", Georgia, serif; }
.date span { color: var(--gold); font-size: .75rem; }
.event-row h3 { margin: 0; }
.event-row p { margin: 4px 0 0; opacity: .72; }
.arrow { font-size: 1.8rem; }
.public .event-row { border-color: rgba(61, 42, 34, .13); }
.public .date span { color: var(--primary); }
.feature-grid { display: grid; grid-template-columns: minmax(280px, 560px) minmax(0, 1fr); align-items: center; gap: clamp(38px, 7vw, 100px); }
.cover img, .bio-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 70px rgba(54, 24, 13, .2); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.card-news { min-width: 0; overflow: hidden; border: 1px solid rgba(40, 27, 22, .06); border-radius: 18px; background: #fff; box-shadow: 0 15px 45px rgba(40, 20, 11, .07); transition: transform .2s ease, box-shadow .2s ease; }
.card-news:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(40, 20, 11, .12); }
.card-news > a { display: block; height: 100%; }
.card-news img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-news > div, .card-news > a > div { padding: 24px; }
.card-news h3 { margin: 8px 0; font-size: 1.55rem; line-height: 1.2; }
.card-news p { color: #66564e; }
.card-news small, .card-news a { color: var(--primary); font-weight: 800; }
.video, .video-grid .ratio { overflow: hidden; border-radius: 20px; background: #000; }
.video { max-width: 1100px; margin-inline: auto; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.video-grid h3 { margin-top: 14px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-grid a { overflow: hidden; border-radius: 14px; background: #ddd; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.photo-grid a:hover img { transform: scale(1.025); }

/* Forms, articles and footer */
.filters { display: flex; align-items: stretch; gap: 12px; margin-bottom: 35px; }
.filters input, .form-card input, .form-card textarea, .form-card select {
  width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #d9cabb; border-radius: 9px; color: var(--text); background: #fff;
}
.filters input:focus, .form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: 3px solid rgba(201, 101, 50, .18); border-color: var(--primary); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(35px, 5vw, 70px); }
.form-card { min-width: 0; padding: clamp(22px, 3vw, 36px); border-radius: 18px; background: #fff; box-shadow: 0 20px 50px rgba(42, 22, 12, .08); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-card label { display: block; margin-bottom: 16px; }
.form-card label span { display: block; margin-bottom: 6px; font-weight: 700; }
.article { max-width: 900px; }
.article > img { width: 100%; max-height: 550px; margin-bottom: 40px; border-radius: 20px; object-fit: cover; }
.share { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #ddd; }
.share a, .socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.share a { color: #fff; background: var(--primary); }
footer { padding: 64px 0 24px; color: #fff; background: #160c09; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-logo { width: min(285px, 76vw); max-height: 118px; object-fit: contain; object-position: left center; }
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.socials a { color: var(--gold); border: 1px solid rgba(255, 255, 255, .17); background: rgba(255, 255, 255, .04); transition: .22s ease; }
.socials a:hover { color: #fff; border-color: var(--primary); background: var(--primary); transform: translateY(-2px); }
.copyright { margin-top: 35px; padding-top: 22px !important; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .72); font-size: .8rem; line-height: 1.55; text-align: center; }
.copyright a { color: var(--gold); }
.empty-state { grid-column: 1 / -1; padding: 28px; border: 1px dashed rgba(40, 27, 22, .22); border-radius: 14px; text-align: center; }
.public-alert { position: fixed; z-index: 1100; top: calc(var(--header-height) + 14px); right: 0; left: 0; pointer-events: none; }
.public-alert .alert { width: min(620px, 100%); margin-left: auto; border: 0; box-shadow: 0 14px 38px rgba(0, 0, 0, .18); pointer-events: auto; }

@media (max-width: 1100px) {
  .nav-link { margin-inline: 1px; font-size: .91rem; }
}

@media (max-width: 991.98px) {
  :root { --header-height: 78px; }
  .navbar-brand img { width: 185px; max-height: 60px; }
  .navbar-collapse {
    max-height: calc(100svh - var(--header-height));
    margin: 8px calc(clamp(18px, 3vw, 44px) * -1) -8px;
    padding: 12px clamp(18px, 3vw, 44px) 22px;
    overflow-y: auto;
    background: rgba(28, 16, 13, .99);
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-link { margin: 0; padding: 13px 4px !important; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-link::after { right: auto; bottom: 8px; left: 4px; width: 42px; }
  .hero { background-position: 64% center; }
  .hero-logo { width: min(570px, 78vw); }
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid .cover, .bio-img { max-width: 620px; }
  .cards, .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .container-xxl { padding-inline: 18px !important; }
  .navbar-brand { max-width: calc(100% - 58px); }
  .navbar-brand img { width: 155px; max-height: 52px; }
  .navbar-collapse { margin-inline: -18px; padding-inline: 18px; }
  .hero { min-height: max(640px, 100svh); background-position: 62% center; }
  .hero-content { padding-top: calc(var(--header-height) + 26px); padding-bottom: 38px; }
  .hero-logo { width: min(390px, 90vw); max-height: 185px; margin-block: 14px 18px; }
  .hero p { font-size: 1rem; line-height: 1.55; }
  .hero-tagline { max-width: 94% !important; margin-bottom: 25px !important; padding-top: 25px; font-size: clamp(2rem, 10.5vw, 3.15rem) !important; line-height: 1.06 !important; }
  .hero-tagline::before { font-size: .66rem; letter-spacing: .18em; }
  .hero-tagline::after { display: none; }
  .hero .btn { flex: 1 1 100%; width: 100%; }
  .section { padding-block: 60px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 26px; }
  .section-head h2, .section h2 { font-size: clamp(2rem, 10.5vw, 3rem); }
  .page-hero { padding: calc(var(--header-height) + 54px) 0 54px; }
  .page-hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .cards, .video-grid, .form-grid, .photo-grid { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 54px minmax(0, 1fr) 20px; gap: 10px; padding-inline: 0; }
  .event-row:hover { padding-left: 5px; }
  .event-row h3 { font-size: 1.1rem; }
  .event-row p { font-size: .9rem; }
  .date b { font-size: 1.7rem; }
  .filters { flex-direction: column; }
  .filters .btn { width: 100%; }
  .contact-grid { gap: 30px; }
  .form-card { padding: 22px 18px; }
  .footer-grid { flex-direction: column; }
  .footer-logo { width: min(245px, 78vw); max-height: 96px; }
  .copyright { font-size: .74rem; }
}

@media (max-width: 390px) {
  .navbar-brand img { width: 140px; }
  .hero-logo { width: 90vw; }
  .hero .btn { padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
