/* =============================================
   Unity Media — Design System
   Seamless Single-Page / Premium Real Estate
   ============================================= */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* --- Design Tokens --- */
:root {
  --bg:          #f0ece4;   /* single unified warm cream */
  --surface:     #ffffff;
  --black:       #1A1714;
  --gold:        #A67B18;
  --gold-light:  #C8973A;
  --gold-dim:    rgba(166, 123, 24, 0.10);
  --border-gold: rgba(166, 123, 24, 0.28);
  --text:        #1A1714;
  --text-2:      #5C5852;
  --text-muted:  #9A9590;
  --border:      rgba(0, 0, 0, 0.07);

  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --section-gap:     clamp(48px, 6vw, 80px);
  --container-width: 1280px;
  --container-pad:   clamp(20px, 5vw, 80px);

  --ease:     cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================
   Page-Wide Fixed Grid Background
   ============================================ */
#pageGrid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(166,123,24,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166,123,24,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, white 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, white 30%, transparent 100%);
}

/* --- Utilities --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
}

/* --- Blur-in scroll animation --- */
.blur-in {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out),
              filter 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}
.blur-in.in-view {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  min-height: 48px;
  transition: background-color 180ms var(--ease), color 180ms var(--ease),
              border-color 180ms var(--ease), transform 180ms var(--ease),
              box-shadow 180ms var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn--primary { background-color: var(--gold); color: #fff; }
.btn--primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(166,123,24,0.3);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background-color: transparent;
  color: var(--text);
  border: 1.5px solid rgba(0,0,0,0.18);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--ghost:active { transform: translateY(0); }
.btn--full { width: 100%; }

/* Spinning border button */
.btn--spin {
  position: relative;
  overflow: hidden;
  padding: 1px;
  background: transparent;
  border: none;
  border-radius: 3px;
  min-height: unset;
  cursor: pointer;
}
.btn__spin-bg {
  position: absolute;
  inset: -300%;
  animation: spinBorder 3s linear infinite;
  background: conic-gradient(from 90deg at 50% 50%, var(--gold) 0%, #fff8e6 50%, var(--gold) 100%);
  pointer-events: none;
}
.btn__spin-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 2px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  transition: background 180ms;
  white-space: nowrap;
}
.btn--spin:hover .btn__spin-inner { background: var(--gold-light); }
.btn--spin:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@keyframes spinBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.btn--ghost-dark {
  background-color: transparent;
  color: var(--text-2);
  border: 1.5px solid rgba(26,18,9,0.22);
  border-radius: 2px;
}
.btn--ghost-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
  transform: translateY(-2px);
}

/* nav spin button */
.nav__cta.btn--spin { padding: 1px !important; }
.nav__cta.btn--spin .btn__spin-inner { padding: 8px 20px; font-size: 0.7rem; }

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 0;
  transition: background-color 320ms var(--ease), backdrop-filter 320ms var(--ease),
              padding 320ms var(--ease), box-shadow 320ms var(--ease);
  background-color: transparent;
}
.nav.scrolled {
  background-color: rgba(240, 236, 228, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo-img-wrap { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav__logo-img {
  width: 38px; height: 38px; object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(166,123,24,0.2));
  transition: filter 200ms;
}
.nav__logo:hover .nav__logo-img { filter: drop-shadow(0 0 8px rgba(166,123,24,0.5)); }
.nav__logo-text {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text); transition: color 320ms;
}

.nav__links {
  display: flex; align-items: center; gap: 2px; position: relative;
}
.nav__cursor {
  position: absolute; z-index: 0; height: 34px; border-radius: 99px;
  background-color: var(--gold-dim); border: 1px solid var(--border-gold);
  transition: left 180ms var(--ease), width 180ms var(--ease), opacity 150ms;
  opacity: 0; pointer-events: none; top: 50%; transform: translateY(-50%);
}
.nav__links a {
  position: relative; z-index: 1;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-2);
  padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center;
  transition: color 150ms; border-radius: 99px;
}
.nav__links a:hover { color: var(--gold-light); }
.nav__links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px; background-color: var(--text);
  transition: transform 240ms var(--ease), opacity 240ms;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   Hero — seamlessly merges into rest of page
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding-top: 90px;
  /* No background — inherits body cream */
}

/* WebGL canvas floats over the grid */
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; touch-action: none;
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 80px;
}

.hero__eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 28px; opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.2s forwards;
  text-align: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 28px; display: block;
  text-align: center;
}
.hero__title-line {
  display: block; opacity: 0; color: var(--text);
  animation: fadeUp 0.7s var(--ease-out) forwards;
}
.hero__title-line:nth-child(1) { animation-delay: 0.28s; }
.hero__title-line:nth-child(2) { animation-delay: 0.38s; }
.hero__title-line:nth-child(3) { animation-delay: 0.46s; }
.hero__title-line--accent { color: var(--gold); }

.hero__typewriter {
  margin-bottom: 44px; opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.64s forwards;
  display: flex; justify-content: center;
}
.typewriter__track {
  display: inline-flex; align-items: center; gap: 3px;
  overflow: hidden; white-space: nowrap;
}
.typewriter__text {
  font-size: clamp(1rem, 2vw, 1.1875rem); font-weight: 500;
  color: var(--text); letter-spacing: 0.01em;
  display: inline-block; width: 0; white-space: nowrap;
}
.typewriter__cursor {
  display: inline-block; width: 3px; height: 1.2em;
  background-color: var(--gold-light); border-radius: 2px; flex-shrink: 0;
  animation: blink 0.8s ease-in-out infinite alternate;
  position: relative; top: 1px;
}
@keyframes blink { from { opacity: 1; } to { opacity: 0; } }

.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeUp 0.7s var(--ease-out) 0.74s forwards;
}

/* ============================================
   Ticker Strip
   ============================================ */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
}

/* Edge fade masks */
.ticker__fade {
  position: absolute; top: 0; bottom: 0; width: 180px;
  z-index: 2; pointer-events: none;
}
.ticker__fade--left  { left:  0; background: linear-gradient(90deg,  var(--bg) 20%, transparent); }
.ticker__fade--right { right: 0; background: linear-gradient(-90deg, var(--bg) 20%, transparent); }

.ticker__track { overflow: hidden; }

.ticker__inner {
  display: flex;
  align-items: center;
  width: max-content;
  list-style: none;
  animation: tickerScroll 28s linear infinite;
  gap: 10px;
}
.ticker__inner:hover { animation-play-state: paused; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker__item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 20px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--surface);
  font-size: 0.875rem; font-weight: 500; color: var(--text-2);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 200ms, color 200ms;
}
.ticker__item:hover { border-color: var(--border-gold); color: var(--gold); }

.ticker__star {
  color: var(--gold); font-size: 0.65rem; line-height: 1;
  flex-shrink: 0;
}

/* ============================================
   How It Works — Redesigned
   ============================================ */
.hiw { padding: var(--section-gap) 0; position: relative; }

.hiw__header {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.hiw__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700; color: var(--text); line-height: 1.12; margin-bottom: 12px;
}
.hiw__heading em { color: var(--gold); font-style: normal; font-weight: 700; }
.hiw__sub { font-size: 1rem; color: var(--text-muted); }

.hiw__graphic { position: relative; }

/* ---- Connector ---- */
.hiw__connector {
  position: relative;
  margin-bottom: 20px;
}

.hiw__connector-track {
  position: absolute;
  top: 26px; /* half of 52px node */
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: rgba(166,123,24,0.14);
  border-radius: 99px;
  overflow: hidden;
}

.hiw__connector-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.hiw__graphic.draw .hiw__connector-fill { width: 100%; }

.hiw__connector-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative; z-index: 1;
}

.hiw__node { display: flex; align-items: center; justify-content: center; }

.hiw__node-num {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(166,123,24,0.22);
  font-family: var(--font-display); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--text-muted);
  transition: background 500ms var(--ease), border-color 500ms var(--ease),
              color 500ms var(--ease), box-shadow 500ms var(--ease);
}

.hiw__graphic.draw .hiw__node-num {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 7px rgba(166,123,24,0.08);
}

/* ---- Step Cards ---- */
.hiw__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
}

.hiw__step { display: flex; }

.hiw__card {
  background: var(--surface);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: box-shadow 260ms var(--ease), transform 260ms var(--ease);
  width: 100%;
}
.hiw__card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.hiw__card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--gold-dim); border: 1px solid var(--border-gold);
  color: var(--gold); margin-bottom: 20px; flex-shrink: 0;
}
.hiw__card-icon svg { width: 20px; height: 20px; }

.hiw__card h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700; color: var(--text); letter-spacing: -0.01em;
  margin-bottom: 8px; line-height: 1.2;
}
.hiw__card p { font-size: 0.9375rem; color: var(--text-2); line-height: 1.65; }

/* ============================================
   Statement + Stats
   ============================================ */
.statement { padding: var(--section-gap) 0; }

.statement__text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 600; line-height: 1.3; letter-spacing: -0.02em;
  color: var(--text); max-width: 860px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.statement__text em { color: var(--gold); font-style: italic; }

.statement__stats {
  display: flex; align-items: stretch;
  background: var(--surface); border-radius: 20px;
  border: 1px solid var(--border); box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  overflow: hidden; width: fit-content; margin: 0 auto;
}
.statement__stat { padding: clamp(24px, 3vw, 36px) clamp(32px, 5vw, 56px); text-align: center; }
.statement__divider { width: 1px; background: var(--border); align-self: stretch; }

.statement__icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin: 0 auto 12px;
  border-radius: 10px;
  background: var(--gold-dim); border: 1px solid var(--border-gold);
  color: var(--gold);
}
.statement__icon svg { width: 16px; height: 16px; }

.statement__num {
  display: block; font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--text);
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px;
}
.statement__label {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ============================================
   Pricing
   ============================================ */
.pricing { padding: var(--section-gap) 0; }

/* Promo banner */
.promo-banner {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  background: linear-gradient(135deg, #1A1714 0%, #2a2118 100%);
  border: 1px solid rgba(166,123,24,0.35);
  border-radius: 99px;
  padding: 10px 22px;
  margin-bottom: 28px;
  box-shadow: 0 0 0 4px rgba(166,123,24,0.07), 0 8px 24px rgba(0,0,0,0.18);
  animation: promoPulse 3s ease-in-out infinite;
}
@keyframes promoPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(166,123,24,0.07), 0 8px 24px rgba(0,0,0,0.18); }
  50%       { box-shadow: 0 0 0 6px rgba(166,123,24,0.15), 0 8px 24px rgba(0,0,0,0.18); }
}
.promo-banner__badge {
  font-size: 0.625rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: #1A1714;
  background: linear-gradient(90deg, #A67B18, #e8c76a, #A67B18);
  background-size: 200% auto;
  animation: shimmerGold 2.2s linear infinite;
  padding: 4px 12px; border-radius: 99px;
}
.promo-banner__text {
  font-size: 0.8125rem; font-weight: 500; color: rgba(255,255,255,0.75);
}

/* Crossed-out original price */
.pricing__price-stack {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
}
.pricing__price-original {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  text-decoration: line-through; line-height: 1;
  margin-bottom: 2px;
}

.pricing__header { margin-bottom: clamp(40px, 6vw, 60px); text-align: center; }
.pricing__note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 12px; }
.pricing__note strong { color: var(--text-2); }

.pricing__cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 20px); align-items: start;
}

/* Flip button hidden on desktop, shown via mobile media query */
.pricing__flip-btn, .pricing__flip-back { display: none; }

/* Desktop: card-inner just stacks front + back normally */
.pricing__card-inner { display: contents; }
.addon__card-inner { display: contents; }

.pricing__card {
  position: relative;
  background: var(--surface); border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex; flex-direction: column; gap: 28px;
  transition: box-shadow 400ms var(--ease), transform 400ms var(--ease);
}

.pricing__card--dark {
  background: #1A1714; border-color: rgba(255,255,255,0.08);
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}
.pricing__card--dark:hover { box-shadow: 0 14px 52px rgba(0,0,0,0.35); }
.pricing__card--dark .pricing__plan-name { color: rgba(255,255,255,0.5); }
.pricing__card--dark .pricing__price { color: #fff; }
.pricing__card--dark .pricing__per { color: rgba(255,255,255,0.4); }
.pricing__card--dark .pricing__price-original { color: rgba(255,255,255,0.3); }
.pricing__card--dark .pricing__plan-desc { color: rgba(255,255,255,0.45); }
.pricing__card--dark .pricing__features-label { color: rgba(255,255,255,0.3); }
.pricing__card--dark .pricing__features ul li { color: rgba(255,255,255,0.7); }
.pricing__card--dark .plan-check { color: var(--gold-light); }
.pricing__card--dark .pricing__features { border-top-color: rgba(255,255,255,0.08); }

@keyframes shimmerGold {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.pricing__discount-badge {
  position: absolute; top: -1px; left: 24px;
  font-size: 0.59rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #1A1714; padding: 5px 14px; border-radius: 0 0 10px 10px;
  background: linear-gradient(90deg, #A67B18 0%, #e8c76a 35%, #fff8dc 50%, #e8c76a 65%, #A67B18 100%);
  background-size: 200% auto;
  animation: shimmerGold 2.5s linear infinite;
}

.pricing__badge {
  position: absolute; top: -1px; right: 24px;
  font-size: 0.59rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; padding: 5px 14px; border-radius: 0 0 10px 10px;
  background: linear-gradient(90deg, #A67B18 0%, #e8c76a 35%, #fff8dc 50%, #e8c76a 65%, #A67B18 100%);
  background-size: 200% auto;
  animation: shimmerGold 2.5s linear infinite;
}

/* Popular card gets gold top border + stronger glow */
.pricing__card:has(.pricing__badge) {
  border-top: 2px solid var(--gold);
  box-shadow: 0 4px 32px rgba(166,123,24,0.18), 0 1px 0 var(--gold) inset;
}

.pricing__plan-name {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}
.pricing__price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.pricing__price {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; color: var(--text); letter-spacing: -0.03em; line-height: 1;
}
.pricing__price--sm { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.pricing__per { font-size: 0.8125rem; color: var(--text-muted); }
.pricing__plan-desc { font-size: 0.9375rem; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }

.pricing__cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--gold);
  border: none; border-radius: 8px;
  padding: 14px 28px; cursor: pointer; width: 100%;
  transition: background 180ms, transform 180ms, box-shadow 180ms;
  box-shadow: 0 4px 18px rgba(166,123,24,0.3);
  position: relative; overflow: hidden;
}
@keyframes shimmerBtn {
  0%   { transform: translateX(-100%) skewX(-12deg); }
  100% { transform: translateX(280%)  skewX(-12deg); }
}
.pricing__cta-btn::after {
  content: '';
  position: absolute; inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  animation: shimmerBtn 2.2s ease-in-out infinite;
  pointer-events: none;
}
.pricing__cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(166,123,24,0.4);
}
.pricing__cta-btn--light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.pricing__cta-btn--light:hover {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(166,123,24,0.4);
}
.pricing__arrow { transition: transform 180ms var(--ease); }
.pricing__cta-btn:hover .pricing__arrow { transform: translateX(4px); }

.pricing__features { border-top: 1px solid rgba(0,0,0,0.07); padding-top: 24px; }
.pricing__features-label {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
}
.pricing__features ul { display: flex; flex-direction: column; gap: 10px; }
.pricing__features ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9375rem; color: var(--text-2); line-height: 1.5;
}
.plan-check { width: 14px; height: 14px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }

/* ============================================
   Add-ons
   ============================================ */
.addons {
  margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--border);
  text-align: center;
}
.addons__heading {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600; color: var(--text); margin-bottom: 6px; letter-spacing: -0.01em;
}
.addons__sub { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 36px; }
.addons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  gap: clamp(16px, 2vw, 24px);
  justify-content: center;
  align-items: end;
}

.addon__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.addon__wrap .addon__toggle {
  width: 100%;
  justify-content: center;
  margin-bottom: 0;
}
.addon__wrap .addon__card {
  width: 100%;
  height: 100%;
}

.addon__card {
  background: var(--surface); border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.07); box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: box-shadow 260ms var(--ease), transform 260ms var(--ease);
}
.addon__card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.12); transform: translateY(-3px); }
.addon__name {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}
.addon__features {
  list-style: none; padding: 0; margin: 16px 0 0;
  text-align: left; width: 100%;
}
.addon__features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: var(--text-2);
  padding: 5px 0; border-bottom: 1px solid var(--border);
}
.addon__features li:last-child { border-bottom: none; }

/* Toggle switch */
.addon__toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; cursor: pointer; margin-bottom: 16px;
  user-select: none;
}
.addon__toggle-input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.addon__toggle-track {
  width: 50px; height: 28px;
  background: #d8d0c4;
  border-radius: 14px; position: relative;
  transition: background 220ms var(--ease);
  flex-shrink: 0;
}
.addon__toggle-input:checked ~ .addon__toggle-track {
  background: var(--gold);
}
.addon__toggle-thumb {
  position: absolute; top: 4px; left: 4px;
  width: 20px; height: 20px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 1px 5px rgba(0,0,0,0.22);
  transition: transform 220ms var(--ease);
}
.addon__toggle-input:checked ~ .addon__toggle-track .addon__toggle-thumb {
  transform: translateX(22px);
}
.addon__toggle-label {
  font-size: 0.875rem; font-weight: 600;
  color: var(--text-muted);
  transition: color 220ms var(--ease);
}
.addon__toggle-input:checked ~ .addon__toggle-track + .addon__toggle-label,
.addon__toggle:has(.addon__toggle-input:checked) .addon__toggle-label {
  color: var(--gold);
}

/* ============================================
   3D Circular Gallery
   ============================================ */
.gallery3d__wrapper {
  position: relative;
  height: 520px;
  perspective: 1400px;
  overflow: hidden;
  margin-top: clamp(32px, 4vw, 48px);
  cursor: grab;
  user-select: none;
}
.gallery3d__wrapper.is-dragging { cursor: grabbing; }

.gallery3d__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(240,236,228,0.92); backdrop-filter: blur(8px);
  border: 1px solid rgba(166,123,24,0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transition: background 150ms, border-color 150ms, box-shadow 150ms, transform 150ms;
}
.gallery3d__btn:hover {
  background: var(--gold-dim); border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(166,123,24,0.25);
  transform: translateY(-50%) scale(1.1);
}
.gallery3d__btn:active { transform: translateY(-50%) scale(0.96); }
.gallery3d__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery3d__btn svg { width: 20px; height: 20px; }
.gallery3d__btn--prev { left: 20px; }
.gallery3d__btn--next { right: 20px; }
.gallery3d__scene {
  position: absolute;
  width: 280px; height: 380px;
  left: 50%; top: 50%;
  margin-left: -140px; margin-top: -190px;
  transform-style: preserve-3d;
}
.gallery3d__card {
  position: absolute;
  width: 280px; height: 380px;
  border-radius: 18px;
  overflow: hidden;
  backface-visibility: hidden;
  transition: opacity 0.25s linear;
}
.gallery3d__card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none; user-select: none;
}

/* ============================================
   Portfolio
   ============================================ */
.portfolio { padding: var(--section-gap) 0; }

.portfolio__header { margin-bottom: clamp(32px, 5vw, 52px); text-align: center; }
.portfolio__sub { font-size: 1rem; color: var(--text-muted); margin-top: 10px; }

.portfolio__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px; gap: 10px;
}
.portfolio__item {
  overflow: hidden; border-radius: 16px;
  position: relative; background: rgba(0,0,0,0.04);
}
.portfolio__item--large { grid-column: span 2; }
.portfolio__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms var(--ease); display: block;
}
.portfolio__item:hover img { transform: scale(1.05); }
.portfolio__item:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.14); z-index: 1; }
.portfolio__label {
  position: absolute; bottom: 14px; left: 14px;
  font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.42); backdrop-filter: blur(6px);
  padding: 4px 10px; border-radius: 99px; z-index: 1;
}

/* ============================================
   FAQ
   ============================================ */
.faq { padding: var(--section-gap) 0; }

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq__sidebar {
  position: sticky;
  top: 100px;
}

.faq__sidebar-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 32px;
  max-width: 320px;
}

.faq__contact {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 32px;
}
.faq__contact-label {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px;
}
.faq__contact-link {
  font-size: 0.9375rem; color: var(--gold); font-weight: 500;
  transition: color 150ms;
}
.faq__contact-link:hover { color: var(--gold-light); }

.faq__list { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; text-align: left;
  font-family: var(--font-body); font-size: 1.125rem; font-weight: 500;
  color: var(--text); padding: 22px 0; cursor: pointer;
  background: none; border: none; transition: color 150ms;
}
.faq__q:hover { color: var(--gold); }
.faq__q[aria-expanded="true"] { color: var(--gold); }

.faq__icon {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform 280ms var(--ease); color: var(--text-muted);
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); color: var(--gold); }

.faq__a {
  font-size: 1rem; color: var(--text-2); line-height: 1.8;
  padding: 0 0 24px; max-width: 640px;
}
.faq__a-wrap { overflow: hidden; transition: height 300ms var(--ease); }

/* ============================================
   Final CTA Block
   ============================================ */
.cta-block { padding: var(--section-gap) 0; }
.cta-block__card {
  background: #1A1714; border-radius: 24px;
  padding: clamp(52px, 8vw, 96px) clamp(32px, 6vw, 80px);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px;
  position: relative; overflow: hidden;
  border: 1px solid rgba(166,123,24,0.18);
}

/* Gold top shimmer line */
.cta-block__card::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 55%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(166,123,24,0.7), transparent);
  pointer-events: none;
}

/* Radial gold glow at top-center */
.cta-block__card::after {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(166,123,24,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700;
  color: #fff; line-height: 1.1; letter-spacing: -0.02em;
}
.cta-block__sub { font-size: 1rem; color: rgba(255,255,255,0.45); max-width: 480px; line-height: 1.65; }
.cta-block__actions {
  display: flex; align-items: center; gap: 20px; margin-top: 8px;
  flex-wrap: wrap; justify-content: center;
}
.cta-block__tel {
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em; transition: color 150ms;
}
.cta-block__tel:hover { color: var(--gold-light); }

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: clamp(52px, 7vw, 80px) 0 32px;
  background: #060503; border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: clamp(32px, 5vw, 72px); margin-bottom: 56px;
}
.footer__logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__logo-img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(200,151,58,0.3)); }
.footer__logo-text {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
}
.footer__tagline { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--gold-light); margin-bottom: 8px; letter-spacing: -0.01em; }
.footer__desc { font-size: 0.8125rem; color: rgba(255,255,255,0.35); line-height: 1.6; margin-bottom: 20px; }
.footer__social-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; color: rgba(255,255,255,0.4); transition: color 150ms; }
.footer__social-link:hover { color: var(--gold-light); }
.footer__col-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 2px; }
.footer__col a { font-size: 0.9375rem; color: rgba(255,255,255,0.55); padding: 6px 0; transition: color 150ms; }
.footer__col a:hover { color: var(--gold-light); }
.footer__cta { margin-top: 16px; align-self: flex-start; }
.footer__cta .btn__spin-inner { padding: 11px 24px; font-size: 0.7rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer__bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ============================================
   Booking Modal — Premium Dark
   ============================================ */
.modal { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6,4,2,0.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer;
  animation: backdropIn 200ms var(--ease) both;
}
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }

.modal__card {
  position: relative; z-index: 1;
  background: #0D0B08;
  border: 1px solid rgba(166,123,24,0.22);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 44px);
  width: 100%; max-width: 600px;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(166,123,24,0.08) inset;
  animation: modalIn 300ms var(--ease) both;
  scrollbar-width: thin;
  scrollbar-color: rgba(166,123,24,0.25) transparent;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(28px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Gold shimmer line across top */
.modal__topline {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 65%; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(166,123,24,0.9), transparent);
  border-radius: 99px;
  pointer-events: none;
}

/* Radial glow behind top line */
.modal__card::before {
  content: '';
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 240px;
  background: radial-gradient(ellipse, rgba(166,123,24,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.modal__close {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%; cursor: pointer; color: rgba(245,241,232,0.5);
  transition: background 150ms, color 150ms, border-color 150ms;
}
.modal__close:hover { background: rgba(166,123,24,0.15); border-color: rgba(166,123,24,0.4); color: var(--gold-light); }
.modal__close svg { width: 15px; height: 15px; }

/* Header */
.modal__header { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(166,123,24,0.12); }
.modal__header-inner { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }

.modal__cam-icon {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), #6e5010);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(166,123,24,0.12);
}
.modal__cam-icon svg { width: 22px; height: 22px; color: #0A0703; }

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700; color: #F5F1E8;
  line-height: 1.15; letter-spacing: -0.025em;
}
.modal__brand {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-top: 5px;
}
.modal__service-tag {
  display: inline-flex; align-items: center;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: rgba(166,123,24,0.12);
  border: 1px solid rgba(166,123,24,0.28); padding: 5px 14px; border-radius: 99px;
}

/* Form */
.modal__form { display: flex; flex-direction: column; gap: 18px; }
.modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal__field { display: flex; flex-direction: column; gap: 8px; }

.modal__label {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(245,241,232,0.5);
}
.modal__label svg { width: 12px; height: 12px; color: var(--gold); flex-shrink: 0; }

.modal__field input,
.modal__field select,
.modal__field textarea {
  padding: 12px 16px;
  background: #1A1613;
  border: 1px solid rgba(166,123,24,0.18);
  border-radius: 10px;
  font-size: 0.9375rem; color: #F5F1E8;
  font-family: var(--font-body);
  transition: border-color 160ms, box-shadow 160ms; outline: none;
}
.modal__field input::placeholder,
.modal__field textarea::placeholder { color: rgba(245,241,232,0.25); }
.modal__field input:focus,
.modal__field select:focus,
.modal__field textarea:focus {
  border-color: rgba(166,123,24,0.7);
  box-shadow: 0 0 0 3px rgba(166,123,24,0.13);
}
.modal__field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A67B18' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.modal__field select option { background: #1A1613; color: #F5F1E8; }
.modal__field textarea { resize: vertical; min-height: 88px; }

/* Footer + submit */
.modal__footer {
  border-top: 1px solid rgba(166,123,24,0.1);
  padding-top: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.modal__submit {
  width: 100%; height: 52px;
  background: linear-gradient(135deg, #A67B18 0%, #7a5a10 100%);
  color: #fff;
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 8px 28px rgba(166,123,24,0.35);
  position: relative; overflow: hidden;
  transition: box-shadow 200ms, transform 200ms;
}
.modal__submit::after {
  content: '';
  position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  animation: shimmerBtn 2.4s ease-in-out infinite;
  pointer-events: none;
}
.modal__submit:hover {
  box-shadow: 0 14px 40px rgba(166,123,24,0.50);
  transform: translateY(-2px);
}
.modal__submit:active { transform: translateY(0); }

.modal__note {
  text-align: center; font-size: 0.75rem;
  color: rgba(245,241,232,0.28); line-height: 1.5;
}
.modal__success {
  text-align: center; font-size: 0.9rem; font-weight: 500;
  color: #6ee7a0;
  background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.22);
  border-radius: 10px; padding: 13px;
}

/* ============================================
   Card Mouse Spotlight
   ============================================ */
.pricing__card,
.addon__card {
  --mouse-x: 50%;
  --mouse-y: 50%;
}
.pricing__card::before,
.addon__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(380px circle at var(--mouse-x) var(--mouse-y), rgba(166,123,24,0.10), transparent 70%);
  transition: opacity 350ms var(--ease);
  pointer-events: none;
  z-index: 0;
}
.pricing__card--dark::before {
  background: radial-gradient(380px circle at var(--mouse-x) var(--mouse-y), rgba(200,151,58,0.13), transparent 70%);
}
.pricing__card.spotlight-active::before,
.addon__card.spotlight-active::before { opacity: 1; }

/* ============================================
   Animations
   ============================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

[data-animate] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
[data-animate].is-visible { opacity: 1; transform: none; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .pricing__cards { grid-template-columns: 1fr 1fr; }
  .pricing__card--dark { grid-column: span 2; }

  /* HIW: 2×2 on tablet */
  .hiw__steps { grid-template-columns: repeat(2, 1fr); }
  .hiw__connector-nodes { grid-template-columns: repeat(2, 1fr); }
  .hiw__connector-track { left: 25%; right: 25%; }
}

@media (max-width: 900px) {
  .faq__inner { display: flex; flex-direction: column; gap: 0; }
  .faq__sidebar { display: contents; } /* children join the flex flow directly */
  .faq__sidebar .section-eyebrow { order: 1; }
  .faq__sidebar .section-title   { order: 2; }
  .faq__sidebar-text             { order: 3; max-width: 100%; margin-bottom: 24px; }
  .faq__list                     { order: 4; }
  .faq__contact                  { order: 5; margin-top: 28px; }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0;
    background-color: rgba(240,236,228,0.98);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 8px; opacity: 0; pointer-events: none;
    transition: opacity 240ms var(--ease); z-index: 100;
  }
  .nav__links.open { opacity: 1; pointer-events: all; }
  .nav__links a { font-size: 1rem; padding: 16px 32px; color: var(--text); }
  .nav__cta { margin-top: 12px; }
  .nav__cursor { display: none; }

  /* HIW: single column */
  .hiw__steps { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .portfolio__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .portfolio__item--large { grid-column: span 1; }
  .modal__row { grid-template-columns: 1fr; }
}

/* ============================================
   Mobile — full optimisation (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  /* Global */
  :root { --section-gap: 44px; }
  .container { padding: 0 16px; }
  .section-eyebrow { font-size: 0.5625rem; letter-spacing: 0.14em; }
  .section-title { font-size: clamp(1.5rem, 6.5vw, 2rem); }

  /* ── Hero ── */
  /* Remove the full-viewport lock so content isn't dwarfed by empty space */
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 56px;
    justify-content: flex-start;
    overflow: visible;
  }
  /* Hide WebGL canvas on mobile — it adds a colour tint and drains battery */
  .hero__canvas { display: none; }
  .hero__inner { padding-bottom: 0; }
  .hero__eyebrow { font-size: 0.5625rem; letter-spacing: 0.12em; margin-bottom: 18px; }
  .hero__title {
    font-size: clamp(1.875rem, 9.5vw, 3rem);
    margin-bottom: 18px;
  }
  .hero__typewriter { margin-bottom: 28px; }
  .typewriter__track { max-width: calc(100vw - 32px); }
  .typewriter__text { font-size: 0.875rem; }
  .hero__actions { gap: 8px; justify-content: center; }
  .hero__actions .btn {
    padding: 11px 20px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    min-height: 42px;
  }
  .hero__actions .btn--spin { padding: 1px !important; }
  .hero__actions .btn--spin .btn__spin-inner {
    padding: 10px 20px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  /* ── How It Works — vertical timeline ── */
  .hiw__header { margin-bottom: 28px; }
  .hiw__heading { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hiw__connector { display: none; }
  .hiw__steps {
    position: relative;
    padding-left: 48px;
    counter-reset: hiw-counter;
    gap: 10px;
  }
  .hiw__steps::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 40px; bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(166,123,24,0.12) 100%);
    border-radius: 99px;
  }
  .hiw__step { counter-increment: hiw-counter; position: relative; display: flex; }
  .hiw__step::before {
    content: counter(hiw-counter, decimal-leading-zero);
    position: absolute;
    left: -48px;
    top: 16px;
    width: 32px; height: 32px;
    background: var(--surface);
    border: 1.5px solid var(--border-gold);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--bg);
    z-index: 1;
  }
  .hiw__card {
    padding: 16px;
    border-radius: 14px;
    gap: 0;
  }
  .hiw__card-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .hiw__card-icon svg { width: 15px; height: 15px; }
  .hiw__card h3 { font-size: 0.9375rem; margin-bottom: 5px; }
  .hiw__card p { font-size: 0.8125rem; line-height: 1.55; }

  /* ── Statement / Stats ── */
  .statement__text { font-size: clamp(1.2rem, 5.5vw, 1.6rem); margin-bottom: 28px; }
  .statement__stats { width: 100%; border-radius: 14px; flex-direction: row; }
  .statement__stat { flex: 1; padding: 18px 10px; }
  .statement__icon { width: 28px; height: 28px; border-radius: 7px; margin-bottom: 8px; }
  .statement__icon svg { width: 12px; height: 12px; }
  .statement__num { font-size: clamp(1.5rem, 7vw, 2rem); margin-bottom: 4px; }
  .statement__label { font-size: 0.5rem; letter-spacing: 0.13em; }

  /* ── Promo banner ── */
  .promo-banner { padding: 5px 12px; gap: 5px; margin-bottom: 14px; flex-direction: column; }
  .promo-banner__badge { font-size: 0.5rem; padding: 2px 8px; }
  .promo-banner__text { font-size: 0.6rem; text-align: center; }

  /* ── Pricing ── */
  .pricing__header { margin-bottom: 24px; }
  .pricing__cards { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .pricing__card--dark { grid-column: span 2 !important; }
  .pricing__card { padding: 16px 14px; gap: 14px; border-radius: 14px; }
  .pricing__plan-name { font-size: 0.5625rem; letter-spacing: 0.1em; margin-bottom: 6px; }
  .pricing__price-row { margin-bottom: 6px; }
  .pricing__price { font-size: clamp(1.5rem, 7vw, 2rem); }
  .pricing__per { font-size: 0.6875rem; }
  .pricing__plan-desc { font-size: 0.8125rem; line-height: 1.5; margin-bottom: 10px; }
  .pricing__cta-btn { padding: 10px 10px; font-size: 0.6875rem; border-radius: 6px; }
  .pricing__features { padding-top: 14px; }
  .pricing__features-label { font-size: 0.5625rem; margin-bottom: 10px; }
  .pricing__features ul { gap: 6px; }
  .pricing__features ul li { font-size: 0.8125rem; gap: 7px; line-height: 1.4; }
  .pricing__badge { font-size: 0.5rem; padding: 4px 10px; }
  .pricing__discount-badge { font-size: 0.45rem; padding: 3px 7px; left: 12px; }

  /* ── Add-ons ── */
  .addons__heading { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }
  .addons__sub { font-size: 0.8125rem; margin-bottom: 20px; }
  .addons__grid { grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; justify-items: center; }
  .addons__grid .addon__wrap:last-child { grid-column: 1 / -1; max-width: 50%; }
  .addon__card { padding: 12px 10px; border-radius: 12px; gap: 0; }
  .addon__name { font-size: 0.5rem; letter-spacing: 0.09em; margin-bottom: 6px; }
  .addon__card .pricing__price-row { margin-bottom: 4px; }
  .addon__card .pricing__price--sm { font-size: clamp(1.25rem, 6vw, 1.5rem); }
  .addon__card .pricing__per { font-size: 0.6rem; }
  .addon__card .pricing__plan-desc { font-size: 0.7rem; line-height: 1.45; margin-bottom: 6px; }
  .addon__toggle { margin-top: 0; margin-bottom: 10px; gap: 7px; }
  .addon__toggle-track { width: 38px; height: 22px; border-radius: 11px; }
  .addon__toggle-thumb { width: 16px; height: 16px; top: 3px; left: 3px; }
  .addon__toggle-input:checked ~ .addon__toggle-track .addon__toggle-thumb { transform: translateX(16px); }
  .addon__toggle-label { font-size: 0.6875rem; }
  .addon__features li { font-size: 0.75rem; }

  /* ── Gallery ── */
  .gallery3d__wrapper { height: 340px; }
  .gallery3d__scene { width: 200px; height: 280px; margin-left: -100px; margin-top: -140px; }
  .gallery3d__card { width: 200px; height: 280px; }
  .gallery3d__btn { width: 40px; height: 40px; }
  .gallery3d__btn svg { width: 16px; height: 16px; }
  .gallery3d__btn--prev { left: 8px; }
  .gallery3d__btn--next { right: 8px; }

  /* ── Portfolio ── */
  .portfolio__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 8px; }
  .portfolio__item--large { grid-column: span 2; }

  /* ── FAQ ── */
  .faq__q { font-size: 0.8125rem; font-weight: 600; padding: 13px 0; gap: 10px; }
  .faq__icon { width: 14px; height: 14px; flex-shrink: 0; }
  .faq__a { font-size: 0.8125rem; line-height: 1.6; padding-bottom: 14px; }
  .faq__sidebar-text { font-size: 0.8125rem; margin-top: 10px; margin-bottom: 20px; }
  .faq__contact-link { font-size: 0.875rem; }

  /* ── CTA block ── */
  .cta-block__card { padding: 40px 20px; border-radius: 18px; gap: 12px; }
  .cta-block__heading { font-size: clamp(1.5rem, 7vw, 2.25rem); }
  .cta-block__sub { font-size: 0.875rem; }
  .cta-block__actions { flex-direction: column; width: 100%; gap: 10px; }
  .cta-block__actions .btn { width: 100%; justify-content: center; }
  .cta-block__actions .btn--spin { width: 100%; }
  .cta-block__actions .btn--spin .btn__spin-inner { width: 100%; justify-content: center; }

  /* ── Footer ── */
  .footer { padding: 36px 0 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-bottom: 24px; }
  .footer__brand { grid-column: span 2; }
  .footer__tagline { font-size: 0.9375rem; margin-bottom: 6px; }
  .footer__desc { font-size: 0.75rem; margin-bottom: 14px; }
  .footer__col-label { font-size: 0.5rem; margin-bottom: 12px; }
  .footer__col a { font-size: 0.8125rem; padding: 4px 0; }
  .footer__cta .btn__spin-inner { padding: 9px 18px; font-size: 0.65rem; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 3px; padding-top: 16px; }
  .footer__bottom p { font-size: 0.6875rem; }

  /* ── Modal ── */
  .modal { align-items: flex-end; padding: 0; }
  .modal__card { border-radius: 22px 22px 0 0; max-height: 88vh; padding: 18px 14px 28px; }
  .modal__header { margin-bottom: 16px; padding-bottom: 14px; }
  .modal__header-inner { gap: 10px; margin-bottom: 10px; }
  .modal__cam-icon { width: 36px; height: 36px; box-shadow: none; }
  .modal__cam-icon svg { width: 15px; height: 15px; }
  .modal__title { font-size: 1.05rem; }
  .modal__brand { font-size: 0.575rem; margin-top: 3px; }
  .modal__form { gap: 11px; }
  .modal__row { grid-template-columns: 1fr; gap: 11px; }
  .modal__field input, .modal__field select, .modal__field textarea { padding: 9px 12px; font-size: 0.875rem; border-radius: 8px; }
  .modal__field textarea { min-height: 64px; }
  .modal__label { font-size: 0.575rem; }
  .modal__label svg { width: 10px; height: 10px; }
  .modal__footer { padding-top: 14px; gap: 8px; }
  .modal__submit { height: 44px; font-size: 0.7rem; border-radius: 8px; }
  .modal__note { font-size: 0.65rem; }
  .modal__close { top: 14px; right: 14px; width: 30px; height: 30px; }
  .modal__close svg { width: 13px; height: 13px; }

  /* ── Flip cards — pricing & add-ons ── */
  .pricing__flip-btn, .pricing__flip-back { display: flex; }

  .pricing__card-inner { display: block; position: relative; }

  .pricing__card-front,
  .pricing__card-back {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .pricing__card-back {
    display: none;
    justify-content: flex-start;
  }
  .pricing__card--dark .pricing__card-back { background: #1A1714; }

  .pricing__card.is-flipped .pricing__card-front { display: none; }
  .pricing__card.is-flipped .pricing__card-back { display: flex; }

  /* Flip trigger button */
  .pricing__flip-btn {
    margin-top: auto;
    padding: 8px 0 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--gold);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    align-items: center;
    gap: 4px;
    transition: color 150ms;
  }
  .pricing__flip-btn--light { color: rgba(255,255,255,0.5); }
  .pricing__flip-btn:hover { color: var(--gold-light); }

  /* Back button */
  .pricing__flip-back {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0 10px;
    align-items: center;
    gap: 4px;
    transition: color 150ms;
    text-transform: uppercase;
  }
  .pricing__flip-back--light { color: rgba(255,255,255,0.35); }
  .pricing__flip-back:hover { color: var(--gold); }

  /* Add-on flip */
  .addon__card { perspective: 900px; }
  .addon__card-inner {
    display: block;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .addon__card.is-flipped .addon__card-inner { transform: rotateY(180deg); }

  .addon__card-front,
  .addon__card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .addon__card-front { position: relative; }
  .addon__card-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    background: var(--surface);
    border-radius: 14px;
    justify-content: flex-start;
    overflow: hidden;
  }
  .addon__card-back { padding: 10px 8px; }
  .addon__card-back .addon__features { margin-top: 6px; }
  .addon__card-back .addon__features li { font-size: 0.65rem; gap: 5px; padding: 4px 0; }
  .addon__card-back .addon__features .plan-check { width: 11px; height: 11px; }
  .addon__card-back .pricing__flip-back { font-size: 0.55rem; padding: 0 0 6px; }
}
