:root {
  --bg: #f8f5ef;
  --soft: #efeae0;
  --ink: #181512;
  --muted: #665e54;
  --gold: #b8893a;
  --gold-light: #d6ad66;
  --gold-dark: #936b25;
  --gold-tint: rgba(184, 137, 58, 0.12);
  --dark: #181512;
  --dark-deep: #110f0d;
  --navy: #2a231c;
  --line: rgba(24, 21, 18, 0.14);
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --green-700: #15803d;
  --green-50: #f0fdf4;
  --red-700: #b91c1c;
  --red-50: #fef2f2;
  --amber-700: #b45309;
  --amber-50: #fffbeb;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(24, 21, 18, 0.05);
  --shadow-md: 0 14px 36px rgba(24, 21, 18, 0.08);
  --shadow-lg: 0 28px 60px rgba(17, 15, 13, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1220px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Gold top accent line */
.top-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--gold-light), var(--gold));
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), #fff3d1);
  z-index: 100;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* Marquee Capabilities Strip */
.marquee-strip {
  background: var(--dark);
  border-top: 1px solid rgba(198, 155, 85, 0.25);
  border-bottom: 1px solid rgba(198, 155, 85, 0.25);
  overflow: hidden;
  padding: 0.85rem 0;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.wire-card {
  animation: wireBuildIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wire-card:nth-child(2) { animation-delay: 0.08s; }
.wire-card:nth-child(3) { animation-delay: 0.16s; }

@keyframes wireBuildIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.studio-mockup {
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  transform-style: preserve-3d;
}

.hero h1 .gold-text {
  background-size: 200% auto;
  animation: goldShimmer 5s linear infinite;
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  padding: 3px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.06) rotate(-2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--dark);
}

.logo-title span {
  color: var(--gold);
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(198, 155, 85, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 28px rgba(198, 155, 85, 0.42);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: var(--soft);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 0.55rem 0.95rem;
}

.btn-ghost:hover {
  background: var(--soft);
}

.btn-danger {
  background: var(--red-50);
  color: var(--red-700);
  border-color: #fecaca;
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--dark-deep);
  color: var(--white);
  padding: 2.75rem 0 2.5rem;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198, 155, 85, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 155, 85, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 60% 40%, black 25%, transparent 80%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 155, 85, 0.22), transparent 65%);
  top: -140px;
  right: -80px;
  filter: blur(20px);
  animation: floatOrb 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-orb-secondary {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 37, 89, 0.55), transparent 70%);
  bottom: -120px;
  left: -60px;
  animation: floatOrb 12s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-25px, 20px) scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(198, 155, 85, 0.14);
  border: 1px solid rgba(198, 155, 85, 0.45);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(198, 155, 85, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(198, 155, 85, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(198, 155, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 155, 85, 0); }
}

.hero h1 {
  margin: 1.15rem 0 1rem;
  font-size: clamp(2.5rem, 4.8vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero h1 .gold-text {
  background: linear-gradient(120deg, var(--gold-light), var(--gold), #f3deb3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: #cbd5e1;
  font-size: 1.06rem;
  max-width: 54ch;
  margin: 0 0 1.85rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.85rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  font-size: 0.85rem;
  color: #b8c1c8;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust span::before {
  content: '✦';
  color: var(--gold);
}

/* Interactive Website Blueprint Mockup in Hero */
.studio-mockup {
  background: #1c2023;
  border: 1px solid rgba(198, 155, 85, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.75s ease-out both;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #121416;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.mockup-dots span:first-child { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #22c55e; }

.mockup-url {
  font-size: 0.75rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.mockup-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem 0;
  background: #181b1d;
}

.mockup-tab {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.mockup-tab.active {
  background: #23282b;
  color: var(--gold-light);
  border-color: rgba(198, 155, 85, 0.35);
  border-bottom-color: transparent;
}

.mockup-stage {
  padding: 1.25rem;
  background: #23282b;
  min-height: 255px;
  display: grid;
  gap: 0.85rem;
}

.wire-banner {
  background: linear-gradient(135deg, rgba(198, 155, 85, 0.18), rgba(11, 37, 89, 0.35));
  border: 1px solid rgba(198, 155, 85, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem;
  animation: slideSwap 0.35s ease;
}

.wire-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.wire-sub {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.wire-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.wire-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  font-size: 0.74rem;
  color: #e2e8f0;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.wire-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.wire-card strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}

.mockup-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  background: var(--dark);
  border-top: 1px solid rgba(198, 155, 85, 0.28);
}

.mockup-price-bar .price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gold-light);
}

@keyframes slideSwap {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hero-orb-secondary, .pulse-dot, .studio-mockup { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.section-head .kicker {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .section-head .kicker {
  color: var(--gold-light);
}

.section-head h2 {
  margin: 0.25rem 0 0.4rem;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  color: var(--dark);
  line-height: 1.14;
}

.section-dark .section-head h2 {
  color: var(--white);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-dark .section-head p {
  color: #b8c1c8;
}

/* Process Studio Strip */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.process-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(198, 155, 85, 0.22);
  border-radius: var(--radius-md);
  padding: 1.05rem 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(198, 155, 85, 0.08);
}

.process-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.process-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.96rem;
  color: var(--white);
}

.process-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #cbd5e1;
}

/* Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.card-index {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-dark);
  background: var(--gold-tint);
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: var(--dark);
}

.card p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Breakdown Table */
.two-col-tables {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.table-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-card-header {
  background: var(--dark);
  color: var(--white);
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 0.78rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table tbody tr:nth-child(even) {
  background: var(--bg);
}

.data-table td.num,
.data-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.data-table tr.total-row td {
  background: var(--gold-tint);
  font-weight: 800;
  color: var(--dark);
  border-top: 2px solid var(--gold);
  border-bottom: none;
}

.alloc-bar {
  height: 4px;
  background: var(--soft);
  border-radius: 999px;
  margin-top: 0.35rem;
  overflow: hidden;
}

.alloc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 999px;
}

/* Quote & Intake Builder */
.builder-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.85rem;
  align-items: start;
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-block {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.form-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-block-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 1.05rem;
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.field label .req {
  color: var(--gold-dark);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 155, 85, 0.2);
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

/* Filter Pills for Add-ons */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-pill {
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--dark);
  color: var(--gold-light);
  border-color: var(--dark);
}

/* Radio & Checkbox cards */
.radio-stack {
  display: grid;
  gap: 0.65rem;
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--bg);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.option-card:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-tint);
}

.option-card input {
  margin-top: 0.25rem;
  accent-color: var(--gold-dark);
}

.option-card-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
}

.option-card-desc {
  font-size: 0.82rem;
  color: var(--muted);
}

.addon-group-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 1rem 0 0.6rem;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.addon-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  background: var(--bg);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.addon-chip:hover {
  border-color: var(--gold);
}

.addon-chip:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-tint);
}

.addon-chip-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.addon-chip input {
  accent-color: var(--gold-dark);
}

.addon-price {
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  font-size: 0.8rem;
}

/* Sticky Summary */
.summary-panel {
  position: sticky;
  top: 5.2rem;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(198, 155, 85, 0.35);
}

.summary-panel h3 {
  margin: 0 0 0.25rem;
  font-size: 1.18rem;
}

.summary-sub {
  font-size: 0.84rem;
  color: #b8c1c8;
  margin-bottom: 1.25rem;
}

.summary-lines {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 1.15rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.summary-total .amount {
  font-size: 1.85rem;
  color: var(--gold-light);
}

.summary-badge {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(198, 155, 85, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(198, 155, 85, 0.4);
}

.summary-disclaimer {
  font-size: 0.78rem;
  color: #b8c1c8;
  margin: 0.9rem 0 0;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-error {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid #fecaca;
}

.success-box {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: fadeUp 0.45s ease;
}

.ref-pill {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--dark);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0.5rem 0 1rem;
}

/* Terms */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.term-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.05rem;
}

.term-card strong {
  display: block;
  color: var(--dark);
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.term-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer {
  background: var(--dark-deep);
  color: #b8c1c8;
  padding: 2.25rem 0;
  font-size: 0.86rem;
  border-top: 2px solid var(--gold);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Admin Dashboard */
.admin-shell {
  padding: 2rem 0 4rem;
}

.auth-card {
  max-width: 430px;
  margin: 4rem auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kpi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}

.kpi-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-top: 0.25rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.toolbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex: 1;
}

.status-badge {
  display: inline-block;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.status-New { background: var(--gold-tint); color: var(--gold-dark); }
.status-Contacted { background: #eff6ff; color: #1d4ed8; }
.status-Quoted { background: var(--amber-50); color: var(--amber-700); }
.status-In\ Progress { background: #f3e8ff; color: #7e22ce; }
.status-Won { background: var(--green-50); color: var(--green-700); }
.status-Archived { background: var(--soft); color: var(--muted); }

.table-scroll {
  overflow-x: auto;
}

dialog.lead-dialog {
  width: min(740px, 100% - 2rem);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-lg);
}

dialog.lead-dialog::backdrop {
  background: rgba(20, 23, 24, 0.65);
  backdrop-filter: blur(4px);
}

.dialog-head {
  background: var(--dark);
  color: var(--white);
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}

.dialog-body {
  padding: 1.5rem;
  display: grid;
  gap: 1.15rem;
  background: var(--white);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  background: var(--bg);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

.detail-item strong {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col-tables,
  .builder-layout,
  .kpi-grid,
  .terms-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .deliverables-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-panel {
    position: static;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .deliverables-grid,
  .form-grid,
  .addon-grid,
  .detail-grid,
  .wire-cards {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   3D WebGL Hero Canvas & Kinetic Motion Layer
   ========================================================= */
.hero-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
}

/* Enhanced 3D perspective scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: perspective(900px) translateY(30px) rotateX(7deg) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal].revealed {
  opacity: 1;
  transform: perspective(900px) translateY(0) rotateX(0deg) scale(1);
}

/* Staggered grid children */
.process-grid [data-reveal]:nth-child(2),
.deliverables-grid [data-reveal]:nth-child(2),
.terms-grid [data-reveal]:nth-child(2) { transition-delay: 0.08s; }

.process-grid [data-reveal]:nth-child(3),
.deliverables-grid [data-reveal]:nth-child(3),
.terms-grid [data-reveal]:nth-child(3) { transition-delay: 0.16s; }

.process-grid [data-reveal]:nth-child(4),
.deliverables-grid [data-reveal]:nth-child(4),
.terms-grid [data-reveal]:nth-child(4) { transition-delay: 0.24s; }

.deliverables-grid [data-reveal]:nth-child(5),
.terms-grid [data-reveal]:nth-child(5) { transition-delay: 0.32s; }

/* Interactive 3D Card Tilt + Specular Glare */
.card,
.process-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card::after,
.process-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(226, 194, 136, 0.18),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover::after,
.process-card:hover::after {
  opacity: 1;
}

/* Magnetic Shine Sweep on Primary Buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.btn-primary:hover::before {
  left: 140%;
}

/* Animated Allocation Bars */
.alloc-fill {
  transform-origin: left;
  animation: barGrow 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}


/* =========================================================
   Right-Side Seamless 3D Vector Stage (No Box / TV Frame)
   ========================================================= */
.hero-3d-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 430px;
  overflow: visible;
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at 50% 50%, #000 42%, rgba(0, 0, 0, 0.55) 68%, transparent 94%);
  mask-image: radial-gradient(ellipse 68% 72% at 50% 50%, #000 42%, rgba(0, 0, 0, 0.55) 68%, transparent 94%);
}

.hero-3d-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  cursor: grab;
}

.hero-3d-stage canvas:active {
  cursor: grabbing;
}

@media (max-width: 960px) {
  .hero-3d-stage {
    height: 310px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1220px, 100% - 1.5rem);
  }
  .hero {
    padding: 2rem 0 1.75rem;
  }
  .section {
    padding: 2.1rem 0;
  }
  .form-panel {
    padding: 1.25rem;
  }
  .input,
  .select,
  .textarea {
    font-size: 16px;
  }
  .hero-3d-stage {
    height: 270px;
  }
}


/* =========================================================
   Compact Breakdown & Animated Centered Confirmation Modal
   ========================================================= */
.section-compact {
  padding: 2rem 0;
}

.section-compact .section-head {
  margin-bottom: 1.1rem;
}

.data-table-compact th,
.data-table-compact td {
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
}

.data-table-compact .alloc-bar {
  margin-top: 0.2rem;
  height: 3px;
}

dialog.success-modal {
  margin: auto;
  width: min(500px, 100% - 2rem);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 32px 80px rgba(17, 15, 13, 0.45);
  overflow: visible;
}

dialog.success-modal[open] {
  animation: modalPop 0.42s cubic-bezier(0.18, 1.25, 0.32, 1) both;
}

dialog.success-modal::backdrop {
  background: rgba(17, 15, 13, 0.72);
  backdrop-filter: blur(6px);
  animation: fadeInBackdrop 0.25s ease both;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: perspective(900px) scale(0.86) translateY(22px) rotateX(8deg);
  }
  to {
    opacity: 1;
    transform: perspective(900px) scale(1) translateY(0) rotateX(0deg);
  }
}

@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.success-modal-body {
  padding: 2rem 1.75rem;
  text-align: center;
}

.wa-pulse-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: waPulse 1.8s infinite;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2be371, #15a08f);
}


/* =========================================================
   Compact Bento Pricing Tabs & 3-Step Studio Wizard
   ========================================================= */
.bento-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.bento-head .kicker {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bento-head h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  color: var(--dark);
  line-height: 1.12;
}

.bento-tabs,
.wizard-steps-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: var(--white);
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.bento-tab,
.wizard-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-step-btn span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--dark);
  font-size: 0.7rem;
}

.bento-tab.active,
.wizard-step-btn.active {
  background: var(--dark);
  color: var(--gold-light);
}

.wizard-step-btn.active span {
  background: var(--gold);
  color: var(--dark);
}

.bento-panel,
.wizard-pane {
  display: none;
}

.bento-panel.active,
.wizard-pane.active {
  display: block;
  animation: stepFade 0.28s ease both;
}

@keyframes stepFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fee-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.fee-bento-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.85rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.fee-bento-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.fee-bento-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.fee-bento-top strong {
  color: var(--dark);
  font-weight: 800;
  white-space: nowrap;
}

.infra-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.infra-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.infra-pill strong {
  display: block;
  font-size: 0.86rem;
  color: var(--dark);
}

.infra-pill span {
  font-size: 0.76rem;
  color: var(--muted);
}

.infra-price {
  font-weight: 800;
  color: var(--gold-dark) !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
}

.infra-pill-highlight {
  background: var(--gold-tint);
  border-color: var(--gold);
}

.radio-stack-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.radio-stack-inline .option-card {
  padding: 0.65rem 0.75rem;
}

.wizard-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .fee-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .infra-bento-grid,
  .radio-stack-inline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fee-bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-tabs,
  .wizard-steps-nav {
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .bento-tab,
  .wizard-step-btn {
    flex: 1;
    justify-content: center;
    padding: 0.45rem 0.5rem;
    font-size: 0.75rem;
  }
}


/* =========================================================
   Proof of Work Section
   ========================================================= */
.proof-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.proof-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
  padding: 1.15rem 1.25rem;
}

.proof-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proof-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--dark);
  color: var(--gold-light);
}

.proof-tag-client {
  background: var(--gold-tint);
  color: var(--gold-dark);
}

.proof-arrow {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-dark);
  transition: transform 0.2s ease;
}

.proof-card:hover .proof-arrow {
  transform: translate(3px, -3px);
}

.proof-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0.1rem 0 0;
  color: var(--dark);
}

.proof-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.proof-meta span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
}

@media (max-width: 720px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Animations 1, 2, 3 & 4: Hero Stagger, Tab Glider, Sparkles & Proof Trace
   ========================================================= */
/* 1. Staggered Hero Editorial Reveal */
@keyframes heroMaskUp {
  from {
    opacity: 0;
    transform: translateY(22px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

.hero .eyebrow,
.hero h1,
.hero p.lead,
.hero-cta,
.hero-trust {
  animation: heroMaskUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.14s; }
.hero p.lead { animation-delay: 0.24s; }
.hero-cta { animation-delay: 0.34s; }
.hero-trust { animation-delay: 0.44s; }

/* 2. Sliding Pill Indicator on Bento & Wizard Tabs */
.bento-tabs,
.wizard-steps-nav {
  position: relative;
}

.tab-glider {
  position: absolute;
  top: 0.3rem;
  left: 0;
  height: calc(100% - 0.6rem);
  border-radius: 999px;
  background: var(--dark);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
}

.bento-tab,
.wizard-step-btn {
  position: relative;
  z-index: 1;
}

.bento-tab.active,
.wizard-step-btn.active {
  background: transparent;
  color: var(--gold-light);
}

/* 3. Sparkle Burst Canvas inside Success Modal */
.sparkle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

.success-modal-body {
  position: relative;
  z-index: 2;
}

/* 4. Live Dot & Animated Brass Border Trace on Selected Works */
.proof-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.proof-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(120deg, transparent 20%, var(--gold), var(--gold-light), transparent 80%);
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.proof-card:hover::before {
  opacity: 1;
  animation: traceSweep 1.4s linear infinite;
}

@keyframes traceSweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero p.lead, .hero-cta, .hero-trust { animation: none !important; }
  .live-dot, .proof-card:hover::before { animation: none !important; }
}
