/* ==========================================================================
   Sri Vinayaga Chimney Work — Components
   Header, navigation, buttons, cards, footer, forms, lightbox, floating CTA.
   ========================================================================== */

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  min-height: 50px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, var(--brand) 0%, var(--brand-lt) 100%);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn:hover { box-shadow: var(--shadow-md); color: #fff; }
.btn { transform: translate(var(--mx, 0px), var(--my, 0px)); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }

.btn svg { flex: none; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--wa:hover svg, .btn--icon-static:hover svg { transform: none; }

/* Primary — copper */
.btn--primary { --btn-bg: var(--accent); }
.btn--primary::before { background: linear-gradient(105deg, var(--brand) 0%, var(--brand-lt) 100%); }

/* Slate */
.btn--navy { --btn-bg: var(--brand); }
.btn--navy::before { background: linear-gradient(105deg, var(--accent) 0%, var(--accent-lt) 100%); }

/* Ghost on dark */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border: 1px solid var(--line-dark-2);
}
.btn--ghost::before { background: var(--paper); }
.btn--ghost:hover { color: var(--ink); border-color: transparent; }

/* Ghost on light */
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--on-light);
  border: 1px solid var(--line-light-2);
}
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: #fff; border-color: transparent; }

/* WhatsApp green */
.btn--wa { --btn-bg: #1FA855; }
.btn--wa::before { background: #17864A; }

.btn--sm { padding: 11px 20px; min-height: 42px; font-size: .82rem; }
.btn--lg { padding: 18px 34px; min-height: 58px; font-size: .96rem; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Text link with animated rule */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--brand);
  position: relative;
  padding-bottom: 3px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow, .link-arrow--light { color: var(--on-dark); }

/* ==========================================================================
   Top info bar + floating header with a sliding pill navigation
   ========================================================================== */

.site-top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  transition: transform .5s var(--ease);
}

/* --- Thin info bar --------------------------------------------------- */
.topbar {
  background: var(--brand-deep);
  color: var(--on-dark-dim);
  overflow: hidden;
  max-height: 46px;
  transition: max-height .5s var(--ease), opacity .35s var(--ease);
}
.site-top.is-stuck .topbar { max-height: 0; opacity: 0; }

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 46px;
  font-size: .82rem;
}
.topbar__list { display: flex; align-items: center; gap: 26px; min-width: 0; }
.topbar__item {
  display: inline-flex; align-items: center; gap: 9px;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.topbar__item svg { color: var(--accent-lt); flex: none; }
a.topbar__item:hover { color: #fff; }
.topbar__item--hide { display: none; }
@media (min-width: 860px) { .topbar__item--hide { display: inline-flex; } }

.topbar__social { display: flex; align-items: center; gap: 6px; flex: none; }
.topbar__social a {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--on-dark-dim);
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .4s var(--ease-spring);
}
.topbar__social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px) scale(1.06); }
@media (max-width: 600px) { .topbar__social { display: none; } }

/* --- Header ----------------------------------------------------------- */
.site-header { transition: padding .5s var(--ease); padding-top: 0; }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 76px;
  padding-inline: clamp(14px, 2vw, 24px);
  border-radius: 0;
  background: rgba(18, 34, 47, .55);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid transparent;
  transition: height .5s var(--ease), background-color .5s var(--ease),
              border-radius .5s var(--ease), border-color .5s var(--ease),
              box-shadow .5s var(--ease), transform .5s var(--ease);
}
/* Once scrolled, the bar detaches into a floating rounded capsule */
.site-top.is-stuck .site-header { padding-top: 12px; }
.site-top.is-stuck .site-header__bar {
  height: 68px;
  background: rgba(18, 34, 47, .90);
  border-radius: var(--r-pill);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-nav);
}

/* --- Brand ------------------------------------------------------------ */
.brand { display: flex; align-items: center; gap: 13px; flex: 0 1 auto; min-width: 0; }
.brand__mark {
  width: 71px; height: 50px; flex: none;
  background: #000;
  border-radius: 12px;
  padding: 0;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(18, 34, 47, .28);
  transition: transform .55s var(--ease-spring);
}
.brand:hover .brand__mark { transform: rotate(-5deg) scale(1.07); }
.brand__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
  letter-spacing: -.028em;
  color: #fff;
  text-transform: uppercase;
}
.brand__name .alt { color: var(--accent-lt); }
.brand__tag {
  margin-top: 6px;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
/* Below the desktop nav breakpoint the name stacks onto two lines so it can
   stay large and bold without pushing the menu button off the bar. */
@media (max-width: 1059px) {
  .brand { gap: 11px; }
  .brand__name { font-size: 1.06rem; line-height: 1.16; }
  .brand__name .alt { display: block; }
  .brand__tag { margin-top: 5px; }
}
@media (max-width: 420px) {
  .brand__mark { width: 60px; height: 42px; border-radius: 10px; padding: 0; }
  .brand__name { font-size: .96rem; }
  .brand__tag { letter-spacing: .16em; font-size: .52rem; }
  .site-header__bar { padding-inline: 12px; }
  .nav-toggle { width: 46px; height: 46px; padding: 0 12px; }
}

/* --- Pill navigation --------------------------------------------------- */
.nav { display: none; }
@media (min-width: 1060px) {
  .nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border-radius: var(--r-pill);
    background: rgba(233, 240, 244, .07);
    border: 1px solid var(--line-dark);
  }
}
.nav__pill {
  position: absolute;
  top: 5px; left: 0;
  height: calc(100% - 10px);
  border-radius: var(--r-pill);
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  box-shadow: 0 5px 16px rgba(194, 112, 63, .38);
  opacity: 0;
  transform: translateX(0);
  transition: transform .55s var(--ease-spring), width .55s var(--ease-spring), opacity .35s var(--ease);
  pointer-events: none;
}
.nav__pill.is-on { opacity: 1; }
.nav__link {
  position: relative;
  z-index: 2;
  padding: 11px 19px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 500;
  color: rgba(233, 240, 244, .76);
  white-space: nowrap;
  transition: color .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header__cta { display: none; }
@media (min-width: 1060px) { .header__cta { display: inline-flex; } }

/* --- Mobile toggle ------------------------------------------------------ */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 50px; height: 50px; padding: 0 13px;
  border: 1px solid var(--line-dark-2); border-radius: var(--r-pill);
  background: rgba(233, 240, 244, .06);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.nav-toggle:hover { background: var(--accent); border-color: var(--accent); }
@media (min-width: 1060px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .45s var(--ease-spring), width .45s var(--ease-spring);
}
.nav-toggle span:nth-child(1) { width: 100%; }
.nav-toggle span:nth-child(2) { width: 62%; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { width: 100%; transform: translateY(-4px) rotate(-45deg); }

/* --- Mobile drawer ------------------------------------------------------ */
.mobile-nav {
  position: fixed; inset: 0; z-index: 199;
  background: var(--ink);
  display: flex; flex-direction: column;
  padding: 140px var(--gut) 40px;
  opacity: 0; visibility: hidden;
  clip-path: circle(0% at 92% 6%);
  transition: opacity .4s var(--ease), clip-path .7s var(--ease-out), visibility .4s;
  overflow-y: auto;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; clip-path: circle(150% at 92% 6%); }
@media (min-width: 1060px) { .mobile-nav { display: none; } }

.mobile-nav__list { border-top: 1px solid var(--line-dark); }
.mobile-nav__item { border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.mobile-nav__link {
  display: flex; align-items: baseline; gap: 15px;
  padding: 21px 2px;
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em;
  color: var(--on-dark);
  opacity: 0; transform: translateY(105%);
  transition: opacity .5s var(--ease-out), transform .65s var(--ease-out), color .3s;
}
body.nav-open .mobile-nav__link {
  opacity: 1; transform: none;
  transition-delay: calc(180ms + var(--i, 0) * 70ms);
}
.mobile-nav__link .num {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  color: var(--accent-lt); font-variant-numeric: tabular-nums;
}
.mobile-nav__link.is-active { color: var(--accent-lt); }
.mobile-nav__foot { margin-top: auto; padding-top: 34px; }
.mobile-nav__foot .btn-row { margin-bottom: 22px; }
.mobile-nav__meta { color: var(--on-dark-faint); font-size: .88rem; line-height: 1.7; }
.mobile-nav__meta a { color: var(--on-dark-dim); }
.mobile-nav__meta a:hover { color: #fff; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(168px, 18vw, 250px) clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,34,47,.86) 0%, rgba(18,34,47,.72) 45%, var(--ink) 100%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero .t-lead { margin-top: 20px; max-width: 620px; }

.crumbs {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-bottom: 22px;
  font-size: .76rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--on-dark-faint);
  font-family: var(--font-display); font-weight: 500;
}
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--accent); }

/* ==========================================================================
   Cards
   ========================================================================== */

/* Service card */
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 28px 28px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.svc-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.svc-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-card__num {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; color: var(--on-light-dim);
  font-variant-numeric: tabular-nums;
}
.svc-card > * { position: relative; z-index: 2; }
.svc-card__icon {
  width: 46px; height: 46px; margin: 18px 0 20px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: rgba(61, 106, 138, .10);
  color: var(--brand);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease-out);
}
.svc-card:hover .svc-card__icon { background: var(--brand); color: #fff; transform: translateY(-2px); }
.svc-card__title { margin-bottom: 10px; }
.svc-card__text { font-size: .92rem; line-height: 1.62; color: var(--on-light-dim); flex: 1; }
.svc-card__more { margin-top: 20px; }

/* Service card with imagery (feature variant) */
.svc-card--media { padding: 0; }
.svc-card--media .svc-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.svc-card--media .svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc-card--media:hover .svc-card__media img { transform: scale(1.06); }
.svc-card--media .svc-card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card--media .svc-card__icon { margin-top: 0; }

/* Full-width feature card — closes the grid and breaks the rhythm */
.svc-card--feature { padding: 0; grid-column: 1 / -1; }
.svc-card--feature .svc-card__inner { display: grid; }
@media (min-width: 780px) {
  .svc-card--feature .svc-card__inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; }
}
.svc-card--feature .svc-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
@media (min-width: 780px) { .svc-card--feature .svc-card__media { aspect-ratio: auto; min-height: 330px; } }
/* Absolute fill so the photo never dictates the card's height */
.svc-card--feature .svc-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.svc-card--feature:hover .svc-card__media img { transform: scale(1.05); }
.svc-card--feature .svc-card__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 3.4vw, 46px);
}
.svc-card--feature .svc-card__title { font-size: clamp(1.35rem, 2.3vw, 1.9rem); letter-spacing: -.026em; }
.svc-card--feature .svc-card__text { flex: none; font-size: .98rem; max-width: 52ch; }
.svc-card--feature .svc-card__tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.svc-card--feature .svc-card__tags li {
  padding: 7px 14px; border: 1px solid var(--line-light-2); border-radius: var(--r-pill);
  font-size: .78rem; color: var(--on-light-dim);
}

/* Feature / why-choose-us card */
.feat {
  display: flex; gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
  transition: padding-left .5s var(--ease-out);
}
.feat:hover { padding-left: 10px; }
.feat__num {
  flex: none; width: 34px;
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; color: var(--accent); padding-top: 5px;
  font-variant-numeric: tabular-nums;
}
.feat__title { margin-bottom: 7px; color: var(--on-dark); }
.feat__text { font-size: .9rem; line-height: 1.6; color: var(--on-dark-dim); }

/* Stat / meta tile */
.tile {
  padding: 24px 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,0));
}
.tile__k {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600; letter-spacing: -.03em; color: #fff; line-height: 1.1;
}
.tile__v { margin-top: 8px; font-size: .82rem; color: var(--on-dark-dim); }

/* ==========================================================================
   Project cards & gallery
   ========================================================================== */

.filters { display: flex; flex-wrap: wrap; gap: 9px; }
/* On narrow screens the chips become one swipeable row */
@media (max-width: 700px) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1);
    padding-inline: var(--gut);
    padding-bottom: 4px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; scroll-snap-align: start; }
}
.filter {
  padding: 10px 18px;
  border: 1px solid var(--line-light-2);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 500;
  color: var(--on-light-dim);
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease-out);
}
.filter:hover { transform: translateY(-2px); color: var(--on-light); border-color: var(--line-light-2); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.section--dark .filter { border-color: var(--line-dark-2); color: var(--on-dark-dim); }
.section--dark .filter:hover { color: #fff; }
.section--dark .filter.is-active { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  grid-auto-flow: dense;
}
.proj {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ink-3);
  aspect-ratio: 4 / 5;
  transition: opacity .45s var(--ease), transform .45s var(--ease-out);
}
.proj--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.proj--tall { grid-row: span 2; aspect-ratio: 4 / 7; }
@media (max-width: 600px) {
  .proj--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .proj--tall { grid-row: span 1; aspect-ratio: 4 / 5; }
}
.proj img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease);
}
.proj:hover img { transform: scale(1.08); }
.proj.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.proj__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,26,36,.92) 0%, rgba(14,26,36,.35) 42%, rgba(14,26,36,0) 72%);
  opacity: .55;
  transition: opacity .5s var(--ease);
}
.proj:hover .proj__veil { opacity: 1; }
.proj__body {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 22px 22px 20px;
  color: #fff;
  transform: translateY(10px);
  transition: transform .55s var(--ease-out);
}
.proj:hover .proj__body { transform: none; }
.proj__cat {
  display: inline-block;
  font-family: var(--font-display); font-size: .66rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-lt);
  margin-bottom: 8px;
}
.proj__title {
  display: block;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600;
  letter-spacing: -.015em; line-height: 1.3;
  text-wrap: balance;
}
.proj__view {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.8);
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease-out);
}
.proj:hover .proj__view { opacity: 1; transform: none; }
.proj.is-hidden { display: none; }

/* Video project card */
.proj__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none;
}
.proj__play span {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff;
  transition: transform .5s var(--ease-out), background-color .4s var(--ease);
}
.proj:hover .proj__play span { transform: scale(1.09); background: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(14, 26, 36, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
  padding: 18px clamp(12px, 4vw, 44px) 26px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--on-dark-dim); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 500;
  padding-bottom: 14px;
}
.lightbox__stage {
  display: flex; align-items: center; justify-content: center; min-height: 0; height: 100%; overflow: hidden; position: relative;
}
.lightbox__stage img, .lightbox__stage video {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  border-radius: var(--r-sm);
  object-fit: contain;
  opacity: 0; transform: scale(.97);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.lightbox.is-open .lightbox__stage img,
.lightbox.is-open .lightbox__stage video { opacity: 1; transform: none; }
.lightbox__foot {
  padding-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: #fff;
}
.lightbox__meta .cat {
  display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-lt); font-family: var(--font-display); font-weight: 600; margin-bottom: 6px;
}
.lightbox__meta .ttl { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; }
.lb-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark-2); color: #fff;
  transition: background-color .3s var(--ease), border-color .3s, transform .3s var(--ease-out);
}
.lb-btn:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
.lightbox__nav { display: flex; gap: 10px; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form { display: grid; gap: 18px; }
@media (min-width: 720px) { .form--2col { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--on-light-dim);
}
.field .req { color: var(--accent); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-light-2);
  border-radius: var(--r-sm);
  font-size: .95rem;
  color: var(--on-light);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A6270' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(61, 106, 138, .16);
}
.field input::placeholder, .field textarea::placeholder { color: #A4ABB6; }

.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 112, 63, .12);
}
.field__err {
  display: none;
  font-size: .78rem; color: var(--accent); font-weight: 500;
}
.field.has-error .field__err { display: block; }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line-light-2);
  border-radius: var(--r-pill);
  font-size: .86rem; font-weight: 500;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease-out);
}
.radio-chip span:hover { transform: translateY(-1px); }
.radio-chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.radio-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-note { font-size: .8rem; color: var(--on-light-dim); }

.form-status {
  display: none;
  align-items: flex-start; gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: rgba(31, 168, 85, .1);
  border: 1px solid rgba(31, 168, 85, .35);
  color: #14663A;
  font-size: .9rem;
  line-height: 1.55;
}
.form-status.is-shown { display: flex; }
.form-status svg { flex: none; margin-top: 2px; color: #1FA855; }

/* ==========================================================================
   Floating WhatsApp + mobile action bar
   ========================================================================== */

.wa-float {
  position: fixed;
  right: clamp(14px, 2.4vw, 26px);
  bottom: clamp(14px, 2.4vw, 26px);
  z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  height: 56px; padding: 0 8px 0 0;
  border-radius: var(--r-pill);
  background: #1FA855;
  color: #fff;
  box-shadow: 0 12px 32px rgba(31, 168, 85, .32), var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s;
  overflow: hidden;
}
.wa-float__icon { width: 56px; height: 56px; display: grid; place-items: center; flex: none; }
.wa-float__label {
  font-family: var(--font-display); font-weight: 600; font-size: .87rem;
  white-space: nowrap;
  max-width: 0; opacity: 0;
  transition: max-width .55s var(--ease-out), opacity .35s var(--ease), padding-right .55s var(--ease-out);
  padding-right: 0;
}
.wa-float:hover { transform: translateY(-3px); background: #17864A; box-shadow: 0 14px 38px rgba(31, 168, 85, .45); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label {
  max-width: 220px; opacity: 1; padding-right: 16px;
}
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid rgba(31, 168, 85, .55);
  animation: waPulse 2.8s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}
@media (max-width: 767px) {
  .wa-float { bottom: 76px; height: 52px; }
  .wa-float__icon { width: 52px; height: 52px; }
}

/* Sticky mobile call bar */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 91;
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(18, 34, 47, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 768px) { .mobile-bar { display: none; } }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 17px 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .87rem;
  color: #fff;
}
.mobile-bar a + a { border-left: 1px solid var(--line-dark); }
.mobile-bar a:first-child { color: #fff; }
.mobile-bar__wa { color: #4FE08A !important; }
@media (max-width: 767px) { body { padding-bottom: 60px; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.site-footer__top {
  display: grid; gap: clamp(34px, 5vw, 56px);
  padding-block: clamp(56px, 7vw, 88px) clamp(38px, 4vw, 54px);
}
@media (min-width: 860px) {
  .site-footer__top { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.1fr); }
}
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { color: var(--on-dark-dim); font-size: .93rem; line-height: 1.68; max-width: 380px; }

.footer-col__h {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-faint);
  margin-bottom: 20px;
}
.footer-links li + li { margin-top: 12px; }
.footer-links a {
  font-size: .93rem; color: var(--on-dark-dim);
  transition: color .3s var(--ease), padding-left .35s var(--ease-out);
}
.footer-links a:hover { color: #fff; padding-left: 5px; }

.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: .93rem; color: var(--on-dark-dim); line-height: 1.55; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--accent); }
.footer-contact a { transition: color .3s; }
.footer-contact a:hover { color: #fff; }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark-2); color: var(--on-dark-dim);
  transition: background-color .35s var(--ease), color .35s, border-color .35s, transform .4s var(--ease-out);
}
.socials a:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-3px); }

.site-footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 24px 28px;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
  font-size: .82rem; color: var(--on-dark-faint);
}
.site-footer__bottom a { color: var(--on-dark-dim); }
.site-footer__bottom a:hover { color: #fff; }
@media (max-width: 767px) { .site-footer__bottom { padding-bottom: 34px; } }

/* ==========================================================================
   Gallery filter transition
   ========================================================================== */

@keyframes projIn {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
