/* =========================================================
   ClearCam Security — Design System
   Modern security: black + red. Cabinet Grotesk + Satoshi.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root,
[data-theme='light'] {
  --font-display: 'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

  /* Surfaces */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f6f6;
  --surface-3: #ededed;
  --surface-inverse: #0a0a0a;
  --border: rgba(0, 0, 0, 0.10);
  --border-strong: rgba(0, 0, 0, 0.18);

  /* Text */
  --text: #0a0a0a;
  --text-muted: #5a5a5a;
  --text-faint: #8a8a8a;
  --text-inverse: #ffffff;

  /* Accent (red) */
  --accent: #d40000;
  --accent-strong: #b30000;
  --accent-bright: #e60000;
  --accent-soft: rgba(212, 0, 0, 0.08);
  --on-accent: #ffffff;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.16), 0 8px 20px rgba(0, 0, 0, 0.10);
  --shadow-glow: 0 0 0 1px rgba(212, 0, 0, 0.25), 0 12px 40px rgba(212, 0, 0, 0.16);

  --grid-line: rgba(0, 0, 0, 0.04);
}

[data-theme='dark'] {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --surface-3: #262626;
  --surface-inverse: #ffffff;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);

  --text: #ffffff;
  --text-muted: #b0b0b0;
  --text-faint: #6e6e6e;
  --text-inverse: #0a0a0a;

  --accent: #e60000;
  --accent-strong: #ff1a1a;
  --accent-bright: #ff2d2d;
  --accent-soft: rgba(230, 0, 0, 0.14);
  --on-accent: #ffffff;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 0 1px rgba(230, 0, 0, 0.35), 0 18px 60px rgba(230, 0, 0, 0.22);

  --grid-line: rgba(255, 255, 255, 0.05);
}

/* Type scale */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.76rem + 0.3vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 5vw, 4.25rem);
  --text-hero: clamp(2.75rem, 0.8rem + 7vw, 5.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius-sm: 0.375rem; --radius-md: 0.625rem; --radius-lg: 0.875rem;
  --radius-xl: 1.125rem; --radius-2xl: 1.5rem; --radius-full: 9999px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --content: 1180px;
  --content-narrow: 720px;
}

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

html {
  -webkit-text-size-adjust: none; text-size-adjust: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100dvh; line-height: 1.6;
  font-family: var(--font-body); font-size: var(--text-base);
  color: var(--text); background-color: var(--bg);
  overflow-x: hidden;
}

/* subtle surveillance grid backdrop */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 80%);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; text-wrap: balance; letter-spacing: -0.01em; }
p, li, figcaption { text-wrap: pretty; max-width: 70ch; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }

::selection { background: var(--accent-soft); color: var(--text); }

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

button { cursor: pointer; background: none; border: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: var(--space-5); }
.container-narrow { max-width: var(--content-narrow); }
.section { padding-block: clamp(var(--space-12), 6vw, var(--space-24)); }
.section-tight { padding-block: clamp(var(--space-10), 4vw, var(--space-16)); }
.section-inverse { background: var(--surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: var(--accent); display: inline-block; }

.section-head { max-width: 640px; margin-bottom: var(--space-12); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--text-2xl); margin-top: var(--space-3); }
.section-head p { margin-top: var(--space-4); color: var(--text-muted); font-size: var(--text-base); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  padding: 0.85rem 1.5rem; border-radius: var(--radius-full);
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center; line-height: 1; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-glow); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-light { background: var(--text-inverse); color: var(--surface-inverse); }
.btn-light:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: var(--text-base); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: 4.5rem; }

.brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 36px; height: 36px; color: var(--accent); flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  color: var(--text-muted); font-size: var(--text-sm); font-weight: 500;
  padding: 0.5rem 0.65rem; border-radius: var(--radius-full); white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.active { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-phone { display: none; align-items: center; gap: var(--space-2); color: var(--text); font-weight: 600; font-size: var(--text-sm); }
.header-phone:hover { color: var(--accent); }

.theme-toggle {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: var(--radius-full); border: 1px solid var(--border); color: var(--text-muted);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }

.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: var(--radius-full); border: 1px solid var(--border); color: var(--text); }

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-phone { display: inline-flex; }
}
@media (max-width: 560px) { .header-phone span { display: none; } }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 4.5rem 0 auto 0; z-index: 99;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2);
  transform: translateY(-110%); visibility: hidden; transition: transform var(--transition), visibility var(--transition); box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a { padding: var(--space-4); border-radius: var(--radius-md); font-weight: 600; color: var(--text); }
.mobile-menu a:hover { background: var(--surface-2); }
.mobile-menu .btn { margin-top: var(--space-2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(var(--space-12), 5vw, var(--space-20)); padding-bottom: clamp(var(--space-16), 7vw, var(--space-24)); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 78%, transparent) 0%, var(--bg) 92%),
    radial-gradient(ellipse 60% 50% at 18% 30%, var(--accent-soft), transparent 60%);
}
.hero-inner { max-width: 760px; }
.hero h1 { font-size: var(--text-hero); font-weight: 800; line-height: 1.02; margin-top: var(--space-5); }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent-bright), var(--accent-strong)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: var(--text-lg); color: var(--text-muted); margin-top: var(--space-6); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-10); margin-top: var(--space-12); }
.hero-meta .stat-num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; color: var(--accent); }
.hero-meta .stat-label { font-size: var(--text-sm); color: var(--text-muted); }

/* ---------- Trust bar ---------- */
.trustbar { border-block: 1px solid var(--border); background: var(--surface); }
.trustbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-8); padding-block: var(--space-5); }
.trustbar p { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }
.trustbar .tags { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.trustbar .tags span { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text-muted); font-weight: 600; font-size: var(--text-sm); }
.trustbar .tags svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--space-5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: var(--space-8); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.card .icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent); margin-bottom: var(--space-5); }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--text-lg); }
.card p { color: var(--text-muted); margin-top: var(--space-3); font-size: var(--text-sm); }

/* feature list */
.feature-list { display: grid; gap: 0; }
.feature-list li { display: flex; gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid var(--border); color: var(--text-muted); }
.feature-list li:last-child { border-bottom: none; }
.feature-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 0.1rem; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .split-img { order: -1; } }
.split-img { border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); position: relative; }
.split-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h2 { font-size: var(--text-2xl); }

/* ---------- Stats band ---------- */
.stats { background: var(--surface-inverse); color: var(--text-inverse); }
.stats .grid-4 { gap: var(--space-8); }
.stats .stat-num { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 800; color: var(--accent-bright); line-height: 1; }
[data-theme='dark'] .stats .stat-num { color: var(--accent); }
.stats .stat-label { margin-top: var(--space-2); color: color-mix(in oklab, var(--text-inverse) 75%, transparent); font-size: var(--text-sm); }

/* ---------- Testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-8); }
.quote .stars { display: flex; gap: 2px; color: var(--accent-bright); margin-bottom: var(--space-4); }
.quote .stars svg { width: 18px; height: 18px; }
.quote blockquote { font-size: var(--text-base); color: var(--text); }
.quote .who { margin-top: var(--space-5); display: flex; align-items: center; gap: var(--space-3); }
.quote .avatar { width: 42px; height: 42px; border-radius: var(--radius-full); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.quote .who b { display: block; font-size: var(--text-sm); }
.quote .who small { color: var(--text-muted); font-size: var(--text-xs); }

/* ---------- Review card (photo + quote) ---------- */
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; display: flex; flex-direction: column; }
.review-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.review-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.review-body .stars { display: flex; gap: 2px; color: var(--accent-bright); }
.review-body .stars svg { width: 16px; height: 16px; }
.review-body blockquote { font-size: var(--text-sm); line-height: 1.65; color: var(--text); }
.review-body .who { margin-top: auto; display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-3); }
.review-body .avatar { width: 38px; height: 38px; border-radius: var(--radius-full); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); font-size: var(--text-xs); }
.review-body .who b { display: block; font-size: var(--text-sm); }
.review-body .who small { color: var(--text-muted); font-size: var(--text-xs); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-2xl); background: var(--surface-3); border: 1px solid var(--border); padding: clamp(var(--space-10), 5vw, var(--space-20)); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 0%, var(--accent-soft), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: var(--text-2xl); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--text-muted); margin-top: var(--space-4); max-width: 52ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Pricing ---------- */
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-8); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-glow); position: relative; }
.price-card .badge { position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: var(--radius-full); }
.price-card h3 { font-size: var(--text-lg); }
.price-card .price { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; margin-top: var(--space-2); }
.price-card .price small { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-muted); font-weight: 500; }
.price-card .desc { color: var(--text-muted); font-size: var(--text-sm); margin-top: var(--space-3); }
.price-card .feature-list { margin-block: var(--space-6); flex: 1; }
.price-note { text-align: center; color: var(--text-faint); font-size: var(--text-xs); margin-top: var(--space-6); }

/* ---------- Process ---------- */
.process { counter-reset: step; }
.step { position: relative; padding-left: var(--space-16); padding-bottom: var(--space-10); }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 3rem; height: 3rem; display: grid; place-items: center;
  border-radius: var(--radius-full); background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-sm);
}
.step::after { content: ""; position: absolute; left: 1.5rem; top: 3rem; bottom: 0; width: 2px; background: var(--border); }
.step:last-child::after { display: none; }
.step h3 { font-size: var(--text-lg); }
.step p { color: var(--text-muted); margin-top: var(--space-2); font-size: var(--text-sm); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); text-align: left; padding: var(--space-5) 0; font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); color: var(--text); }
.faq-q .chev { width: 20px; height: 20px; flex: none; color: var(--accent); transition: transform var(--transition); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-a p { color: var(--text-muted); padding-bottom: var(--space-5); font-size: var(--text-sm); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s var(--transition); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: var(--space-8) var(--space-4) var(--space-4); color: #fff; font-weight: 600; font-size: var(--text-sm);
  background: linear-gradient(transparent, rgba(4, 12, 24, 0.85)); }
.gallery figcaption small { display: block; color: var(--accent-bright); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: var(--text-xs); }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(var(--space-6), 3vw, var(--space-10)); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 0.8rem 1rem; color: var(--text); font-size: var(--text-base); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: var(--text-xs); color: var(--text-faint); margin-top: var(--space-4); }
.form-success { display: none; align-items: center; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent); font-weight: 600; margin-top: var(--space-5); }
.form-success.show { display: flex; }

/* contact info */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(var(--space-8), 4vw, var(--space-16)); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: var(--space-6); margin-top: var(--space-8); }
.info-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.info-item .icon { width: 44px; height: 44px; flex: none; }
.info-item b { display: block; font-size: var(--text-sm); }
.info-item a, .info-item p { color: var(--text-muted); font-size: var(--text-base); }
.info-item a:hover { color: var(--accent); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-block: clamp(var(--space-12), 5vw, var(--space-20)); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 85% 10%, var(--accent-soft), transparent 70%); pointer-events: none; }
.page-hero > * { position: relative; }
.page-hero h1 { font-size: var(--text-3xl); margin-top: var(--space-4); max-width: 18ch; }
.page-hero p { color: var(--text-muted); margin-top: var(--space-5); max-width: 60ch; font-size: var(--text-lg); }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: clamp(var(--space-12), 4vw, var(--space-20)) var(--space-10); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-10); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { margin-bottom: var(--space-5); }
.footer p, .footer a { color: var(--text-muted); font-size: var(--text-sm); }
.footer h4 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-4); }
.footer-links { display: grid; gap: var(--space-3); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--border); color: var(--text-faint); font-size: var(--text-xs); }

/* (legacy amber solar styles removed — solar page uses brand accent) */

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--transition), transform 0.7s var(--transition); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
