:root {
  --bg: #f7f1e8;
  --bg-soft: #f1e7d8;
  --surface: rgba(255, 255, 255, 0.86);
  --text: #2e251d;
  --text-soft: #5f5247;
  --primary: #7c1820;
  --primary-dark: #5f1118;
  --gold: #c9a65a;
  --border: rgba(82, 58, 35, 0.14);
  --shadow: 0 20px 60px rgba(39, 24, 12, 0.12);
  --radius: 22px;
  --container: min(1120px, calc(100% - 2rem));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(201, 166, 90, 0.12), transparent 32%),
    linear-gradient(180deg, #fbf8f3 0%, #f3eadf 100%);
  color: var(--text);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(247, 241, 232, 0.8);
  border-bottom: 1px solid rgba(124, 24, 32, 0.08);
}

.topbar-content {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  line-height: 1;
}

.brand small {
  color: var(--text-soft);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), #f5deb0);
  color: var(--primary-dark);
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #92212b);
  color: #fff;
  box-shadow: 0 16px 30px rgba(124, 24, 32, 0.22);
}

.btn-secondary,
.btn-nav {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  border: 1px solid rgba(124, 24, 32, 0.16);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(54, 30, 12, 0.55), rgba(124, 24, 32, 0.72)),
    radial-gradient(circle at top, rgba(255,255,255,0.22), transparent 26%),
    url('https://images.unsplash.com/photo-1507692049790-de58290a4334?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 10, 0.1), rgba(20, 14, 10, 0.35));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 760px;
  padding: 7rem 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero h1,
.section h2 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  margin-bottom: 1.25rem;
}

.hero-text {
  font-size: 1.12rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.highlights {
  margin-top: -5.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.cards-grid,
.schedule-grid,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

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

.card,
.schedule-card,
.history-box,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.card {
  padding: 1.75rem;
}

.card h3,
.schedule-card h3,
.footer h3,
.footer h4 {
  margin-bottom: 0.7rem;
}

.section {
  padding: 5.5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(201, 166, 90, 0.08), rgba(255, 255, 255, 0.25));
}

.two-columns,
.form-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

.section h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 1rem;
}

.section p {
  color: var(--text-soft);
}

.history-panel {
  display: grid;
  gap: 1rem;
}

.history-box {
  padding: 1.5rem;
}

.history-year {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 1.8rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--primary);
  font-weight: 700;
}

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

.schedule-card {
  padding: 1.7rem;
}

.schedule-card ul,
.footer ul {
  list-style: none;
}

.schedule-card li,
.footer li {
  margin-bottom: 0.7rem;
  color: var(--text-soft);
}

.contact-form {
  padding: 1.7rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(124, 24, 32, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(124, 24, 32, 0.55);
  box-shadow: 0 0 0 4px rgba(124, 24, 32, 0.08);
}

.form-feedback {
  grid-column: 1 / -1;
  font-weight: 600;
  min-height: 24px;
  color: var(--primary);
}

.footer {
  background: linear-gradient(135deg, #2d1814, #4f171d);
  color: #f5eadf;
  padding-top: 3.2rem;
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 1fr;
  padding-bottom: 2rem;
}

.footer p,
.footer li,
.footer a {
  color: rgba(245, 234, 223, 0.85);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(124, 24, 32, 0.16);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

@media (max-width: 980px) {
  .cards-grid,
  .schedule-grid,
  .two-columns,
  .form-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1100;
  }

  .menu {
    position: fixed;
    inset: 80px 1rem auto 1rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 249, 242, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .menu.active {
    display: flex;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-content {
    padding: 6rem 0 5rem;
  }

  .highlights {
    margin-top: -3rem;
  }
}

@media (max-width: 640px) {
  .topbar-content {
    min-height: 74px;
  }

  .brand strong {
    font-size: 1.25rem;
  }

  .brand small {
    font-size: 0.74rem;
  }

  .hero-text,
  .section p,
  .card p,
  .schedule-card li {
    font-size: 0.98rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}
