/* ===========================================================
   BOLD DIGITALS — shared design system, v2
   A cool dusk-toned hero photograph-illustration gives way to
   warm ivory, terracotta and muted gold through the rest of
   the site. Editorial, restrained, mature.
   Display: Playfair Display (serif, italic for emphasis).
   Body & labels: Work Sans.
   =========================================================== */

:root {
  --ink: #1C1A22;
  --paper: #F2EFEC;
  --paper-raised: #FFFFFF;
  --muted: #746F6C;
  --line: #E1DBD5;
  --accent: #C1552F;
  --accent-ink: #FFFFFF;
  --gold: #6BC4CC;
  --gold-ink: #1C1A22;
  --success-bg: #EEF4E8;
  --success-text: #45632C;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 48px -24px rgba(28,26,34,0.18);

  /* Hero-only atmosphere tokens (dusk gradient + skyline) */
  --sky-top: #2B3A4F;
  --sky-mid: #6C7E93;
  --sky-horizon: #E8B583;
  --silhouette: #1B222C;
  --water: #3A4658;
  --hero-accent: #7FD8E0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F3EDE3;
    --paper: #17151B;
    --paper-raised: #1F1C24;
    --muted: #B0A79A;
    --line: #322D34;
    --accent: #E07A4E;
    --accent-ink: #17151B;
    --gold: #7FD8E0;
    --gold-ink: #17151B;
    --success-bg: #1D2A18;
    --success-text: #9BCB7E;
    --shadow: 0 24px 48px -24px rgba(0,0,0,0.55);
  }
}
:root[data-theme="dark"] {
  --ink: #F3EDE3;
  --paper: #17151B;
  --paper-raised: #1F1C24;
  --muted: #B0A79A;
  --line: #322D34;
  --accent: #E07A4E;
  --accent-ink: #17151B;
  --gold: #7FD8E0;
  --gold-ink: #17151B;
  --success-bg: #1D2A18;
  --success-text: #9BCB7E;
  --shadow: 0 24px 48px -24px rgba(0,0,0,0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
em, .accent-italic { font-style: italic; color: var(--accent); font-weight: 700; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 6vw;
}

.eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.logo span { font-style: italic; color: var(--accent); }
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav-links a { color: var(--muted); transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); color: #fff; }
.nav-toggle { display: none; }

/* Transparent nav sitting on top of the full-bleed hero photo (home only) */
.nav-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.nav-overlay .logo { color: #fff; }
.nav-overlay .logo span { color: var(--accent); }
.nav-overlay .nav-links a { color: rgba(255,255,255,0.78); }
.nav-overlay .nav-links a:hover, .nav-overlay .nav-links a.active { color: #fff; }
.nav-overlay .nav-cta {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.nav-overlay .nav-cta:hover { background: #fff; color: var(--ink); }
@media (max-width: 900px) {
  .nav-overlay .nav-toggle { color: #fff; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent); }
.btn-lime { background: var(--accent); color: var(--accent-ink); }
.btn-lime:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); padding: 14.5px 28px; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  background: none; border: none; cursor: pointer;
  font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink);
}
.btn-ghost .ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.btn-ghost:hover .ring { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* ---------- Badge / tag ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ---------- Hero (editorial, full-bleed photographic) ---------- */
.hero-full {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 980px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero-full .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-full .hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-full .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,12,18,0.55) 0%, rgba(10,12,18,0.12) 26%, rgba(10,12,18,0.3) 68%, rgba(10,12,18,0.68) 100%);
}
.hero-full .wrap {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 6vw;
  margin: 0 auto;
}
.hero-full .tag { color: rgba(255,255,255,0.8); }
.hero-full .tag .dot { background: var(--hero-accent); box-shadow: 0 0 10px rgba(127,216,224,0.7); }
.hero-full h1 {
  color: #fff;
  font-size: clamp(38px, 5.6vw, 64px);
  margin: 22px 0 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-full h1 em { color: #fff; }
.hero-full p.lede {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 50ch;
  margin: 0 auto 36px;
}
.hero-full .btn-row { justify-content: center; }
.hero-full .btn-primary { background: #fff; color: var(--ink); }
.hero-full .btn-primary:hover { background: var(--hero-accent); color: var(--ink); }
.hero-full .btn-ghost { color: #fff; }
.hero-full .btn-ghost .ring { border-color: rgba(255,255,255,0.6); }
.hero-full .btn-ghost:hover .ring { background: #fff; color: var(--ink); }
.hero-full .scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 999px;
}
.hero-full .scroll-cue::before {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translate(-50%, 0); }
  60% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* Simpler hero for inner pages (no full atmosphere) */
.hero {
  padding: 88px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,6fr) minmax(0,5fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  max-width: 15ch;
  margin: 20px 0 22px;
}
.hero p.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 32px;
}
.stat-row {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--ink);
}
.stat-label { font-size: 13px; color: var(--muted); }

/* Hero visual card (inner pages) */
.hero-visual {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
}
.hero-visual .card { background: transparent; padding: 0; text-align: center; }
.hv-metric-label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.hv-metric-value { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 44px; margin-top: 10px; color: var(--ink); }
.hv-chip {
  position: absolute;
  background: var(--accent);
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 999px;
  top: -14px;
  right: 24px;
}

/* ---------- Section scaffolding ---------- */
section { padding: 76px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head .tag { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .muted-on-dark { color: #C9C0B4; }

/* ---------- Grids / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.card .icon-box {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 17px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card a.card-link { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }

/* Niche strip */
.niche-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 19px;
  transition: border-color .15s ease, transform .15s ease;
}
.niche-pill:hover { border-color: var(--accent); transform: translateX(4px); }
.niche-pill .arrow { color: var(--accent); font-size: 20px; }

/* Pricing */
.price-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--accent);
  position: relative;
  box-shadow: var(--shadow);
}
.price-card .badge-top {
  position: absolute; top: -14px; left: 30px;
  background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 7px 15px; border-radius: 999px;
  font-family: 'Work Sans', sans-serif;
}
.price-card h3 { font-size: 22px; }
.price-card .amount { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 44px; margin: 14px 0 4px; }
.price-card .amount span { font-size: 15px; font-weight: 500; color: var(--muted); font-family: 'Work Sans', sans-serif; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0; flex: 1; }
.price-card li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; }
.price-card li:first-child { border-top: none; }
.price-card li::before { content: "＋"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Testimonial */
.testimonial {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.testimonial p.quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 20px; margin-bottom: 22px; line-height: 1.4; }
.testimonial .who { font-weight: 700; font-size: 14px; }
.testimonial .role { color: var(--muted); font-size: 13px; }

/* Guarantee banner */
.guarantee {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 44px;
  flex-wrap: wrap;
}
.guarantee .g-num { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700; font-size: 58px; line-height: 1; color: var(--gold); }
.guarantee .g-text { flex: 1; min-width: 240px; }
.guarantee .g-text h3 { font-size: 22px; margin-bottom: 8px; color: #fff; }
.guarantee .g-text p { color: #C9C0B4; margin: 0; }

/* Process steps */
.step-list { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 26px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: none; }
.step .step-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
  width: 50px;
}
.step h4 { font-size: 18px; margin-bottom: 6px; font-weight: 700; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* FAQ */
.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h4 { font-size: 16.5px; margin-bottom: 8px; font-weight: 700; }
.faq-item p { color: var(--muted); margin: 0; font-size: 15px; }

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 68px 48px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; margin-bottom: 18px; }
.cta-band p { color: #C9C0B4; max-width: 46ch; margin: 0 auto 34px; font-size: 17px; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; font-family: 'Work Sans'; font-weight: 600; }
.footer-grid a { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 11px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px;
}

/* Contact form */
.contact-form {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; display: block; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 110px; }

/* Utility */
.mt-0 { margin-top: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .grid-4, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .hero-full { min-height: 520px; }
  .hero-full .wrap { padding: 88px 6vw 64px; }
  section { padding: 56px 0; }
  .guarantee { flex-direction: column; text-align: center; }
  .cta-band { padding: 48px 24px; }
}
