/* ===================================================================
   Jail Weddings LA — site.css  (GLOBAL)
   Truly global only: design tokens, base/reset, header, footer,
   buttons, hero, the shared section system, FAQ, and contact form.
   Page-specific components live in /assets/css/pages/*.css
   =================================================================== */

/* ---------- 1. DESIGN TOKENS — WARM DARK-PLUM THEME ---------- */
:root {
  /* Accents: warm rose-gold + deep burgundy buttons */
  --accent: #c97b63;          /* warm rose-gold / terracotta — links, kickers, icons */
  --accent-2: #d98a72;        /* lighter rose-gold for hover/glow */
  --accent-soft: #e7b4a3;     /* soft blush — kickers on dark, subtle highlights */
  --btn: #8e2f3a;             /* deep burgundy — primary buttons */
  --btn-dark: #76252f;        /* burgundy hover */
  --accent-dark: #76252f;     /* alias kept for legacy rules */

  /* Surfaces: deep espresso-plum, layered for depth */
  --bg: #1a1216;              /* page base — deep warm espresso-plum */
  --surface: #1f1519;         /* default section (was white) */
  --surface-alt: #251a1f;     /* alternating section (was light gray) */
  --surface-card: #2a1d23;    /* elevated cards / inputs */
  --navy: #140d10;            /* darkest sections / hero / footer */
  --navy-2: #100b0d;          /* info bar — near black plum */

  /* Text on dark */
  --ink: #f7efe9;             /* primary text — warm off-white */
  --heading: #fdf8f4;         /* headings — bright warm white */
  --muted: #c4b3ac;           /* secondary text — warm taupe */
  --line: rgba(255, 255, 255, 0.10); /* hairline borders */
  --line-strong: rgba(255, 255, 255, 0.16);

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.40);
  --maxw: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- 2. BASE / RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 600; line-height: 1;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--btn); color: #fff; box-shadow: 0 6px 18px rgba(142,47,58,0.40); }
.btn--primary:hover { background: var(--btn-dark); color: #fff; box-shadow: 0 8px 22px rgba(142,47,58,0.52); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn--flex { flex: 1 1 auto; }
/* On dark sections */
.service-detail--blue .btn--secondary,
.hero .btn--secondary { color: #fff; border-color: rgba(255,255,255,0.45); }
.service-detail--blue .btn--secondary:hover,
.hero .btn--secondary:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- 4. HERO ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero .hero-bg { position: absolute; inset: 0; }
.hero .hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 84px 24px 76px; }
.hero-kicker { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 16px; }
.hero-title { font-size: clamp(2rem, 5vw, 3.1rem); color: #fff; margin: 0 0 18px; }
.hero-subtitle { font-size: 1.1rem; color: #ede0d8; margin: 0 0 14px; }
.hero-meta { font-size: 0.95rem; color: #cdbab1; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn { padding: 14px 26px; }
@media (max-width: 760px) { .hero .hero-inner { padding: 64px 20px 52px; } }

/* ---------- 5. SECTION SYSTEM (.service-detail) ---------- */
.service-detail { position: relative; padding: 64px 0; }
.service-detail--white { background: var(--surface); }
.service-detail--gray { background: var(--surface-alt); }
.service-detail--blue { background: var(--navy); color: var(--ink); }
.service-detail-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.service-detail-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.service-detail--blue .service-detail-kicker { color: var(--accent-soft); }
.service-detail h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 14px; }
.service-detail--blue h2 { color: #fff; }
.service-detail-lead { font-size: 1.05rem; color: var(--muted); max-width: 70ch; margin: 0 0 12px; }
.service-detail--blue .service-detail-lead { color: var(--muted); }
.service-detail h3 { font-size: 1.1rem; margin: 0 0 10px; }
.service-detail--blue h3 { color: #fff; }
.service-detail ul li, .service-detail ol li { margin-bottom: 8px; color: var(--muted); }
.service-detail--blue ul li { color: var(--ink); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 8px; }
@media (max-width: 820px) { .service-detail-grid { grid-template-columns: 1fr; gap: 28px; } }
.section-divider { border: none; border-top: 1px solid var(--line); margin: 48px 0 0; }
.service-detail--blue .section-divider { border-top-color: rgba(255,255,255,0.14); }
.service-detail-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 6. FAQ ---------- */
.faq-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.02rem; margin: 0 0 6px; color: var(--ink); }
.service-detail--gray .faq-item h3 { color: var(--ink); }
.faq-item p { font-size: 0.92rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- 7. CONTACT ---------- */
.contact-columns { align-items: start; }
.contact-column-left { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--surface-card); border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-soft); }
.contact-card h3 { margin: 0 0 10px; }
.contact-card ul { margin: 0 0 14px; }
.contact-card ul li { font-size: 0.9rem; }
.contact-left-cta { margin-top: 4px; }
.contact-form { display: flex; flex-direction: column; }
.contact-form label { font-size: 0.82rem; font-weight: 600; color: var(--ink); margin: 10px 0 4px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 10px;
  font-family: var(--font); font-size: 0.95rem; color: var(--ink); background: var(--navy);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); opacity: 0.8; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,123,99,0.20); }
.contact-form textarea { resize: vertical; }
.contact-form button[type="submit"] { margin-top: 16px; }
.contact-form-card { background: var(--surface-card); }
.contact-status { font-size: 0.85rem; color: var(--muted); margin: 8px 0 0; }
.hnpt { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- 8. HEADER ---------- */
.home-infobar { background: var(--navy-2); color: var(--muted); font-size: 0.8rem; }
.home-infobar__inner { max-width: var(--maxw); margin: 0 auto; padding: 7px 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.home-infobar__item { display: inline-flex; align-items: center; gap: 6px; }
.home-infobar__phone { color: #fff; font-weight: 600; }
.home-infobar__phone:hover { color: var(--accent-soft); text-decoration: none; }
.home-infobar__sep { width: 1px; height: 14px; background: rgba(255,255,255,0.18); }

.home-header { position: sticky; top: 0; z-index: 100; background: rgba(20,13,16,0.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.home-header__inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; }
.home-header__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.home-header__brand:hover { text-decoration: none; }
.home-header__logo-box { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.home-header__brand-title { display: block; font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; line-height: 1.05; }
.home-header__brand-subtitle { display: block; font-size: 0.72rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.home-header__nav { display: flex; align-items: center; gap: 22px; margin-left: 8px; }
.home-header__nav a { font-size: 0.9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.home-header__nav a:hover, .home-header__nav a.is-active { color: var(--accent); }
.home-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.home-header__call { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.home-header__call:hover { color: var(--accent); text-decoration: none; }
.home-header__book { background: var(--btn); color: #fff; padding: 10px 18px; border-radius: var(--radius-pill); font-size: 0.86rem; font-weight: 700; }
.home-header__book:hover { background: var(--btn-dark); color: #fff; text-decoration: none; }
.home-header__toggle { display: none; flex-direction: column; gap: 4px; align-items: center; background: none; border: none; cursor: pointer; margin-left: auto; }
.home-header__toggle-line { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.home-header__toggle-text { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; color: var(--ink); margin-top: 2px; }
.home-mobile-menu { border-top: 1px solid var(--line); background: var(--navy); }
.home-mobile-menu nav { display: flex; flex-direction: column; padding: 8px 24px 16px; }
.home-mobile-menu a { padding: 12px 0; font-size: 0.95rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.home-mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .home-infobar { display: none; }
  .home-header__nav, .home-header__actions { display: none; }
  .home-header__toggle { display: inline-flex; }
}
@media (min-width: 901px) { .home-mobile-menu { display: none !important; } }

/* ---------- 9. UTILITIES ---------- */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
