/* =========================================================
   Saritha Kalyana Mandapam — Stylesheet
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --cream: #FFF7EB;
  --beige: #F9F0E0;
  --sage: #A2AB73;
  --sage-dark: #8A9359;
  --rose: #CC3A63;
  --rose-dark: #B02E51;
  --maroon: #4A1F2B;

  --maroon-rgb: 74, 31, 43;
  --rose-rgb: 204, 58, 99;
  --sage-rgb: 162, 171, 115;
  --cream-rgb: 255, 247, 235;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 80rem;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--maroon);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23CC3A63' stroke-width='0.6' stroke-opacity='0.07'%3E%3Ccircle cx='60' cy='60' r='40'/%3E%3Ccircle cx='60' cy='60' r='30'/%3E%3Ccircle cx='60' cy='60' r='20'/%3E%3Ccircle cx='60' cy='60' r='10'/%3E%3Cpath d='M60 20 L60 100 M20 60 L100 60 M32 32 L88 88 M88 32 L32 88'/%3E%3Cpath d='M60 20 Q80 40 60 60 Q40 80 60 100 Q40 80 20 60 Q40 40 60 20'/%3E%3Cpath d='M60 20 Q40 40 60 60 Q80 80 60 100 Q80 80 100 60 Q80 40 60 20'/%3E%3Ccircle cx='60' cy='20' r='3'/%3E%3Ccircle cx='60' cy='100' r='3'/%3E%3Ccircle cx='20' cy='60' r='3'/%3E%3Ccircle cx='100' cy='60' r='3'/%3E%3Ccircle cx='32' cy='32' r='2.5'/%3E%3Ccircle cx='88' cy='88' r='2.5'/%3E%3Ccircle cx='88' cy='32' r='2.5'/%3E%3Ccircle cx='32' cy='88' r='2.5'/%3E%3C/g%3E%3Cg fill='%23C9A961' fill-opacity='0.05'%3E%3Ccircle cx='60' cy='60' r='4'/%3E%3Ccircle cx='60' cy='20' r='2'/%3E%3Ccircle cx='60' cy='100' r='2'/%3E%3Ccircle cx='20' cy='60' r='2'/%3E%3Ccircle cx='100' cy='60' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-attachment: fixed;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--beige); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--sage-dark); }

/* ---------- 3. Reusable pieces ---------- */
.bg-cream { background: var(--cream); }
.bg-beige { background: var(--beige); }
.section { padding: 4rem 0; position: relative; }
@media (min-width: 640px) { .section { padding: 6rem 0; } }
.scroll-target { scroll-margin-top: 6rem; }
.center { text-align: center; margin-top: 3rem; }

.section-head { text-align: center; max-width: 42rem; margin: 0 auto; }
.section-head.wide { max-width: 48rem; }
.eyebrow {
  display: inline-block; color: var(--rose); text-transform: uppercase;
  letter-spacing: .25em; font-size: .75rem; font-weight: 600;
}
.eyebrow.light { color: var(--sage); }
@media (min-width: 640px) { .eyebrow { font-size: .875rem; } }
.section-head h2 { margin-top: 1rem; font-size: 1.875rem; line-height: 1.2; font-weight: 700; color: var(--maroon); }
@media (min-width: 640px) { .section-head h2 { font-size: 3rem; line-height: 1.1; } }
.h3-big { margin-top: 1rem; font-size: 1.875rem; font-weight: 700; }
@media (min-width: 640px) { .h3-big { font-size: 2.25rem; } }
.rule { width: 6rem; height: .25rem; background: var(--rose); border-radius: 9999px; margin: 1.25rem auto 0; }
.sub { margin-top: 1.5rem; color: rgba(var(--maroon-rgb), .75); }
.lead { margin-top: 1.75rem; font-size: 1rem; line-height: 1.7; color: rgba(var(--maroon-rgb), .8); max-width:1300px}
.lead + .lead { margin-top: 1rem; }
@media (min-width: 800px) { .lead { font-size: 1.125rem; } }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid { gap: 1.5rem; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .875rem; padding: .875rem 1.75rem; border-radius: 9999px;
  transition: background-color .2s, color .2s; position: relative; overflow: hidden;
}
@media (min-width: 640px) { .btn { font-size: 1rem; } }
.btn-primary { background: var(--rose); color: var(--cream); box-shadow: 0 10px 15px -3px rgba(0,0,0,.15); }
.btn-primary:hover { background: var(--rose-dark); }
.btn-ghost {
  background: rgba(var(--cream-rgb), .15); color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(var(--cream-rgb), .25); }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transition: left .6s ease; pointer-events: none;
}
.btn-shine:hover::after { left: 130%; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease-out, transform .8s ease-out; }
.reveal.visible { opacity: 1; transform: none; }

/* Kolam divider */
.kolam-divider {
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='28' viewBox='0 0 60 28'%3E%3Cg fill='none' stroke='%23A2AB73' stroke-width='1.2'%3E%3Cpath d='M0 14 Q15 0 30 14 Q45 28 60 14'/%3E%3Cpath d='M0 14 Q15 28 30 14 Q45 0 60 14'/%3E%3Ccircle cx='30' cy='14' r='3' fill='%23CC3A63' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center;
}
section > .kolam-divider { margin-top: 4rem; }

/* ---------- 4. Intro splash ---------- */
#intro {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column;
  align-items: center; justify-content: center; overflow: hidden;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23CC3A63' stroke-width='0.7' stroke-opacity='0.09'%3E%3Ccircle cx='80' cy='80' r='56'/%3E%3Ccircle cx='80' cy='80' r='42'/%3E%3Ccircle cx='80' cy='80' r='28'/%3E%3Ccircle cx='80' cy='80' r='14'/%3E%3Cpath d='M80 24 L80 136 M24 80 L136 80 M42 42 L118 118 M118 42 L42 118'/%3E%3Cpath d='M80 24 Q108 52 80 80 Q52 108 80 136 Q52 108 24 80 Q52 52 80 24'/%3E%3Cpath d='M80 24 Q52 52 80 80 Q108 108 80 136 Q108 108 136 80 Q108 52 80 24'/%3E%3C/g%3E%3C/svg%3E");
  transition: opacity .8s ease-in-out;
}
#intro.hide { opacity: 0; pointer-events: none; }
.intro-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(var(--maroon-rgb), .12) 100%);
}
.intro-orn {
  position: absolute; left: 50%; transform: translateX(-50%);
  color: rgba(var(--rose-rgb), .4); font-size: 1.5rem; letter-spacing: .5em;
  opacity: 0; animation: introIn 1s ease .2s forwards;
}
.intro-orn.top { top: 2.5rem; --from: -20px; }
.intro-orn.bottom { bottom: 2.5rem; --from: 20px; }
.intro-group {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
  padding: 0 1.5rem; text-align: center; max-width: 48rem;
}
.flourish { display: flex; align-items: center; justify-content: center; gap: .75rem; opacity: 0; animation: introPop .8s ease .3s forwards; }
.flourish-2 { animation-delay: .6s; }
.flourish span { height: 1px; width: 3rem; background: rgba(var(--sage-rgb), .6); }
.flourish b { color: var(--rose); font-size: 1.125rem; font-weight: 400; }
@media (min-width: 640px) { .flourish span { width: 5rem; } }
.intro-logo {
  margin: 1.75rem 0; width: min(80vw, 520px); height: auto;
  filter: drop-shadow(0 4px 24px rgba(var(--maroon-rgb), .18));
  opacity: 0; animation: introLogo 1.1s cubic-bezier(.16,1,.3,1) .1s forwards;
}
.intro-tagline {
  margin-top: 1.75rem; font-family: var(--font-heading); font-style: italic;
  font-size: 1.125rem; color: var(--maroon); opacity: 0; animation: introUp .9s ease .9s forwards;
}
@media (min-width: 640px) { .intro-tagline { font-size: 1.5rem; } }
.intro-bottom { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; width: 100%; max-width: 24rem; }
.intro-bar { height: .25rem; width: 100%; background: rgba(var(--sage-rgb), .2); border-radius: 9999px; overflow: hidden; }
#intro-progress { height: 100%; width: 0; background: var(--rose); border-radius: 9999px; }
#intro-enter { opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s, transform .4s, background-color .2s; padding: .75rem 2rem; }
#intro-enter.show { opacity: 1; transform: none; pointer-events: auto; }
.intro-caption { font-size: .75rem; text-transform: uppercase; letter-spacing: .3em; color: rgba(var(--maroon-rgb), .5); opacity: 0; animation: introFade .6s ease 1.2s forwards; }

@keyframes introIn { from { opacity: 0; transform: translate(-50%, var(--from)); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes introPop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes introLogo { from { opacity: 0; transform: translateY(12px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes introUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes introFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 5. Top bar & navbar ---------- */
.topbar { background: var(--maroon); color: var(--cream); font-size: .75rem; }
@media (min-width: 640px) { .topbar { font-size: .875rem; } }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .5rem; padding-bottom: .5rem; }
.topbar a { display: flex; align-items: center; gap: .375rem; transition: color .2s; }
.topbar a:hover { color: var(--sage); }
.topbar .icon { width: .875rem; height: .875rem; }
.topbar-tag { display: none; font-family: var(--font-heading); font-style: italic; color: rgba(var(--cream-rgb), .8); }
@media (min-width: 640px) { .topbar-tag { display: block; } }

.header {
  position: sticky; top: 0; z-index: 50; padding: .75rem 0;
  background: rgba(var(--cream-rgb), .8); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: all .3s;
}
.header.scrolled { background: rgba(var(--cream-rgb), .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 4px 6px -1px rgba(0,0,0,.12); padding: .5rem 0; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 4.5rem; width: auto; transition: height .3s; }
.header.scrolled .brand img { height: 4.5rem; }
.nav-list { display: none; align-items: center; gap: 2rem; }
@media (min-width: 868px) { .nav-list { display: flex; } }
.nav-link {
  position: relative; display: inline-block; padding: 2rem 0; font-size: 1rem; font-weight: 500;
  letter-spacing: .025em; text-transform: uppercase; color: var(--maroon); transition: color .2s;
}
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--rose); transition: width .3s; }
.nav-link:hover, .nav-link.active { color: var(--rose); }
.nav-link.active::after { width: 100%; }

.menu-btn { display: block; padding: .5rem; color: var(--maroon); }
@media (min-width: 768px) { .menu-btn { display: none; } }
.menu-btn .icon { width: 1.5rem; height: 1.5rem; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }
.mobile-menu { max-height: 0; overflow: hidden; transition: max-height .3s; background: var(--cream); border-top: 1px solid rgba(var(--sage-rgb), .3); margin-top: .5rem; border-top-width: 0; }
.mobile-menu.open { max-height: 20rem; border-top-width: 1px; }
@media (min-width: 768px) { .mobile-menu { display: none; } }
.mobile-menu ul { padding: .5rem 1rem; }
.mobile-link {
  display: block; padding: .75rem .5rem; font-size: 1rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .025em; border-bottom: 1px solid rgba(var(--sage-rgb), .2); transition: color .2s;
}
.mobile-menu li:last-child .mobile-link { border-bottom: 0; }
.mobile-link.active { color: var(--rose); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; height: 78vh; min-height: 520px; width: 100%; overflow: hidden; background: var(--maroon); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--maroon-rgb), .35), rgba(var(--maroon-rgb), .3), rgba(var(--maroon-rgb), .4)); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-content .container { padding: 0 1.5rem; }
.hero-inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-block; margin-bottom: 1rem; padding: .375rem 1rem; background: rgba(var(--rose-rgb), .9);
  color: var(--cream); font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; border-radius: 9999px;
}
@media (min-width: 640px) { .hero-badge { font-size: .875rem; } }
.hero h1 { font-size: 1.875rem; font-weight: 700; line-height: 1.25; color: var(--cream); text-shadow: 0 4px 8px rgba(0,0,0,.35); }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; line-height: 1.1; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero-sub { margin-top: 1.25rem; font-family: var(--font-heading); font-style: italic; font-size: 1rem; color: rgba(var(--cream-rgb), .9); }
@media (min-width: 640px) { .hero-sub { font-size: 1.25rem; } }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-actions .btn { padding: .875rem 1.75rem; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; padding: .625rem; border-radius: 9999px;
  background: rgba(var(--cream-rgb), .2); color: var(--cream); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s;
}
.hero-arrow:hover { background: rgba(var(--cream-rgb), .4); }
.hero-arrow .icon { width: 1.5rem; height: 1.5rem; display: block; }
.hero-arrow.prev { left: .75rem; } .hero-arrow.next { right: .75rem; }
@media (min-width: 640px) { .hero-arrow.prev { left: 1.5rem; } .hero-arrow.next { right: 1.5rem; } }
.hero-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .625rem; z-index: 10; }
.hero-dot { height: .625rem; width: .625rem; border-radius: 9999px; background: rgba(var(--cream-rgb), .5); transition: all .3s; }
.hero-dot:hover { background: rgba(var(--cream-rgb), .8); }
.hero-dot.active { width: 2rem; background: var(--rose); }

/* ---------- 7. Welcome ---------- */
.chips { margin-top: 3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.chip {
  padding: .625rem 1.25rem; border-radius: 9999px; background: var(--beige); border: 1px solid rgba(var(--sage-rgb), .4);
  font-size: .875rem; font-weight: 500; transition: background-color .2s, color .2s;
}
.chip:hover { background: var(--sage); color: var(--cream); }

/* ---------- 8. Facilities ---------- */
.facilities-grid { margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .facilities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facilities-grid { grid-template-columns: repeat(3, 1fr); } }
.facilities-grid > .reveal { height: 100%; }
.facility-card {
  height: 100%; display: flex; align-items: flex-start; gap: 1rem; background: var(--cream); border-radius: 1rem; padding: 1.5rem;
  border: 1px solid rgba(var(--sage-rgb), .4); box-shadow: 0 1px 2px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.facility-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px -12px rgba(var(--maroon-rgb), .18); }
.icon-box, .icon-circle, .icon-sm { display: flex; align-items: center; justify-content: center; color: var(--rose); background: rgba(var(--rose-rgb), .1); flex-shrink: 0; }
.icon-box { width: 3.5rem; height: 3.5rem; border-radius: .75rem; }
.icon-box .icon { width: 1.75rem; height: 1.75rem; }
.facility-card h3 { font-size: 1.125rem; font-weight: 600; }
.facility-card p { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: rgba(var(--maroon-rgb), .7); }

/* ---------- 9. Gallery preview ---------- */
.preview-grid { margin-top: 3rem; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .preview-grid { grid-template-columns: repeat(3, 1fr); } }
.preview-card { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 1rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,.12); aspect-ratio: 4 / 3; }
.preview-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.preview-card:hover img { transform: scale(1.1); }
.preview-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--maroon-rgb), .8), rgba(var(--maroon-rgb), .1), transparent); }
.preview-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; text-align: left; }
.preview-text span { font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; color: rgba(var(--cream-rgb), .8); }
.preview-text h3 { font-size: 1.25rem; font-weight: 600; color: var(--cream); }

/* ---------- 10. CTA banner ---------- */
.cta { position: relative; padding: 5rem 0; overflow: hidden; }
@media (min-width: 640px) { .cta { padding: 7rem 0; } }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; background: rgba(var(--maroon-rgb), .8); }
.cta-inner { position: relative; max-width: 56rem; text-align: center; }
.cta h2 { margin-top: 1rem; font-size: 1.875rem; font-weight: 700; line-height: 1.25; color: var(--cream); }
@media (min-width: 640px) { .cta h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .cta h2 { font-size: 3.75rem; line-height: 1.1; } }
.cta p { margin: 1.5rem auto 0; max-width: 42rem; font-size: 1rem; color: rgba(var(--cream-rgb), .85); }
@media (min-width: 640px) { .cta p { font-size: 1.125rem; } }
.cta-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta .btn { padding: .875rem 2rem; }

/* ---------- 11. About ---------- */
.about-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.about-photos { position: relative; }
.about-main { border-radius: 1.5rem; overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0,0,0,.18); }
.about-main img { width: 100%; height: 360px; object-fit: cover; }
@media (min-width: 640px) { .about-main img { height: 440px; } }
.about-inset { position: absolute; bottom: -1.5rem; right: -1rem; width: 10rem; border-radius: 1rem; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.3); border: 4px solid var(--cream); }
.about-inset img { width: 100%; height: 7rem; object-fit: cover; }
@media (min-width: 640px) { .about-inset { width: 13rem; right: -1.5rem; } .about-inset img { height: 9rem; } }
.about-title { font-size: 1.5rem; font-weight: 600; }
@media (min-width: 640px) { .about-title { font-size: 1.875rem; } }
.about-grid p { margin-top: 1.25rem; line-height: 1.7; color: rgba(var(--maroon-rgb), .8); }
.about-grid p + p { margin-top: 1rem; }
.tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.tags span { padding: .5rem 1rem; border-radius: .5rem; background: var(--cream); border: 1px solid rgba(var(--sage-rgb), .4); font-size: .875rem; font-weight: 500; }

.counters {
  margin-top: 5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; background: var(--cream);
  border-radius: 1.5rem; padding: 2rem; border: 1px solid rgba(var(--sage-rgb), .4); box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
@media (min-width: 640px) { .counters { padding: 3rem; } }
@media (min-width: 1024px) { .counters { grid-template-columns: repeat(4, 1fr); } }
.counter { text-align: center; }
.counter-num { font-family: var(--font-heading); font-size: 2.25rem; font-weight: 700; color: var(--rose); letter-spacing: -.025em; }
@media (min-width: 640px) { .counter-num { font-size: 3rem; } }
.counter-num b { color: var(--sage); font-weight: 700; }
.counter-label { margin-top: .5rem; font-size: .875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .025em; color: rgba(var(--maroon-rgb), .7); }
@media (min-width: 640px) { .counter-label { font-size: 1rem; } }

.why-head { margin-top: 5rem; }
.why-grid { margin-top: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-grid > .reveal { height: 100%; }
.why-card { height: 100%; background: var(--cream); border-radius: 1rem; padding: 1.5rem; border: 1px solid rgba(var(--sage-rgb), .4); text-align: center; }
.icon-circle { margin: 0 auto; width: 3.5rem; height: 3.5rem; border-radius: 9999px; }
.icon-circle .icon { width: 1.75rem; height: 1.75rem; }
.why-card h4 { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; }
.why-card p { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: rgba(var(--maroon-rgb), .7); }

/* ---------- 12. Gallery ---------- */
.filters { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; }
.filter-btn {
  padding: .625rem 1.25rem; border-radius: 9999px; font-size: .875rem; font-weight: 500;
  background: var(--beige); color: var(--maroon); border: 1px solid rgba(var(--sage-rgb), .4); transition: all .3s;
}
.filter-btn:hover { border-color: var(--rose); color: var(--rose); }
.filter-btn.active { background: var(--rose); color: var(--cream); border-color: var(--rose); box-shadow: 0 4px 6px -1px rgba(0,0,0,.15); }

.masonry { margin-top: 3rem; column-count: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
.g-item { margin-bottom: 1.25rem; break-inside: avoid; opacity: 0; transform: translateY(40px); transition: opacity .8s ease-out, transform .8s ease-out; }
.g-item.visible { opacity: 1; transform: none; }
.g-btn { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 1rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,.12); }
.g-btn img { width: 100%; height: auto; object-fit: cover; transition: transform .7s; }
.g-btn:hover img { transform: scale(1.05); }
.g-over { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem; background: rgba(var(--maroon-rgb), 0); transition: background-color .3s; }
.g-btn:hover .g-over { background: rgba(var(--maroon-rgb), .3); }
.g-over span { opacity: 0; transition: opacity .3s; color: var(--cream); font-size: .875rem; font-weight: 500; background: rgba(var(--rose-rgb), .8); padding: .25rem .75rem; border-radius: 9999px; }
.g-btn:hover .g-over span { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(var(--maroon-rgb), .95); display: flex; align-items: center; justify-content: center; animation: fadeIn .3s ease forwards; }
.lightbox[hidden] { display: none; }
.lb-btn { position: absolute; color: rgba(var(--cream-rgb), .9); border-radius: 9999px; background: rgba(var(--cream-rgb), .1); transition: background-color .2s, color .2s; display: flex; }
.lb-btn:hover { color: var(--cream); background: rgba(var(--cream-rgb), .2); }
.lb-close { top: 1.25rem; right: 1.25rem; padding: .5rem; }
.lb-close .icon { width: 1.75rem; height: 1.75rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); padding: .75rem; }
.lb-prev { left: .75rem; } .lb-next { right: .75rem; }
@media (min-width: 640px) { .lb-prev { left: 1.5rem; } .lb-next { right: 1.5rem; } }
.lb-prev .icon, .lb-next .icon { width: 2rem; height: 2rem; }
.lb-figure { max-width: 64rem; width: 100%; padding: 0 1rem; animation: scaleIn .35s ease forwards; }
.lb-figure img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: .5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
.lb-figure figcaption { margin-top: 1rem; text-align: center; color: rgba(var(--cream-rgb), .8); font-size: .875rem; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- 13. Contact ---------- */
.contact-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.panel { height: 100%; background: var(--cream); border-radius: 1.5rem; padding: 1.75rem; border: 1px solid rgba(var(--sage-rgb), .4); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
@media (min-width: 640px) { .contact-form-wrap .panel { padding: 2.25rem; } }
.panel h3 { font-size: 1.65rem; font-weight: 600; }
.muted { margin-top: .25rem; font-size: .875rem; color: rgba(var(--maroon-rgb), .7); }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-row { display: flex; align-items: flex-start; gap: .75rem; }
.icon-sm { width: 2.5rem; height: 2.5rem; border-radius: .5rem; }
.info-label { font-size: 1rem; font-weight: 600; }
.info-text { display: block; margin-top: .125rem; font-size: 1rem; color: rgba(var(--maroon-rgb), .7); }
.info-text + .info-text { margin-top: 0; }
a.info-text:hover { color: var(--rose); }
.map-wrap { margin-top: auto; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(var(--sage-rgb), .3); }
.map-wrap iframe { display: block; width: 100%; height: 11rem; border: 0; }

.success {
  margin-top: 1.25rem; display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border-radius: .75rem;
  background: rgba(var(--sage-rgb), .15); border: 1px solid var(--sage);
}
.success[hidden] { display: none; }
.success .icon { color: var(--sage-dark); margin-top: .125rem; }
.success strong { display: block; font-size: .875rem; font-weight: 600; }
.success span { display: block; margin-top: .125rem; font-size: .875rem; color: rgba(var(--maroon-rgb), .7); }

#contact-form { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { #contact-form { grid-template-columns: repeat(2, 1fr); } }
#contact-form .full { grid-column: 1 / -1; }
.field { display: block; }
.field > span { font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: .375rem; border-radius: .75rem; border: 1px solid rgba(var(--sage-rgb), .5);
  background: rgba(255,255,255,.7); padding: .75rem 1rem; font-size: .875rem; color: var(--maroon); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(var(--maroon-rgb), .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 2px rgba(var(--rose-rgb), .4); border-radius: .75rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--rose); }
.error { display: none; align-items: center; gap: .25rem; margin-top: .375rem; font-size: .75rem; font-style: normal; color: var(--rose); }
.field.invalid .error { display: flex; }
#contact-form .btn { width: 100%; }
@media (min-width: 640px) { #contact-form .btn { width: auto; } }
#contact-form .btn .icon { width: 1rem; height: 1rem; }

/* ---------- 14. Footer ---------- */
.footer { background: var(--beige); border-top: 1px solid rgba(var(--sage-rgb), .4); }
.footer-inner { padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { height: 3.5rem; width: auto; margin-bottom: 1rem; }
.footer-text { font-size: 1rem; line-height: 1.6; color: rgba(var(--maroon-rgb), .7); }
.footer-text.mb { margin-bottom: 1.25rem; }
.footer h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.footer h4.small { margin-bottom: .75rem; }
.footer-links li + li { margin-top: .625rem; }
.footer-links a { font-size: 1rem; color: rgba(var(--maroon-rgb), .7); transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--rose); }
.footer-contact { font-size: 1rem; color: rgba(var(--maroon-rgb), .7); }
.footer-contact li { display: flex; align-items: flex-start; gap: .625rem; }
.footer-contact li + li { margin-top: .75rem; }
.footer-contact li:not(:first-child) { align-items: center; }
.footer-contact .icon { width: 1rem; height: 1rem; color: var(--rose); margin-top: .125rem; }
.footer-contact li:not(:first-child) .icon { margin-top: 0; }
.footer-contact a { transition: color .2s; }
.social { display: flex; gap: .75rem; }
.social a { width: 2.25rem; height: 2.25rem; border-radius: 9999px; background: var(--cream); border: 1px solid rgba(var(--sage-rgb), .4); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.social a:hover { background: var(--rose); color: var(--cream); border-color: var(--rose); }
.social .icon { width: 1rem; height: 1rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(var(--sage-rgb), .3); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .75rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: .75rem; color: rgba(var(--maroon-rgb), .6); text-align: center; }
.footer-bottom .faint { color: rgba(var(--maroon-rgb), .5); }

/* ---------- 15. Floating buttons ---------- */
.floating { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50; display: flex; flex-direction: column; gap: .75rem; }
.fab { display: flex; align-items: center; justify-content: center; border-radius: 9999px; color: var(--cream); box-shadow: 0 10px 15px -3px rgba(0,0,0,.2); }
.fab .icon { width: 1.5rem; height: 1.5rem; }
.fab-top { width: 2.75rem; height: 2.75rem; background: var(--maroon); transition: all .3s; opacity: 0; transform: translateY(1rem); pointer-events: none; }
.fab-top.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-top:hover { background: var(--rose); }
.fab-top .icon { width: 1.25rem; height: 1.25rem; }
.fab-wa, .fab-call { width: 3rem; height: 3rem; transition: transform .2s; }
.fab-wa { background: #25D366; color: #fff; }
.fab-call { background: var(--rose); }
.fab-wa:hover, .fab-call:hover { transform: scale(1.1); }
@media print { .floating { display: none; } }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .g-item { opacity: 1; transform: none; }
}
