:root {
  --ink: #1f1c1a;
  --ink-soft: #2a2623;
  --muted: #8a8178;
  --line: rgba(31, 28, 26, .1);
  --bg: #faf8f5;
  --panel: #ffffff;
  --sand: #ebe4d8;
  --gold: #c9a87c;
  --gold-soft: rgba(201, 168, 124, .35);
  --shadow: 0 18px 50px rgba(31, 28, 26, .12);
  --radius: 22px;
  --font: "Vazirmatn", "Tahoma", sans-serif;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Great Vibes", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.25; margin: 0; font-weight: 800; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Glow */
.glow {
  position: relative;
}
.glow::after {
  content: "";
  position: absolute;
  inset: -8% -6%;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, var(--gold-soft), transparent 68%);
  z-index: -1;
  opacity: .85;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.glow:hover::after {
  opacity: 1;
  transform: scale(1.04);
}

/* Buttons */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.pill-btn:hover { transform: translateY(-2px); }
.pill-btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 28, 26, .22);
}
.pill-btn--dark:hover {
  background: #000;
  box-shadow: 0 14px 34px rgba(31, 28, 26, .3);
}
.pill-btn--light {
  background: #fff;
  color: var(--ink);
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.pill-btn--light:hover {
  background: var(--sand);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color .2s ease, gap .2s ease;
}
.text-link:hover { color: var(--gold); gap: 10px; }

.sec-en {
  display: block;
  font-family: var(--display);
  letter-spacing: .22em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.sec-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sec-head--port p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Header */
.topbar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  padding: 18px 0;
}
.topbar.is-solid {
  position: fixed;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  animation: drop .35s ease;
}
@keyframes drop {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 12px rgba(201,168,124,.45));
  transition: transform .3s ease;
}
.brand:hover img { transform: scale(1.06) rotate(-4deg); }
.brand b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  transition: color .25s ease;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: .28em;
  color: rgba(255,255,255,.7);
  transition: color .25s ease;
}
.topbar.is-solid .brand b { color: var(--ink); }
.topbar.is-solid .brand small { color: var(--muted); }
.brand--light b, .brand--light small { color: #fff; }
.brand--light img { filter: invert(1) drop-shadow(0 0 10px rgba(255,255,255,.25)); }
.topbar:not(.is-solid) .brand img {
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(201,168,124,.45));
}

.nav {
  display: flex;
  gap: 22px;
}
.nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  position: relative;
  transition: color .2s ease;
}
.topbar.is-solid .nav a { color: var(--ink-soft); }
.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav a:hover, .nav a.is-on { color: #fff; }
.topbar.is-solid .nav a:hover,
.topbar.is-solid .nav a.is-on { color: var(--ink); }
.nav a:hover::after, .nav a.is-on::after { width: 100%; }

.topbar .pill-btn--light {
  background: rgba(255,255,255,.95);
}
.topbar.is-solid .pill-btn--light {
  background: var(--ink);
  color: #fff;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.18);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}
.topbar.is-solid .burger { background: var(--sand); }
.topbar.is-solid .burger span { background: var(--ink); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 70px;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,15,13,.72) 0%, rgba(18,15,13,.35) 48%, rgba(18,15,13,.12) 100%),
    linear-gradient(180deg, rgba(18,15,13,.35) 0%, transparent 28%, rgba(18,15,13,.45) 100%);
}
.hero__script {
  position: absolute;
  left: 6%;
  top: 42%;
  margin: 0;
  font-family: var(--script);
  font-size: clamp(48px, 8vw, 96px);
  color: rgba(255,255,255,.28);
  pointer-events: none;
  text-shadow: 0 0 40px rgba(201,168,124,.25);
  animation: floatSoft 6s ease-in-out infinite;
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero__grid { position: relative; z-index: 1; width: 100%; }
.hero__copy { max-width: 560px; }
.hero__kicker {
  margin: 0 0 14px;
  letter-spacing: .28em;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  font-family: var(--display);
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  margin-bottom: 14px;
  text-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.hero__lead {
  margin: 0 0 26px;
  color: rgba(255,255,255,.84);
  font-size: 15.5px;
  max-width: 42ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.video-link:hover { transform: translateX(-4px); opacity: .9; }
.video-link__play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 0 24px rgba(201,168,124,.35);
  transition: background .25s ease, box-shadow .25s ease;
}
.video-link:hover .video-link__play {
  background: rgba(255,255,255,.28);
  box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 0 30px rgba(201,168,124,.5);
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  max-width: 520px;
}
.avatars {
  display: flex;
  flex-shrink: 0;
}
.avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.9);
  margin-left: -10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: transform .25s ease;
}
.avatars img:first-child { margin-left: 0; }
.avatars:hover img { transform: translateY(-2px); }
.hero__proof > div:nth-child(2) {
  flex: 1 1 auto;
  min-width: 140px;
}
.hero__proof b { display: block; font-size: 14px; }
.hero__proof small { color: rgba(255,255,255,.7); font-size: 12px; }
.seal {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 9px;
  line-height: 1.25;
  padding: 10px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 28px rgba(201,168,124,.3), inset 0 0 0 1px rgba(255,255,255,.25);
}
.seal::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.45);
  animation: spinSlow 22s linear infinite;
  pointer-events: none;
}
.seal i { font-size: 16px; color: var(--gold); margin-bottom: 2px; }
.seal span { position: relative; z-index: 1; }
@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

/* Services */
.services {
  padding: 88px 0 40px;
  background: var(--panel);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.svc {
  text-align: center;
  transition: transform .3s ease;
}
.svc:hover { transform: translateY(-6px); }
.svc__media {
  position: relative;
  margin-bottom: 22px;
  border-radius: 999px 999px 18px 18px;
  overflow: visible;
}
.svc__media img {
  width: 100%;
  aspect-ratio: 3/4.1;
  object-fit: cover;
  border-radius: 999px 999px 18px 18px;
  transition: transform .45s ease, filter .35s ease;
}
.svc:hover .svc__media img {
  transform: scale(1.04);
  filter: brightness(1.05);
}
.svc__icon {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(31,28,26,.14);
  color: var(--ink);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.svc:hover .svc__icon {
  background: var(--ink);
  color: #fff;
  transform: translateX(-50%) scale(1.08);
}
.svc h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0 8px;
}
.svc ul {
  color: var(--muted);
  font-size: 12.5px;
  margin-bottom: 12px;
  min-height: 72px;
}
.svc ul li + li { margin-top: 2px; }
.svc button {
  background: none;
  border: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: color .2s ease, gap .2s ease;
}
.svc button:hover { color: var(--gold); gap: 10px; }

/* Traits */
.traits {
  padding: 28px 0 70px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.traits__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 10px;
}
.traits article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 8px;
  transition: transform .25s ease;
}
.traits article:hover { transform: translateY(-3px); }
.traits i {
  font-size: 26px;
  color: var(--ink-soft);
  transition: color .25s ease, text-shadow .25s ease;
}
.traits article:hover i {
  color: var(--gold);
  text-shadow: 0 0 18px var(--gold-soft);
}
.traits h3 {
  font-size: 14px;
  font-weight: 700;
}

/* About */
.about {
  padding: 90px 0;
  background: linear-gradient(180deg, #f3efe8 0%, var(--bg) 100%);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}
.about__shot {
  border-radius: 28px;
  overflow: visible;
}
.about__shot img {
  width: 100%;
  height: min(520px, 58vw);
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: transform .45s ease;
}
.about__shot:hover img { transform: scale(1.02); }
.about__card {
  background: var(--sand);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.about__card h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  margin-bottom: 8px;
}
.about__card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.about__card p {
  color: #5c554c;
  margin: 0 0 22px;
  font-size: 14.5px;
}

/* Portfolio */
.portfolio {
  padding: 80px 0 70px;
  background: var(--panel);
}
.port-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.port-track::-webkit-scrollbar { display: none; }
.port-card {
  flex: 0 0 calc((100% - 64px) / 5);
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: visible;
  margin: 8px 0;
}
.port-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 18px;
  transition: transform .4s ease, filter .35s ease;
}
.port-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.06) saturate(1.05);
}
.slider-nav {
  display: flex;
  gap: 8px;
}
.slider-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.slider-nav button:hover {
  background: var(--ink);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(31,28,26,.2);
}

/* Reviews */
.reviews {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, var(--bg), #f3efe8);
}
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rev {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(31,28,26,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.rev:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(31,28,26,.1);
}
.rev__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.rev__top img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold-soft);
}
.rev__top b { display: block; font-size: 14px; }
.stars { color: #d4a84b; letter-spacing: 1px; font-size: 13px; }
.rev__q {
  margin-right: auto;
  color: var(--sand);
  font-size: 28px;
}
.rev p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: var(--panel);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}
.contact h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 10px;
}
.contact > .shell > div > p,
.contact__grid > div > p {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 42ch;
}
.contact__list {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
.contact__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact__list li:hover {
  transform: translateX(-4px);
  box-shadow: 0 10px 24px rgba(31,28,26,.06);
}
.contact__list i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  flex-shrink: 0;
}
.contact__list small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.contact__list a, .contact__list span {
  font-weight: 700;
  font-size: 14px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.socials a:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-3px);
}
.contact__map {
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
  position: relative;
}
.contact__map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201,168,124,.25);
  border-radius: inherit;
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(.15) contrast(1.05);
}

/* CTA + footer */
.cta-band {
  background:
    radial-gradient(circle at 20% 30%, rgba(201,168,124,.18), transparent 40%),
    linear-gradient(135deg, #1a1715, #2c2723 55%, #1a1715);
  color: #fff;
  padding: 56px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-band h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 6px;
}
.cta-band p {
  margin: 0;
  color: rgba(255,255,255,.7);
}
.foot {
  background: #141211;
  color: rgba(255,255,255,.72);
  padding: 28px 0 36px;
}
.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.foot__nav a {
  font-size: 13px;
  transition: color .2s ease;
}
.foot__nav a:hover { color: var(--gold); }
.foot p { margin: 0; font-size: 12.5px; }

/* Modals shared */
.bmodal-root, .smodal-root, .vmodal-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.bmodal-root.is-open,
.smodal-root.is-open,
.vmodal-root.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.bmodal-root__veil,
.smodal-root__veil,
.vmodal-root__veil {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, .62);
  backdrop-filter: blur(6px);
}
.bmodal, .smodal, .vmodal {
  position: relative;
  z-index: 1;
  transform: translateY(16px) scale(.97);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}
.bmodal-root.is-open .bmodal,
.smodal-root.is-open .smodal,
.vmodal-root.is-open .vmodal { transform: none; }

.bmodal {
  width: min(860px, 100%);
  max-height: min(92vh, 700px);
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.bmodal__side {
  position: relative;
  min-height: 280px;
}
.bmodal__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bmodal__side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20,16,12,.75));
}
.bmodal__side > div {
  position: absolute;
  inset-inline: 20px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
}
.bmodal__side b {
  font-family: var(--display);
  font-size: 28px;
  display: block;
}
.bmodal__side p { margin: 4px 0 0; opacity: .85; font-size: 13px; }
.bmodal__form {
  padding: 28px 26px;
  overflow: auto;
  display: grid;
  gap: 12px;
}
.bmodal__form h2 { font-size: 26px; }
.bmodal__sub { margin: -4px 0 4px; color: var(--muted); font-size: 13px; }
.bmodal__form label {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.bmodal__form input,
.bmodal__form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 14px;
  background: var(--bg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bmodal__form input:focus,
.bmodal__form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.bmodal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bmodal__close, .smodal__close, .vmodal__close {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .2s ease, filter .2s ease;
}
.bmodal__close:hover, .smodal__close:hover, .vmodal__close:hover {
  transform: scale(1.06);
  filter: brightness(1.1);
}

.smodal {
  width: min(920px, 100%);
  max-height: min(92vh, 640px);
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.smodal__media {
  margin: 18px;
  border-radius: 20px;
  overflow: visible;
}
.smodal__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 560px;
  object-fit: cover;
  border-radius: 20px;
}
.smodal__body {
  padding: 32px 28px 28px;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.smodal__body h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
.smodal__body > p {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 14px;
}
.smodal__list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.smodal__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.smodal__list li:hover {
  transform: translateX(-3px);
  background: var(--sand);
}
.smodal__list small {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}
.smodal__body .pill-btn { margin-top: auto; align-self: flex-start; }

.vmodal {
  width: min(900px, 100%);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.vmodal iframe { width: 100%; height: 100%; border: 0; }

body.modal-lock { overflow: hidden; }

/* Mobile nav drawer */
@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 72px;
    background: rgba(250,248,245,.98);
    flex-direction: column;
    padding: 18px 22px 24px;
    gap: 14px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    border-bottom: 1px solid var(--line);
    z-index: 50;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a { color: var(--ink) !important; }
  .burger { display: inline-flex; }
  .topbar .pill-btn--light { display: none; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .port-card { flex-basis: calc((100% - 32px) / 3); }
  .about__grid, .contact__grid, .bmodal, .smodal {
    grid-template-columns: 1fr;
  }
  .bmodal__side { min-height: 180px; }
  .smodal {
    max-height: min(92vh, 720px);
    overflow: auto;
    grid-template-rows: auto 1fr;
  }
  .smodal__media {
    margin: 14px 14px 0;
    order: -1;
  }
  .smodal__media img {
    min-height: 0 !important;
    max-height: 180px !important;
    height: 180px !important;
  }
  .smodal__body { padding: 18px 20px 22px; }
  .rev-grid { grid-template-columns: 1fr; }
  .traits__row { grid-template-columns: 1fr 1fr; }
  .hero__script { opacity: .35; top: 28%; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .port-card { flex-basis: calc((100% - 16px) / 2); }
  .traits__row { grid-template-columns: 1fr; }
  .hero { padding-bottom: 48px; align-items: center; }
  .hero__proof .seal { display: none; }
  .bmodal__row { grid-template-columns: 1fr; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
}
