/* ==========================================================================
   Shree Vardhaman Mahaveer Kendra — site stylesheet
   Sani Gaon, Abu Road, Rajasthan
   ========================================================================== */

/* --- Tokens -------------------------------------------------------------- */

:root {
  /* Surfaces */
  --paper:        #faf6ee;
  --paper-deep:   #f3ebdb;
  --surface:      #ffffff;
  --surface-alt:  #fdfbf6;
  --ink:          #241a12;
  --ink-soft:     #4c3f31;
  --ink-muted:    #7a6a56;
  --line:         #e7dcc6;
  --line-soft:    #f0e8d8;

  /* Brand */
  --brick:        #9c2d10;
  --brick-deep:   #7a2209;
  --brick-tint:   #fdeee8;
  --gold:         #b0873a;
  --gold-tint:    #f8f0dd;
  --whatsapp:     #1faa59;
  --whatsapp-ink: #117a3d;

  /* Type */
  --display: "Marcellus", "Noto Serif Devanagari", Georgia, serif;
  --body: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;

  /* Space scale */
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2rem;
  --s6: 3rem;
  --s7: 4.5rem;
  --s8: 6.5rem;

  /* Shape */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Elevation — deliberately restrained */
  --lift-1: 0 1px 2px rgba(36, 26, 18, 0.05);
  --lift-2: 0 10px 30px -18px rgba(36, 26, 18, 0.28);
  --lift-3: 0 22px 60px -28px rgba(36, 26, 18, 0.38);

  --shell: 1180px;
  --shell-narrow: 760px;
}

/* --- Reset --------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + 0.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0; }

a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick-deep); }

ul, ol { margin: 0; padding: 0; }

button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Layout primitives --------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) { .shell { padding-inline: 2rem; } }

.section { padding-block: var(--s7); }
.section--tight { padding-block: var(--s6); }
.section--alt { background: var(--surface-alt); border-block: 1px solid var(--line-soft); }
.section--deep { background: var(--paper-deep); border-block: 1px solid var(--line); }

@media (min-width: 900px) {
  .section { padding-block: var(--s8); }
  .section--tight { padding-block: var(--s7); }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* --- Eyebrow + section heads --------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--plain::before { display: none; }

.section-head { max-width: 46rem; }
.section-head > * + * { margin-top: var(--s3); }
.section-head .lede { color: var(--ink-soft); font-size: 1.08rem; }

.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }

.lede { font-size: 1.1rem; line-height: 1.75; color: var(--ink-soft); }

.prose > * + * { margin-top: 1.15rem; }
.prose p { color: var(--ink-soft); }
.prose h3 { margin-top: 2.25rem; }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 0.93rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
              color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:active { transform: translateY(1px); }

.btn svg { flex: none; }

.btn--primary {
  background: var(--brick);
  color: #fff;
  box-shadow: var(--lift-1);
}
.btn--primary:hover { background: var(--brick-deep); color: #fff; }

.btn--ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--paper-deep); border-color: #d8c9ab; color: var(--ink); }

.btn--quiet {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn--quiet:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn--wa {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: var(--lift-1);
}
.btn--wa:hover { background: var(--whatsapp-ink); color: #fff; }

.btn--sm { padding: 0.6rem 1rem; font-size: 0.86rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* On narrow phones a stack of equal, full-width buttons reads better
   than a ragged wrap. */
@media (max-width: 430px) {
  .btn-row > .btn { flex: 1 1 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.93rem;
  font-weight: 550;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link svg { transition: transform 0.18s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* --- Header -------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 238, 0.88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.masthead.is-stuck {
  background: rgba(250, 246, 238, 0.97);
  box-shadow: 0 1px 0 var(--line), 0 12px 28px -26px rgba(36, 26, 18, 0.5);
}

.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
}

.brand__text { display: grid; line-height: 1.25; }

.brand__hi {
  font-family: "Noto Serif Devanagari", var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  order: 2;
}

.brand__en {
  font-family: var(--display);
  font-size: 1.04rem;
  letter-spacing: 0.005em;
  color: var(--ink);
  order: 1;
}

@media (max-width: 420px) {
  .brand__en { font-size: 0.93rem; }
  .brand__mark { width: 2.4rem; height: 2.4rem; }
}

.nav { display: none; }

@media (min-width: 1000px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-inline-start: auto;
  }
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--r-sm);
}

.nav__link:hover { color: var(--ink); background: rgba(176, 135, 58, 0.09); }

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.16rem;
  height: 2px;
  background: var(--brick);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.masthead__actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

@media (min-width: 1000px) { .masthead__actions { display: flex; } }

.burger {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-inline-start: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  cursor: pointer;
}

.burger:hover { background: var(--paper-deep); }

@media (min-width: 1000px) { .burger { display: none; } }

.burger__x { display: none; }
.burger[aria-expanded="true"] .burger__x { display: block; }
.burger[aria-expanded="true"] .burger__bars { display: none; }

.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.drawer.is-open { display: block; }

@media (min-width: 1000px) { .drawer, .drawer.is-open { display: none; } }

.drawer__list { list-style: none; }

.drawer__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.02rem;
  color: var(--ink);
  text-decoration: none;
}

.drawer__list a[aria-current="page"] { color: var(--brick); font-weight: 600; }

.drawer__actions {
  display: grid;
  gap: 0.6rem;
  padding: 1.25rem 0 1.75rem;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--s5);
  padding-block: var(--s6) var(--s6);
  align-items: center;
}

@media (min-width: 940px) {
  .hero__grid {
    grid-template-columns: 1fr 1.08fr;
    gap: var(--s6);
    padding-block: var(--s7) var(--s7);
  }
}

.hero__copy > * + * { margin-top: var(--s3); }
.hero__copy h1 { margin-top: 1rem; }

.hero__hi {
  font-family: "Noto Serif Devanagari", var(--display);
  font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.45rem);
  color: var(--brick);
  margin-top: 0.35rem;
}

.hero__lede { max-width: 34rem; }

.hero__btns { margin-top: var(--s4) !important; }

.hero__meta {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: var(--s4) !important;
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-muted);
  max-width: 30rem;
}

.hero__meta svg { flex: none; margin-top: 0.22rem; color: var(--brick); }

.hero__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--lift-3);
  background: var(--surface);
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  color: var(--ink-soft);
  box-shadow: var(--lift-2);
}

.hero__badge svg { flex: none; color: var(--gold); }

/* Page banner (inner pages) */

.banner {
  position: relative;
  padding-block: var(--s6);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 900px) { .banner { padding-block: var(--s7); } }

.banner__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(27, 18, 11, 0.93) 0%, rgba(27, 18, 11, 0.78) 48%, rgba(60, 30, 12, 0.6) 100%);
}

.banner h1 { color: #fff; max-width: 24ch; }

.banner .eyebrow { color: #f0c98a; }

.banner__lede {
  margin-top: var(--s3);
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin-top: var(--s4);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
}

.crumbs a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-inline-end: 0.5rem; opacity: 0.5; }

/* --- Cards & grids ------------------------------------------------------- */

.grid {
  display: grid;
  gap: var(--s4);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--lift-1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card p { color: var(--ink-soft); font-size: 0.96rem; }

.card--hover:hover {
  border-color: #d9c8a6;
  box-shadow: var(--lift-2);
  transform: translateY(-2px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: var(--r-sm);
  background: var(--brick-tint);
  color: var(--brick);
  margin-bottom: 0.3rem;
}

.card__num {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* Two-column feature row */

.split {
  display: grid;
  gap: var(--s5);
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .split--wide-left { grid-template-columns: 1.15fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.15fr; }
  .split--flip > :first-child { order: 2; }
}

.framed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--lift-2);
}

.framed img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.framed--tall img { aspect-ratio: 4 / 5; }

/* Fact list */

.facts { list-style: none; display: grid; gap: 0; }

.facts li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line-soft);
}

@media (min-width: 560px) {
  .facts li { grid-template-columns: 10rem 1fr; gap: 1rem; align-items: baseline; }
}

.facts dt, .facts__k {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.facts dd, .facts__v { margin: 0; color: var(--ink); }

/* Checklist */

.ticks { list-style: none; display: grid; gap: 0.7rem; }

.ticks li {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.ticks svg { margin-top: 0.4rem; color: var(--brick); }

/* Stats strip */

.stats {
  display: grid;
  gap: var(--s4);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat { border-left: 2px solid var(--gold); padding-left: var(--s3); }

.stat__n {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1.1;
  color: var(--ink);
}

.stat__l {
  margin-top: 0.3rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* --- Gallery ------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  width: fit-content;
  margin-inline: auto;
}

.filters__btn {
  padding: 0.55rem 1.15rem;
  background: transparent;
  border: 0;
  border-radius: var(--r-pill);
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.filters__btn:hover { background: var(--paper-deep); color: var(--ink); }

.filters__btn[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.tiles {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
  margin-top: var(--s5);
}

@media (min-width: 600px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: var(--s4); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }

.tile {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  text-align: left;
  box-shadow: var(--lift-1);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.tile:hover {
  box-shadow: var(--lift-2);
  transform: translateY(-3px);
  border-color: #d9c8a6;
}

.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tile:hover img { transform: scale(1.035); }

.tile__cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.95rem;
}

.tile__title { font-size: 0.95rem; font-weight: 550; color: var(--ink); }
.tile__tag { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }

.tile.is-hidden { display: none; }

/* Photo strip (home) */

.strip {
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 760px) { .strip { grid-template-columns: repeat(4, 1fr); } }

.strip a {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--lift-1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.strip a:hover { transform: translateY(-3px); box-shadow: var(--lift-2); }
.strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* --- Lightbox ------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(18, 12, 8, 0.94);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding-block: 0.75rem;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: var(--r-sm);
}

.lightbox__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
  min-height: 2.5rem;
}

.lb-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.lb-btn:hover { background: rgba(255, 255, 255, 0.22); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

@media (min-width: 720px) {
  .lightbox { padding: 1.5rem 4.5rem; }
  .lightbox__nav--prev { left: 1.25rem; }
  .lightbox__nav--next { right: 1.25rem; }
}

body.is-locked { overflow: hidden; }

/* --- Contact ------------------------------------------------------------- */

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--lift-2);
  background: var(--paper-deep);
}

.map-frame iframe { width: 100%; height: 420px; border: 0; }

@media (min-width: 900px) { .map-frame iframe { height: 480px; } }

.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--gold-tint);
  border: 1px solid #ecdcb8;
  border-radius: var(--r-sm);
}

.copy-row code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.copy-btn {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--ink-soft);
  cursor: pointer;
}

.copy-btn:hover { background: var(--paper); color: var(--ink); }

.contact-actions {
  display: grid;
  gap: var(--s3);
  grid-template-columns: 1fr;
}

@media (min-width: 560px) { .contact-actions { grid-template-columns: repeat(2, 1fr); } }

.action {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--lift-1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.action:hover {
  border-color: #d9c8a6;
  box-shadow: var(--lift-2);
  transform: translateY(-2px);
  color: inherit;
}

.action__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--r-sm);
  background: var(--brick-tint);
  color: var(--brick);
}

.action__icon--wa { background: #e6f7ec; color: var(--whatsapp-ink); }

.action__k { display: block; font-size: 0.97rem; font-weight: 600; color: var(--ink); }
.action__v { display: block; margin-top: 0.1rem; font-size: 0.88rem; color: var(--ink-muted); }

/* --- CTA band ------------------------------------------------------------ */

.cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70rem 30rem at 15% 120%, rgba(156, 45, 16, 0.5), transparent 70%),
    radial-gradient(50rem 24rem at 90% -20%, rgba(176, 135, 58, 0.32), transparent 70%);
}

.cta__inner {
  display: grid;
  gap: var(--s4);
  padding-block: var(--s6);
  align-items: center;
}

@media (min-width: 900px) {
  .cta__inner {
    grid-template-columns: 1.4fr auto;
    gap: var(--s6);
    padding-block: var(--s7);
  }
}

.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.78); margin-top: var(--s2); max-width: 44ch; }
.cta .eyebrow { color: #f0c98a; }

/* --- Footer -------------------------------------------------------------- */

.footer {
  background: #1d1409;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.footer__grid {
  display: grid;
  gap: var(--s5);
  padding-block: var(--s6);
}

@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: var(--s6); } }

.footer h3 {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--s3);
}

.footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

.footer__list { list-style: none; display: grid; gap: 0.65rem; }

.footer .brand__en { color: #fff; }
.footer .brand__hi { color: rgba(255, 255, 255, 0.55); }

.footer__blurb {
  margin-top: var(--s3);
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: var(--s3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Floating WhatsApp --------------------------------------------------- */

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 3.4rem;
  padding: 0 1rem;
  background: var(--whatsapp);
  color: #fff;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 550;
  box-shadow: 0 14px 34px -12px rgba(17, 122, 61, 0.55), 0 2px 6px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.85rem) scale(0.96);
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease,
              background-color 0.2s ease;
}

.wa-float.is-shown { opacity: 1; visibility: visible; transform: none; }

.wa-float:hover { background: var(--whatsapp-ink); color: #fff; }

.wa-float svg { flex: none; }

.wa-float__label { display: none; white-space: nowrap; }

@media (min-width: 560px) {
  .wa-float { right: 1.5rem; bottom: 1.5rem; }
  .wa-float__label { display: inline; }
}

@media (max-width: 559px) {
  .wa-float { width: 3.4rem; padding: 0; justify-content: center; }
}

/* Soft pulse ring, once settled */
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--whatsapp);
  opacity: 0;
  pointer-events: none;
}

.wa-float.is-shown::after { animation: wa-ring 2.8s ease-out 0.6s 3; }

@keyframes wa-ring {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* --- Scroll reveal ------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --- Utilities ----------------------------------------------------------- */

.u-narrow { max-width: var(--shell-narrow); }
.u-center { text-align: center; }
.u-mt-3 { margin-top: var(--s3); }
.u-mt-4 { margin-top: var(--s4); }
.u-mt-5 { margin-top: var(--s5); }
.u-mt-6 { margin-top: var(--s6); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* margin-inline only — zeroing all margins here would beat the .u-mt-*
   utilities, which are declared earlier in this file. */
.rule { height: 1px; background: var(--line); border: 0; margin-inline: 0; }

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold);
}
.divider::before,
.divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.note {
  padding: var(--s3) var(--s4);
  background: var(--gold-tint);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
