/* =========================================================
   Binat Bibi Masjid — Heritage Stylesheet
   Designed and Managed by Creaa Designs
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --cream: #f8f1e3;
  --cream-soft: #fdfbf6;
  --sand: #ebdfc6;
  --sand-deep: #d9c7a3;
  --gold: #c9a961;
  --gold-deep: #a8893f;
  --gold-soft: rgba(201, 169, 97, 0.15);
  --green: #1a4731;
  --green-mid: #2d5e3f;
  --green-deep: #0f2e1f;
  --green-soft: rgba(26, 71, 49, 0.08);
  --ink: #2c2418;
  --ink-soft: #5a5043;
  --line: rgba(44, 36, 24, 0.12);
  --shadow-sm: 0 4px 14px rgba(15, 46, 31, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 46, 31, 0.10);
  --shadow-lg: 0 25px 60px rgba(15, 46, 31, 0.18);
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --bn-serif: 'Hind Siliguri', 'Noto Serif Bengali', serif;
  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-soft);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body[data-lang="bn"] { font-family: var(--bn-serif), var(--sans); }
body[data-lang="bn"] h1,
body[data-lang="bn"] h2,
body[data-lang="bn"] h3,
body[data-lang="bn"] h4 { font-family: var(--bn-serif), var(--serif); }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--green-deep); line-height: 1.18; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--ink-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.section-title { margin-bottom: 18px; }
.section-lead { font-size: 1.08rem; max-width: 680px; color: var(--ink-soft); margin-bottom: 56px; }

/* ---------- Islamic Pattern Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 48px 0;
  color: var(--gold);
}
.divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  max-width: 180px;
}
.divider .glyph {
  width: 38px;
  height: 38px;
  position: relative;
}
.divider .glyph::before,
.divider .glyph::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}
.divider .glyph::after { transform: rotate(0deg); }

/* Subtle pattern background helper */
.pattern-bg {
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(168, 137, 63, 0.18) 1px, transparent 0);
  background-size: 28px 28px;
}

/* ---------- Top Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all var(--transition);
}
.site-header.transparent {
  background: linear-gradient(180deg, rgba(15, 46, 31, 0.55) 0%, rgba(15, 46, 31, 0.0) 100%);
}
.site-header.solid {
  background: rgba(253, 251, 246, 0.95);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(168, 137, 63, 0.35);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid rgba(253, 251, 246, 0.85);
  border-radius: 50%;
}
.brand-mark span {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream-soft);
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream-soft);
  letter-spacing: 0.01em;
}
.brand-tag {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 251, 246, 0.78);
  margin-top: 2px;
}
.site-header.solid .brand-name,
.site-header.solid .brand-tag { color: var(--green-deep); }
.site-header.solid .brand-tag { color: var(--gold-deep); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-menu a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream-soft);
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a:hover,
.nav-menu a.active { color: var(--gold); }
.site-header.solid .nav-menu a { color: var(--ink); }
.site-header.solid .nav-menu a:hover,
.site-header.solid .nav-menu a.active { color: var(--green); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(253, 251, 246, 0.16);
  border: 1px solid rgba(253, 251, 246, 0.28);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(10px);
}
.site-header.solid .lang-switch {
  background: var(--cream);
  border-color: var(--line);
}
.lang-switch button {
  font-family: var(--sans);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream-soft);
  border-radius: 999px;
  transition: all var(--transition);
}
.site-header.solid .lang-switch button { color: var(--ink-soft); }
.lang-switch button.active {
  background: var(--gold);
  color: var(--green-deep);
  box-shadow: 0 4px 10px rgba(168, 137, 63, 0.35);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(253, 251, 246, 0.16);
  border: 1px solid rgba(253, 251, 246, 0.28);
  position: relative;
  z-index: 110;
}
.site-header.solid .menu-toggle {
  background: var(--cream);
  border-color: var(--line);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--cream-soft);
  margin: 4px auto;
  transition: all var(--transition);
}
.site-header.solid .menu-toggle span { background: var(--ink); }
.menu-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cream-soft);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media .bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero.in-view .hero-media img,
.hero.in-view .hero-media .bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 46, 31, 0.55) 0%, rgba(15, 46, 31, 0.65) 50%, rgba(15, 46, 31, 0.85) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(201, 169, 97, 0.18), transparent 60%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 100px;
  max-width: 880px;
}
.hero-content .eyebrow { color: var(--gold); }
.hero-content .eyebrow::before { background: var(--gold); }
.hero h1 {
  color: var(--cream-soft);
  font-weight: 400;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.hero-lead {
  font-size: 1.18rem;
  color: rgba(253, 251, 246, 0.85);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Inner page hero variant */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 140px 0 70px;
  color: var(--cream-soft);
}
.page-hero .hero-overlay {
  background:
    linear-gradient(180deg, rgba(15, 46, 31, 0.55) 0%, rgba(15, 46, 31, 0.85) 100%);
}
.page-hero h1 { color: var(--cream-soft); font-weight: 400; max-width: 880px; }
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero .breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(253, 251, 246, 0.72);
  margin-bottom: 22px;
}
.page-hero .breadcrumb a:hover { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-deep);
  box-shadow: 0 10px 24px rgba(168, 137, 63, 0.35);
}
.btn-primary:hover {
  background: var(--cream-soft);
  color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(168, 137, 63, 0.45);
}
.btn-ghost {
  border-color: rgba(253, 251, 246, 0.45);
  color: var(--cream-soft);
}
.btn-ghost:hover {
  background: rgba(253, 251, 246, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline {
  border-color: var(--green);
  color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--cream-soft);
}
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-deep {
  background: var(--green-deep);
  color: var(--cream-soft);
}
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep h4 { color: var(--cream-soft); }
.bg-deep p { color: rgba(253, 251, 246, 0.8); }
.bg-deep .eyebrow { color: var(--gold); }

/* ---------- Intro / Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.flip > :first-child { order: 2; }
.two-col .visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.two-col .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.two-col .visual:hover img { transform: scale(1.04); }
.two-col .visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(253, 251, 246, 0.35);
  z-index: 2;
  pointer-events: none;
  border-radius: 8px;
}
.two-col .text-block p { margin-bottom: 18px; font-size: 1.05rem; }

/* ---------- Pillars / Feature cards ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.pillar {
  background: var(--cream-soft);
  padding: 44px 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--gold-soft);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  margin-bottom: 24px;
  font-size: 1.5rem;
}
.pillar h4 { color: var(--green-deep); margin-bottom: 12px; }
.pillar p { font-size: 0.96rem; }

/* ---------- Stats Strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--green-deep);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat {
  padding: 56px 32px;
  text-align: center;
  border-right: 1px solid rgba(201, 169, 97, 0.2);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.stat .lbl {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 251, 246, 0.78);
}

/* ---------- Timeline (History page) ---------- */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  transform: translateX(-0.5px);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 30px 50px;
}
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before {
  content: "";
  position: absolute;
  top: 42px;
  width: 14px;
  height: 14px;
  background: var(--cream-soft);
  border: 2px solid var(--gold);
  border-radius: 50%;
  z-index: 2;
  transition: all var(--transition);
}
.tl-item:nth-child(odd)::before { right: -7px; }
.tl-item:nth-child(even)::before { left: -7px; }
.tl-item:hover::before {
  background: var(--gold);
  transform: scale(1.4);
}
.tl-item .year {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 8px;
}
.tl-item h4 {
  margin-bottom: 12px;
  color: var(--green-deep);
}
.tl-item p { font-size: 0.96rem; }

/* ---------- Architecture features ---------- */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.arch-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 36px;
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all var(--transition);
}
.arch-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.arch-card .num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}
.arch-card h4 { margin-bottom: 10px; }
.arch-card p { font-size: 0.96rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  grid-auto-rows: 320px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  background: var(--green-deep);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(15, 46, 31, 0.92));
  padding: 30px 24px 20px;
  color: var(--cream-soft);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition);
}
.gallery-item:hover .caption { transform: translateY(0); opacity: 1; }
.gallery-item .caption .title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.gallery-item .caption .sub {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 46, 31, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: fadeIn 0.4s ease; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox .close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(253, 251, 246, 0.12);
  color: var(--cream-soft);
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  transition: all var(--transition);
}
.lightbox .close:hover { background: var(--gold); color: var(--green-deep); }

/* ---------- Events ---------- */
.events-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.event-card {
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 130px 1fr;
  transition: all var(--transition);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.event-date {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--cream-soft);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px 18px;
}
.event-date .day {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}
.event-date .month {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 6px;
}
.event-info { padding: 24px 28px; }
.event-info .tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
  display: inline-block;
}
.event-info h4 { margin-bottom: 10px; color: var(--green-deep); }
.event-info p { font-size: 0.94rem; }

/* ---------- Visit page ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.info-card {
  padding: 36px;
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.info-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.info-card h4 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--green-deep);
}
.info-card h4 .icn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.info-card p, .info-card li { font-size: 0.96rem; color: var(--ink-soft); }
.info-card ul { padding-left: 0; }
.info-card li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
}
.info-card li:last-child { border-bottom: none; }
.info-card li strong { color: var(--green-deep); font-weight: 600; }

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(1.05) contrast(1.02); }

.etiquette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.etiq-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all var(--transition);
}
.etiq-item:hover { transform: translateY(-4px); border-color: var(--gold); }
.etiq-item .icn {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.etiq-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.etiq-item p { font-size: 0.88rem; }

/* ---------- Management section (About) ---------- */
.mgmt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 60px;
}
.mgmt-card {
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.mgmt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.mgmt-photo {
  position: relative;
  aspect-ratio: 4/3.4;
  overflow: hidden;
  background: var(--green-deep);
}
.mgmt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1s ease;
}
.mgmt-card:hover .mgmt-photo img { transform: scale(1.06); }
.mgmt-photo::after {
  content: "VIEW PROFILE";
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--transition);
  pointer-events: none;
}
.mgmt-card:hover .mgmt-photo::after { opacity: 1; transform: translateY(0); }
.mgmt-info { padding: 32px 30px; }
.mgmt-info .role {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
  display: inline-block;
}
.mgmt-info h3 { margin-bottom: 12px; transition: color var(--transition); }
.mgmt-card:hover .mgmt-info h3 { color: var(--gold-deep); }
.mgmt-info p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.modal.open { display: flex; animation: fadeIn 0.4s ease; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 46, 31, 0.85);
  backdrop-filter: blur(10px);
}
.modal-body {
  position: relative;
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: scaleIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--cream-soft);
}
.modal-header h3 {
  color: var(--cream-soft);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}
.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(253, 251, 246, 0.14);
  color: var(--cream-soft);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--gold); color: var(--green-deep); }
.modal-content {
  flex: 1;
  overflow: hidden;
  background: #1f2a1f;
  min-height: 70vh;
}
.modal-content iframe,
.modal-content embed { width: 100%; height: 100%; border: 0; min-height: 70vh; }
.modal-footer {
  padding: 16px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info { padding-top: 12px; }
.contact-info h2 { margin-bottom: 18px; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.contact-row .lbl {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
  display: block;
}
.contact-row .val {
  font-size: 1.05rem;
  color: var(--green-deep);
  font-weight: 500;
}
.contact-row a:hover { color: var(--gold-deep); }

.contact-form {
  background: var(--cream-soft);
  padding: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 22px; position: relative; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  transition: all var(--transition);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--cream-soft);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field .err {
  color: #b13b3b;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}
.form-field.invalid .err { display: block; }
.form-field.invalid input,
.form-field.invalid textarea { border-color: #b13b3b; }

.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  display: none;
  font-size: 0.94rem;
}
.form-status.show { display: block; }
.form-status.success { background: var(--green-soft); color: var(--green-deep); border: 1px solid var(--green); }

/* ---------- CTA ---------- */
.cta-band {
  background:
    linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(201, 169, 97, 0.18) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.4;
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  color: var(--cream-soft);
}
.cta-inner h2 { color: var(--cream-soft); margin-bottom: 18px; }
.cta-inner p { color: rgba(253, 251, 246, 0.78); margin-bottom: 36px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: rgba(253, 251, 246, 0.78);
  padding: 80px 0 30px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand .brand-mark { width: 52px; height: 52px; }
.footer-brand .brand-mark span { font-size: 1.5rem; }
.footer-brand .brand-name { color: var(--cream-soft); font-size: 1.4rem; }
.footer-brand .brand-tag { color: var(--gold); }
.footer-brand p {
  margin-top: 22px;
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 360px;
  color: rgba(253, 251, 246, 0.7);
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  font-size: 0.94rem;
  color: rgba(253, 251, 246, 0.7);
  transition: all var(--transition);
}
.footer-col ul a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact a { color: rgba(253, 251, 246, 0.85); }
.footer-contact a:hover { color: var(--gold); }
.socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(253, 251, 246, 0.2);
  display: grid;
  place-items: center;
  color: rgba(253, 251, 246, 0.78);
  transition: all var(--transition);
}
.socials a:hover {
  background: var(--gold);
  color: var(--green-deep);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(201, 169, 97, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: rgba(253, 251, 246, 0.55);
}
.footer-bottom a { color: var(--gold); font-weight: 500; }
.footer-bottom a:hover { color: var(--cream-soft); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.22s; }
.reveal.delay-3 { transition-delay: 0.34s; }

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  section { padding: 80px 0; }
  .container { padding: 0 22px; }
  .menu-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    background: var(--cream-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 36px 36px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a {
    width: 100%;
    color: var(--ink) !important;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu a::after { display: none; }
  .nav-actions .lang-switch {
    background: var(--cream);
    border-color: var(--line);
  }
  .nav-actions .lang-switch button { color: var(--ink-soft); }

  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .two-col.flip > :first-child { order: 0; }
  .two-col .visual { aspect-ratio: 4/3; }

  .pillars { grid-template-columns: 1fr; gap: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(201, 169, 97, 0.2); }

  .timeline::before { left: 18px; }
  .tl-item { width: 100%; padding: 20px 20px 20px 50px; }
  .tl-item:nth-child(odd) { left: 0; text-align: left; }
  .tl-item:nth-child(even) { left: 0; }
  .tl-item:nth-child(odd)::before,
  .tl-item:nth-child(even)::before { left: 11px; right: auto; }

  .arch-grid { grid-template-columns: 1fr; }
  .arch-card { grid-template-columns: 70px 1fr; padding: 26px; gap: 18px; }
  .arch-card .num { font-size: 2.4rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }

  .events-list { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; gap: 32px; }
  .etiquette-grid { grid-template-columns: repeat(2, 1fr); }

  .mgmt-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: none; }
  .footer-bottom { justify-content: center; text-align: center; }

  .hero-content { padding: 130px 0 80px; }
  .hero-lead { font-size: 1rem; }
  .page-hero { min-height: 50vh; padding: 130px 0 50px; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.2rem; }
  .brand-tag { display: none; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item.wide { grid-column: span 1; }
  .etiquette-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(201, 169, 97, 0.2); }
  .stat:last-child { border-bottom: none; }
  .event-card { grid-template-columns: 100px 1fr; }
  .event-info { padding: 20px; }
  .modal { padding: 14px; }
  .modal-content, .modal-content iframe { min-height: 60vh; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .menu-toggle, .lang-switch { display: none; }
}
