/* Shared styles for service pages. Matches the homepage design (index.html). */
:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --panel: #111111;
  --panel-strong: #171717;
  --line: #222222;
  --text: #f3f3f3;
  --muted: #999999;
  --muted-2: #858585;
  --accent: #7dff6a;
  --accent-strong: #50d952;
  --accent-soft: rgba(125,255,106,0.10);
  --shadow: 0 32px 80px rgba(0,0,0,0.6);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', Arial, sans-serif;
  background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(125,255,106,0.06) 0%, transparent 55%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 { line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.03em; }
p  { color: var(--muted); line-height: 1.72; }
.prose a, p a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.container { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; margin-bottom: 1rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.section-header { max-width: 720px; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.9rem; }
.section-header p { font-size: 1.05rem; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0 1.85rem; border-radius: 999px;
  font-family: inherit; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.button-primary { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #040404; }
.button-primary:hover, .button-primary:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(125,255,106,0.28); }
.button-secondary { background: transparent; border-color: var(--line); color: var(--text); }
.button-secondary:hover, .button-secondary:focus-visible { transform: translateY(-2px); border-color: rgba(255,255,255,0.22); }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Topbar */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; padding-block: 0.4rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); flex-wrap: wrap; }
.topbar-meta { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.topbar a { transition: color var(--transition); }
.topbar a:hover { color: var(--text); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 120; background: rgba(5,5,5,0.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; transition: min-height 0.25s ease; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 44px; flex-shrink: 1; min-width: 0; }
.brand-icon { width: 44px; height: 44px; flex-shrink: 0; filter: drop-shadow(0 0 14px rgba(125,255,106,0.14)); transition: width 0.25s ease, height 0.25s ease; }
.brand-name { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.1em; line-height: 1; text-transform: uppercase; white-space: nowrap; color: var(--text); }
.brand-name span { color: var(--accent); }
.site-header.is-compact .header-inner { min-height: 52px; }
.site-header.is-compact .brand-icon { width: 34px; height: 34px; }
.brand-mark { width: min(240px, 50vw); height: auto; filter: drop-shadow(0 0 22px rgba(125,255,106,0.14)); }
.main-nav { display: flex; align-items: center; gap: 2.2rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.main-nav a { transition: color var(--transition); }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); }
.main-nav a[aria-current="page"] { color: var(--accent); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #040404; flex-shrink: 0; transition: transform var(--transition), box-shadow var(--transition); }
.nav-cta:hover, .nav-cta:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(125,255,106,0.22); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; padding: 0 10px; flex-shrink: 0; z-index: 110; position: relative; }
.nav-toggle span { display: block; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; box-sizing: border-box; overflow-y: auto; z-index: 100; background: rgba(3,3,3,0.97); display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 2.2rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.mobile-nav.open { opacity: 1; visibility: visible; pointer-events: all; transition: opacity 0.3s ease; }
.mobile-nav a { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--muted); transition: color var(--transition); }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .mobile-cta, .mobile-nav .mobile-cta:hover { margin-top: 1rem; font-size: 0.78rem; color: #040404; }

/* Breadcrumb */
.breadcrumb { padding-top: 1.6rem; font-size: 0.78rem; color: var(--muted-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span[aria-hidden] { margin: 0 0.5rem; }

/* Service hero */
.svc-hero { padding: 2.5rem 0 4.5rem; }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.svc-hero h1 { margin-bottom: 1.3rem; max-width: 640px; }
.svc-hero .lead { font-size: 1.1rem; max-width: 540px; margin-bottom: 2rem; }
.svc-hero .actions { margin-bottom: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-points li { padding: 0.4rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-photo { border: 1px solid var(--line); border-radius: 28px; padding: 0.8rem; background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: var(--panel); }
.hero-photo figcaption { padding: 0.8rem 0.4rem 0.2rem; font-size: 0.82rem; color: var(--muted-2); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card { background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; }
.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.95rem; }
.card ul { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.card li, .checklist li { display: flex; gap: 0.65rem; font-size: 0.92rem; color: var(--muted); }
.card li::before, .checklist li::before { content: ''; width: 5px; height: 5px; margin-top: 0.62em; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.8rem 2rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--accent); padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--accent); margin-bottom: 0.4rem; }
.steps h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.steps p { font-size: 0.93rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.callout { border-left: 3px solid var(--accent); padding: 0.2rem 0 0.2rem 1.4rem; }
.callout p + p { margin-top: 0.9rem; }
.callout strong { color: var(--text); }

/* Photos */
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.photo-grid figure { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--panel); }
.photo-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-grid figcaption { padding: 0.8rem 1rem; font-size: 0.88rem; font-weight: 700; color: var(--text); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq summary { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 0.8rem; }

/* Related */
.related { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.related a { padding: 0.7rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--muted); transition: color var(--transition), border-color var(--transition); }
.related a:hover { color: var(--text); border-color: rgba(125,255,106,0.4); }

/* Quote section + form */
.quote-band { background: linear-gradient(135deg, #0b0b0b, #111111 52%, #141414); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-inner { display: flex; justify-content: space-between; gap: 2.5rem; padding: 4.5rem 0; flex-wrap: wrap; }
.quote-inner > div:first-child { flex: 1 1 340px; }
.quote-inner h2 { margin-bottom: 0.7rem; }
.quote-inner .hours-line { margin-top: 1rem; font-size: 0.92rem; }
.quote-inner .hours-line strong { color: var(--text); }
.contact-form { flex: 0 1 540px; max-width: 100%; display: flex; flex-direction: column; gap: 0.9rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.contact-form .optional { font-weight: 400; color: var(--muted-2); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 1rem; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.7rem 0.85rem; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .button { align-self: flex-start; }
.contact-form .button[disabled] { opacity: 0.6; cursor: wait; }
.form-msg { font-size: 0.8rem; color: var(--muted-2); }
.form-note { font-size: 0.8rem; line-height: 1.55; color: var(--muted); margin: 0; }
.form-msg.ok { color: var(--accent); }
.form-msg.warn { color: #e7d76b; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: #060606; border-top: 1px solid var(--line); }
.footer-top { padding: 4rem 0 3rem; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; border-bottom: 1px solid var(--line); }
.footer-brand .brand-mark { width: min(180px, 42vw); margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.88rem; max-width: 300px; color: var(--muted-2); }
.footer-brand p + p { margin-top: 0.8rem; }
.footer-brand a { color: var(--text); font-weight: 600; text-decoration: none; }
.footer-links-group { display: flex; gap: 4.5rem; }
.footer-col h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; color: var(--muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding: 1.6rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.72rem; color: var(--muted-2); }
.footer-bottom-links { display: flex; gap: 1.8rem; }
.footer-bottom-links a { font-size: 0.72rem; color: var(--muted-2); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--muted); }

/* Mobile call bar */
.call-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; gap: 0.6rem; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); background: rgba(5,5,5,0.94); border-top: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.call-bar .button { flex: 1; min-height: 48px; padding: 0 1rem; }

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 1060px) {
  .footer-top { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .svc-hero-grid, .split, .card-grid, .card-grid.two { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-links-group { flex-direction: column; gap: 2.2rem; }
  .hero-photo { max-width: 460px; }
}
@media (max-width: 760px) {
  .nav-cta { display: none; }
  .header-inner { min-height: 56px; gap: 1rem; }
  .brand-icon { width: 36px; height: 36px; }
  .brand-name { font-size: 0.9rem; letter-spacing: 0.08em; }
  .site-header.is-compact .header-inner { min-height: 48px; }
  .site-header.is-compact .brand-icon { width: 30px; height: 30px; }
  .section { padding: 4rem 0; }
  .svc-hero { padding: 1.5rem 0 3.5rem; }
  .checklist, .form-row { grid-template-columns: 1fr; }
  .footer-top { padding: 2.8rem 0 2.2rem; }
  .call-bar { display: flex; }
  body { padding-bottom: 76px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 1.3rem 1.1rem; }
}
@media (max-width: 330px) {
  .header-inner { gap: 0.6rem; }
  .brand { gap: 0.5rem; }
  .brand-icon { width: 32px; height: 32px; }
  .brand-name { font-size: 0.78rem; letter-spacing: 0.03em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .nav-cta, .nav-toggle span, .mobile-nav, .header-inner, .brand-icon { transition: none; }
}
