/* ============================================================
   بشارة | BISHARA — دعوات زفاف رقمية
   Editorial quiet luxury · RTL · vanilla CSS
   ============================================================ */

:root {
  --bg: #F2F1EE;
  --card: #FFFFFF;
  --dark: #121212;
  --ink: #1A1A1A;
  --muted: #8C8C8C;
  --stub: #E9E5DE;
  --radius-card: 28px;
  --radius-btn: 12px;
  --font-head: 'Amiri', 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --container: 1240px;
  --shadow-card: 0 24px 60px rgba(18, 18, 18, 0.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

html { background: var(--bg); }

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ornamental border bands on the page background (from the studio's pattern) */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  top: 0;
  bottom: 0;
  /* fill only the free margin outside the 1240px container, never under content */
  width: clamp(56px, calc((100vw - 1288px) / 2), 220px);
  background: url("../img/pattern-border.png") top center / 100% auto repeat-y;
  opacity: 0.2;
  pointer-events: none;
}
body::before { left: 0; }
body::after { right: 0; }
@media (max-width: 1399px) {
  body::before, body::after { display: none; }
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.45;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { margin-block: clamp(64px, 9vw, 128px); }
section[id] { scroll-margin-top: 100px; }

/* ---------- Section numbering (01) (02) (03) ---------- */
.sec-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 30px;
  border-radius: var(--radius-btn);
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color 0.25s ease;
}
.btn:hover { background: #000; }
.btn .arr { display: inline-block; transition: transform 0.25s ease; }
.btn:hover .arr { transform: translateX(-5px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: rgba(26, 26, 26, 0.05); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--bg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 241, 238, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 18, 18, 0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  white-space: nowrap;
}
.logo .logo-en {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 500;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.2s ease;
  padding-block: 6px;
}
.nav a:hover { opacity: 1; }
.nav a.active { opacity: 1; border-bottom: 2px solid var(--ink); }
.header-cta { min-height: 44px; padding: 9px 24px; }
.nav .nav-wa { display: none; }
.header-side { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border: 1px solid rgba(18, 18, 18, 0.22);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.lang-switch:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cur-switch {
  display: inline-flex;
  border: 1px solid rgba(18, 18, 18, 0.22);
  border-radius: 999px;
  overflow: hidden;
}
.cur-switch[hidden] { display: none; }
.cur-switch button {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.55;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.cur-switch button:hover { opacity: 1; }
.cur-switch button.active { background: var(--ink); color: #fff; opacity: 1; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  align-items: center;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (index) ---------- */
.hero { margin-top: clamp(40px, 6vw, 72px); }
.hero-top {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.35;
}
.hero-side p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 40ch;
}
.hero-media {
  position: relative;
  margin-bottom: 96px;
}
.hero-media > img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* ---------- Floating mini cards ---------- */
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(360px, 42%);
  padding: 18px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.float-card img {
  width: 88px;
  height: 88px;
  flex: none;
  object-fit: cover;
  border-radius: 14px;
}
.float-card h3 { font-size: 21px; line-height: 1.5; }
.float-card p { font-size: 14px; line-height: 1.75; color: var(--muted); }

.float-card--1 { inset-inline-start: 4%; bottom: -56px; }
.float-card--2 { inset-inline-end: 4%; bottom: 56px; }

/* Floating work cards (portrait photo + name) */
.work-float {
  position: absolute;
  z-index: 2;
  width: 264px;
  padding: 14px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.work-float img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
}
.work-float h3 { font-size: 24px; line-height: 1.4; }
.work-float p { font-size: 13.5px; line-height: 1.75; color: var(--muted); }

/* ---------- (01) About ---------- */
.about-wrap { position: relative; margin-bottom: 120px; }
.about-card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-card h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 22px;
}
.about-card .about-text {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 52ch;
}
.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.about-collage img {
  width: 100%;
  aspect-ratio: 3 / 4.4;
  object-fit: cover;
  border-radius: 18px;
}
.about-collage img:last-child { margin-top: 48px; }
.about-wrap .work-float { inset-inline-end: 4%; bottom: -96px; }

/* ---------- (02) Packages — dark block ---------- */
.packages-wrap { position: relative; }
.dark-block {
  position: relative;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 72px);
}
.dark-block .sec-num { color: rgba(255, 255, 255, 0.45); }
.dark-head {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
.dark-head h2 { font-size: clamp(30px, 4.2vw, 52px); margin-bottom: 14px; }
.dark-head .sub { color: rgba(255, 255, 255, 0.62); font-size: 17px; max-width: 52ch; }
.pkg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.pkg-tabs a {
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pkg-tabs a:hover { background: #fff; color: var(--ink); border-color: #fff; }

.dark-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.dark-grid .ph {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--stub);
}
.dark-grid .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dark-grid .ph:nth-child(1), .dark-grid .ph:nth-child(2) { grid-column: span 3; }
.dark-grid .ph:nth-child(3), .dark-grid .ph:nth-child(4), .dark-grid .ph:nth-child(5) { grid-column: span 2; }
.packages-wrap .work-float { inset-inline-start: -28px; bottom: 96px; }

/* ---------- (03) Works preview ---------- */
.works-head { margin-bottom: 44px; }
.works-head h2 { font-size: clamp(30px, 4.2vw, 52px); margin-bottom: 14px; }
.works-head .sub { color: var(--muted); font-size: 17px; max-width: 56ch; }
.works-layout {
  display: grid;
  grid-template-columns: 0.9fr 3.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.works-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}
.works-photos figure { margin: 0; }
.works-photos img {
  width: 100%;
  aspect-ratio: 3 / 4.6;
  object-fit: cover;
  border-radius: 20px;
}
.works-photos figure:nth-child(2) { margin-top: 52px; }
.works-photos figure:nth-child(2) img { aspect-ratio: 3 / 4.1; }
.works-photos figure:nth-child(3) { margin-top: 16px; }
.works-photos figure:nth-child(4) { margin-top: 72px; }
.works-photos figure:nth-child(4) img { aspect-ratio: 3 / 4.1; }
.works-photos figcaption {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  margin-top: 10px;
}
.works-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.works-aside a.link-row {
  display: block;
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid rgba(18, 18, 18, 0.14);
  font-size: 17px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.works-aside a.link-row:hover { opacity: 0.6; }
.works-aside .btn { margin-top: 26px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.cta-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: clamp(72px, 10vw, 140px) 24px;
  max-width: 760px;
  margin-inline: auto;
}
.cta-inner h2 { font-size: clamp(30px, 4.6vw, 56px); margin-bottom: 18px; }
.cta-inner p { font-size: 17px; color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  color: #fff;
  background: var(--dark) url("../img/footer-bg.jpg") center / cover no-repeat;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.6);
}
.footer-inner { position: relative; z-index: 1; padding-block: clamp(64px, 8vw, 104px) 0; }
.footer-cta { text-align: center; margin-bottom: clamp(56px, 7vw, 88px); }
.footer-cta h2 { font-size: clamp(34px, 5.4vw, 64px); margin-bottom: 28px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 56px;
}
.footer-cols h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  /* no letter-spacing: it would break Arabic cursive joining */
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}
.footer-cols li { margin-bottom: 10px; }
.footer-cols a {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.88);
  transition: opacity 0.2s ease;
}
.footer-cols a:hover { opacity: 0.65; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: 22px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Sticky WhatsApp FAB (mobile) ---------- */
.wa-fab {
  display: none;
  position: fixed;
  z-index: 60;
  left: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(18, 18, 18, 0.35);
}
.wa-fab svg { width: 26px; height: 26px; }

/* ---------- Page hero (inner pages) ---------- */
.page-head { margin-top: clamp(40px, 6vw, 72px); margin-bottom: clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(40px, 6.4vw, 72px); margin-bottom: 12px; }
.page-head .sub { font-size: 18px; color: var(--muted); max-width: 56ch; }

/* ---------- Packages page ---------- */
.pkg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}
.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius-card);
  overflow: hidden;
  scroll-margin-top: 100px;
}
.pkg-card > img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
}
.pkg-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(24px, 3vw, 40px);
}
.pkg-body h2 { font-size: clamp(26px, 3vw, 34px); }
.pkg-price {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 600;
  margin: 8px 0 20px;
}
.pkg-price small { font-size: 0.55em; font-weight: 500; color: var(--muted); }
.pkg-list { margin-bottom: 28px; }
.pkg-list li {
  position: relative;
  padding-inline-start: 26px;
  margin-bottom: 10px;
  font-size: 16px;
}
.pkg-list li::before {
  content: "—";
  position: absolute;
  inset-inline-start: 0;
  color: var(--muted);
}
.pkg-list li.hl { font-weight: 600; }
.pkg-list li.hl .hl-note {
  display: block;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--muted);
}
.pkg-body > .btn { margin-top: auto; }
.pkg-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.pkg-actions .btn { flex: 1; }

.badge-royal {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
}

/* Shared album sub-block */
.album-block {
  border: 1px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 28px;
}
.album-body { padding: 22px 24px 26px; position: relative; }
.badge-new {
  position: absolute;
  top: -16px;
  inset-inline-start: 24px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
}
.album-block img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.album-body h3 { font-size: 24px; margin-top: 6px; }
.album-body .album-sub { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.album-body li {
  position: relative;
  padding-inline-start: 24px;
  margin-bottom: 8px;
  font-size: 15px;
}
.album-body li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 4px;
  color: var(--muted);
}

/* FAQ */
.faq {
  max-width: 820px;
  margin-inline: auto;
  scroll-margin-top: 100px;
}
.faq h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 20px; text-align: center; }
.faq details { border-bottom: 1px solid rgba(18, 18, 18, 0.14); }
.faq details:first-of-type { border-top: 1px solid rgba(18, 18, 18, 0.14); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
  transition: transform 0.25s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 4px 22px; color: var(--muted); font-size: 16px; }

/* ---------- Works page ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.works-grid figure { margin: 0; }
.works-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
}
.works-grid figure:nth-child(3n+2) { margin-top: 64px; }
.works-grid figure:nth-child(3n+3) { margin-top: 24px; }
.works-grid figure:nth-child(3n+2) img { aspect-ratio: 3 / 4.5; }
.works-grid figcaption h3 { font-size: 26px; margin-top: 14px; }
.works-grid figcaption p { color: var(--muted); font-size: 15px; }

.cta-strip {
  background: var(--dark);
  border-radius: var(--radius-card);
  text-align: center;
  padding: clamp(48px, 7vw, 88px) 24px;
}
.cta-strip a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 3.8vw, 44px);
  line-height: 1.6;
  color: #fff;
  transition: opacity 0.25s ease;
}
.cta-strip a:hover { opacity: 0.75; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-grid h1 { font-size: clamp(38px, 5.6vw, 64px); margin-bottom: 26px; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.contact-media img {
  width: 100%;
  border-radius: var(--radius-card);
}
.contact-form {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 36px);
}
.contact-form h2 { font-size: 24px; margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-form input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(18, 18, 18, 0.16);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--ink);
}
.contact-form input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}
.contact-form .btn { width: 100%; }

/* ---------- Stub (missing photo placeholder) ---------- */
.stub { background: var(--stub); }
.pkg-stub { aspect-ratio: 16 / 9.5; }

/* ---------- LTR (English) adjustments ---------- */
[dir="ltr"] .wa-fab { left: auto; right: 16px; }

/* ---------- Payment page ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.pay-summary,
.pay-card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 40px);
}
.pay-pkgs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pkg-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(18, 18, 18, 0.16);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.pkg-pill input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-pill span { flex: 1; font-weight: 500; }
.pkg-pill strong { font-weight: 600; white-space: nowrap; }
.pkg-pill.checked { background: var(--ink); color: #fff; border-color: var(--ink); }
.pkg-pill:not(.checked):hover { border-color: var(--ink); }
.pkg-pill input:focus-visible ~ span { outline: 2px solid var(--ink); outline-offset: 4px; }
.pay-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(18, 18, 18, 0.14);
  padding-top: 18px;
  font-size: 17px;
}
.pay-total strong { font-size: 28px; font-weight: 600; }
.pay-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.test-note {
  font-size: 13.5px;
  color: var(--muted);
  border: 1px dashed rgba(18, 18, 18, 0.3);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  margin-top: 14px;
}
.pay-card label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pay-card .txt {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(18, 18, 18, 0.16);
  border-radius: var(--radius-btn);
  min-height: 52px;
  padding: 12px 16px;
  margin-bottom: 18px;
  color: var(--ink);
}
.pay-card .txt:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}
.m-field {
  background: #fff;
  border: 1px solid rgba(18, 18, 18, 0.16);
  border-radius: var(--radius-btn);
  min-height: 52px;
  padding: 15px 16px;
  margin-bottom: 18px;
  direction: ltr;
}
.m-field:focus-within { border-color: var(--ink); outline: 1px solid var(--ink); }
.m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-card .btn { width: 100%; }
.pay-lock {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px dashed rgba(18, 18, 18, 0.3);
  border-radius: var(--radius-btn);
  padding: 18px 20px;
  margin-bottom: 18px;
  color: var(--muted);
}
.pay-lock svg { width: 24px; height: 24px; flex: none; }
.pay-lock p { font-size: 14.5px; line-height: 1.7; }
.pay-secure {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.pay-error {
  border: 1px solid var(--ink);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 18px;
}
.pay-processing { margin-top: 14px; color: var(--muted); font-size: 15px; text-align: center; }
.pay-result h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.pay-result p { color: var(--muted); margin-bottom: 24px; }
.pay-result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer--slim { background: var(--dark); }
.site-footer--slim::before { content: none; }
.site-footer--slim .footer-inner { padding-block: 0; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal.d2 { transition-delay: 0.12s; }
  .js .reveal.d3 { transition-delay: 0.24s; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1320px) {
  .packages-wrap .work-float { inset-inline-start: 8px; }
}

@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .nav a { white-space: nowrap; }
  .header-inner { gap: 14px; }
  .hero-top { grid-template-columns: 1fr; gap: 20px; }
  .about-card { grid-template-columns: 1fr; }
  .works-layout { grid-template-columns: 1fr; }
  .works-aside { order: 2; }
  .works-photos { grid-template-columns: 1fr 1fr; }
  .works-photos figure:nth-child(3),
  .works-photos figure:nth-child(4) { margin-top: 0; }
  .works-photos figure:nth-child(even) { margin-top: 40px; }
  .work-float { width: 240px; }
}

@media (max-width: 860px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-media { order: 2; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .dark-head { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  section { margin-block: 64px; }

  /* Mobile nav — solid header: backdrop-filter would trap the fixed nav panel */
  .site-header {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .burger { display: flex; }
  .nav {
    display: none;
    position: fixed;
    top: 76px;
    inset-inline: 0;
    bottom: 0;
    z-index: 49;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 32px 24px;
    background: var(--bg);
    overflow-y: auto;
  }
  .nav-open .nav { display: flex; }
  .nav a { font-size: 22px; padding-block: 10px; }
  .nav a.active { border-bottom-width: 3px; }
  .header-cta { display: none; }
  .nav a.nav-wa {
    display: inline-flex;
    margin-top: 18px;
    color: #fff;
    opacity: 1;
    font-size: 16px;
    align-self: stretch;
  }

  /* Floating cards -> in flow */
  .hero-media { margin-bottom: 0; }
  .float-card,
  .work-float {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
  .work-float img { aspect-ratio: 16 / 10; }
  .about-wrap { margin-bottom: 0; }
  .about-collage img:last-child { margin-top: 28px; }

  /* Dark grid -> horizontal swipe */
  .dark-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    margin-inline: -8px;
    padding: 4px 8px 12px;
  }
  .dark-grid .ph {
    flex: 0 0 72%;
    scroll-snap-align: start;
    aspect-ratio: 4 / 3;
  }

  .works-photos { grid-template-columns: 1fr; }
  .works-photos figure { margin-top: 0 !important; }
  .works-grid { grid-template-columns: 1fr; }
  .works-grid figure:nth-child(3n+2),
  .works-grid figure:nth-child(3n+3) { margin-top: 0; }

  /* Full-width buttons on mobile */
  .hero-side .btn,
  .about-card .btn,
  .dark-block .btn,
  .works-aside .btn,
  .cta-inner .btn,
  .footer-cta .btn,
  .pkg-body .btn,
  .contact-actions .btn {
    width: 100%;
  }
  .works-aside { flex-direction: column; align-items: stretch; }
  .works-aside a.link-row { width: 100%; border-bottom: 1px solid rgba(18, 18, 18, 0.14); }
  .works-aside .btn { margin-top: 18px; margin-inline-start: 0; }
  .pkg-actions { flex-direction: column; }

  .wa-fab { display: flex; }
  .hero-media > img { aspect-ratio: 4 / 3.4; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 16px; }
  .footer-cols { grid-template-columns: 1fr; }
  .pkg-tabs a { padding: 8px 14px; font-size: 14px; }
  .cur-switch button { padding: 6px 10px; font-size: 12.5px; }
  .lang-switch { padding: 6px 11px; font-size: 12.5px; }
  .header-side { gap: 8px; }
}
