/* =========================================================================
   PT Seribu Langkah Besar — hand-written stylesheet
   Design language: classical Indonesian consulting.
   Mercury / Stripe / Linear gravitas. Text-forward. Almost no motion.
   ========================================================================= */

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

:root {
  --ink: #0F1720;
  --bg: #FAFAF7;
  --bg-alt: #F0EEE8;
  --accent: #5B4B8A;
  --accent-hover: #483870;
  --muted: #5A6472;
  --border: #E3DFD5;
  --border-strong: #D5D0C1;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  /* Hard stop on horizontal overflow — any rogue wide element gets clipped
     rather than scrolling the whole page sideways on mobile. */
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Display typography — Fraunces for H1/H2 only */
h1,
h2 {
  font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "SOFT" 30, "WONK" 0;
}

h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 500;
}

/* H3 & H4 stay in Inter (per brief) */
h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
}

h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
}

p {
  color: var(--ink);
  max-width: 68ch;
  /* Allow long inline tokens (emails, URLs) to wrap on narrow screens so they
     never force horizontal overflow. */
  overflow-wrap: anywhere;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

em {
  font-style: italic;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}

.muted {
  color: var(--muted);
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--border-strong);
  margin: 0 0 2rem 0;
  border: 0;
}

/* =========================================================================
   Header
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  height: 36px;
  width: auto;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-weight: 400;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-links .btn-link {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: all 0.15s ease;
}

.nav-links .btn-link:hover {
  background: var(--ink);
  color: var(--bg);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

/* =========================================================================
   Sections
   ========================================================================= */

section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-intro {
  max-width: 58ch;
  margin-bottom: 4rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  padding: 8rem 0 6rem;
  position: relative;
}

.hero .eyebrow {
  margin-bottom: 2rem;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.75rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 620px;
}

.hero-meta-item .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hero-meta-item p {
  font-size: 0.95rem;
  color: var(--ink);
}

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.25;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  text-decoration: none;
}

.btn-wide {
  width: 100%;
}

/* =========================================================================
   About
   ========================================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-copy p {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.7;
  max-width: 62ch;
}

.about-copy p + p {
  margin-top: 1.5rem;
}

.values {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.value h3 {
  margin-bottom: 0.75rem;
}

.value p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.value .value-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

/* =========================================================================
   Brands
   ========================================================================= */

.brands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.brand-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.15s ease;
}

.brand-card:hover {
  border-color: var(--border-strong);
}

.brand-card .brand-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.brand-card .brand-tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  background: var(--bg-alt);
  vertical-align: middle;
}

.brand-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

.brand-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
  max-width: none;
}

.brand-card .brand-link {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.brand-card .brand-link:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

.brand-card .brand-link .arrow {
  transition: transform 0.15s ease;
}

.brand-card:hover .brand-link .arrow {
  transform: translateX(3px);
}

/* =========================================================================
   Services
   ========================================================================= */

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-row:first-child {
  border-top: 1px solid var(--border);
}

.service-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
  padding-top: 0.15rem;
}

.service-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.service-body p {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 0.75rem;
}

.service-price {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.service-cta {
  display: flex;
  align-items: center;
}

/* =========================================================================
   Packages
   ========================================================================= */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.package-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.package-card.featured {
  border-color: var(--ink);
}

.package-card.featured::before {
  content: "Terpopuler";
  position: absolute;
  top: -11px;
  left: 2rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.3rem 0.7rem;
  font-weight: 500;
}

.package-sku {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.package-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

.package-price {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 400;
  margin: 0.25rem 0 0.5rem;
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
  padding: 0;
}

.package-features li {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.package-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.packages-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* =========================================================================
   Legal / Compliance
   ========================================================================= */

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.legal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.25rem 2rem;
}

.legal-card .legal-status {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legal-card .legal-status.in-progress {
  color: var(--accent);
}

.legal-card .legal-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.legal-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

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

.legal-note {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 72ch;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================================================
   FAQ
   ========================================================================= */

.faq-list {
  max-width: 760px;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.15s ease;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 1.75rem;
  max-width: 640px;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.faq-answer a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent);
}

/* =========================================================================
   Contact
   ========================================================================= */

.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-email h2 {
  /* Keep email on one line across all viewports down to iPhone SE (320px).
     32-char address (support@seribulangkahbesar.co.id) x ~0.55 avg Fraunces
     glyph width => ~268px at 15.2px; container interior at 320px is ~281px.
     clamp floor 0.95rem = 15.2px handles 320-360px with ~13px margin; 4.6vw
     scales smoothly thereafter. overflow: hidden + ellipsis is a graceful
     fallback if a device renders Fraunces slightly wider than expected. */
  font-size: clamp(0.95rem, 4.6vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  /* Graceful fallback: if the container is narrower than the text, clip rather
     than allowing a mid-word break. Still renders intelligibly on any phone. */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-email p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  max-width: 46ch;
}

.contact-email .btn {
  margin-bottom: 1rem;
}

.contact-email .contact-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0;
  font-style: italic;
}

.contact-info .info-item {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.contact-info .info-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contact-info p {
  color: var(--ink);
  font-size: 0.98rem;
  margin: 0;
}

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 4rem 0 2.5rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: rgba(250, 250, 247, 0.78);
}

.site-footer a:hover {
  color: var(--bg);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-name {
  color: var(--bg);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand p {
  color: rgba(250, 250, 247, 0.65);
  font-size: 0.9rem;
  max-width: 36ch;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--bg);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.93rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 250, 247, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(250, 250, 247, 0.55);
}

/* =========================================================================
   Legal pages (privacy, terms) — long-form content
   ========================================================================= */

.legal-page {
  padding: 6rem 0 5rem;
}

.legal-page .legal-header {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 22ch;
  margin-bottom: 1.5rem;
}

.legal-page .meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-page .meta + .meta {
  margin-top: 0.25rem;
}

.legal-body section {
  padding: 0;
  margin-bottom: 2.5rem;
}

.legal-body h2 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: 'Fraunces', serif;
}

.legal-body p,
.legal-body li {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-body p + p {
  margin-top: 0.9rem;
}

.legal-body ul {
  margin: 0.85rem 0 0.85rem 1.5rem;
  padding: 0;
}

.legal-body li {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.legal-body .callout {
  margin-top: 3rem;
  padding: 1.5rem 1.75rem;
  border-left: 2px solid var(--accent);
  background: var(--bg-alt);
  font-size: 0.95rem;
  color: var(--muted);
}

/* =========================================================================
   Responsive — 768px mobile breakpoint
   ========================================================================= */

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 4.5rem 0;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .hero-lead {
    /* Desktop 1.25rem is too large at phone widths — drop to match body scale. */
    font-size: 1.05rem;
  }

  .hero-meta {
    gap: 1.75rem;
    margin-top: 2.5rem;
  }

  /* Headings: section-intro also too large on phones */
  .section-intro {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    /* Ensure >=44px touch targets on mobile nav items. */
    padding: 0.95rem 1.5rem;
    min-height: 44px;
  }

  .nav-links .btn-link {
    margin: 0.5rem 1.5rem;
    text-align: center;
    /* Override li-a padding won't apply here, reassert for border visuals. */
    padding: 0.85rem 1.5rem;
  }

  .brand-name {
    display: none;
  }

  /* Section layouts stack */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-copy p {
    /* Desktop 1.1rem is a touch big next to a 16px base; keep readable but tight. */
    font-size: 1rem;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3.5rem;
  }

  .brands-grid {
    grid-template-columns: 1fr;
  }

  .brand-card h3 {
    /* 1.75rem at ~18ch could clip on 320px; scale down slightly. */
    font-size: 1.5rem;
  }

  .service-row {
    grid-template-columns: 48px 1fr;
    gap: 1.25rem;
    padding: 2rem 0;
  }

  .service-body h3 {
    /* Desktop 1.35rem is too heavy next to stacked CTA. */
    font-size: 1.15rem;
  }

  .service-cta {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
  }

  .service-cta .btn {
    width: 100%;
    /* Ensure >=44px tap target. 0.85rem top/bottom + 1.25 line + 2px border ~= 47px. */
    padding: 0.95rem 1.5rem;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* FAQ: summary type too large on narrow screens; clamp so the "+" never gets
     crowded against a wrapping title. */
  .faq-item summary {
    font-size: 1.1rem;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col ul {
    /* Increase vertical rhythm so footer links aren't a cramped wall. */
    gap: 0.9rem;
  }

  .footer-col a {
    /* Give footer links a real tap target on mobile. */
    display: inline-block;
    padding: 0.3rem 0;
    min-height: 44px;
    line-height: 1.5;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15.5px;
  }

  .container,
  .container-narrow {
    padding: 0 1.25rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero h1 {
    /* Fraunces can get tight on phones; tighten clamp floor. */
    font-size: clamp(1.9rem, 8vw, 2.25rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-meta {
    gap: 1.25rem;
    flex-direction: column;
  }

  .brand-card,
  .package-card,
  .legal-card {
    padding: 1.75rem 1.5rem;
  }

  /* Featured package ribbon was positioned against 2rem of padding — update to
     match the new inline padding or it clips off the card edge. */
  .package-card.featured::before {
    left: 1.5rem;
  }

  .service-row {
    /* Smaller number column so the text has more breathing room. */
    grid-template-columns: 36px 1fr;
    gap: 1rem;
  }

  .service-num {
    font-size: 1.15rem;
  }

  .nav-links {
    top: 64px;
  }

  .site-header .nav {
    height: 64px;
  }

  .brand-mark {
    /* Slight bump-down so the sticky header takes less hero space. */
    height: 32px;
  }

  /* Contact CTA should span full width on tiny screens for thumb reach. */
  .contact-email .btn {
    display: block;
    width: 100%;
  }

  /* Legal pages: large h1 was fine, but section h2 margin could be tightened. */
  .legal-body h2 {
    font-size: 1.2rem;
  }
}
