/* ============================================================
   MAGIC STORY — STYLES.CSS
   ============================================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'General Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* DESIGN TOKENS */
:root {
  --bg:            #080808;
  --bg-surface:    #111111;
  --bg-card:       #141414;
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);
  --text:          #FFFFFF;
  --text-sec:      rgba(255,255,255,0.55);
  --text-muted:    rgba(255,255,255,0.28);
  --accent:        #FFD580;
  --accent-rgb:    255,213,128;
  --green:         #39FF5A;

  --nav-h:   72px;
  --max-w:   1200px;
  --pad-x:   24px;

  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 100px;

  --shadow-card: 0 0 0 1px rgba(255,255,255,0.05), 0 8px 40px rgba(0,0,0,0.5);
  --ease-out:    cubic-bezier(0.16,1,0.3,1);
}

/* UTILITIES */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ─── CTA BUTTONS — outline ring, blue dot expands on hover ─── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  font-size: 14px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: #ffffff66;
  box-shadow: 0 0 0 2px #ffffff26;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
  transition: box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), color 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn:hover {
  box-shadow: 0 0 0 4px #0b00d955;
  color: #fff;
}
.btn:active { transform: scale(0.95); }

/* Expanding dot — fills the button from center on hover */
.btn-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background-color: #0b00d9;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 0;
}
.btn:hover .btn-circle {
  width: 220px; height: 220px;
  opacity: 1;
}

.btn-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-label svg, .btn-label .btn__icon {
  width: 16px; height: 16px; flex-shrink: 0;
}

.btn--primary { /* unified design — kept for HTML compatibility */ }
.btn--ghost   { /* unified design — kept for HTML compatibility */ }
.btn--lg {
  padding: 15px 30px;
  font-size: 15px;
}
.btn__icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Pricing card buttons — excluded from the animated .btn system,
   restored to the original simple black pill design */
.pc-card__btn {
  background-color: #1A1A1A !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  transition: background 0.22s, transform 0.18s !important;
}
.pc-card__btn:hover {
  background-color: #333333 !important;
  box-shadow: none !important;
  color: #FFFFFF !important;
}
.pc-card__btn:active { transform: scale(0.97); }
.pc-card__btn .btn-circle { display: none !important; }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s var(--ease-out), backdrop-filter 0.3s;
}
.nav.is-scrolled {
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); flex-shrink: 0; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__link { font-size: 14px; font-weight: 400; color: var(--text-sec); transition: color 0.18s; }
.nav__link:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; align-items: center; justify-content: center; }
.nav__hamburger-bar {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: opacity 0.2s;
}
/* SVG X icon — hidden by default, shown when menu opens */
.nav__hamburger-x {
  display: none;
  width: 22px; height: 22px;
  color: var(--text);
  flex-shrink: 0;
}
/* Swap: hide bars, show SVG X */
.nav__hamburger.is-open .nav__hamburger-bar { display: none; }
.nav__hamburger.is-open .nav__hamburger-x   { display: block; }
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg);
  padding: 32px var(--pad-x);
  flex-direction: column;
  z-index: 99;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.nav__mobile-link {
  display: block; padding: 16px 0;
  font-size: 28px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--text); border-bottom: 1px solid var(--border);
  transition: color 0.18s;
}
.nav__mobile-link:hover { color: var(--text-sec); }
.nav__mobile-cta { margin-top: auto; text-align: center; justify-content: center; width: 100%; padding: 16px 24px; font-size: 16px; }

/* HERO */
.hero {
  position: relative;
  width: 100%; height: 100vh; min-height: 640px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,8,0.64) 0%, rgba(8,8,8,0.26) 45%, rgba(8,8,8,0.74) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x); width: 100%;
}
.hero__title {
  font-size: clamp(36px, 5vw, 78px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 820px;
}
.hero__subtitle {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 560px;
  letter-spacing: -0.01em;
}
.hero__cta { padding: 14px 28px; font-size: 15px; }

/* GALLERY — black padding above/below for breathing room */
.gallery { padding: 72px 0; overflow: hidden; line-height: 0; background: #080808; }
.gallery__wrapper { overflow: hidden; }
.gallery__track {
  display: flex; gap: 4px; width: max-content;
  will-change: transform;
}
/* Animation removed — now driven entirely by JS for smooth, jump-free hover slowdown */
.gallery__card {
  flex-shrink: 0; width: 400px;
  cursor: pointer; transition: opacity 0.25s;
}
.gallery__card:hover { opacity: 0.88; }
.gallery__card-img-wrap {
  width: 400px; height: 500px;
  border-radius: 0; overflow: hidden; background: var(--bg-card);
}
.gallery__card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}
.gallery__card:hover .gallery__card-img-wrap img { transform: scale(1.04); }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s var(--ease-out);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__img-wrap { max-width: 90vw; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--r-sm); transition: opacity 0.2s; }
.lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__close:hover { background: rgba(255,255,255,0.18); }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__prev svg, .lightbox__next svg { width: 22px; height: 22px; }
.lightbox__prev:hover { background: rgba(255,255,255,0.16); transform: translateY(-50%) translateX(-2px); }
.lightbox__next:hover { background: rgba(255,255,255,0.16); transform: translateY(-50%) translateX(2px); }
.lightbox__counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 13px; color: rgba(255,255,255,0.45); letter-spacing: 0.06em;
}

/* SERVICES */
.services { padding: 120px 0; border-top: none; background: #001f30; }
.services__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.services__heading {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.services__desc {
  font-size: 16px; line-height: 1.7;
  color: var(--text-sec);
  margin-bottom: 36px; max-width: 420px;
}
.services__cta { display: inline-flex; }
.services__preview {
  position: relative;
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,0.1);
}
.services__preview-img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.services__preview-badge {
  position: absolute; bottom: 16px; left: 16px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(8,8,8,0.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500; color: var(--text);
}
.services__preview-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}

/* ============================================================
   PRICING CARDS — background image with dark overlay
   ============================================================ */
.pricing-cards {
  padding: 100px 0 120px;
  position: relative;
  background-image: url('../images/pricing-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
/* dark overlay so cards pop */
.pricing-cards::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  z-index: 0;
}
.pricing-cards .container {
  position: relative;
  z-index: 1;
}

.pc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pc-card {
  background: rgba(253, 252, 250, 0.90);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}
.pc-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

/* Featured / Premium card */
.pc-card--featured {
  border-color: rgba(63,1,125,0.55);
  border-width: 1.5px;
  padding-top: 52px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.12);
  z-index: 1;
}
.pc-card--featured:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.pc-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #3f017d;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.pc-card__top { display: flex; flex-direction: column; gap: 24px; margin-bottom: 28px; }

.pc-card__name {
  font-size: 28px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pc-card__features {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.pc-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #4A4A4A;
  line-height: 1.5;
}
.pc-card__features li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f017d;
  flex-shrink: 0;
  margin-top: 5px;
}

.pc-card__bottom { display: flex; flex-direction: column; gap: 20px; }

.pc-card__divider {
  border: none;
  border-top: 1px solid #E5DDD5;
}

.pc-card__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pc-card__price {
  font-size: 54px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pc-card__per {
  font-size: 14px;
  color: #888;
  font-weight: 400;
}

/* pc-card__btn now uses the unified .btn system — only width/centering needed here */
.pc-card__btn {
  width: 100%;
  justify-content: center;
}

/* PROCESS — animated blue bubble/polka-dot pattern, dimmed */
.process {
  padding: 120px 0;
  border-top: none;
  position: relative;
  overflow: hidden;
  background: #081C2E; /* dark blue base beneath pattern */
}

/* animated bubble layer */
.process::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle, rgba(52,152,219,0.55) 10%, transparent 20%),
    radial-gradient(circle, transparent 10%, rgba(52,152,219,0.35) 20%);
  background-size: 30px 30px;
  animation: moveBackground 40s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* dark overlay so white text stays legible */
.process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 16, 0.85);
  z-index: 1;
  pointer-events: none;
}

@keyframes moveBackground {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(20%, 20%); }
}

.process .container {
  position: relative;
  z-index: 2;
}
.process .container {
  position: relative;
  z-index: 2;
}

/* ─── INTERACTIVE SERVICES LAYOUT ─────────────────────────── */
.svi__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 72px;
  row-gap: 48px;
  align-items: start;
}

/* Heading: full width, centered, above both columns */
.svi__heading {
  grid-column: 1 / -1;
  grid-row: 1;
  text-align: center;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 auto;
  max-width: 780px;
}

/* Menu: Row 2, Col 1 */
.svi__menu {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.12);
  align-self: start;
}

/* Image box: Row 2, Col 2 */
.svi__img-box {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  align-self: start;
}
.svi__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: opacity 0.28s ease;
}

/* Accordion item styles */
.svi__item { border-bottom: 1px solid rgba(255,255,255,0.12); overflow: hidden; }
.svi__trigger {
  width: 100%; display: flex; align-items: center;
  gap: 20px; padding: 22px 0;
  cursor: pointer; text-align: left;
  color: var(--text); background: none; border: none;
  transition: opacity 0.18s;
}
.svi__trigger:hover { opacity: 0.7; }
.svi__num { font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.06em; min-width: 24px; }
.svi__name { flex: 1; font-size: clamp(16px, 1.7vw, 22px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.svi__icon { display: none; }
.svi__content { height: 0; overflow: hidden; transition: height 0.55s cubic-bezier(0.4,0,0.2,1); }
.svi__content p { padding-left: 44px; padding-bottom: 8px; font-size: 14px; line-height: 1.7; color: var(--text-sec); }
.svi__price { padding-bottom: 20px !important; font-size: 15px !important; font-weight: 600 !important; color: rgba(57,255,90,0.95) !important; }


/* CTA MID */
.cta-mid { padding: 120px 0; border-top: 1px solid var(--border); }
.cta-mid__inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.cta-mid__heading {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; max-width: 600px;
}
.cta-mid__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* FAQ */
.faq {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  position: relative;
  background-image: url('../images/faq-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.91);
  z-index: 0;
}
.faq .container {
  position: relative;
  z-index: 1;
}
.faq__header { text-align: center; margin-bottom: 64px; }
.faq__header .eyebrow { margin-bottom: 16px; }
.faq__heading {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.2;
}
.faq__list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__trigger {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  padding: 26px 0; cursor: pointer; text-align: left;
  color: var(--text); font-size: 17px; font-weight: 500;
  transition: opacity 0.18s;
}
.faq__trigger:hover { opacity: 0.7; }
.faq__icon {
  width: 26px; height: 26px; flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), color 0.3s;
}
.faq__icon svg { width: 100%; height: 100%; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); color: var(--text); }
/* smooth height — JS sets explicit px values */
.faq__content { height: 0; overflow: hidden; transition: height 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.faq__content p { padding-bottom: 24px; font-size: 15.5px; line-height: 1.75; color: var(--text-sec); }
.faq__content a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.18s; }
.faq__content a:hover { opacity: 0.7; }

/* FINAL CTA */
.cta-final { padding: 160px 0; border-top: 1px solid var(--border); }
.cta-final__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 48px; }
.cta-final__heading {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500; letter-spacing: -0.035em; line-height: 1.06;
  white-space: nowrap;
}
.cta-final__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-final__actions .btn { padding: 15px 28px; font-size: 15px; }
.cta-final__details {
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap; justify-content: center; margin-top: -8px;
}
.cta-final__detail {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-sec); transition: color 0.18s;
}
.cta-final__detail:hover { color: var(--text); }
.cta-final__detail-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.55; }

/* FOOTER */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--border); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer__logo { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--text); }
.footer__tagline { font-size: 14px; color: var(--text-sec); line-height: 1.6; max-width: 260px; }
.footer__nav-list { display: flex; flex-direction: column; gap: 12px; }
.footer__nav-link { font-size: 14px; color: var(--text-sec); transition: color 0.18s; }
.footer__nav-link:hover { color: var(--text); }
.footer__connect-label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer__social { display: flex; flex-direction: column; gap: 12px; }
.footer__social-link { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-sec); transition: color 0.18s; }
.footer__social-link:hover { color: var(--text); }
.footer__social-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap;
}
.footer__copy  { font-size: 13px; color: var(--text-muted); }
.footer__email { font-size: 13px; color: var(--text-muted); }
.footer__credit { font-size: 13px; color: var(--text-muted); }
.footer__credit-link { color: var(--green); font-weight: 500; transition: opacity 0.18s; }
.footer__credit-link:hover { opacity: 0.8; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── PAGE INTRO ANIMATION ──────────────────────────────── */
@keyframes introFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes introFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes introSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Nav slides in from top */
.nav {
  animation: introSlideDown 0.7s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: 0.05s;
}
/* Hero photo fades in */
.hero__bg {
  animation: introFadeIn 1.4s ease both;
  animation-delay: 0s;
}
/* H1 fades up */
.hero__title {
  animation: introFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: 0.3s;
}
/* Subtitle fades up slightly later */
.hero__subtitle {
  animation: introFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: 0.5s;
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav, .hero__bg, .hero__title, .hero__subtitle {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* REDUCED MOTION — gallery auto-scroll respects this via JS check */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line { animation: none; }
  .services__preview-badge-dot { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* TABLET (< 1024px) */
@media (max-width: 1023px) {
  :root { --pad-x: 20px; }
  .services__layout { grid-template-columns: 1fr; gap: 48px; }
  .services__desc   { max-width: 100%; }
  .svi__layout      { grid-template-columns: 1fr; gap: 40px; }
  .svi__preview     { position: static; order: -1; }
  .footer__top      { grid-template-columns: 1fr 1fr; }
  .footer__brand    { grid-column: 1 / -1; }
  .cta-mid__inner   { flex-direction: column; align-items: flex-start; }
  .pc-grid          { gap: 16px; }
  .pc-card          { padding: 28px 24px; }
  .pc-card--featured { padding-top: 48px; }
  .pc-card__price   { font-size: 44px; }
  /* Gallery keeps full edge-to-edge but slightly smaller cards */
  .gallery__card { width: 300px; }
  .gallery__card-img-wrap { width: 300px; height: 380px; }
}

/* MOBILE (< 768px) */
@media (max-width: 767px) {
  :root { --pad-x: 16px; --nav-h: 64px; }

  .nav__links  { display: none; }
  .nav__cta    { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content { padding-bottom: 80px; }

  .gallery { padding: 48px 0; }
  .gallery__card { width: 260px; }
  .gallery__card-img-wrap { width: 260px; height: 320px; }

  .services  { padding: 80px 0; }
  .process   { padding: 80px 0; }
  .cta-mid   { padding: 80px 0; }
  .faq       { padding: 80px 0; }
  .cta-final { padding: 100px 0; }
  .cta-final__heading { white-space: normal; }

  /* Pricing cards */
  .pricing-cards { padding: 80px 0 100px; }
  .pc-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pc-card--featured { margin-top: 0; padding-top: 52px; }
  .pc-card__price { font-size: 48px; }

  .cta-final__details { flex-direction: column; gap: 16px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .lightbox__prev { left: 12px; width: 40px; height: 40px; }
  .lightbox__next { right: 12px; width: 40px; height: 40px; }
}

/* ============================================================

/* ============================================================
   MOBILE — clean consolidated block (≤ 767px)
   Desktop not affected by anything in this block.
   ============================================================ */

/* Desktop: hide mobile-specific elements */
.hero__cta-mob { display: none; }
.svi__mob-img  { display: none; }
.float-phone   { display: none; }

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes mobileMenuFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes mobileItemIn {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {

  /* ─── HERO ────────────────────────────────────────────────── */
  .hero { justify-content: flex-start; }

  .hero__content {
    padding: 108px 16px 0;
  }

  .hero__title {
    font-size: clamp(26px, 7.8vw, 36px);
    margin-bottom: 14px;
  }

  .hero__subtitle {
    font-size: 14px;
    margin-bottom: 0;
    max-width: 90%;
  }

  /* Hero CTA — bottom-left, direct child of .hero (position:relative) */
  .hero__cta-mob {
    display: inline-flex;
    position: absolute;
    bottom: 148px;    /* lifted: 52px original + 2 × ~48px button height */
    left: 16px;       /* same left margin as text above */
    z-index: 2;
    padding: 13px 26px;
    font-size: 14px;
  }

  /* ─── MOBILE MENU — simple & reliable ─────────────────────── */
  /* Strategy: base CSS handles display:none → display:flex via .is-open.
     We only style the opened state here. No opacity/visibility hacks. */

  .nav__mobile.is-open {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 150;          /* below .nav which is 200 on mobile */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: calc(var(--nav-h) + 52px) 32px 56px;
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow-y: auto;
    gap: 0;
    animation: mobileMenuFadeIn 0.3s ease both;
  }

  /* Keep nav hamburger above the menu */
  .nav { z-index: 200; }

  /* Link list */
  .nav__mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav__mobile-link-item {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* Stagger each link item in */
  .nav__mobile.is-open .nav__mobile-link-item {
    animation: mobileItemIn 0.5s cubic-bezier(0.16,1,0.3,1) both;
  }
  .nav__mobile.is-open .nav__mobile-link-item:nth-child(1) { animation-delay: 0.07s; }
  .nav__mobile.is-open .nav__mobile-link-item:nth-child(2) { animation-delay: 0.14s; }
  .nav__mobile.is-open .nav__mobile-link-item:nth-child(3) { animation-delay: 0.21s; }
  .nav__mobile.is-open .nav__mobile-link-item:nth-child(4) { animation-delay: 0.28s; }

  /* Individual link — clean, NO opacity:0 baked in */
  .nav__mobile-link {
    display: block;
    padding: 20px 0;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
    border: none;
    transition: color 0.18s;
  }
  .nav__mobile-link:hover { color: rgba(255,255,255,0.55); }

  /* Hide the CTA button inside the dropdown */
  .nav__mobile-cta { display: none !important; }

  /* ─── GALLERY — touchable track ────────────────────────────── */
  .gallery__track { cursor: grab; }
  .gallery__track:active { cursor: grabbing; }

  /* ─── SERVICES CTA TEXT CHANGE handled in HTML ──────────────── */

  /* ─── INTERACTIVE SERVICES — single column mobile layout ──── */
  .svi__layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .svi__img-box { display: none !important; }
  .svi__heading {
    text-align: center;
    font-size: clamp(20px, 5.5vw, 26px);
    margin-bottom: 28px;
  }
  .svi__trigger { padding: 20px 0; }
  .svi__name    { font-size: 17px; letter-spacing: -0.01em; }

  /* Per-service mobile image — fades in with description */
  .svi__mob-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease 0.18s, transform 0.45s ease 0.18s;
  }
  .svi__mob-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .svi__item.is-active .svi__mob-img { opacity: 1; transform: translateY(0); }

  /* ─── CTA MID — one button only ────────────────────────────── */
  .cta-mid__actions .btn--ghost { display: none !important; }

  /* ─── FOOTER — hide email ───────────────────────────────────── */
  .footer__email { display: none !important; }

  /* ─── FINAL CTA — hide location ────────────────────────────── */
  .cta-final__detail:last-child { display: none !important; }

  /* ─── FLOATING PHONE BUTTON ────────────────────────────────── */
  .float-phone {
    display: flex;
    position: fixed;
    bottom: 24px;
    left: 20px;
    z-index: 9999;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #3d3a4e;
    color: #fff;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
    transition: transform 0.2s;
  }
  .float-phone:active { transform: scale(0.92); }
  .float-phone svg { width: 22px; height: 22px; stroke: #fff; }

} /* end @media (max-width: 767px) */
