/* ===================================================================
   SP Web Works — stylesheet
   Palette: deep navy + gold accents + soft greys. Modern & premium.
   =================================================================== */
:root {
  --navy: #0c1a30;
  --navy-2: #102542;
  --navy-3: #16315a;
  --gold: #c9a24b;
  --gold-soft: #e4c97e;
  --ink: #131c29;
  --muted: #5d6b7e;
  --paper: #f5f7fa;
  --line: #e6eaf1;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(12, 26, 48, 0.10);
  --shadow-lg: 0 30px 70px rgba(12, 26, 48, 0.22);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.center-block { text-align: center; }

/* ===== Typography ===== */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
}
.eyebrow.center { display: block; text-align: center; }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 14px 0 22px;
  color: var(--navy);
}
.section-title.left { text-align: left; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.lead.center { margin: 0 auto 8px; text-align: center; }

/* ===== Sections ===== */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--paper); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 16px 30px; border-radius: 999px; text-decoration: none;
  cursor: pointer; border: 1.5px solid transparent; transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(201,162,75,0.32); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201,162,75,0.42); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.8); }
.btn-sm { padding: 11px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn.full { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0; transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { background: rgba(12, 26, 48, 0.92); backdrop-filter: blur(10px); padding: 12px 0; box-shadow: 0 8px 30px rgba(0,0,0,0.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-badge {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(201,162,75,0.4);
}
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--white); letter-spacing: 0.01em; }
.brand-name.light { color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(255,255,255,0.88); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-soft); }
.nav-cta { color: var(--navy) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-3) 0%, var(--navy-2) 38%, var(--navy) 75%);
  color: var(--white);
  padding: clamp(130px, 18vh, 200px) 0 clamp(80px, 12vh, 130px);
}
.hero-glow { position: absolute; top: -20%; right: -10%; width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(201,162,75,0.22), transparent 60%); filter: blur(20px); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 5.4vw, 4.3rem); line-height: 1.04; letter-spacing: -0.02em; margin: 16px 0 20px; }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,0.82); max-width: 520px; margin-bottom: 34px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-trust li { font-size: 0.9rem; color: rgba(255,255,255,0.75); letter-spacing: 0.02em; }
.hero-trust li::first-letter { color: var(--gold); }

/* hero mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.mock { width: 100%; max-width: 420px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(1.4deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #eef1f6; }
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #cdd4df; }
.mock-bar .dot:nth-child(1){ background:#f0a8a8; } .mock-bar .dot:nth-child(2){ background:#f3d28c; } .mock-bar .dot:nth-child(3){ background:#a9d8ad; }
.mock-url { margin-left: 10px; font-size: 0.72rem; color: #8b94a3; background: #fff; padding: 4px 12px; border-radius: 999px; flex: 1; }
.mock-body { padding: 0; }
.mock-hero { background: linear-gradient(135deg, var(--navy-2), var(--navy)); padding: 26px 22px 30px; }
.mock-pill { width: 70px; height: 9px; border-radius: 999px; background: var(--gold); margin-bottom: 14px; }
.mock-h { height: 13px; border-radius: 6px; background: rgba(255,255,255,0.85); margin-bottom: 9px; }
.mock-h.short { width: 60%; background: rgba(255,255,255,0.5); }
.mock-btn { width: 110px; height: 30px; border-radius: 999px; background: var(--gold); margin-top: 18px; }
.mock-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 18px 22px 24px; }
.mock-grid span { height: 54px; border-radius: 8px; background: #eef1f6; }
.mock-tag { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 9px 20px; border-radius: 999px; box-shadow: 0 10px 24px rgba(201,162,75,0.4); white-space: nowrap; }

/* ===== Trust strip ===== */
.strip { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; padding: 22px 28px;
  font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.72); text-transform: uppercase; }
.strip-inner span { position: relative; }
.strip-inner span:not(:last-child)::after { content: "✦"; color: var(--gold); margin-left: 40px; opacity: 0.6; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 8px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; box-shadow: var(--shadow); transition: transform 0.25s ease; }
.step:hover { transform: translateY(-6px); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy); color: var(--gold); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 18px; }
.step h3 { font-size: 1.18rem; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc-ico { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(201,162,75,0.16), rgba(201,162,75,0.06)); color: var(--gold); margin-bottom: 18px; }
.svc-ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.16rem; color: var(--navy); margin-bottom: 7px; }
.service p { color: var(--muted); font-size: 0.96rem; }

/* ===== Pricing ===== */
.price-card { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; max-width: 900px; margin: 48px auto 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.price-col { padding: 46px 44px; }
.price-divider { width: 1px; background: var(--line); }
.price-label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-weight: 700; color: var(--gold); }
.price-fig { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--navy); line-height: 1; margin: 12px 0 4px; }
.price-fig .from { font-size: 1rem; color: var(--muted); font-family: var(--sans); font-weight: 500; margin-right: 6px; vertical-align: middle; }
.price-fig .per { font-size: 1.1rem; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.price-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.price-list { list-style: none; }
.price-list li { position: relative; padding: 9px 0 9px 28px; color: var(--ink); font-size: 0.97rem; border-top: 1px solid var(--line); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.price-cta { text-align: center; margin-top: 36px; }

/* ===== Why choose ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 38px; margin-top: 12px; }
.why { display: flex; gap: 16px; align-items: flex-start; }
.why-check { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(201,162,75,0.14); color: var(--gold); font-weight: 700; font-size: 0.9rem; margin-top: 2px; }
.why h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.why p { color: var(--muted); font-size: 0.95rem; }

/* ===== CTA band ===== */
.cta-band { background: radial-gradient(120% 140% at 50% 0%, var(--navy-3), var(--navy) 70%); color: var(--white); text-align: center; padding: clamp(70px,9vw,110px) 0; }
.cta-inner h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; max-width: 760px; margin: 0 auto 14px; }
.cta-inner p { color: rgba(255,255,255,0.8); margin-bottom: 30px; font-size: 1.1rem; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.contact-points { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.contact-email { margin-top: 22px; color: var(--muted); }
.contact-email a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.contact-email a:hover { color: var(--gold); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.field input, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfcfe; transition: border 0.2s, box-shadow 0.2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,0.14); background: #fff; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.thanks { display: none; background: var(--paper); border: 1px solid var(--gold); border-radius: 20px; padding: 30px; text-align: center; font-size: 1.1rem; color: var(--navy); font-weight: 500; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 54px 0 36px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-tag { color: rgba(255,255,255,0.6); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 6px 0; }
.footer-links a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-top: 6px; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 54px; }
  .hero-visual { order: 2; }
  .hero-trust { justify-content: flex-start; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  /* mobile nav */
  .nav { background: rgba(12,26,48,0.92); backdrop-filter: blur(10px); }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-2); padding: 0 24px;
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav.open .nav-links { max-height: 420px; padding: 12px 24px 22px; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1rem; }
  .nav-cta { margin-top: 12px; border-bottom: 0 !important; }
  .nav.open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2){ opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .steps, .services, .why-grid { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 1fr; }
  .price-divider { width: auto; height: 1px; }
  .price-col { padding: 34px 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .contact-form { padding: 26px 22px; }
  .strip-inner span:not(:last-child)::after { display: none; }
}
