/* =========================================================================
   SAMBHOOTA KREATIONS — design tokens
   Palette drawn from temple copper/oxblood + antique gold + warm stone ivory
   ========================================================================= */
:root{
  --maroon-950: #3A0A0F;
  --maroon-900: #5A0E15;
  --maroon-800: #7A1620;
  --oxblood:    #8C1D2B;
  --gold-500:   #C89B3C;
  --gold-300:   #E4C77A;
  --ivory-100:  #FBF7ED;
  --ivory-200:  #F3ECDD;
  --ivory-300:  #E9DFC8;
  --stone-800:  #3A2A1E;
  --ink:        #2A1810;
  --ink-soft:   #5B4736;

  --font-display: 'Cinzel', 'Georgia', serif;
  --font-body: 'Mukta', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius-sm: 4px;
  --radius-md: 10px;

  --ease-flip: cubic-bezier(.65,0,.35,1);
  --dur-flip: .7s;
}

@media (prefers-reduced-motion: reduce){
  :root{ --dur-flip: .01s; }
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--ivory-200);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--maroon-900);
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: .01em;
}
p{ margin: 0 0 1em; max-width: 62ch; }
.skip-link{
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--maroon-900); color: var(--ivory-100); padding: .8em 1.2em;
}
.skip-link:focus{ left: 1em; top: 1em; }

/* Faint paper-grain texture over the whole site, purely decorative */
.grain-overlay{
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: .035; mix-blend-mode: multiply;
  background-image: radial-gradient(circle at 1px 1px, #000 1px, transparent 0);
  background-size: 3px 3px;
}

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

/* =========================================================================
   Top utility bar
   ========================================================================= */
.topbar{ background: var(--maroon-950); color: var(--ivory-200); font-size: .82rem; }
.topbar-inner{
  max-width: var(--container); margin: 0 auto; padding: 8px 24px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.topbar-phone{ display: inline-flex; align-items: center; gap: 6px; color: var(--gold-300); }
.icon-phone{ width: 13px; height: 13px; fill: currentColor; }
.topbar-divider{ opacity: .4; }
.topbar-area{ margin-left: auto; opacity: .75; }
@media (max-width: 640px){ .topbar-area{ display: none; } }

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: var(--ivory-100);
  border-bottom: 1px solid var(--ivory-300);
}
.site-header-inner{
  max-width: var(--container); margin: 0 auto; padding: 3px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand{ display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark{ width: 75px; height: auto; flex-shrink: 0; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.15; }
.brand-name{ font-family: var(--font-display); font-size: 1.3rem; color: var(--maroon-900); font-weight: 600; }
.brand-name em{ font-style: normal; color: var(--oxblood); }
.brand-sub{ font-size: .68rem; letter-spacing: .05em; color: var(--ink-soft); }

.primary-nav ul{ display: flex; gap: 4px; }
.primary-nav a{
  display: block; padding: 10px 16px; font-size: .95rem; font-weight: 500;
  color: var(--stone-800); border-radius: var(--radius-sm);
  position: relative;
  transition: color .2s ease;
}
.primary-nav a::after{
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-flip);
}
.primary-nav a:hover{ color: var(--maroon-900); }
.primary-nav a:hover::after,
.primary-nav a.is-active::after{ transform: scaleX(1); }
.primary-nav a.is-active{ color: var(--maroon-900); font-weight: 600; }

.nav-cta{
  flex-shrink: 0;
  padding: 11px 24px !important;
  font-size: .88rem;
  box-shadow: 0 6px 16px rgba(90,14,21,.22);
}
.nav-cta::after{ display: none; }
.mobile-nav-cta{ display: none; }

.nav-toggle{
  display: none; background: none; border: 0; width: 40px; height: 34px;
  flex-direction: column; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span{ display: block; height: 2px; background: var(--maroon-900); border-radius: 2px; }

@media (max-width: 860px){
  .nav-toggle{ display: flex; }
  .nav-cta{ display: none; }
  .primary-nav{
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--ivory-100); padding: 90px 28px 28px;
    transform: translateX(100%); transition: transform .35s var(--ease-flip);
    box-shadow: -8px 0 30px rgba(0,0,0,.15);
  }
  body.nav-open .primary-nav{ transform: translateX(0); }
  .primary-nav ul{ flex-direction: column; gap: 4px; }
  .primary-nav a{ padding: 14px 10px; font-size: 1.05rem; }
  .mobile-nav-cta{ display: block; margin-top: 24px; }
  body.nav-open .grain-overlay{ background: rgba(0,0,0,.35); pointer-events: auto; opacity: 1; mix-blend-mode: normal; }
}

/* =========================================================================
   Page flip transition system
   Applied to #flipStage when JS swaps content between php pages.
   ========================================================================= */
.flip-stage{ perspective: 2200px; }
.main-content{ transform-style: preserve-3d; will-change: transform, opacity; }
.main-content.is-leaving{
  animation: flipLeave var(--dur-flip) var(--ease-flip) forwards;
}
.main-content.is-entering{
  animation: flipEnter var(--dur-flip) var(--ease-flip) forwards;
}
@keyframes flipLeave{
  0%{ transform: rotateY(0deg); opacity: 1; }
  100%{ transform: rotateY(-18deg) translateZ(-120px); opacity: 0; }
}
@keyframes flipEnter{
  0%{ transform: rotateY(18deg) translateZ(-120px); opacity: 0; }
  100%{ transform: rotateY(0deg) translateZ(0); opacity: 1; }
}

/* Section reveal: each section flips up into place, once, the first
   time it enters the viewport — the original book-flip style. */
.main-content{ perspective: 1800px; }
.reveal-flip{
  opacity: 0;
  transform: rotateX(42deg) translateY(64px) scale(.96);
  transform-origin: bottom center;
  transition: opacity .9s var(--ease-flip), transform .9s var(--ease-flip), box-shadow .9s var(--ease-flip);
  box-shadow: 0 40px 60px -30px rgba(58, 10, 15, 0);
}
.reveal-flip.in-view{
  opacity: 1;
  transform: rotateX(0deg) translateY(0) scale(1);
  box-shadow: 0 40px 60px -30px rgba(58, 10, 15, .18);
}
.section-maroon.reveal-flip.in-view{ box-shadow: none; }

/* =========================================================================
   Ornamental building blocks
   ========================================================================= */
.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--oxblood); font-family: var(--font-display); font-size: .85rem;
  letter-spacing: .04em; margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after{ content:''; width: 22px; height: 1px; background: var(--gold-500); }

.divider{
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 auto 40px; width: fit-content; color: var(--gold-500);
}
.divider::before, .divider::after{ content:''; width: 60px; height: 1px; background: var(--gold-500); }
.divider svg{ width: 14px; height: 14px; fill: var(--gold-500); }

.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease-flip), box-shadow .25s var(--ease-flip);
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--maroon-900); color: var(--ivory-100); box-shadow: 0 6px 18px rgba(90,14,21,.28); }
.btn-primary:hover{ background: var(--oxblood); }
.btn-ghost{ border-color: var(--gold-500); color: var(--maroon-900); }
.btn-ghost:hover{ background: var(--ivory-100); }

/* =========================================================================
   Hero (inner page banners)
   A traditional deity/temple photograph sits behind every banner, tinted
   with the brand maroon and finished with the gold checked overlay pattern.
   Pages set --hero-img inline (see header/page files) to swap the
   photograph; falls back to a generic temple image when a page doesn't
   specify one.
   ========================================================================= */
.hero{
  position: relative; overflow: hidden;
  background: var(--maroon-950);
  color: var(--ivory-100); text-align: center;
  padding: 96px 24px 120px;
}
.hero::before{
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-img, url('../img/back.jpg'));
  background-size: cover; background-position: center 28%;
  transform: scale(1.02);
}
.hero::after{
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 140% at 50% -10%, rgba(122,22,32,.25) 0%, rgba(58,10,15,.35) 100%),
    linear-gradient(180deg, rgba(35,5,10,0.08) 0%, rgba(20,4,6,0.30) 100%);
}
.hero-pattern{
  position: absolute; inset: 0; opacity: .16; pointer-events: none; z-index: 2;
  background-image:
    repeating-linear-gradient(45deg, var(--gold-300) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-45deg, var(--gold-300) 0 1px, transparent 1px 26px);
}
.hero-inner{ position: relative; z-index: 3; max-width: 760px; margin: 0 auto; }

/* Hero image-scroll banner: 3 crossfading slides behind the hero content */
.hero-slider{ position: absolute; inset: 0; z-index: 0; }
.hero-slide{
  position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-position: center;
  transform: scale(1.12);
  transition: opacity 1.6s ease, transform 7s linear;
}
.hero-slide.is-active{ opacity: 1; transform: scale(1); }
.hero-scrim{
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(58,10,15,.55) 0%, rgba(20,4,6,.78) 100%);
}
.hero-dots{
  position: relative; z-index: 3; display: flex; gap: 8px; justify-content: center; margin-top: 46px;
}
.hero-dots button{
  width: 8px; height: 8px; padding: 0; border-radius: 999px; border: none; cursor: pointer;
  background: rgba(251,247,237,.4); transition: all .3s var(--ease-flip);
}
.hero-dots button:hover{ background: rgba(251,247,237,.7); }
.hero-dots button.is-active{ width: 26px; background: var(--gold-300); }

@media (prefers-reduced-motion: reduce){
  .hero-slide{ transform: none; transition: opacity .01s; }
}

.hero-mark{ width: 84px; height: auto; margin: 0 auto 26px; }
.hero h1{
  color: var(--ivory-100); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08;
  margin-bottom: .4em;
}
.hero h1 em{ font-style: normal; color: var(--gold-300); }
.hero-lede{
  max-width: 46ch; margin: 0 auto 34px; color: var(--ivory-300); font-size: 1.1rem;
}
.hero-actions{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost{ border-color: var(--gold-300); color: var(--ivory-100); }
.hero .btn-ghost:hover{ background: rgba(251,247,237,.08); }

.hero-band{
  position: relative; margin-top: -34px; margin-bottom: 20px;
  display: flex; justify-content: center; z-index: 5;
}
.hero-band-inner{
  background: var(--ivory-100); border: 1px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 18px 32px; display: flex; gap: 28px; flex-wrap: wrap; justify-content: center;
  box-shadow: 0 22px 46px rgba(30,5,8,.35);
  font-family: var(--font-display); color: var(--maroon-900); font-size: .95rem; font-weight: 600;
}
.hero-band-inner span{ display: flex; align-items: center; gap: 8px; }
.hero-band-inner svg{ width: 16px; height: 16px; fill: var(--gold-500); flex-shrink: 0; }

/* =========================================================================
   Sections (generic)
   ========================================================================= */
.section{ padding: 40px 24px; }
.section-alt{ background: var(--ivory-100); }
.section-maroon{ background: var(--maroon-900); color: var(--ivory-200); }
.section-maroon h2{ color: var(--ivory-100); }
.section-head{ max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p{ margin: 0 auto; color: var(--ink-soft); }
.section-maroon .section-head p{ color: var(--ivory-300); }

/* Services grid: intentionally asymmetric, not identical cards */
.service-grid{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.service-card{
  grid-column: span 3;
  background: var(--ivory-100);
  border: 1px solid var(--ivory-300);
  padding: 34px 30px;
  position: relative;
}
.service-card:nth-child(1){ grid-column: span 4; }
.service-card:nth-child(2){ grid-column: span 2; }
.service-card:nth-child(3){ grid-column: span 2; }
.service-card:nth-child(4){ grid-column: span 4; }
.service-card:nth-child(5){ grid-column: span 6; display: flex; align-items: center; gap: 30px; }
.service-card:nth-child(5) .service-icon{ margin-bottom: 0; flex-shrink: 0; }
.service-icon{
  width: 52px; height: 52px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-500); border-radius: 50%;
  transition: transform .4s var(--ease-flip), background .4s var(--ease-flip), border-color .4s var(--ease-flip);
}
.service-card:hover .service-icon{
  transform: scale(1.1) rotate(-6deg);
  background: var(--maroon-900); border-color: var(--maroon-900);
}
.service-icon svg{ width: 24px; height: 24px; fill: var(--maroon-900); transition: fill .4s var(--ease-flip); }
.service-card:hover .service-icon svg{ fill: var(--ivory-100); }
.service-card h3{ font-size: 1.15rem; margin-bottom: 8px; }
.service-card p{ color: var(--ink-soft); font-size: .95rem; margin-bottom: 0; }

@media (max-width: 900px){
  .service-grid{ grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(1), .service-card:nth-child(2),
  .service-card:nth-child(3), .service-card:nth-child(4), .service-card:nth-child(5){
    grid-column: span 1;
  }
  .service-card:nth-child(5){ flex-direction: column; align-items: flex-start; text-align: left; }
}

/* Stat / area-covered strip */
.stat-strip{
  display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
  text-align: center; padding-top: 20px;
}
.stat-strip .stat-num{ font-family: var(--font-display); font-size: 2.3rem; color: var(--gold-300); display: block; }
.stat-strip .stat-label{ font-size: .85rem; opacity: .8; }

/* Two-column layout (about, contact) */
.split{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; gap: 40px; } }
.split-media{
  aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden;
  background: radial-gradient(120% 100% at 30% 0%, var(--gold-500) 0%, var(--maroon-800) 55%, var(--maroon-950) 100%);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.split-media .brand-mark{ width: 130px; height: auto; opacity: .9; transition: transform .6s var(--ease-flip); }
.split-media:hover .brand-mark{ transform: scale(1.08) rotate(-3deg); }

/* Timeline (about page — a genuine sequence, numbering is appropriate) */
.timeline{ max-width: 720px; margin: 0 auto; }
.timeline-item{
  display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-bottom: 40px;
  position: relative;
}
.timeline-item::before{
  content: ''; position: absolute; left: 27px; top: 44px; bottom: -4px; width: 1px;
  background: var(--gold-500); opacity: .5;
}
.timeline-item:last-child::before{ display: none; }
.timeline-num{
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--maroon-900); font-size: 1.1rem;
  background: var(--ivory-100); flex-shrink: 0;
}
.timeline-body h3{ font-size: 1.1rem; margin-bottom: 6px; }
.timeline-body p{ color: var(--ink-soft); margin-bottom: 0; }

/* Values grid (about) */
.value-grid{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
@media (max-width: 760px){ .value-grid{ grid-template-columns: 1fr; } }
.value-card{ text-align: left; }
.value-card h3{ font-size: 1.05rem; }
.value-card p{ color: var(--ivory-300); font-size: .95rem; }

/* Gallery */
.gallery-grid{
  max-width: var(--container); margin: 0 auto;
  columns: 3 260px; column-gap: 20px;
}
@media (max-width: 720px){ .gallery-grid{ columns: 1; } }
.gallery-item{
  break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius-md);
  overflow: hidden; position: relative;
}
.gallery-item .plate{
  aspect-ratio: var(--ar, 1/1); width: 100%; position: relative;
  display: flex; align-items: flex-end; padding: 20px;
  transition: transform .5s var(--ease-flip);
}
.gallery-item:hover .plate{ transform: scale(1.08); }
.gallery-item .plate svg{ width: 34px; height: 34px; fill: var(--ivory-100); opacity: .85; }
.gallery-item .plate-label{
  color: var(--ivory-100); font-family: var(--font-display); font-size: 1rem;
  position: relative; z-index: 1;
  transform: translateY(6px); opacity: .85;
  transition: transform .4s var(--ease-flip), opacity .4s var(--ease-flip);
}
.gallery-item:hover .plate-label{ transform: translateY(0); opacity: 1; }
.gallery-item .plate::after{
  content:''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45) 100%);
  transition: background .4s ease;
}
.gallery-item:hover .plate::after{ background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.6) 100%); }

/* Homepage gallery teaser: fixed 3-up grid (vs. the masonry on gallery.php) */
.gallery-teaser-grid{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 760px){ .gallery-teaser-grid{ grid-template-columns: 1fr; } }
.gallery-teaser-grid .gallery-item .plate{ aspect-ratio: 4/5; }

/* Filter tabs (gallery) */
.filter-tabs{ display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.filter-tab{
  padding: 8px 20px; border: 1px solid var(--ivory-300); border-radius: 999px;
  font-size: .88rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; background: transparent;
  transition: all .2s ease; font-family: var(--font-body);
}
.filter-tab:hover{ border-color: var(--gold-500); color: var(--maroon-900); }
.filter-tab.is-active{ background: var(--maroon-900); border-color: var(--maroon-900); color: var(--ivory-100); }

/* Testimonial */
.quote-block{
  max-width: 720px; margin: 0 auto; text-align: center;
}
.quote-block svg{ width: 30px; height: 30px; fill: var(--gold-500); margin: 0 auto 20px; }
.quote-block blockquote{
  font-family: var(--font-display); font-size: 1.4rem; line-height: 1.5; margin: 0 0 20px;
  color: var(--ivory-100);
}
.quote-block cite{ font-style: normal; color: var(--gold-300); font-size: .9rem; }

/* Event cards (events.php + related events on event-details.php) */
.event-grid{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
@media (max-width: 1100px){ .event-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px){ .event-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .event-grid{ grid-template-columns: 1fr; } }
.event-card{
  display: block; background: var(--ivory-100); border: 1px solid var(--ivory-300);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform .3s var(--ease-flip), box-shadow .3s var(--ease-flip);
}
.event-card:hover{ transform: translateY(-4px); box-shadow: 0 24px 40px -20px rgba(58,10,15,.28); }
.event-card-media {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #eee;
}

.event-card-media img {
     width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.event-card:hover .event-card-media img {
    transform: scale(1.05);
}

.event-card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}
.event-card-media::before{
  content: ''; position: absolute; inset: 0;
  transform: scale(1); transition: transform .5s var(--ease-flip);
}
.event-card:hover .event-card-media::before{ transform: scale(1.1); }
.event-card-tag{
  color: var(--ivory-100); font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(0,0,0,.28); padding: 5px 11px; border-radius: 999px; position: relative; z-index: 1;
}
.event-card-body{ padding: 18px 18px 20px; }
.event-card-body h3{ font-size: 1.08rem; margin-bottom: 6px; }
.event-card-body p{ color: var(--ink-soft); font-size: .92rem; margin-bottom: 14px; }
.event-card-schedule{
  display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--oxblood); font-weight: 600;
}
.event-card-schedule svg{ width: 15px; height: 15px; fill: var(--oxblood); flex-shrink: 0; }

/* CTA band */
.cta-band{
  max-width: var(--container); margin: 0 auto;
  background: var(--maroon-900); color: var(--ivory-100);
  border-radius: var(--radius-md);
  padding: 56px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2{ color: var(--ivory-100); }
.cta-band p{ margin: 0 auto 28px; color: var(--ivory-300); }
.cta-actions{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost{ border-color: var(--gold-300); color: var(--ivory-100); }

/* =========================================================================
   Contact page
   ========================================================================= */
.contact-grid{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px;
}
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-info-item{ display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item svg{ width: 22px; height: 22px; fill: var(--gold-500); flex-shrink: 0; margin-top: 3px; }
.contact-info-item h3{ font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p{ margin: 0; color: var(--ink-soft); font-size: .95rem; }

.area-list{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.area-list li{
  font-size: .82rem; padding: 5px 12px; border: 1px solid var(--ivory-300);
  border-radius: 999px; color: var(--ink-soft);
}

.form-card{
  background: var(--ivory-100); border: 1px solid var(--ivory-300);
  border-radius: var(--radius-md); padding: 40px;
}
.field{ margin-bottom: 20px; }
.field label{ display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--stone-800); }
.field input, .field select, .field textarea{
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: .95rem;
  border: 1px solid var(--ivory-300); border-radius: var(--radius-sm);
  background: var(--ivory-200); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: 2px solid var(--gold-500); outline-offset: 1px; background: var(--ivory-100);
}
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px){ .field-row{ grid-template-columns: 1fr; } }
.form-note{ font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }
.form-success{
  background: var(--ivory-100); border: 1px solid var(--gold-500);
  border-radius: var(--radius-md); padding: 30px; text-align: center; margin-bottom: 30px;
}
.form-success h3{ margin-bottom: 6px; }
.form-success p{ margin: 0 auto; color: var(--ink-soft); }

/* =========================================================================
   Site footer
   ========================================================================= */
.site-footer{
  background: var(--maroon-950);
  color: var(--ivory-300);
  padding: 72px 24px 0;
}
.footer-top{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(228, 199, 122, .18);
}
@media (max-width: 860px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand .brand-mark--footer{
  width: 52px; height: auto; margin-bottom: 18px;
}
.footer-tagline{
  font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5;
  color: var(--ivory-100); max-width: 26ch; margin: 0;
}
.footer-col h3{
  color: var(--gold-300); font-size: .85rem; letter-spacing: .04em;
  margin-bottom: 18px; font-family: var(--font-display); font-weight: 600;
}
.footer-col ul li{
  margin-bottom: 12px; font-size: .92rem; color: var(--ivory-300);
}
.footer-col a{ color: var(--ivory-300); transition: color .2s ease; }
.footer-col a:hover{ color: var(--gold-300); }
.footer-bottom{
  max-width: var(--container); margin: 0 auto;
  padding: 24px 0 32px; text-align: center;
}
.footer-bottom p{
  margin: 0 auto; font-size: .82rem; color: rgba(233, 223, 200, .6);
  max-width: none;
}

/* =========================================================================
   Stats band with photographic background (home + about)
   ========================================================================= */
.stats-bg{
  position: relative; overflow: hidden;
  background-image: url('../img/back.jpg');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: 70px 0;
}
.stats-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(74,8,18,.94), rgba(92,12,24,.86), rgba(74,8,18,.92));
  z-index: 1;
}
.stats-content{ position: relative; z-index: 2; }
.stats-bg .section-head{ position: relative; z-index: 2; }
.stats-bg .section-head h2{ color: #fff; }
.stats-bg .eyebrow{ color: var(--gold-300) !important; }
.stats-bg .stat-strip{ position: relative; z-index: 2; }
.stats-bg .stat-num{ color: var(--gold-300); }
.stats-bg .stat-label{ color: rgba(255,255,255,.88); }

/* =========================================================================
   Testimonials (home + about)
   ========================================================================= */
.testimonial-grid{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
@media (max-width: 860px){ .testimonial-grid{ grid-template-columns: 1fr; } }
.testimonial-card{
  background: var(--ivory-100); border: 1px solid var(--ivory-300);
  border-radius: var(--radius-md); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial-card .stars{ color: var(--gold-500); font-size: .95rem; letter-spacing: 2px; }
.testimonial-card p{ color: var(--ink-soft); font-size: .96rem; margin: 0; flex-grow: 1; }
.testimonial-who{ display: flex; align-items: center; gap: 12px; }
.testimonial-avatar{
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 30% 0%, var(--gold-500) 0%, var(--maroon-800) 100%);
  color: var(--ivory-100); font-family: var(--font-display); font-weight: 600;
}
.testimonial-who h4{ margin: 0; font-size: .95rem; color: var(--maroon-900); font-family: var(--font-body); font-weight: 700; }
.testimonial-who span{ font-size: .8rem; color: var(--ink-soft); }
.section-maroon .testimonial-card{ background: rgba(251,247,237,.06); border-color: rgba(228,199,122,.22); }
.section-maroon .testimonial-card p{ color: var(--ivory-300); }
.section-maroon .testimonial-who h4{ color: var(--ivory-100); }
.section-maroon .testimonial-who span{ color: var(--ivory-300); opacity: .8; }

/* Homepage "From the Blog" grid: fixed 3-up (vs. events' 4-up) */
.blog-grid{
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 820px){ .blog-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .blog-grid{ grid-template-columns: 1fr; } }

/* Areas-we-serve chip strip, reused from contact page styling */
.areas-strip{
  max-width: 880px; margin: 0 auto; display: flex; flex-wrap: wrap;
  gap: 10px; justify-content: center;
}
.areas-strip li{
  font-family: var(--font-display); font-size: .92rem; padding: 9px 20px;
  border: 1px solid var(--gold-500); border-radius: 999px; color: var(--maroon-900);
  background: var(--ivory-100); transition: all .25s var(--ease-flip);
}
.areas-strip li:hover{ background: var(--maroon-900); color: var(--ivory-100); }
.section-maroon .areas-strip li{ background: transparent; color: var(--ivory-200); border-color: var(--gold-300); }
.section-maroon .areas-strip li:hover{ background: var(--gold-300); color: var(--maroon-950); }

/* Accessible focus visibility everywhere */
a:focus-visible, button:focus-visible, .filter-tab:focus-visible{
  outline: 2px solid var(--oxblood); outline-offset: 2px;
}
