/* ── OVERFLOW & CONTAINER FIX ── */
html, body { overflow-x: clip; max-width: 100vw; width: 100%; position: relative; }
.container {
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1240px; /* Standard premium width */
}
@media (min-width: 576px)  { .container { max-width: 540px;  } }
@media (min-width: 768px)  { .container { max-width: 720px;  } }
@media (min-width: 992px)  { .container { max-width: 960px;  } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1240px; } }

.hero-split { overflow: hidden !important; width: 100%; }
.hero-grid { max-width: 100% !important; margin: 0 !important; width: 100% !important; }
.mh-strip .strip-inner { overflow: hidden; }
.strip-row { overflow: hidden; width: 100%; }

/* ══════════════════════════════════════════
   BOOTSTRAP-COMPATIBLE GRID (no Bootstrap needed)
   .row + col-lg-* / col-md-* / col-sm-* / col-*
══════════════════════════════════════════ */
.row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-right: -12px !important;
  margin-left:  -12px !important;
}
.row.g-4 { gap: 0 !important; }
[class*="col-"] {
  padding-right: 12px !important;
  padding-left:  12px !important;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
/* col-* (xs — always) */
.col    { flex: 1 0 0% !important; }
.col-12 { flex: 0 0 100%    !important; max-width: 100%    !important; }
.col-9  { flex: 0 0 75%     !important; max-width: 75%     !important; }
.col-8  { flex: 0 0 66.666% !important; max-width: 66.666% !important; }
.col-6  { flex: 0 0 50%     !important; max-width: 50%     !important; }
.col-5  { flex: 0 0 41.666% !important; max-width: 41.666% !important; }
.col-4  { flex: 0 0 33.333% !important; max-width: 33.333% !important; }
.col-3  { flex: 0 0 25%     !important; max-width: 25%     !important; }
/* col-sm-* (≥576px) */
@media (min-width:576px) {
  .col-sm-6  { flex: 0 0 50%     !important; max-width: 50%     !important; }
  .col-sm-4  { flex: 0 0 33.333% !important; max-width: 33.333% !important; }
  .col-sm-3  { flex: 0 0 25%     !important; max-width: 25%     !important; }
  .col-sm-12 { flex: 0 0 100%    !important; max-width: 100%    !important; }
}
/* col-md-* (≥768px) */
@media (min-width:768px) {
  .col-md-2  { flex: 0 0 16.666% !important; max-width: 16.666% !important; }
  .col-md-3  { flex: 0 0 25%     !important; max-width: 25%     !important; }
  .col-md-4  { flex: 0 0 33.333% !important; max-width: 33.333% !important; }
  .col-md-5  { flex: 0 0 41.666% !important; max-width: 41.666% !important; }
  .col-md-6  { flex: 0 0 50%     !important; max-width: 50%     !important; }
  .col-md-8  { flex: 0 0 66.666% !important; max-width: 66.666% !important; }
  .col-md-9  { flex: 0 0 75%     !important; max-width: 75%     !important; }
  .col-md-12 { flex: 0 0 100%    !important; max-width: 100%    !important; }
}
/* col-lg-* (≥992px) */
@media (min-width:992px) {
  .col-lg-2  { flex: 0 0 16.666% !important; max-width: 16.666% !important; }
  .col-lg-3  { flex: 0 0 25%     !important; max-width: 25%     !important; }
  .col-lg-4  { flex: 0 0 33.333% !important; max-width: 33.333% !important; }
  .col-lg-5  { flex: 0 0 41.666% !important; max-width: 41.666% !important; }
  .col-lg-6  { flex: 0 0 50%     !important; max-width: 50%     !important; }
  .col-lg-7  { flex: 0 0 58.333% !important; max-width: 58.333% !important; }
  .col-lg-8  { flex: 0 0 66.666% !important; max-width: 66.666% !important; }
  .col-lg-12 { flex: 0 0 100%    !important; max-width: 100%    !important; }
}
/* g-4 gap simulation */
.row.g-4 > [class*="col-"] { padding: 12px !important; }
.row.g-5 > [class*="col-"] { padding: 16px !important; }
.row.g-3 > [class*="col-"] { padding: 8px  !important; }
.row.g-2 > [class*="col-"] { padding: 6px  !important; }
.row.g-0 > [class*="col-"] { padding: 0    !important; }
/* align utilities */
.align-items-center { align-items: center !important; }
.align-items-end    { align-items: flex-end !important; }
.text-center        { text-align: center !important; }
.text-lg-end        { text-align: right !important; }
.d-flex             { display: flex !important; }
.d-block            { display: block !important; }
.d-none             { display: none !important; }
@media (min-width:768px) { .d-md-flex { display: flex !important; } .d-md-none { display: none !important; } }
@media (min-width:992px) {
  .d-lg-flex { display: flex !important; }
  .d-lg-none { display: none !important; }
  .d-lg-inline { display: inline !important; }
  .d-lg-block { display: block !important; }
}
.flex-wrap          { flex-wrap: wrap !important; }
.gap-2              { gap: .5rem !important; }
.gap-3              { gap: .75rem !important; }
.gap-4              { gap: 1rem !important; }
.h-100              { height: 100% !important; }
.mt-2               { margin-top: .5rem !important; }
.mt-3               { margin-top: .75rem !important; }
.mt-4               { margin-top: 1rem !important; }
.mt-5               { margin-top: 1.5rem !important; }
.mb-3               { margin-bottom: .75rem !important; }
.mb-4               { margin-bottom: 1rem !important; }
.mb-5               { margin-bottom: 1.5rem !important; }
.me-1               { margin-right: .25rem !important; }
.me-2               { margin-right: .5rem !important; }
.me-3               { margin-right: .75rem !important; }
.p-3                { padding: .75rem !important; }
.p-4                { padding: 1rem !important; }


/* ═══════════════════════════════════════════════
   MESQUITAFOZ-3 — Logo Color Palette
   Extracted from logo1.png:
   - Deep Islamic Green: #1A5C38
   - Mid Green:          #1E6B42
   - Dark Forest:        #0F3322
   - White/Ivory:        #F5F5F0
   - Gold accent:        #C9A84C (complements green)
═══════════════════════════════════════════════ */

:root {
  /* Override v3 color vars with logo-extracted palette */
  --maroon:    #1A5C38;
  --maroon-dk: #0F3322;
  --charcoal:  #0D2B1E;
  --charcoal-lt:#133325;
  --gold:      #C9A84C;
  --gold-lt:   #E2C46E;
  --gold-pale: #F0DFA0;
  --green:     #1E6B42;
  --cream:     #F4F9F5;
  --cream-dk:  #E6F0EA;
  --cream-xdk: #C8DDD0;
  --white:     #FFFFFF;
  --text:      #0D2B1E;
  --muted:     #4A7060;
  --border:    rgba(201,168,76,0.35);
  --border-dk: rgba(26,92,56,0.25);

  /* Gradients */
  --gold-grad:   linear-gradient(135deg, #A88630 0%, #E2C46E 40%, #A88630 70%, #7A6020 100%);
  --green-grad:  linear-gradient(135deg, #1A5C38 0%, #226645 50%, #0F3322 100%);
  --shadow-card: 0 4px 6px rgba(0,0,0,0.04), 0 10px 24px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 16px rgba(0,0,0,0.08), 0 20px 40px rgba(0,0,0,0.14);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L36 24 L60 30 L36 36 L30 60 L24 36 L0 30 L24 24Z' fill='none' stroke='rgba(201,168,76,0.18)' stroke-width='0.8'/%3E%3Ccircle cx='30' cy='30' r='4' fill='none' stroke='rgba(201,168,76,0.12)' stroke-width='0.6'/%3E%3C/svg%3E");
}

/* ── LOGO COLOR FIX ── */
/* Convert white logo2.png → dark green #1A5C38 for light masthead */
.mh-logo img {
  filter: brightness(0) saturate(1) invert(24%) sepia(70%) saturate(550%) hue-rotate(118deg) brightness(0.88) !important;
}
/* Footer logo: keep white (inverted) */
#main-footer .footer-inner img {
  filter: brightness(0) invert(1) !important;
}

/* ── BASE ── */
body { background: var(--cream) !important; }
a { color: var(--maroon) !important; }
a:hover { color: var(--gold) !important; }

/* ── MASTHEAD ── */
.masthead {
  background: linear-gradient(180deg, #fff 0%, #F4F9F5 100%) !important;
  position: relative; overflow: hidden;
  padding: 8px 0 !important;
}
.masthead .mh-inner { gap: 12px !important; }
.masthead .mh-logo img { height: 48px !important; }
.masthead::before {
  content: '';position:absolute;inset:0;
  background-image: var(--pattern);background-size:60px 60px;
  opacity:.5;pointer-events:none;
}
.masthead::after {
  content:'';position:absolute;bottom:0;left:0;right:0;height:3px;
  background: var(--gold-grad);
}
.mh-name {
  background: var(--green-grad);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  font-size:1.3rem !important;letter-spacing:2px !important;line-height:1.1 !important;
}
.mh-headline {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 0.25rem 0.65rem !important;
}
.mh-headline .mh-name { margin: 0 !important; }
.mh-headline .mh-sub { color: var(--muted) !important;font-size:.72rem !important;margin-top:0 !important; }
.mh-sub { color: var(--muted) !important;font-size:.72rem !important;margin-top:1px !important; }
.mh-rule { background: var(--border) !important;margin:3px auto !important;width:140px !important; }
.mh-tagline {
  font-family: 'EB Garamond', serif;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  line-height: 1.25;
}
.masthead .mh-center > div:not(.mh-headline):not(.mh-name):not(.mh-sub):not(.mh-rule):not(.mh-tagline) {
  font-size:.68rem !important;line-height:1.25 !important;
}
.masthead .mh-right { color: var(--muted) !important;font-size:.7rem !important;line-height:1.4 !important; }
.masthead .mh-right strong { color: var(--text) !important;font-size:.74rem !important; }
.masthead .btn-ticket { margin-top:4px !important;padding:4px 12px !important;font-size:.58rem !important; }
.btn-ticket { border-color: var(--maroon) !important; color: var(--maroon) !important; }
.btn-ticket:hover { background: var(--maroon) !important; color: #fff !important; }

/* ── TOP STRIP ── */
.mh-strip { background: var(--green-grad) !important; }

/* ── NAVIGATION ── */
.main-nav {
  background: linear-gradient(90deg, #0D2B1E 0%, #133325 50%, #0D2B1E 100%) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
  width: 100%;
}
.main-nav ul {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav ul li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}
.main-nav ul li a { color: rgba(244,249,245,0.75) !important; }
.main-nav ul li a:hover,.main-nav ul li a.active {
  color: var(--gold-lt) !important;
  background: rgba(201,168,76,0.1) !important;
}
.main-nav ul li a::after {
  content:'';position:absolute;bottom:0;left:50%;right:50%;height:2px;
  background:var(--gold-grad);transition:left .3s ease,right .3s ease;
}
.main-nav ul li a:hover::after,.main-nav ul li a.active::after { left:0;right:0; }
.drop-menu { background: #133325 !important; border-color: var(--border) !important; }
.drop-menu a { color: rgba(244,249,245,0.7) !important; }
.drop-menu a:hover { background: rgba(201,168,76,0.12) !important; color: var(--gold-lt) !important; }

/* Language switcher + cart inside main nav */
.main-nav__shell {
  position: relative;
}
.main-nav__build {
  width: 100%;
  min-width: 0;
}
.main-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.main-nav__lang {
  position: static;
  transform: none;
}
@media (min-width: 992px) {
  .main-nav .container.main-nav__shell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-left: 0.5rem;
    padding-right: 0.65rem;
  }
  .main-nav__build {
    flex: 1 1 auto;
    min-width: 0;
  }
  .main-nav__actions {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    z-index: 12;
    margin-left: 0.25rem;
    padding-left: 0.65rem;
    border-left: 1px solid rgba(201, 168, 76, 0.28);
  }
  .main-nav__build > .container.d-lg-flex {
    display: flex !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    align-items: center;
  }
  .main-nav__build > .container.d-lg-flex > ul {
    display: flex !important;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
  }
}
@media (min-width: 992px) and (max-width: 1399px) {
  .main-nav ul li a {
    padding-left: 11px !important;
    padding-right: 11px !important;
    font-size: 0.62rem !important;
    letter-spacing: 1.5px !important;
  }
}
@media (min-width: 1400px) {
  .main-nav ul li a {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}
/* Navbar user account */
.nav-user {
  position: relative;
}
.nav-user__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.55);
  background: var(--green-grad);
  color: var(--gold-lt, #E2C46E) !important;
  -webkit-text-fill-color: var(--gold-lt, #E2C46E);
  text-decoration: none !important;
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.nav-user__link:hover,
.nav-user__link:focus-visible {
  background: var(--maroon-dk, #0F3322) !important;
  color: var(--gold, #C9A84C) !important;
  -webkit-text-fill-color: var(--gold, #C9A84C);
  box-shadow: 0 4px 14px rgba(26, 92, 56, 0.35);
  transform: translateY(-1px);
}
.nav-user__link i {
  font-size: 1rem;
  color: inherit !important;
  -webkit-text-fill-color: inherit;
}
@media (max-width: 575.98px) {
  .main-nav__actions .nav-user__text {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: hidden;
    clip: auto;
    white-space: nowrap;
    border: 0;
    text-overflow: ellipsis;
  }

  .main-nav__actions .nav-user__link {
    width: auto;
    min-width: 2.5rem;
    padding: 0.35rem 0.5rem;
  }
}

/* Navbar mini-cart */
.nav-cart {
  position: relative;
}
.nav-cart__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.55);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(248, 244, 238, 0.95) !important;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.nav-cart__link:hover,
.nav-cart__link:focus-visible {
  border-color: var(--gold-lt);
  background: rgba(201, 168, 76, 0.18);
  color: var(--gold-lt) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.nav-cart__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
}
.nav-cart__icon {
  font-size: 1.15rem;
  line-height: 1;
}
.nav-cart__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #8b1520 0%, #6b0f1a 100%);
  color: #fff !important;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  border: 2px solid #133325;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.nav-cart__badge--pulse {
  animation: nav-cart-badge-pulse 0.55s ease;
}
@keyframes nav-cart-badge-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.nav-cart-toast-host {
  position: fixed;
  top: 5.25rem;
  right: 1rem;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(320px, calc(100vw - 2rem));
  pointer-events: none;
}
.nav-cart-toast {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-cart-toast--visible {
  opacity: 1;
  transform: translateY(0);
}
.nav-cart-toast--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}
.nav-cart-toast--error {
  background: #fff5f5;
  border: 1px solid #f1aeb5;
  color: #842029;
}
.main-nav__build > .container.d-lg-flex {
  padding-left: 0;
  padding-right: 0;
}
.public-lang-switcher {
  position: relative;
}
.public-lang-switcher__trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  padding: 0.35rem 0.9rem 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.55);
  background: transparent;
  color: rgba(248, 244, 238, 0.92);
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.public-lang-switcher__trigger::-webkit-details-marker {
  display: none;
}
.public-lang-switcher__trigger:hover,
.public-lang-switcher[open] .public-lang-switcher__trigger {
  border-color: var(--gold-lt);
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-lt);
}
.public-lang-switcher__flag {
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.public-lang-switcher__globe {
  font-size: 1rem;
  color: var(--gold-lt);
}
.public-lang-switcher__chevron {
  font-size: 0.65rem;
  opacity: 0.75;
  transition: transform 0.2s ease;
}
.public-lang-switcher[open] .public-lang-switcher__chevron {
  transform: rotate(180deg);
}
.public-lang-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1100;
  min-width: 12.5rem;
  padding: 0.35rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: #133325;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.public-lang-switcher__option-form {
  margin: 0;
}
.public-lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: none;
  border-radius: 0.4rem;
  background: transparent;
  color: rgba(248, 244, 238, 0.85);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.public-lang-switcher__option:hover {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-lt);
}
.public-lang-switcher__option.is-active {
  background: rgba(201, 168, 76, 0.18);
  color: var(--gold-lt);
}
.public-lang-switcher__option-name {
  flex: 1;
}
.public-lang-switcher__option-code {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  opacity: 0.65;
  text-transform: uppercase;
}
html[dir='rtl'] .main-nav__lang {
  right: auto;
  left: auto;
}
@media (min-width: 992px) {
  html[dir='rtl'] .main-nav__actions {
    margin-left: 0;
    margin-right: 0.25rem;
    padding-left: 0;
    padding-right: 0.65rem;
    border-left: none;
    border-right: 1px solid rgba(201, 168, 76, 0.28);
  }
}
html[dir='rtl'] .public-lang-switcher__menu {
  right: auto;
  left: 0;
}
/* Mobile nav layout: public/assets/css/header-navbar.css */

/* ── HERO ── */
.hero-split { background: var(--charcoal) !important; }
.hs-text {
  background: #0D2B1E !important;
  position:relative; overflow:hidden;
}
.hs-text::before {
  content:'';position:absolute;inset:0;
  background-image:var(--pattern);background-size:60px 60px;opacity:.3;
}
.hs-text > * { position:relative;z-index:1; }
.hs-ornament {
  background: var(--gold-grad);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  font-size:2.2rem !important;
  direction: rtl;
  unicode-bidi: isolate;
}
.hero-split h1 { color:#F4F9F5 !important; text-shadow:0 2px 20px rgba(0,0,0,.5); font-size:2.8rem !important; }
.hs-ar {
  background: var(--gold-grad);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  font-size:1.5rem !important;
  direction: rtl;
  unicode-bidi: isolate;
}
html[dir='ltr'] .hero-split .hs-text { direction: ltr; text-align: left; }
html[dir='ltr'] .hero-split .hs-text .hero-copy { direction: ltr; unicode-bidi: isolate; text-align: left; }
html[dir='ltr'] .hero-split .hs-text .hs-ornament,
html[dir='ltr'] .hero-split .hs-text .hs-ar { direction: rtl; unicode-bidi: isolate; text-align: right; }
html[dir='rtl'] .hero-split .hs-text { direction: rtl; text-align: right; }
html[dir='rtl'] .hero-split .hs-text .hero-copy { direction: rtl; unicode-bidi: isolate; text-align: right; }
.hs-rule { background: var(--gold-grad) !important; height:2px !important; width:80px !important; }
.hero-split p { color:rgba(244,249,245,0.75) !important; }
.hs-img::after {
  content:'';position:absolute;inset:0;
  background:linear-gradient(to right,transparent 40%,rgba(13,43,30,0.9) 100%);
  pointer-events:none;
}

/* ── INFO STRIP ── */
.info-strip { background: var(--green-grad) !important; }

/* ── SECTION TITLES ── */
.inst-label { color: var(--gold) !important; }
.inst-title { position:relative; padding-left:16px; }
.inst-title::before {
  content:'';position:absolute;left:0;top:4px;bottom:4px;width:4px;
  background: var(--gold-grad);
}
.inst-title.on-dark { color: var(--cream) !important; }
.section-rule::before,.section-rule::after { background: rgba(201,168,76,0.3) !important; }
.section-rule span {
  background: var(--gold-grad);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

/* ── STATS ── */
#stats-section {
  background: var(--green-grad) !important;
  position:relative;overflow:hidden;
}
#stats-section::before {
  content:'';position:absolute;inset:0;
  background-image:var(--pattern);background-size:60px 60px;opacity:.2;
}
.si { position:relative;z-index:1; border-color:rgba(201,168,76,0.25) !important; }
.si .sn {
  background: var(--gold-grad);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  font-size:3rem !important;
}

/* ── SERVICE CARDS ── */
.sc { box-shadow:var(--shadow-card); transition:all .35s ease !important; border-top-color:var(--maroon) !important; }
.sc:hover { box-shadow:var(--shadow-card-hover) !important; transform:translateY(-4px); border-top-color:var(--gold) !important; }
.sc .sc-i { color: var(--maroon) !important; }
.sc h4 { color: var(--text) !important; }

/* ── NEWS CARDS ── */
.nc { box-shadow:var(--shadow-card); transition:all .35s ease !important; }
.nc:hover { box-shadow:var(--shadow-card-hover) !important; transform:translateY(-3px); }
.nc .nb { border-top-color: var(--maroon) !important; }
.nc-cat { color: var(--maroon) !important; }
.nc a.nc-more { color: var(--gold) !important; }

/* ── ABOUT STAT BADGE ── */
.sb { background: var(--green-grad) !important; box-shadow:0 8px 24px rgba(26,92,56,0.4); }
.sb .sbn {
  background: var(--gold-grad);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

/* ── GALLERY ── */
.gi { border:none !important; box-shadow:var(--shadow-card); }
.gi .go { background:rgba(26,92,56,0.75) !important; }
.gi .go i { color:#E2C46E !important; }

/* ── QURAN VERSE SECTION ── */
.quran-section {
  background: linear-gradient(rgba(13,43,30,0.9),rgba(13,43,30,0.9)),
    url('../images/df1fb3b29af62ca897d0fb1799a17771.jpg') center/cover fixed;
  padding:100px 0; text-align:center; position:relative;
}
.quran-section::before {
  content:'';position:absolute;inset:0;
  background-image:var(--pattern);background-size:60px 60px;opacity:.2;
}
.q-ar {
  font-family:'EB Garamond',serif;font-size:2rem;direction:rtl;
  background:var(--gold-grad);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  line-height:2;max-width:800px;margin:0 auto 1rem;
}
.q-ref { font-family:'Cinzel',serif;font-size:.7rem;letter-spacing:3px;text-transform:uppercase;color:rgba(244,249,245,0.45); }

/* ── DONATION CTA ── */
.bg-maroon { background: var(--green-grad) !important; }
.bg-charcoal { background: linear-gradient(135deg,#0D2B1E 0%,#133325 100%) !important; }

/* ── BUTTONS ── */
.btn-m-fill {
  background:var(--green-grad) !important;
  border:none !important;
  box-shadow:0 4px 14px rgba(26,92,56,.35);
  transition:all .3s ease !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff;
}
.btn-m-fill:hover {
  box-shadow:0 6px 20px rgba(26,92,56,.5) !important;
  transform:translateY(-1px);
  color:#fff !important;
  -webkit-text-fill-color:#fff;
}
.btn-m { border-color:var(--maroon) !important; color:var(--maroon) !important; }
.btn-m:hover { background:var(--maroon) !important; color:#fff !important; }
.btn-g { border-color:var(--gold) !important; color:var(--gold) !important; }
.btn-g:hover { background:var(--gold-grad) !important; color:var(--charcoal) !important; }
.btn-g-fill { background:var(--gold-grad) !important; border:none !important; box-shadow:0 4px 14px rgba(201,168,76,.35); color:var(--charcoal) !important; }
.btn-g-fill:hover { box-shadow:0 6px 20px rgba(201,168,76,.5) !important; transform:translateY(-1px); }
.btn-ticket { border-color:var(--maroon) !important; color:var(--maroon) !important; }
.btn-ticket:hover { background:var(--maroon) !important; color:#fff !important; }
.btn-inst,.btn-inst-fill,.btn-inst-navy { border-color:var(--maroon) !important; }

/* ── PAGE HERO ── */
.page-hero { background:var(--green-grad) !important; position:relative;overflow:hidden; }
.page-hero::before {
  content:'';position:absolute;inset:0;
  background-image:var(--pattern);background-size:60px 60px;opacity:.25;
}
.page-hero > * { position:relative;z-index:1; }
.page-hero .ph-bc a {
  color: var(--gold-lt) !important;
  text-decoration: none;
}
.page-hero .ph-bc a:hover {
  color: var(--gold) !important;
}
.page-hero .ph-bc > span {
  color: rgba(248, 244, 238, 0.55) !important;
}
.page-hero .ph-bc > span:last-child {
  color: var(--cream) !important;
}

/* ── HADITH / BLOCKQUOTE ── */
.hq { border-left:4px solid var(--gold) !important; box-shadow:var(--shadow-card); transition:transform .3s,box-shadow .3s; }
.hq:hover { transform:translateX(4px); box-shadow:var(--shadow-card-hover); }
.h-ar { color:var(--maroon) !important; }
blockquote.inst-quote {
  border-left:4px solid var(--gold);
  padding:1.4rem 1.6rem;
  background:var(--white);
  margin:1.5rem 0 0;
  box-shadow:var(--shadow-card);
}
blockquote.inst-quote p {
  font-style:italic;
  font-size:1rem;
  line-height:1.85;
  color:var(--text);
  margin:0 0 .6rem;
}
blockquote.inst-quote footer {
  font-family:'Source Sans 3',sans-serif;
  font-size:.72rem;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--gold);
}

/* ── CONHEÇA SEU PROFETA PAGE ── */
.conheca-profeta-hero {
  background:var(--maroon) !important;
  padding:48px 0 42px !important;
}
.conheca-profeta-hero__ornament {
  font-size:1.5rem;
  color:var(--gold-lt);
  margin-bottom:.5rem;
  line-height:1;
}
.conheca-profeta-strip {
  background:var(--charcoal);
  border-top:1px solid rgba(184,144,42,.25);
  border-bottom:1px solid rgba(184,144,42,.25);
  padding:0;
}
.conheca-profeta-strip__row {
  display:flex;
  flex-wrap:wrap;
}
.conheca-profeta-strip__cell {
  flex:1;
  min-width:200px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 24px;
  border-right:1px solid rgba(255,255,255,.08);
}
.conheca-profeta-strip__cell:last-child { border-right:none; }
.conheca-profeta-strip__cell i {
  font-size:1.35rem;
  color:var(--gold-lt);
  flex-shrink:0;
}
.conheca-profeta-strip__label {
  display:block;
  font-family:'Cinzel',serif;
  font-size:.62rem;
  letter-spacing:2px;
  text-transform:uppercase;
  color:rgba(248,244,238,.45);
  margin-bottom:2px;
}
.conheca-profeta-strip__value {
  display:block;
  font-family:'Source Sans 3',sans-serif;
  font-size:.84rem;
  color:var(--cream);
  font-weight:600;
}
.conheca-profeta-main { padding:72px 0 !important; }
.conheca-profeta-lead {
  font-size:1.02rem;
  line-height:1.9;
  color:var(--muted);
  max-width:38rem;
  margin-bottom:0;
}
.conheca-profeta-featured-quote {
  margin-top:1.8rem !important;
  background:linear-gradient(135deg,var(--white) 0%,var(--cream) 100%) !important;
}
.conheca-profeta-hadiths { margin-top:1.5rem; }
.conheca-profeta-hadiths .hq:last-child { margin-bottom:0; }
.conheca-profeta-wisdom {
  background:var(--white);
  border:1px solid var(--cream-xdk);
  border-top:3px solid var(--gold);
  padding:2rem 1.75rem;
  box-shadow:var(--shadow-card);
  height:100%;
}
.conheca-profeta-wisdom__grid {
  display:grid;
  gap:1rem;
  margin-top:.25rem;
}
.conheca-profeta-card {
  height:auto !important;
  padding:1.25rem 1.35rem !important;
  margin-bottom:0 !important;
}
.conheca-profeta-card .sc-i {
  font-size:1.45rem !important;
  margin-bottom:.55rem !important;
}
.conheca-profeta-card h4 { margin-bottom:.45rem !important; }
.conheca-profeta-card__quote {
  font-size:.87rem !important;
  color:var(--muted) !important;
  font-style:italic !important;
  line-height:1.65 !important;
  margin-bottom:.45rem !important;
}
.conheca-profeta-card__src {
  display:block;
  font-family:'Source Sans 3',sans-serif;
  font-size:.68rem;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:var(--gold);
}
.conheca-profeta-cta {
  padding:52px 0 !important;
  border-top:1px solid rgba(184,144,42,.2);
}
.conheca-profeta-cta__text {
  font-family:'EB Garamond',serif;
  font-size:1.15rem;
  color:rgba(248,244,238,.75);
  margin-bottom:1.5rem;
  max-width:32rem;
  margin-left:auto;
  margin-right:auto;
  line-height:1.7;
}
.conheca-profeta-cta__actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  align-items:center;
}

/* ── PRODUCT CARDS ── */
.pi { box-shadow:var(--shadow-card); transition:all .35s ease !important; }
.pi:hover { transform:translateY(-4px); box-shadow:var(--shadow-card-hover) !important; }
.pi .pb { border-top-color:var(--maroon) !important; }
.pc { color:var(--maroon) !important; }
.pi-badge {
  display:inline-block;
  background:var(--maroon);
  color:var(--white);
  font-family:'Cinzel',serif;
  font-size:.58rem;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:2px 8px;
  margin-left:6px;
  vertical-align:middle;
}
.shop-order-btn {
  display:block;
  width:100%;
  font-size:.62rem;
  padding:9px;
  margin-top:.25rem;
  border:none;
}
.shop-order-btn--disabled {
  opacity:.55;
  cursor:not-allowed;
  pointer-events:none;
}
.shop-card-cart-form {
  margin:0;
}
.pi__media-link {
  display:block;
  color:inherit;
  text-decoration:none;
}
.pi__title-link {
  display:block;
  color:inherit;
  text-decoration:none;
}
.pi__title-link:hover {
  color:var(--maroon);
}

/* ── SHOP PAGE ── */
.shop-page {
  padding-bottom:3.5rem;
}
.shop-trust-bar {
  background:var(--white);
  border-bottom:1px solid var(--cream-xdk);
  padding:.75rem 0;
}
.shop-trust-bar__item {
  font-family:'Source Sans 3',sans-serif;
  font-size:.78rem;
  color:var(--muted);
  padding:.5rem .75rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.shop-trust-bar__item:not(:last-child) {
  border-right:1px solid var(--cream-xdk);
}
.shop-trust-bar__item i {
  color:var(--maroon);
  font-size:1rem;
  flex-shrink:0;
}
@media (max-width:767px) {
  .shop-trust-bar__item {
    border-right:none !important;
    border-bottom:1px solid var(--cream-xdk);
    padding:.65rem;
  }
  .shop-trust-bar__item:last-child {
    border-bottom:none;
  }
}
.shop-catalog-header {
  margin-bottom:2rem;
}
.shop-catalog-header__title {
  margin-bottom:0;
}
.shop-catalog-header__rule {
  margin:.75rem 0 1rem;
}
.shop-catalog-header__intro {
  font-size:.95rem;
  color:var(--muted);
  max-width:42rem;
  margin-bottom:0;
  line-height:1.6;
}
.shop-toolbar {
  margin-top:1.25rem;
  padding:1.25rem 1.35rem;
  background:var(--white);
  border:1px solid var(--cream-xdk);
  box-shadow:var(--shadow-card);
}
.shop-search {
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  gap:.65rem;
  margin-bottom:1rem;
}
.shop-search__field {
  position:relative;
  flex:1 1 220px;
  min-width:0;
}
.shop-search__icon {
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  font-size:.95rem;
  pointer-events:none;
}
.shop-search__input {
  width:100%;
  height:46px;
  padding:0 2.5rem 0 2.65rem;
  border:1px solid var(--cream-xdk);
  border-radius:0;
  background:var(--cream);
  font-family:'EB Garamond',serif;
  font-size:1rem;
  color:var(--text);
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.shop-search__input::placeholder {
  color:rgba(61,53,43,.45);
}
.shop-search__input:focus {
  outline:none;
  border-color:var(--maroon);
  background:var(--white);
  box-shadow:0 0 0 3px rgba(122,30,46,.08);
}
.shop-search__clear {
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  color:var(--muted);
  text-decoration:none;
  transition:color .2s ease, background .2s ease;
}
.shop-search__clear:hover {
  color:var(--maroon);
  background:rgba(122,30,46,.06);
}
.shop-search__submit {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 1.35rem;
  border:none;
  background:var(--maroon);
  color:var(--white);
  font-family:'Cinzel',serif;
  font-size:.62rem;
  letter-spacing:1.5px;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.shop-search__submit:hover {
  background:var(--maroon-dk);
  box-shadow:0 4px 14px rgba(122,30,46,.25);
  transform:translateY(-1px);
}
.shop-filters {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}
.shop-empty {
  text-align:center;
  padding:3rem 1.5rem;
  background:var(--white);
  border:1px dashed var(--cream-xdk);
}
.shop-empty i {
  font-size:2.5rem;
  color:var(--gold);
  display:block;
  margin-bottom:.75rem;
}
.shop-empty p {
  color:var(--muted);
  margin-bottom:1rem;
}
.shop-wa-cta {
  background:var(--charcoal);
  border:1px solid rgba(184,144,42,.3);
  border-top:3px solid var(--gold);
  padding:2rem;
  text-align:center;
  box-shadow:var(--shadow-card);
}
.shop-wa-cta__icon {
  font-size:1.8rem;
  color:var(--gold);
  display:block;
  margin-bottom:.7rem;
}
.shop-wa-cta__title {
  font-family:'Cinzel',serif;
  font-size:.82rem;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--cream);
  margin-bottom:.4rem;
}
.shop-wa-cta__body {
  color:rgba(248,244,238,.65);
  margin-bottom:1.2rem;
  font-size:.9rem;
  line-height:1.55;
}
.shop-wa-cta__body p:last-child {
  margin-bottom:0;
}
html[dir='rtl'] .shop-search__icon {
  left:auto;
  right:14px;
}
html[dir='rtl'] .shop-search__input {
  padding:0 2.65rem 0 2.5rem;
}
html[dir='rtl'] .shop-search__clear {
  right:auto;
  left:10px;
}
html[dir='rtl'] .shop-trust-bar__item:not(:last-child) {
  border-right:none;
  border-left:1px solid var(--cream-xdk);
}
@media (max-width:575px) {
  .shop-toolbar {
    padding:1rem;
  }
  .shop-search {
    flex-direction:column;
  }
  .shop-search__submit {
    width:100%;
  }
}

/* ── COURSE CARDS ── */
.csi { box-shadow:var(--shadow-card); transition:all .35s ease; }
.csi:hover { box-shadow:var(--shadow-card-hover); transform:translateY(-3px); }
.csi .csh { background:var(--green-grad) !important; border-bottom-color:var(--gold) !important; }
.csi .csh i { color:var(--gold-lt) !important; }

/* ── HOURS TABLE ── */
.ht th { color:var(--gold) !important; border-bottom-color:var(--gold) !important; }

/* ── FILTERS ── */
.fi-btn { border-color:var(--cream-xdk) !important; }
.fi-btn:hover,.fi-btn.active { border-color:var(--maroon) !important; background:var(--maroon) !important; color:#fff !important; }

/* ── NEWSLETTER ── */
#newsletter {
  background:linear-gradient(135deg,#0D2B1E 0%,#133325 100%) !important;
  position:relative;overflow:hidden;
}
#newsletter::before {
  content:'';position:absolute;inset:0;
  background-image:var(--pattern);background-size:60px 60px;opacity:.15;
}
#newsletter > * { position:relative;z-index:1; }

#newsletter #newsletter-form {
  max-width: 100%;
}

#newsletter .newsletter-form__group {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 520px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 90, 0.45);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#newsletter .newsletter-form__group:focus-within {
  border-color: var(--gold);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(212, 175, 90, 0.35);
}

#newsletter .newsletter-form__input,
#newsletter #newsletter-form .form-control {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px !important;
  padding: 0 1.15rem !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  border-right: 1px solid rgba(212, 175, 90, 0.22) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: var(--cream) !important;
  font-family: 'EB Garamond', serif !important;
  font-size: 1.02rem !important;
  line-height: 1.4;
}

#newsletter .newsletter-form__input::placeholder,
#newsletter #newsletter-form .form-control::placeholder {
  color: rgba(248, 244, 238, 0.42) !important;
  opacity: 1;
}

#newsletter .newsletter-form__input:focus,
#newsletter #newsletter-form .form-control:focus {
  outline: none !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.11) !important;
  border-right-color: rgba(212, 175, 90, 0.35) !important;
}

#newsletter .newsletter-form__input:-webkit-autofill,
#newsletter .newsletter-form__input:-webkit-autofill:hover,
#newsletter .newsletter-form__input:-webkit-autofill:focus,
#newsletter #newsletter-form .form-control:-webkit-autofill,
#newsletter #newsletter-form .form-control:-webkit-autofill:hover,
#newsletter #newsletter-form .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream) !important;
  caret-color: var(--cream);
  -webkit-box-shadow: 0 0 0 1000px rgba(13, 43, 30, 0.92) inset !important;
  box-shadow: 0 0 0 1000px rgba(13, 43, 30, 0.92) inset !important;
  transition: background-color 9999s ease-out;
}

#newsletter .newsletter-form__btn,
#newsletter .btn-nl {
  flex: 0 0 auto;
  height: 50px !important;
  padding: 0 1.65rem !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: var(--gold-grad) !important;
  color: var(--charcoal) !important;
  font-family: 'Cinzel', serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

#newsletter .newsletter-form__btn:hover,
#newsletter .btn-nl:hover {
  filter: brightness(1.08);
}

#newsletter .newsletter-form__btn:disabled,
#newsletter .btn-nl:disabled {
  opacity: 0.65;
  cursor: wait;
}

#newsletter .newsletter-form__msg,
#newsletter #nl-msg {
  display: none;
  font-size: 0.82rem;
  color: var(--gold-lt);
  margin-top: 0.65rem;
  padding-left: 0.15rem;
}

@media (max-width: 575.98px) {
  #newsletter .newsletter-form__group {
    flex-direction: column;
    border-radius: 4px;
  }

  #newsletter .newsletter-form__input,
  #newsletter #newsletter-form .form-control {
    border-right: none !important;
    border-bottom: 1px solid rgba(212, 175, 90, 0.22) !important;
  }

  #newsletter .newsletter-form__btn,
  #newsletter .btn-nl {
    width: 100%;
  }
}

/* ── FOOTER ── */
#main-footer {
  background:linear-gradient(180deg,#0D2B1E 0%,#081710 100%) !important;
  border-top:4px solid var(--gold) !important;
  --footer-text: rgba(244, 249, 245, 0.72);
}
#main-footer h5 {
  color: var(--gold) !important;
}
#main-footer p,
#main-footer .footer-brand-desc,
#main-footer .fl a,
#main-footer .fc p,
#main-footer .fc a.footer-contact-link,
#main-footer .footer-bot,
#main-footer .soc a {
  color: var(--footer-text) !important;
}
#main-footer .fc a.footer-contact-link {
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, .28);
  transition: color .2s ease, border-color .2s ease;
}
#main-footer .fc a.footer-contact-link:hover {
  color: var(--gold-lt) !important;
  border-color: var(--gold-lt);
}
#main-footer .footer-brand-desc {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .82rem;
  line-height: 1.8;
}
#main-footer .fc i {
  color: var(--gold) !important;
}
#main-footer .fl a:hover { color: var(--gold-lt) !important; }
#main-footer .soc a:hover {
  background: var(--gold-grad);
  border-color: transparent !important;
  color: var(--charcoal) !important;
}

/* ── BACK TO TOP ── */
#btt { background:var(--maroon) !important; border-color:var(--gold) !important; color:var(--gold-lt) !important; }
#btt:hover { background:var(--gold-grad) !important; color:var(--charcoal) !important; }

/* ── CONTACT PAGE ── */
.contact-page {
  padding: 3rem 0 4.5rem;
}
.contact-page__container { max-width: 1140px; }
.contact-page__columns { min-height: 1px; }

.contact-quick-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 2rem;
}
.contact-quick-bar--subtle { margin-bottom: 1.75rem; }
.contact-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--cream-xdk);
  box-shadow: 0 2px 10px rgba(13, 43, 30, .06);
  font-family: 'Source Sans 3', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: all .25s ease;
}
.contact-quick-btn i { font-size: 1.05rem; color: var(--maroon); }
.contact-quick-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(13, 43, 30, .1);
  transform: translateY(-1px);
  color: var(--maroon);
}
.contact-quick-btn--wa i { color: #25d366; }
.contact-quick-btn--wa:hover { border-color: #25d366; color: #1e7e34; }

.contact-info-panel {
  background: linear-gradient(165deg, #0a2318 0%, #0f2e20 42%, #153928 100%);
  border: 1px solid rgba(184, 144, 42, .32);
  border-top: 3px solid var(--gold);
  padding: 2.1rem 1.85rem 2.35rem;
  box-shadow: 0 12px 40px rgba(13, 43, 30, .18);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.contact-info-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 56px 56px;
  opacity: .14;
  pointer-events: none;
}
.contact-info-panel > * { position: relative; z-index: 1; }
.contact-info-panel .inst-label {
  color: var(--gold-lt);
  letter-spacing: 2px;
  margin-bottom: .35rem;
}
.contact-info-panel .inst-title.on-dark {
  color: var(--cream) !important;
  font-size: 2.05rem;
  line-height: 1.15;
  margin-bottom: .65rem;
  padding-left: 18px;
}
.contact-info-panel .inst-title.on-dark::before {
  display: block;
  width: 3px;
  background: var(--gold);
  opacity: 1;
}
.contact-info-panel .contact-section-rule {
  margin: 0 0 1.35rem;
}
.contact-info-panel .contact-section-rule span { color: var(--gold); }

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.contact-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px 17px;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(184, 144, 42, .22);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.contact-card:hover {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(201, 168, 76, .5);
  transform: translateX(3px);
}
.contact-card__ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  background: rgba(0, 0, 0, .12);
  color: var(--gold-lt);
  font-size: 1.12rem;
}
.contact-card__body { flex: 1; min-width: 0; }
.contact-card__body h6 {
  font-family: 'Cinzel', serif;
  font-size: .66rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
  font-weight: 600;
}
.contact-card__body p,
.contact-card__body div,
.contact-card__body span {
  font-family: 'EB Garamond', serif;
  font-size: .95rem;
  color: var(--cream) !important;
  margin: 0;
  line-height: 1.6;
}
.contact-card__body p + p { margin-top: .25rem; }
.contact-card__body a {
  color: var(--cream) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, .4);
  transition: color .2s ease, border-color .2s ease;
}
.contact-card__body a:hover {
  color: var(--gold-lt) !important;
  border-color: var(--gold-lt);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--cream-xdk);
  border-top: 3px solid var(--maroon);
  padding: 2.15rem 2.1rem 2.35rem;
  box-shadow: 0 10px 36px rgba(13, 43, 30, .08);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease;
}
.contact-form-card:hover { box-shadow: 0 14px 42px rgba(13, 43, 30, .12); }
.contact-form-card__head {
  margin-bottom: 1.65rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--cream-dk);
}
.contact-form-card__head h3 {
  font-family: 'Cinzel', serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--maroon);
  margin: 0 0 .55rem;
}
.contact-form-card__head p {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.contact-form { flex: 1; display: flex; flex-direction: column; }
.contact-form .row.g-4,
.contact-form .row.g-3 { flex: 1; align-content: flex-start; }

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.contact-form__label,
.contact-form label.contact-form__label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .65px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  line-height: 1.3;
}

.contact-form__input,
.contact-form .form-control.contact-form__input {
  width: 100%;
  min-height: 50px;
  padding: .7rem 1rem;
  border: 1px solid var(--cream-xdk);
  border-radius: 6px;
  background: var(--white);
  color: var(--charcoal, #1a1a1a);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(13, 43, 30, .04);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-form__input::placeholder,
.contact-form .form-control.contact-form__input::placeholder {
  color: rgba(90, 90, 90, .5);
  font-style: normal;
  font-weight: 400;
}

.contact-form__input:hover:not(:focus):not(.is-invalid),
.contact-form .form-control.contact-form__input:hover:not(:focus):not(.is-invalid) {
  border-color: rgba(107, 15, 26, .28);
  background: var(--white);
}

.contact-form__input:focus,
.contact-form .form-control.contact-form__input:focus {
  outline: none;
  border-color: var(--maroon);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(107, 15, 26, .12);
}

.contact-form__select,
.contact-form select.contact-form__input {
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%236B0F1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px 9px;
}

.contact-form__textarea,
.contact-form textarea.contact-form__input {
  min-height: 160px;
  padding-top: .85rem;
  padding-bottom: .85rem;
  resize: vertical;
  line-height: 1.6;
}

.contact-form__input.is-invalid,
.contact-form .form-control.contact-form__input.is-invalid {
  border-color: #c0392b;
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .1);
}

.contact-form__input.is-invalid:focus,
.contact-form .form-control.contact-form__input.is-invalid:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .15);
}

.contact-form .invalid-feedback {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .82rem;
  margin-top: .15rem;
}

/* Override global .form-v3 defaults on the contact page */
.contact-form.form-v3 .form-control.contact-form__input,
.contact-form.form-v3 select.contact-form__input,
.contact-form.form-v3 textarea.contact-form__input {
  border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
}

.contact-form.form-v3 label.contact-form__label {
  display: block;
  margin-bottom: 0;
}

.contact-form__submit {
  width: 100%;
  margin-top: .35rem;
  padding: 15px 22px !important;
  font-size: .7rem !important;
  font-weight: 600;
  letter-spacing: 2.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.contact-form__submit i { font-size: .95rem; opacity: .95; }

.contact-form__success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: .65rem;
  background: linear-gradient(135deg, #e8f6ee 0%, #f5faf7 100%);
  border: 1px solid rgba(15, 122, 59, 0.22);
  box-shadow: 0 8px 24px rgba(15, 122, 59, 0.1);
  animation: contact-form-success-in .45s ease-out;
}

.contact-form__success-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f7a3b;
  color: #fff;
  font-size: 1.35rem;
}

.contact-form__success-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0d2b1e;
  letter-spacing: .02em;
}

.contact-form__success-text {
  font-size: .92rem;
  color: #3d5248;
  line-height: 1.5;
}

.contact-form__error-summary {
  margin-bottom: 1.25rem;
  padding: .85rem 1rem;
  border-radius: .5rem;
  background: #fff5f5;
  border: 1px solid rgba(220, 53, 69, 0.25);
  color: #842029;
  font-size: .9rem;
}

.contact-form--sent .contact-form__field {
  opacity: .55;
}

@keyframes contact-form-success-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-map-block {
  margin-top: 3.25rem;
  background: var(--white);
  border: 1px solid var(--cream-xdk);
  border-top: 3px solid var(--gold);
  box-shadow: 0 10px 36px rgba(13, 43, 30, .08);
  overflow: hidden;
}
.contact-map-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream-dk);
  border-bottom: 1px solid var(--cream-xdk);
}
.contact-map-block__head h3 {
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--maroon);
  margin: 0 0 .25rem;
}
.contact-map-block__head p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
}
.contact-map-block__link {
  white-space: nowrap;
  padding: 10px 18px !important;
  font-size: .65rem !important;
}
.contact-map-block__frame {
  line-height: 0;
  background: var(--cream-dk);
}
.contact-map-block__frame iframe {
  display: block;
  width: 100%;
  min-height: 320px;
}

@media (max-width: 991px) {
  .contact-info-panel { margin-bottom: .5rem; }
  .contact-map-block__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .contact-page { padding: 2.25rem 0 3rem; }
  .contact-quick-bar { margin-bottom: 1.5rem; }
  .contact-quick-btn { flex: 1 1 calc(50% - 6px); justify-content: center; min-width: 140px; }
  .contact-form-card { padding: 1.55rem 1.3rem 1.75rem; }
  .contact-info-panel { padding: 1.55rem 1.3rem 1.85rem; }
  .contact-info-panel .inst-title.on-dark {
    font-size: 1.75rem;
    text-align: left;
    padding-left: 16px;
  }
  .contact-info-panel .inst-title.on-dark::before { display: block; }
  .contact-card:hover { transform: none; }
}

/* ── RESPONSIVE ENHANCEMENTS (Mobile First) ── */
@media(max-width:991px){
  .hero-split h1 { font-size: 2.2rem !important; }
}

@media(max-width:767px){
  section { padding: 45px 0 !important; }
  .hero-grid { grid-template-columns: 1fr !important; }
  .hs-text { padding: 40px 20px !important; }
  html[dir='ltr'] .hs-text,
  html[dir='ltr'] .hs-text .hero-copy { text-align: center; }
  html[dir='ltr'] .hs-text .hs-ornament,
  html[dir='ltr'] .hs-text .hs-ar { text-align: center; }
  html[dir='rtl'] .hs-text,
  html[dir='rtl'] .hs-text .hero-copy { text-align: center; }
  .hs-rule { margin: 1.5rem auto !important; }
  .inst-title { font-size: 1.8rem !important; text-align: center; padding-left: 0 !important; }
  .inst-title::before { display: none; }
  .si { margin-bottom: 20px; } /* stats items spacing on mobile */

  /* Info Strip Mobile */
  .strip-cell {
    flex: 0 0 100% !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 10px !important;
    justify-content: center;
  }
  .strip-cell:last-child { border-bottom: none; }

  /* Navbar Mobile Adjustment */
  .main-nav ul li a { padding: 12px 15px !important; font-size: 0.75rem !important; }

  .conheca-profeta-strip__cell {
    flex: 0 0 100%;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 16px 20px;
  }
  .conheca-profeta-strip__cell:last-child { border-bottom: none; }
  .conheca-profeta-wisdom { margin-top: 2rem; }
  .conheca-profeta-cta__actions { flex-direction: column; }
  .conheca-profeta-cta__actions .btn-g-fill,
  .conheca-profeta-cta__actions .btn-g { width: 100%; max-width: 280px; }
}
