/* ==========================================================================
   GET NAILED — Renos & Roofing
   Bold & rugged tradesman design system
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  --ink: #0e1013;
  --ink-2: #171a1f;
  --ink-3: #20242b;
  --steel: #2a2f36;
  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --orange: #ff5c1a;
  --orange-dark: #e2480b;
  --orange-soft: rgba(255, 92, 26, 0.12);
  --white: #ffffff;
  --muted: #6d727a;
  --muted-light: #a6abb2;
  --line: rgba(14, 16, 19, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --font-display: 'Archivo Black', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --shadow-sm: 0 1px 2px rgba(14, 16, 19, 0.06), 0 2px 8px rgba(14, 16, 19, 0.05);
  --shadow-md: 0 8px 30px rgba(14, 16, 19, 0.10);
  --shadow-lg: 0 20px 60px rgba(14, 16, 19, 0.18);
  --radius: 14px;
  --radius-lg: 22px;

  --container: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ---- Utilities ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--ink); color: var(--paper); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--orange); }

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: -0.01em;
}
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.section-head p { color: var(--muted); max-width: 620px; margin-top: 16px; font-size: 1.06rem; }
.section-head--center { text-align: center; }
.section-head--center p { margin-left: auto; margin-right: auto; }
.section-head--light p { color: var(--muted-light); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 20px rgba(255, 92, 26, 0.35); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-lg { padding: 17px 34px; font-size: 1rem; }

/* ---- Caution stripe divider ---- */
.stripes {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 18px,
    var(--ink) 18px 36px
  );
  opacity: 0.92;
}

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: var(--paper); }
.site-header.scrolled { box-shadow: var(--shadow-lg); }
.topbar { background: var(--orange); color: #fff; font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar-locations span { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-phone { font-weight: 800; font-family: var(--font-mono); font-size: 0.9rem; }
.topbar-phone:hover { text-decoration: underline; }
.topbar-badge { background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 100px; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.01em; text-transform: uppercase; }
.logo-text strong { color: var(--orange); font-weight: 400; }
.logo-sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--muted-light); margin-top: 4px; text-transform: uppercase; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; font-size: 0.92rem; color: var(--paper); opacity: 0.85; transition: opacity 0.15s, color 0.15s; }
.main-nav a:hover { opacity: 1; color: var(--orange); }
.header-cta { padding: 12px 22px; }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,0.25); border-radius: 6px; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/img/hero-roof.jpg') center/cover no-repeat;
  opacity: 0.28;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,16,19,0.55) 0%, rgba(14,16,19,0.15) 45%, rgba(14,16,19,0.9) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 104px 24px 120px; max-width: var(--container); margin: 0 auto; }
.hero .eyebrow { color: var(--orange); }
.hero-title {
  font-size: clamp(3rem, 10vw, 7.5rem);
  margin: 22px 0 24px;
}
.hero-title span { color: var(--orange); }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--muted-light); max-width: 620px; font-weight: 400; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 48px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 600; color: var(--paper); opacity: 0.92; }
.hero-trust .check { color: var(--orange); font-weight: 800; }

/* ---- Stats bar ---- */
.stats { margin-top: -60px; position: relative; z-index: 3; }
.stat-grid {
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat { padding: 30px 28px; text-align: center; color: var(--paper); border-right: 1px solid var(--line-light); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--orange); display: block; line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-light); display: block; margin-top: 8px; }

/* ---- Services ---- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(255, 92, 26, 0.4); }
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 54px; height: 54px; border-radius: 10px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; margin-bottom: 20px; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }
.service-card .link { font-weight: 700; color: var(--orange); font-size: 0.92rem; }
.service-card .link:hover { text-decoration: underline; }

/* ---- Differentiator band ---- */
.band { background: var(--orange); color: var(--ink); padding: 72px 0; }
.band-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.band h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.band p { font-size: 1.05rem; margin-top: 14px; }
.band .btn { background: var(--ink); color: #fff; margin-top: 26px; }
.band .btn:hover { background: #000; }

/* ---- Why choose us ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,0.03); border: 1px solid var(--line-light); }
.why-num { font-family: var(--font-mono); color: var(--orange); font-size: 0.8rem; letter-spacing: 0.1em; }
.why-card h3 { font-size: 1.15rem; font-weight: 800; margin: 10px 0 10px; color: var(--paper); }
.why-card p { color: var(--muted-light); font-size: 0.93rem; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--ink-3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14,16,19,0.5)); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover::after { opacity: 1; }

/* ---- Reviews ---- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.review-stars { color: var(--orange); font-size: 1.1rem; letter-spacing: 2px; }
.review-card blockquote { color: var(--ink); font-size: 1.02rem; line-height: 1.55; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-weight: 800; font-family: var(--font-mono); }
.review-author b { display: block; font-size: 0.94rem; }
.review-author span { color: var(--muted); font-size: 0.8rem; }
.google-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; font-weight: 700; }
.google-badge .g { font-family: var(--font-display); font-size: 1.3rem; }

/* ---- Service areas ---- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(255,92,26,0.4); }
.area-card .name { font-weight: 800; font-size: 1.05rem; }
.area-card .tag { display: block; color: var(--muted); font-size: 0.8rem; font-family: var(--font-mono); margin-top: 3px; }
.area-card .arrow { color: var(--orange); font-weight: 800; font-size: 1.3rem; transition: transform 0.18s; }
.area-card:hover .arrow { transform: translateX(5px); }
.area-note { color: var(--muted); font-size: 0.9rem; margin-top: 24px; text-align: center; }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 0; font-size: 1.1rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.faq-q .icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; transition: transform 0.25s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 40px 24px 0; color: var(--muted); }
.faq-item.open .faq-a { max-height: 400px; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.contact-info > p { color: var(--muted); margin: 14px 0 26px; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.contact-methods a { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; }
.contact-methods a:hover { color: var(--orange); }
.contact-methods .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; flex: 0 0 auto; }
.contact-methods .ico svg { width: 20px; height: 20px; }
.contact-methods small { display: block; color: var(--muted); font-weight: 500; font-size: 0.82rem; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); font-size: 0.98rem; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 10px; }

/* ---- Page hero (location pages) ---- */
.page-hero { background: var(--ink); color: var(--paper); padding: 72px 0 80px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 60px, rgba(255,255,255,0.015) 60px 120px);
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 900px; }
.page-hero h1 span { color: var(--orange); }
.page-hero p { color: var(--muted-light); max-width: 680px; margin-top: 18px; font-size: 1.1rem; }
.crumbs { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 22px; }
.crumbs a:hover { color: var(--orange); }

/* ---- Location content ---- */
.location-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.prose h2 { font-size: 1.6rem; margin: 28px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { margin: 10px 0 18px; }
.prose ul li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink); }
.prose ul li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.prose strong { color: var(--ink); }
.loc-side { position: sticky; top: 140px; }
.loc-card { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.loc-card h3 { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; margin-bottom: 18px; }
.loc-card p { color: var(--muted-light); font-size: 0.93rem; margin-bottom: 14px; }
.loc-card .btn { width: 100%; margin-top: 6px; }
.loc-card .btn-ghost { margin-top: 10px; }
.loc-meta { margin-top: 20px; border-top: 1px solid var(--line-light); padding-top: 16px; font-size: 0.82rem; color: var(--muted-light); }
.loc-meta span { display: block; margin-bottom: 6px; }

/* ---- CTA band ---- */
.cta-band { background: var(--orange); color: var(--ink); text-align: center; padding: 72px 0; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.cta-band p { font-size: 1.08rem; margin: 14px 0 28px; }
.cta-band .btn { background: var(--ink); color: #fff; }
.cta-band .btn:hover { background: #000; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: var(--muted-light); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; max-width: 300px; }
.footer-col h4 { color: var(--paper); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: var(--muted-light); font-size: 0.93rem; }
.footer-col a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 13px; font-size: 0.93rem; }
.footer-contact .ico { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; }
.footer-bottom a { color: var(--muted-light); }
.footer-bottom a:hover { color: var(--orange); }

/* ---- Reveal animations ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .service-grid, .why-grid, .review-grid, .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .band-inner, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .loc-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.mobile-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink-2); padding: 18px 24px 26px; border-top: 1px solid var(--line-light);
  }
  .main-nav.mobile-open ul { flex-direction: column; gap: 4px; }
  .main-nav.mobile-open a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .hero-inner { padding: 72px 24px 96px; }
  .service-grid, .why-grid, .review-grid, .areas-grid, .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-badge { display: none; }
}

/* ---- Article / guide layout ---- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 56px; align-items: start; }
.article-meta { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; margin: 18px 0 8px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-body { font-size: 1.05rem; }
.article-body h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.55rem; line-height: 1.1; margin: 36px 0 14px; }
.article-body h3 { font-size: 1.2rem; font-weight: 800; margin: 26px 0 10px; }
.article-body p { color: var(--ink); margin-bottom: 16px; }
.article-body strong { color: var(--ink); }
.article-body ul, .article-body ol { margin: 6px 0 20px; }
.article-body ul li, .article-body ol li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink); }
.article-body ul li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.article-body ol { counter-reset: step; }
.article-body ol li { counter-increment: step; padding-left: 36px; }
.article-body ol li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 0.75rem; display: grid; place-items: center; }
.article-lead { font-size: 1.2rem; color: var(--muted); font-weight: 500; }

.callout { background: var(--orange-soft); border-left: 4px solid var(--orange); padding: 18px 22px; border-radius: 8px; margin: 24px 0; }
.callout p { margin: 0; }
.callout strong { color: var(--ink); }

.cost-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.95rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cost-table th { background: var(--ink-2); color: var(--paper); text-align: left; padding: 13px 16px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cost-table td { padding: 13px 16px; border-top: 1px solid var(--line); }
.cost-table tr:nth-child(even) td { background: var(--paper-2); }

.article-cta { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: 34px; margin: 36px 0; }
.article-cta h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.article-cta p { color: var(--muted-light); margin-bottom: 20px; }
.article-cta .btn-ghost { margin-left: 12px; }

.sidebar { position: sticky; top: 140px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.side-card h4 { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; color: var(--muted); }
.side-card ul li { margin-bottom: 10px; }
.side-card a { color: var(--ink); font-weight: 600; font-size: 0.93rem; }
.side-card a:hover { color: var(--orange); }
.side-cta { background: var(--orange); color: var(--ink); border: none; }
.side-cta h4 { color: rgba(14,16,19,0.7); }
.side-cta p { font-size: 0.95rem; font-weight: 600; margin-bottom: 14px; }
.side-cta .btn { background: var(--ink); color: #fff; width: 100%; }
.side-cta .btn:hover { background: #000; }

/* Home guides section */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(255,92,26,0.4); }
.guide-card .tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.guide-card h3 { font-weight: 800; font-size: 1.08rem; margin: 10px 0 10px; line-height: 1.3; }
.guide-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.guide-card .link { margin-top: auto; font-weight: 700; color: var(--orange); font-size: 0.9rem; }

@media (max-width: 960px) {
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .guide-grid { grid-template-columns: 1fr; }
  .article-cta .btn-ghost { margin-left: 0; margin-top: 10px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
