/* =========================================================
   AKRITI INTERIORS — Luxury Interior Design Studio
   style.css  (mobile-first)
   Breakpoints: 480 / 768 / 1024 / 1280
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --gold: #D4A762;
  --gold-light: #E8C48A;
  --gold-deep: #B88A45;
  --dark: #1A1410;
  --dark-soft: #2B211A;
  --dark-mid: #231A14;
  --cream: #F7F1EA;
  --cream-deep: #EFE5D8;
  --white: #FFFDF9;
  --text-light: #F5EFE8;
  --text-muted: #B8A99A;
  --text-dark: #2B211A;
  --text-body: #5E5146;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 14px;
  --shadow-sm: 0 4px 14px rgba(26, 20, 16, 0.08);
  --shadow: 0 18px 40px -12px rgba(26, 20, 16, 0.28);
  --shadow-gold: 0 10px 30px -8px rgba(212, 167, 98, 0.55);

  --container: 1320px;
  --gutter: 20px;
  --header-h: 84px;
  --section-pad: clamp(72px, 10vw, 130px);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-sans);
  font-size: clamp(15px, 0.95rem + 0.1vw, 16px);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip; /* clip doesn't make body a scroll container */
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
body.is-loading, body.no-scroll { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; color: var(--text-dark); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); font-weight: 500; }

::selection { background: var(--gold); color: var(--dark); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.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;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 2000;
  background: var(--gold); color: var(--dark); padding: 10px 18px; border-radius: 40px;
  transform: translateY(-150%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-pad); position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark); color: var(--text-muted); }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: clamp(11px, 0.7rem + 0.2vw, 14px);
  font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 42px; height: 2px; background: var(--gold); flex-shrink: 0; }
.eyebrow--dark { color: var(--text-dark); letter-spacing: 0.14em; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 42px; height: 2px; background: var(--gold); }

.section-title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); margin-bottom: 20px; letter-spacing: -0.01em; }
.section-title--light { color: var(--text-light); }
.section-text { max-width: 560px; margin-bottom: 30px; }
.section-text--light { color: var(--text-muted); }

.section-head { margin-bottom: clamp(40px, 6vw, 70px); }
.section-head--center { text-align: center; }
.section-head--center .section-text { margin-inline: auto; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--split .section-title { margin-bottom: 0; }

/* ---------- 4. Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px;
  border-radius: 50px; font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s, border-color .3s;
  isolation: isolate;
}
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: 13.5px; font-weight: 600; }
.btn--block { width: 100%; }
.btn__arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow, .service__link:hover .btn__arrow, .newsletter button:hover .btn__arrow { transform: translateX(5px); }

/* shine sweep */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: var(--dark); box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(212,167,98,.7); }

.btn--outline { border: 1.5px solid var(--text-dark); color: var(--text-dark); }
.btn--outline::after { background: linear-gradient(110deg, transparent 30%, rgba(212,167,98,.35) 50%, transparent 70%); }
.btn--outline:hover { background: var(--text-dark); color: var(--cream); transform: translateY(-2px); }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(43,33,26,.25); color: var(--text-dark);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.round-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); transform: scale(1.06); }

/* ---------- 5. Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--dark);
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { position: relative; width: 120px; height: 120px; }
.preloader__logo {
  position: absolute; inset: 10px; width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
  opacity: 0; transform: scale(.85); animation: logoIn 1s .3s var(--ease) forwards;
}
.preloader__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.preloader__ring circle {
  fill: none; stroke: var(--gold); stroke-width: 1.5;
  stroke-dasharray: 352; stroke-dashoffset: 352;
  animation: drawRing 1.6s var(--ease) forwards;
}
.preloader__line { width: 0; height: 1px; background: var(--gold); animation: drawLine 1.2s .5s var(--ease) forwards; }
.preloader__text {
  font-family: var(--font-serif); font-style: italic; color: var(--gold-light); letter-spacing: .2em; font-size: 14px;
  opacity: 0; animation: fadeIn .8s .9s forwards;
}
@keyframes drawRing { to { stroke-dashoffset: 0; } }
@keyframes drawLine { to { width: 160px; } }
@keyframes logoIn { to { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- 6. Custom cursor ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor-dot, .has-cursor .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 2500; pointer-events: none; border-radius: 50%;
  }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
  .cursor-ring {
    width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(212,167,98,.7);
    transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, opacity .3s;
  }
  .cursor-ring.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(212,167,98,.12); }
}

/* ---------- 7. Header & navigation ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  transition: height .5s var(--ease), background-color .5s, box-shadow .5s, backdrop-filter .5s;
}
.header::after { /* soft top gradient for readability while transparent */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(26,20,16,.55), transparent);
  transition: opacity .5s;
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(26, 20, 16, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,.6);
}
.header.is-scrolled::after { opacity: 0; }
.header.is-scrolled .brand__mark { width: 44px; height: 44px; }

.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 1.5px var(--gold), 0 6px 18px rgba(0,0,0,.35);
  transition: width .5s var(--ease), height .5s var(--ease);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); color: var(--text-light); font-size: 19px; letter-spacing: .06em; font-weight: 500; }
.brand__name em { font-style: normal; color: var(--gold-light); }
.brand__tag { font-size: 10.5px; color: var(--gold); letter-spacing: .14em; margin-top: 4px; }

/* Desktop nav */
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 0; color: var(--text-light); font-size: 14.5px; font-weight: 400;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: center; transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-light); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__drop-toggle svg { transition: transform .3s var(--ease); }

.nav__item--dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; min-width: 230px;
  padding: 12px; border-radius: var(--radius);
  background: rgba(26,20,16,.94); border: 1px solid rgba(212,167,98,.2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.dropdown::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; } /* hover bridge */
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text-light);
  transition: background .25s, color .25s, padding-left .3s var(--ease);
}
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(212,167,98,.12); color: var(--gold-light); padding-left: 20px; }
.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown,
.nav__item--dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--dropdown:hover .nav__drop-toggle svg,
.nav__item--dropdown.is-open .nav__drop-toggle svg { transform: rotate(180deg); }

.header__cta { display: none; white-space: nowrap; }

/* Burger */
.burger {
  position: relative; z-index: 1100; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(212,167,98,.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 20px; height: 1.5px; background: var(--gold-light); transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(2) { width: 14px; margin-left: 6px; }
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1050;
  display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: 100px 32px 40px;
  background: radial-gradient(circle at 80% 10%, rgba(212,167,98,.12), transparent 50%), var(--dark);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu li { overflow: hidden; }
.mobile-menu li a {
  display: inline-block; padding: 6px 0;
  font-family: var(--font-serif); font-size: clamp(28px, 8vw, 40px); color: var(--text-light);
  transform: translateY(110%); transition: transform .7s var(--ease), color .3s;
}
.mobile-menu li a:hover { color: var(--gold); }
.mobile-menu.is-open li a { transform: translateY(0); }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .13s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .18s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .23s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .28s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .33s; }
.mobile-menu.is-open li:nth-child(7) a { transition-delay: .38s; }
.mobile-menu__cta { align-self: flex-start; opacity: 0; transform: translateY(20px); transition: opacity .6s .45s, transform .6s .45s var(--ease); }
.mobile-menu.is-open .mobile-menu__cta { opacity: 1; transform: none; }
.mobile-menu__contact { font-size: 13px; color: var(--text-muted); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--dark); color: var(--text-light);
}
.hero__slides { position: absolute; inset: 0; will-change: transform; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); overflow: hidden; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1.02); } }

.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(26,20,16,.92) 0%, rgba(26,20,16,.72) 38%, rgba(26,20,16,.25) 70%, rgba(26,20,16,.15) 100%),
    linear-gradient(0deg, rgba(26,20,16,.75) 0%, transparent 35%);
}

.hero__body {
  position: relative; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px;
}
.hero__content { max-width: 760px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hero__content.is-out { opacity: 0; transform: translateY(-12px); }
.hero__title {
  font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5.2rem); color: var(--white);
  font-weight: 500; line-height: 1.06; letter-spacing: -0.015em; margin-bottom: 24px;
}
.hero__title em { color: var(--gold-light); }
.hero__text { font-size: clamp(15px, .9rem + .3vw, 18.5px); color: rgba(245,239,232,.88); max-width: 520px; margin-bottom: 36px; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }

/* staggered text animation; .is-animating replays on slide change */
.hero__anim { opacity: 0; transform: translateY(28px); }
.hero__content.is-in .hero__anim {
  animation: heroIn 1s var(--ease) forwards;
  animation-delay: calc(var(--d) * 0.12s + 0.1s);
}
@keyframes heroIn { to { opacity: 1; transform: none; } }

.play-btn { display: inline-flex; align-items: center; gap: 14px; color: var(--text-light); font-size: 15px; min-height: 44px; }
.play-btn__circle {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.85);
  transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease);
}
.play-btn__circle svg { margin-left: 3px; }
.play-btn__circle::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--gold);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.play-btn:hover .play-btn__circle { background: var(--gold); border-color: var(--gold); color: var(--dark); transform: scale(1.06); }

.hero__dots { display: flex; gap: 12px; margin-top: 48px; }
.hero__dot {
  width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6);
  position: relative; transition: width .5s var(--ease), background .3s, border-color .3s;
}
.hero__dot::before { content: ""; position: absolute; inset: -16px; } /* 44px tap target */
.hero__dot.is-active { width: 34px; border-radius: 10px; background: var(--gold); border-color: var(--gold); }

.hero__arrow {
  position: absolute; top: 46%; z-index: 3; display: none;
  width: 52px; height: 52px; border-radius: 50%; place-items: center;
  color: var(--white); border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease);
}
.hero__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.hero__arrow--prev { left: 22px; }
.hero__arrow--next { right: 22px; }
.hero__arrow--prev:hover { transform: translateX(-3px); }
.hero__arrow--next:hover { transform: translateX(3px); }

/* Features strip */
.features {
  position: relative; z-index: 2;
  background: rgba(26,20,16,.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(212,167,98,.18);
}
.features__grid { display: grid; grid-template-columns: 1fr 1fr; }
.feature { display: flex; align-items: center; gap: 14px; padding: 20px 8px; color: var(--text-light); }
.feature p { font-size: 13px; line-height: 1.45; }
.feature__icon { width: 38px; height: 38px; color: var(--gold); flex-shrink: 0; transition: transform .5s var(--ease); }
.feature:hover .feature__icon { transform: translateY(-3px) scale(1.06); }
.feature:nth-child(odd) { padding-right: 12px; }
.feature:nth-child(-n+2) { border-bottom: 1px solid rgba(212,167,98,.18); }

/* ---------- 9. Portfolio ---------- */
.portfolio { overflow: hidden; overflow: clip; } /* clip keeps position:sticky working */
.leaf {
  position: absolute; pointer-events: none; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,167,98,.16), transparent 70%);
}
.leaf--left { top: -120px; left: -160px; }
.portfolio__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; position: relative; }
.portfolio__main { min-width: 0; }
.portfolio__intro .section-text { margin-bottom: 30px; }

.filters {
  display: flex; gap: 8px; margin-bottom: 26px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 4px; -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex-shrink: 0; min-height: 44px; padding: 8px 20px; border-radius: 40px;
  font-size: 14px; color: var(--text-dark); border: 1px solid rgba(43,33,26,.18);
  transition: background .35s var(--ease), color .35s, border-color .35s;
}
.filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter.is-active, .filter.is-active:hover { background: var(--text-dark); border-color: var(--text-dark); color: var(--gold-light); }

/* Mobile: horizontal swipe carousel */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }

.card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4; scroll-snap-align: start; cursor: pointer;
  background: var(--cream-deep); box-shadow: var(--shadow-sm);
  transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .5s;
}
/* higher specificity than [data-reveal].is-visible so the filter fade actually runs */
.gallery .card[data-reveal].is-visible { transition: opacity .32s var(--ease), transform .32s var(--ease), box-shadow .5s; transition-delay: 0s; }
.gallery .card.is-hiding, .gallery .card[data-reveal].is-hiding { opacity: 0; transform: scale(.94); }
.card[hidden] { display: none; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,.92) 0%, rgba(26,20,16,.35) 45%, transparent 70%);
  opacity: .8; transition: opacity .6s var(--ease);
}
.card__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px;
  color: var(--text-light); transform: translateY(24px); transition: transform .6s var(--ease);
}
.card__cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.card__info h3 { text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.card__info h3 { color: var(--white); font-size: 19px; margin: 4px 0 2px; }
.card__info p { font-size: 13px; color: var(--text-muted); opacity: 0; transition: opacity .5s .1s; }
.card__plus {
  position: absolute; right: 18px; top: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; font-weight: 300; line-height: 1;
  background: var(--gold); color: var(--dark);
  opacity: 0; transform: scale(.5) rotate(-90deg); transition: transform .5s var(--ease), opacity .4s;
}
.card:hover img, .card:focus-visible img { transform: scale(1.1); }
.card:hover::after, .card:focus-visible::after { opacity: 1; }
.card:hover .card__info, .card:focus-visible .card__info { transform: translateY(0); }
.card:hover .card__info p, .card:focus-visible .card__info p { opacity: 1; }
.card:hover .card__plus, .card:focus-visible .card__plus { opacity: 1; transform: scale(1) rotate(0); }
.card:hover { box-shadow: var(--shadow); }
@media (hover: none) { /* touch: show captions by default */
  .card::after { opacity: 1; }
  .card__info { transform: none; }
  .card__info p { opacity: 1; }
}

/* ---------- 10. About ---------- */
.about { background: var(--white); }
.about__grid { display: grid; gap: 60px; align-items: center; }
.about__collage { position: relative; padding: 0 0 60px 0; max-width: 620px; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { position: relative; width: 82%; aspect-ratio: 4 / 5; }
.about__img--small {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1;
  border: 8px solid var(--white);
}
.about__badge {
  position: absolute; top: 28px; right: 4%;
  display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--dark); color: var(--text-light); box-shadow: var(--shadow);
}
.about__badge strong { font-family: var(--font-serif); font-size: 40px; color: var(--gold); line-height: 1; font-weight: 500; }
.about__badge span { font-size: 12.5px; line-height: 1.4; color: var(--text-muted); }

.about__points { display: grid; gap: 12px; margin-bottom: 40px; }
.about__points li { position: relative; padding-left: 32px; color: var(--text-dark); }
.about__points li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(212,167,98,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B88A45' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(212,167,98,.3); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--cream); padding: 24px 18px; text-align: center; }
.stat strong { display: block; font-family: var(--font-serif); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); color: var(--gold-deep); line-height: 1.1; font-weight: 500; }
.stat > span { font-size: 13px; color: var(--text-body); letter-spacing: .03em; }

/* image reveal mask */
.img-reveal::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  transform-origin: right; transition: transform 1.2s var(--ease); transition-delay: var(--delay, 0s);
}
.img-reveal img { transform: scale(1.25); transition: transform 1.8s var(--ease); transition-delay: var(--delay, 0s); }
.img-reveal.is-visible::after { transform: scaleX(0); }
.img-reveal.is-visible img { transform: scale(1); }

/* ---------- 11. Services ---------- */
.services { overflow: hidden; }
.services::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -300px; top: -250px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,167,98,.10), transparent 65%); pointer-events: none;
}
.services__grid { display: grid; gap: 20px; position: relative; }
.service {
  position: relative; padding: 38px 30px 34px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--dark-soft), var(--dark-mid));
  border: 1px solid rgba(212,167,98,.14);
  transition: transform .6s var(--ease), border-color .5s, box-shadow .6s var(--ease);
}
.service:hover {
  transform: translateY(-10px); border-color: rgba(212,167,98,.7);
  box-shadow: 0 0 0 1px rgba(212,167,98,.25), 0 24px 50px -20px rgba(212,167,98,.45);
}
.service__num { position: absolute; top: 26px; right: 28px; font-family: var(--font-serif); font-size: 42px; color: rgba(212,167,98,.12); line-height: 1; transition: color .5s; }
.service:hover .service__num { color: rgba(212,167,98,.3); }
.service__icon { width: 54px; height: 54px; color: var(--gold); margin-bottom: 26px; transition: transform .7s var(--ease); }
.service:hover .service__icon { transform: rotate(-10deg) scale(1.08); }
.service h3 { color: var(--text-light); font-size: 23px; margin-bottom: 12px; }
.service p { font-size: 14.5px; margin-bottom: 22px; }
.service__link { display: inline-flex; gap: 8px; align-items: center; color: var(--gold); font-size: 14px; font-weight: 500; min-height: 44px; }

/* ---------- 12. Process ---------- */
.process__steps { position: relative; display: grid; gap: 40px; padding-left: 0; }
.process__line {
  position: absolute; left: 39px; top: 40px; bottom: 40px; width: 2px;
  background: rgba(212,167,98,.22);
}
.process__line span {
  position: absolute; inset: 0; background: linear-gradient(var(--gold-light), var(--gold-deep));
  transform: scaleY(0); transform-origin: top;
}
.step { position: relative; display: grid; grid-template-columns: 80px 1fr; column-gap: 22px; align-items: start; align-content: start; }
.step__icon {
  grid-row: span 2; position: relative; width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-deep);
  background: var(--white); border: 1px solid rgba(212,167,98,.45);
  box-shadow: 0 0 0 8px var(--cream), var(--shadow-sm);
  transition: background .5s, color .5s, transform .5s var(--ease);
}
.step__icon svg { width: 34px; height: 34px; }
.step:hover .step__icon { background: var(--dark); color: var(--gold); transform: translateY(-4px); }
.step__num {
  position: absolute; top: -4px; right: -6px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 600;
  background: var(--gold); color: var(--dark);
}
.step h3 { font-size: 24px; margin: 8px 0 6px; }
.step p { font-size: 14.5px; max-width: 280px; }

/* ---------- 12b. Photo gallery (bento grid) ---------- */
.pgallery { background: var(--dark-soft); }
.pgallery__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 150px; grid-auto-flow: dense; gap: 10px;
}
.gitem--tall { grid-row: span 2; }
.gitem--wide { grid-column: span 2; }
.gitem--big { grid-column: span 2; grid-row: span 2; }
.gitem--full { grid-column: 1 / -1; } /* full-row tile for panoramas */
.gitem {
  position: relative; margin: 0; overflow: hidden; cursor: zoom-in;
  border-radius: var(--radius); background: var(--dark); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6);
}
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gitem::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(26,20,16,.9), rgba(26,20,16,0) 55%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.gitem figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  font-family: var(--font-serif); font-size: 17px; line-height: 1.25; color: var(--white);
  opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gitem figcaption span { display: block; font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.gitem:hover img, .gitem:focus-visible img { transform: scale(1.07); }
.gitem:hover::after, .gitem:focus-visible::after,
.gitem:hover figcaption, .gitem:focus-visible figcaption { opacity: 1; transform: none; }
.gitem.is-extra { display: none; }
.pgallery__grid.is-expanded .gitem.is-extra { display: block; }
.pgallery__more { text-align: center; margin-top: 36px; }
@media (hover: none) {
  .gitem::after { opacity: .75; }
  .gitem figcaption { opacity: 1; transform: none; font-size: 14px; left: 12px; right: 12px; bottom: 10px; }
  .gitem figcaption span { font-size: 9.5px; }
}
@media (min-width: 768px) { .pgallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 16px; } }
@media (min-width: 1024px) { .pgallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 18px; } }
/* ---- Location albums ---- */
.palbums { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .palbums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .palbums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.palbum {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0;
  overflow: hidden; cursor: pointer; text-align: left; color: var(--white);
  border-radius: var(--radius); background: var(--dark); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6);
}
.palbum img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.palbum::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(26,20,16,.92), rgba(26,20,16,.15) 60%, rgba(26,20,16,0));
}
.palbum__body { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: block; }
.palbum__client { display: block; font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.palbum__loc { display: block; font-family: var(--font-serif); font-size: 24px; line-height: 1.2; }
.palbum__count { display: inline-block; margin-top: 8px; font-family: var(--font-sans); font-size: 13px; opacity: .85; }
.palbum:hover img, .palbum:focus-visible img { transform: scale(1.07); }
.palbum:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.palbums[hidden], .palbum-view[hidden] { display: none; }
.palbum-view__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.palbum-view__back {
  background: none; border: 1px solid var(--gold-light); color: var(--gold-light); border-radius: 999px;
  padding: 9px 18px; font-family: var(--font-sans); font-size: 13px; letter-spacing: .06em; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.palbum-view__back:hover, .palbum-view__back:focus-visible { background: var(--gold-light); color: var(--dark); }
.palbum-view__title { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 26px; color: var(--white); }
.palbum-view__title span { display: block; font-family: var(--font-sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-top: 4px; }
@media (min-width: 640px) { .palbum-view__title { text-align: right; } }
/* All-landscape photo set: 2 columns on tablet so wide tiles don't leave gaps */
@media (min-width: 768px) and (max-width: 1023px) { .pgallery__grid--landscape { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 13. Testimonials ---------- */
.testimonials { background: var(--white); }
.tslider { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.tslider__quote {
  position: absolute; top: -70px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: 220px; line-height: 1; color: rgba(212,167,98,.22);
  pointer-events: none; user-select: none;
}
.tslider__viewport { overflow: hidden; position: relative; }
.tslider__track { display: flex; transition: transform .9s var(--ease); touch-action: pan-y; }
.tcard { flex: 0 0 100%; padding: 20px 6px 10px; }
.stars { color: var(--gold); letter-spacing: 6px; font-size: 18px; margin-bottom: 22px; }
.tcard p {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
  line-height: 1.55; color: var(--text-dark); margin-bottom: 34px;
}
.tcard__author { display: inline-flex; align-items: center; gap: 16px; text-align: left; }
.tcard__author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--white), 0 0 0 4.5px var(--gold); }
.tcard__author cite { display: block; font-style: normal; font-family: var(--font-serif); font-size: 19px; color: var(--text-dark); }
.tcard__author span { font-size: 13px; color: var(--text-muted); }
.tslider__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.tslider__dots { display: flex; gap: 10px; }
.tslider__dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(43,33,26,.18); transition: width .5s var(--ease), background .3s; position: relative; }
.tslider__dots button::before { content: ""; position: absolute; inset: -17px -6px; }
.tslider__dots button.is-active { width: 30px; border-radius: 10px; background: var(--gold); }

/* ---------- 15. CTA + Form ---------- */
.cta { position: relative; overflow: hidden; padding-block: var(--section-pad); color: var(--text-light); background: var(--dark); }
.cta__bg { position: absolute; inset: -25% 0; will-change: transform; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(26,20,16,.94) 20%, rgba(26,20,16,.72) 60%, rgba(26,20,16,.55)); }
.cta__grid { position: relative; display: grid; gap: 50px; align-items: center; }
.cta__contact { display: grid; gap: 14px; }
.cta__contact li { display: flex; align-items: center; gap: 14px; color: var(--text-light); }
.cta__contact svg { color: var(--gold); flex-shrink: 0; }
.cta__contact a:hover { color: var(--gold-light); }

.glass {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.form { padding: clamp(26px, 4vw, 42px); border-radius: var(--radius-lg); }
.form__title { color: var(--text-light); font-size: clamp(22px, 1.2rem + .8vw, 28px); margin-bottom: 26px; }
.form__row { display: grid; gap: 0 18px; }

.field { position: relative; margin-bottom: 20px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 22px 16px 8px;
  background: rgba(26,20,16,.35); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm);
  color: var(--text-light); font-size: 15px; outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 104px; padding-top: 26px; }
.field select { cursor: pointer; padding-right: 40px; }
.field select option { background: var(--dark-soft); color: var(--text-light); }
.field--select::after {
  content: ""; position: absolute; right: 18px; top: 24px; width: 8px; height: 8px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); pointer-events: none;
}
.field label {
  position: absolute; left: 17px; top: 16px; font-size: 15px; color: var(--text-muted);
  pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); background: rgba(26,20,16,.5); box-shadow: 0 0 0 3px rgba(212,167,98,.18);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label {
  transform: translateY(-9px) scale(.75); color: var(--gold-light);
}
.field.is-invalid input, .field.is-invalid select { border-color: #E07A6A; }
.field__error { display: block; min-height: 0; font-size: 12px; color: #F0A090; margin-top: 4px; }
.form__success { margin-top: 16px; font-size: 14.5px; color: var(--gold-light); text-align: center; }
.form__success:empty { display: none; }

/* ---------- 15b. Visit / Map ---------- */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
.visit__list { display: grid; gap: 22px; margin-bottom: 34px; }
.visit__list li { display: flex; gap: 16px; align-items: flex-start; }
.visit__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--gold-deep); border: 1px solid rgba(212,167,98,.4); box-shadow: var(--shadow-sm);
}
.visit__list strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 18px; color: var(--text-dark); margin-bottom: 2px; }
.visit__list a:hover { color: var(--gold-deep); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.visit__map {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 340px;
  box-shadow: var(--shadow); border: 6px solid var(--white); background: var(--cream-deep);
}
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.18) saturate(.9); }
@media (min-width: 768px) { .visit__map { height: 420px; } }
@media (min-width: 1024px) { .visit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 70px; } .visit__map { height: 460px; } }

/* ---------- 16. Footer ---------- */
.footer { background: var(--dark); color: var(--text-muted); padding-top: clamp(64px, 8vw, 100px); font-size: 14.5px; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 54px; }
.brand--footer { margin-bottom: 20px; }
.brand--footer .brand__mark { width: 56px; height: 56px; }
.footer__about p { max-width: 340px; margin-bottom: 24px; }
.footer h4 { color: var(--text-light); font-size: 20px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 1.5px; background: var(--gold); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col ul a { position: relative; transition: color .3s, padding-left .4s var(--ease); }
.footer__col ul a:hover { color: var(--gold-light); padding-left: 6px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { color: var(--gold); margin-top: 5px; flex-shrink: 0; }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(212,167,98,.3); color: var(--text-light);
  transition: background .35s, color .35s, border-color .35s, transform .4s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); transform: translateY(-4px); }

.newsletter { display: flex; margin-top: 24px; border: 1px solid rgba(212,167,98,.35); border-radius: 50px; overflow: hidden; transition: border-color .3s; }
.newsletter:focus-within { border-color: var(--gold); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; padding: 12px 18px; color: var(--text-light); font-size: 14px; }
.newsletter input::placeholder { color: var(--text-muted); }
.newsletter button { width: 50px; min-height: 46px; background: var(--gold); color: var(--dark); font-size: 18px; transition: background .3s; }
.newsletter button:hover { background: var(--gold-light); }
.newsletter__msg { font-size: 13px; color: var(--gold-light); margin-top: 8px; min-height: 1em; }

.footer__bottom { border-top: 1px solid rgba(212,167,98,.14); padding-block: 22px; font-size: 13px; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer__bottom a:hover { color: var(--gold-light); }

/* ---------- 17. Floating buttons ---------- */
.whatsapp, .to-top {
  position: fixed; right: 18px; z-index: 900; border-radius: 50%; display: grid; place-items: center;
  transition: transform .4s var(--ease), opacity .4s, visibility .4s, background .3s;
}
.whatsapp { bottom: 18px; width: 58px; height: 58px; background: #25D366; color: #fff; box-shadow: 0 10px 25px -6px rgba(37,211,102,.6); }
.whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2.6s var(--ease) infinite; }
.whatsapp:hover { transform: scale(1.08); }
.to-top {
  bottom: 88px; width: 46px; height: 46px; background: var(--dark-soft); color: var(--gold);
  border: 1px solid rgba(212,167,98,.4);
  opacity: 0; visibility: hidden; transform: translateY(14px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--dark); }

/* ---------- 18. Modal & Lightbox ---------- */
.modal, .lightbox {
  position: fixed; inset: 0; z-index: 2200; display: grid; place-items: center; padding: 20px;
  opacity: 0; transition: opacity .45s var(--ease);
}
.modal.is-open, .lightbox.is-open { opacity: 1; }
.modal[hidden], .lightbox[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,8,6,.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__box {
  position: relative; width: min(1000px, 100%); aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: visible; background: #000; box-shadow: 0 40px 80px rgba(0,0,0,.6);
  transform: scale(.92); transition: transform .6s var(--ease);
}
.modal.is-open .modal__box { transform: scale(1); }
.modal__box video { width: 100%; height: 100%; border-radius: var(--radius); object-fit: cover; }
.modal__close, .lightbox__close {
  position: absolute; top: -56px; right: 0; width: 46px; height: 46px; border-radius: 50%;
  color: var(--text-light); font-size: 30px; line-height: 1; border: 1px solid rgba(255,255,255,.3);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.modal__close:hover, .lightbox__close:hover { background: var(--gold); color: var(--dark); transform: rotate(90deg); }

.lightbox { background: rgba(10,8,6,.94); }
.lightbox__close { top: 18px; right: 18px; z-index: 2; }
.lightbox__figure { max-width: min(1200px, 100%); text-align: center; transform: scale(.95); transition: transform .5s var(--ease); }
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__figure img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0,0,0,.6); transition: opacity .35s; }
.lightbox__figure img.is-switching { opacity: 0; }
.lightbox__figure figcaption { margin-top: 16px; color: var(--text-light); font-family: var(--font-serif); font-size: 20px; }
.lightbox__figure figcaption span { display: block; font-family: var(--font-sans); font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.lightbox__nav {
  position: absolute; top: 50%; z-index: 2; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-light);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  transition: background .3s, color .3s;
}
.lightbox__nav:hover { background: var(--gold); color: var(--dark); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* ---------- 19. Scroll reveal ---------- */
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0s); }
[data-reveal="fade-up"] { transform: translateY(40px); }
[data-reveal="fade-left"] { transform: translateX(50px); }
[data-reveal="fade-right"] { transform: translateX(-50px); }
[data-reveal="scale-in"] { transform: scale(.92); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.img-reveal[data-reveal] { opacity: 1; transform: none; } /* mask handles it */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE (mobile-first)
   ========================================================= */
@media (min-width: 480px) {
  :root { --gutter: 24px; }
  .gallery { grid-auto-columns: 58%; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 26px 10px; }
}

@media (min-width: 768px) {
  :root { --gutter: 36px; }
  .hero__arrow { display: grid; }
  .hero__body { padding-inline: 90px; }
  .feature { padding: 24px 20px; }
  .feature p { font-size: 14.5px; }

  /* portfolio: 2-column grid instead of carousel */
  .gallery {
    grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto;
    overflow: visible; margin-inline: 0; padding-inline: 0; gap: 20px;
  }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .about__collage { margin-inline: auto; width: 100%; }

  /* process: horizontal */
  .process__steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .process__line { left: 12.5%; right: 12.5%; top: 40px; bottom: auto; width: auto; height: 2px; }
  .process__line span { transform: scaleX(0); transform-origin: left; }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .step__icon { grid-row: auto; margin-bottom: 18px; }
  .step p { margin-inline: auto; }
}

@media (min-width: 1024px) {
  .burger, .mobile-menu { display: none; }
  .nav { display: block; }
  .header__cta { display: inline-flex; }

  .features__grid { grid-template-columns: repeat(4, 1fr); }
  .feature { justify-content: center; padding: 26px 18px; }
  .feature:nth-child(-n+2) { border-bottom: 0; }
  .feature + .feature { border-left: 1px solid rgba(212,167,98,.3); }

  .portfolio__layout { grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); gap: 50px; align-items: start; }
  .portfolio__intro { position: sticky; top: 110px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }

  .about__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .cta__grid { grid-template-columns: 1fr 1fr; gap: 70px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 50px; }
}

@media (min-width: 1280px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .hero__body { padding-inline: var(--gutter); }
  .hero__arrow--prev { left: 30px; }
  .hero__arrow--next { right: 30px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav__list { gap: 16px; }
  .nav__link { font-size: 13.5px; }

  .brand__tag { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .header__cta { display: none; }
}
@media (min-width: 1280px) and (max-width: 1440px) {
  .hero__body { padding-inline: 100px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero__anim, [data-reveal] { opacity: 1 !important; transform: none !important; }
  .img-reveal::after { display: none; }
  .img-reveal img, .hero__slide img { transform: none !important; }
}
