/* ─── CSS VARIABLES ─── */
:root {
  --gold: #C9A96E;
  --gold-light: #E8D5A3;
  --gold-dark: #A8834A;
  --black: #0A0906;
  --charcoal: #1A1710;
  --warm-gray: #2C2820;
  --mid: #A89880;
  --light: #F0EAE0;
  --cream: #FAF7F2;
  --white: #FFFEF9;
  --text-primary: #FFFFFF;
  --text-secondary: #E8E0D5;
  --text-muted: #C8B89A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--black);
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(201,169,110,0.15);
  background: rgba(10,9,6,0.95);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  font-weight: 400;
}

.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ─── SECTIONS ─── */
section {
  position: relative;
  z-index: 1;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: 52%;
  right: -36px;
  width: min(55vw, 760px);
  height: min(45vw, 620px);
  background-image:
    linear-gradient(90deg, rgba(10,9,6,0.90) 0%, rgba(10,9,6,0.16) 28%, rgba(10,9,6,0) 56%),
    radial-gradient(circle at 56% 45%, rgba(232,213,163,0.16), rgba(10,9,6,0) 70%),
    var(--hero-ring-image, url('../public/Oval-Ruby-Accent-Ring.png'));
  background-position: center, center, var(--hero-ring-position, 62% 54%);
  background-size: 100% 100%, 100% 100%, var(--hero-ring-size, 112% auto);
  background-repeat: no-repeat, no-repeat, no-repeat;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 24%, rgba(0,0,0,0.86) 42%, rgba(0,0,0,0.46) 62%, rgba(0,0,0,0.14) 80%, transparent 96%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 24%, rgba(0,0,0,0.86) 42%, rgba(0,0,0,0.46) 62%, rgba(0,0,0,0.14) 80%, transparent 96%);
  border-radius: 50% / 46%;
  opacity: 0.95;
  filter: saturate(1.16) contrast(1.06) brightness(1.05) drop-shadow(0 34px 80px rgba(0,0,0,0.58));
  transform: translateY(-50%);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  display: none;
  right: -36px;
  top: 50%;
  width: min(28vw, 340px);
  height: min(22vw, 280px);
  border: 1px solid rgba(201,169,110,0.10);
  border-radius: 50% / 46%;
  filter: blur(0.2px);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 900px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s 0.35s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.65s forwards;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 18px 40px;
  font-family: 'DM Mono', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.5);
  padding: 18px 40px;
  font-family: 'DM Mono', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(201,169,110,0.08);
}

.hero-line {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--black);
  text-transform: uppercase;
  background: rgba(232, 213, 163, 0.88);
  border: 1px solid rgba(10, 9, 6, 0.22);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  padding: 14px 8px;
  z-index: 2;
}

/* ─── RUSH BADGE SECTION ─── */
.rush-section {
  background: var(--charcoal);
  border-top: 1px solid rgba(201,169,110,0.1);
  border-bottom: 1px solid rgba(201,169,110,0.1);
  padding: 80px 48px;
}

.rush-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-title em { font-style: italic; color: var(--gold); }

.section-body {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 32px;
  font-weight: 400;
}

.rush-badge {
  background: var(--warm-gray);
  border: 1px solid rgba(201,169,110,0.25);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.rush-badge::before {
  content: '⚡';
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 100px;
  opacity: 0.04;
}

.rush-badge-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rush-badge-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.rush-badge-price {
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201,169,110,0.15);
}

.rush-features {
  list-style: none;
  margin-bottom: 28px;
}

.rush-features li {
  font-size: 1.1rem;
  color: var(--light);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.5;
}

.rush-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.rush-note {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── ANIMATION PACKAGE ─── */
.anim-section {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.anim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.anim-card {
  background: var(--charcoal);
  padding: 40px 32px;
  border: 1px solid rgba(201,169,110,0.08);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.anim-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.anim-card:hover { border-color: rgba(201,169,110,0.3); }
.anim-card:hover::after { transform: scaleX(1); }

.anim-card.featured {
  background: var(--warm-gray);
  border-color: rgba(201,169,110,0.3);
}

.anim-card.featured::after { transform: scaleX(1); }

.anim-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.anim-name {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.anim-price {
  font-family: 'DM Mono', monospace;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 24px;
}

.anim-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
  font-weight: 400;
}

.anim-specs {
  list-style: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--light);
  line-height: 2.2;
}

/* ─── RETAINER SECTION ─── */
.retainer-section {
  background: var(--charcoal);
  border-top: 1px solid rgba(201,169,110,0.1);
  padding: 100px 48px;
}

.retainer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.retainer-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}

.retainer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.retainer-card {
  background: var(--warm-gray);
  padding: 40px 32px;
  border: 1px solid rgba(201,169,110,0.1);
}

.retainer-tier {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.retainer-price {
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.retainer-per {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(201,169,110,0.12);
}

.retainer-items {
  list-style: none;
  margin-bottom: 32px;
}

.retainer-items li {
  font-size: 1.05rem;
  color: var(--light);
  padding: 8px 0;
  padding-left: 18px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.5;
}

.retainer-items li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
  top: 8px;
}

/* ─── ESTIMATOR ─── */
.estimator-section {
  padding: 100px 48px;
  max-width: 860px;
  margin: 0 auto;
}

.estimator-header {
  margin-bottom: 56px;
}

.estimator-form {
  background: var(--charcoal);
  border: 1px solid rgba(201,169,110,0.15);
  padding: 56px;
  position: relative;
}

.estimator-form::before {
  content: 'PROJECT ESTIMATOR';
  position: absolute;
  top: -1px; left: 40px;
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--black);
  background: var(--gold);
  padding: 4px 12px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeUp 0.4s forwards;
}

.step-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
}

.step-dot {
  width: 32px;
  height: 2px;
  background: var(--warm-gray);
  transition: background 0.3s;
}

.step-dot.active { background: var(--gold); }
.step-dot.done { background: var(--gold-dark); }

.step-question {
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-sub {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 40px;
}

.option-btn {
  background: var(--warm-gray);
  border: 1px solid rgba(201,169,110,0.12);
  color: var(--light);
  padding: 16px 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.25s;
  text-align: left;
  position: relative;
}

.option-btn:hover {
  border-color: rgba(201,169,110,0.4);
  background: rgba(201,169,110,0.06);
}

.option-btn.selected {
  border-color: var(--gold);
  background: rgba(201,169,110,0.1);
  color: var(--gold-light);
}

.option-btn .opt-label {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.option-btn .opt-hint {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  line-height: 1.5;
}

.option-btn.selected .opt-hint { color: var(--gold-dark); }

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.btn-next {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 14px 40px;
  font-family: 'DM Mono', monospace;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-next:hover { background: var(--gold-light); }
.btn-next:disabled { opacity: 0.3; cursor: not-allowed; }

.btn-back {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0;
}

.btn-back:hover { color: var(--light); }

.step-count {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ─── EMAIL CAPTURE STEP ─── */
.email-step {
  text-align: center;
  padding: 20px 0;
}

.email-step .step-question {
  font-size: 2rem;
  margin-bottom: 12px;
}

.email-step .estimate-preview {
  background: var(--warm-gray);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 28px 36px;
  margin: 32px auto;
  max-width: 380px;
  position: relative;
}

.estimate-preview .blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(26,23,16,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

.estimate-preview .range-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.estimate-preview .range-value {
  font-size: 2.9rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.estimate-preview .range-sub {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 6px;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto 16px;
}

.email-input {
  flex: 1;
  background: var(--warm-gray);
  border: 1px solid rgba(201,169,110,0.25);
  border-right: none;
  padding: 14px 20px;
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.3s;
}

.email-input:focus { border-color: var(--gold); }
.email-input::placeholder { color: var(--mid); }

.btn-reveal {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 14px 24px;
  font-family: 'DM Mono', monospace;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s;
}

.btn-reveal:hover { background: var(--gold-light); }

.email-back-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.email-note {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: center;
}

/* ─── RESULT STEP ─── */
.result-step {
  text-align: center;
}

.result-breakdown {
  background: var(--warm-gray);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 40px;
  margin: 32px 0;
  text-align: left;
}

.result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.1rem;
  color: var(--light);
}

.result-line:last-child { border-bottom: none; }

.result-line .label { color: var(--text-muted); }
.result-line .value {
  font-family: 'DM Mono', monospace;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gold-light);
}

.result-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,169,110,0.25);
}

.result-total .total-label {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
}

.result-total .total-value {
  font-size: 2.3rem;
  font-weight: 400;
  color: var(--gold);
}

.result-note {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 20px 0 32px;
  line-height: 1.9;
}

.result-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 30px;
  border: 1px solid rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.12);
  color: #DDF8E6;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-whatsapp:hover {
  background: #25D366;
  color: var(--black);
  border-color: #25D366;
}

.result-restart {
  background: transparent;
  border: 1px solid rgba(201,169,110,0.2);
  color: var(--mid);
  padding: 12px 24px;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.result-restart:hover { border-color: var(--gold); color: var(--gold); }

/* ─── DIVIDER ─── */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.2;
  margin: 0 48px;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid rgba(201,169,110,0.1);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
}

/* ─── PORTFOLIO SECTION ─── */
.portfolio-section {
  padding: 100px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

.portfolio-header-left { max-width: 560px; }

.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(201,169,110,0.2);
  color: var(--text-muted);
  padding: 8px 18px;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(201,169,110,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* Masonry-style grid */
.portfolio-grid {
  columns: 3;
  column-gap: 16px;
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.portfolio-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.88) saturate(0.9);
}

.portfolio-item:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.1);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,6,0.92) 0%, rgba(10,9,6,0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }

.portfolio-item-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.portfolio-item-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.portfolio-item-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Featured wide item */
.portfolio-item.wide {
  break-inside: avoid;
}

/* Video play button overlay */
.portfolio-item.video-item {
  position: relative;
}

.portfolio-item.video-item .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(201,169,110,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--black);
  z-index: 2;
  opacity: 0.8;
  transition: all 0.3s;
}

.portfolio-item.video-item:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,9,6,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  max-width: 860px;
  width: 90%;
}

.lightbox-media {
  width: 100%;
  display: block;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox-video {
  max-height: 75vh;
  background: var(--black);
}

.lightbox-info {
  padding: 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.lightbox-title {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.lightbox-detail {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  line-height: 1.7;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover { color: var(--gold); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.2);
  color: var(--gold);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
  user-select: none;
}

.lightbox-nav:hover { background: rgba(201,169,110,0.3); }
.lightbox-nav.prev { left: -60px; }
.lightbox-nav.next { right: -60px; }

@media (max-width: 960px) {
  .lightbox-nav { width: 36px; height: 36px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

/* Stats bar */
.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.stat-box {
  background: var(--charcoal);
  padding: 32px 28px;
  border: 1px solid rgba(201,169,110,0.08);
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .portfolio-grid { columns: 2; }
  .portfolio-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ─── SERVICES (unified) ─── */
.services-section {
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.services-subsection {
  text-align: center;
  margin: 48px 0 32px;
}

.services-subsection:first-of-type {
  margin-top: 0;
}

.services-subsection-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 8px;
}

.services-subsection-desc {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  max-width: 480px;
  margin: 0 auto;
}

.services-subsection-divider {
  width: 60px;
  height: 1px;
  background: rgba(201,169,110,0.25);
  margin: 56px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.services-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,169,110,0.12);
  border-radius: 12px;
  padding: 40px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.services-card:hover {
  border-color: rgba(201,169,110,0.35);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.services-card.featured {
  border-color: rgba(201,169,110,0.3);
  background: rgba(201,169,110,0.03);
}

.services-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--black);
  background: var(--gold);
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.services-card-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(201,169,110,0.1);
}

.services-card-name {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
}

.services-price {
  font-family: 'DM Mono', monospace;
  font-size: 1rem;
}

.services-price strong {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--gold);
}

.services-per {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.services-price-compare {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

.services-price-cross {
  text-decoration: line-through;
  color: rgba(255,255,255,0.35);
}

.services-price-save {
  color: #4ade80;
  font-weight: 500;
  margin-left: 4px;
}

.services-save {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.services-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.services-features li {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 6px 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.services-features li::before {
  content: '·';
  color: var(--gold);
  margin-right: 8px;
}

.services-rush {
  margin: 12px 0 20px;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
}

.services-rush label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  cursor: pointer;
}

.services-rush input[type="checkbox"] {
  accent-color: var(--gold);
  width: 14px;
  height: 14px;
}

.services-rush strong {
  color: var(--gold);
}

.services-cta {
  text-align: center;
  font-size: 0.7rem;
  padding: 12px 20px;
  display: block;
  width: 100%;
}

.services-note {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10,9,6,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(201,169,110,0.15);
  }
  .nav-links.open { display: flex; }
  .hero { padding: 100px 24px 60px; }
  .hero::before, .hero::after { display: none; }
  .services-section, .trust-section { padding: 60px 24px; }
  .trust-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-card { padding: 32px 20px; }
  .services-subsection-title { font-size: 1.3rem; }
  .rush-inner, .retainer-header { grid-template-columns: 1fr; gap: 40px; }
  .anim-grid, .retainer-cards { grid-template-columns: 1fr; }
  .rush-section, .anim-section, .retainer-section, .estimator-section { padding: 60px 24px; }
  .estimator-form { padding: 36px 24px; }
  .options-grid { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .gold-divider { margin: 0 24px; }
  .hero-line { display: none; }
  .portfolio-grid { columns: 1; }
  .portfolio-header { flex-direction: column; gap: 24px; align-items: flex-start; }
  .portfolio-stats { grid-template-columns: repeat(2, 1fr); }
  .lightbox-nav { display: none; }

  body { font-size: 16px; }
  .hero-title { font-size: 2.5rem; line-height: 1.2; }
  .hero-sub { font-size: 1.2rem; }
  .section-title { font-size: 1.8rem; }
  .section-body { font-size: 1.1rem; }
  .step-question { font-size: 1.5rem; }
  .option-btn { font-size: 1rem; }
  .option-btn .opt-label { font-size: 1.05rem; }
  .option-btn .opt-hint { font-size: 0.7rem; }
}



/* TRUST SECTION */
.trust-section {
  padding: 90px 48px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.trust-copy {
  max-width: 760px;
  margin-bottom: 44px;
}

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

.trust-card {
  background: linear-gradient(145deg, rgba(201,169,110,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(201,169,110,0.14);
  padding: 30px 26px;
  min-height: 240px;
}

.trust-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.2em;
}

.trust-card h3 {
  font-size: 1.55rem;
  font-weight: 400;
  margin: 24px 0 12px;
}

.trust-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.proof-strip {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-strip span {
  border: 1px solid rgba(201,169,110,0.18);
  color: var(--text-muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-eyebrow,
  .hero-title,
  .hero-sub,
  .hero-ctas {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .trust-section { padding: 60px 24px; }
  .trust-grid { grid-template-columns: 1fr; }
}


.estimate-preview-visible .blur-overlay {
  display: none;
}

.estimate-preview-visible .range-sub {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}


/* VIDEO PLAY POLISH */
.video-item::after {
  content: 'VIDEO';
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(10, 9, 6, 0.78);
  border: 1px solid rgba(232, 213, 163, 0.65);
  color: var(--gold-light);
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  padding: 6px 9px;
  text-transform: uppercase;
}

.video-item .play-button {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  background: rgba(10, 9, 6, 0.72);
  border: 2px solid rgba(232, 213, 163, 0.95);
  color: var(--gold-light);
  box-shadow: 0 10px 34px rgba(0,0,0,0.35), 0 0 0 10px rgba(201,169,110,0.18);
  font-size: 1.35rem;
  transform: translate(-50%, -50%);
}

.video-item:hover .play-button {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 12px rgba(232,213,163,0.22);
}

.video-item .portfolio-item-overlay {
  background: linear-gradient(180deg, transparent 35%, rgba(10,9,6,0.82) 100%);
}


/* HERO TABLET VISUAL */
@media (min-width: 561px) and (max-width: 768px) {
  .hero::before {
    display: block;
    width: 500px;
    height: 410px;
    right: -92px;
    top: 44%;
    opacity: 0.56;
  }

  .hero::after {
    display: none;
  }
}


.hero.hero-image-changing::before {
  animation: heroImageFade 900ms ease both;
}

@keyframes heroImageFade {
  0% { opacity: 0.28; transform: translateY(-50%) scale(0.985); }
  100% { opacity: 0.82; transform: translateY(-50%) scale(1); }
}

@media (min-width: 561px) and (max-width: 768px) {
  .hero.hero-image-changing::before {
    animation-name: heroImageFadeTablet;
  }
}

@keyframes heroImageFadeTablet {
  0% { opacity: 0.16; transform: translateY(-50%) scale(0.985); }
  100% { opacity: 0.42; transform: translateY(-50%) scale(1); }
}

/* WHATSAPP CONTACT */
.footer-tagline a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,213,163,0.35);
  margin-left: 8px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid rgba(37, 211, 102, 0.55);
  background: rgba(15, 44, 27, 0.92);
  color: #F2FFF6;
  font-family: 'DM Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #25D366;
  color: var(--black);
}

@media (max-width: 560px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-width: 112px;
    min-height: 44px;
    padding: 12px 14px;
    font-size: 0.68rem;
  }

  .footer-tagline a {
    display: inline-block;
    margin: 8px 0 0;
  }
}
