/* ===================================================================
   Soltra — shared styles for individual service pages
   (solar-panel-cleaning.html, gutter-cleaning.html, creature-cover.html)
   Accent is themed per page via body[data-accent="teal|coral|gold"].
=================================================================== */
:root {
  --ocean-0: #070d14;
  --ocean-1: #0c1824;
  --ocean-2: #14263a;
  --ocean-3: #1e3652;
  --teal: #14b8a6;
  --teal-deep: #0d7a71;
  --teal-bright: #2dd4bf;
  --coral: #ff6b4a;
  --coral-deep: #e2542f;
  --gold: #ffc857;
  --sunset-grad: linear-gradient(135deg, #ffc857 0%, #ff8f4a 50%, #ff5e62 100%);
  --plumeria: #f97a8f;
  --palm: #4ade80;
  --text: #f2eadd;
  --text-muted: #c1cbd9;
  --text-subtle: #93a1b5;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --accent: var(--teal-bright);
  --accent-soft: rgba(45,212,191,0.12);
  --accent-grad: linear-gradient(135deg, #14b8a6, #2dd4bf);
}
body[data-accent="coral"]  { --accent: var(--coral);       --accent-soft: rgba(255,107,74,0.13);  --accent-grad: linear-gradient(135deg,#ff6b4a,#ff8f4a); }
body[data-accent="gold"]   { --accent: var(--gold);        --accent-soft: rgba(255,200,87,0.14);  --accent-grad: linear-gradient(135deg,#ffc857,#ff8f4a); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ocean-0);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
em { font-style: italic; color: var(--accent); }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,13,20,0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: baseline; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; color: var(--text); }
.brand .brand-sun {
  width: 0.62em; height: 0.62em; border-radius: 50%; align-self: center; margin: 0 0.02em;
  background: radial-gradient(circle at 35% 30%, #ffd874, #ff8f4a 70%, #ff5e62);
  box-shadow: 0 0 14px rgba(255,143,74,0.55);
}
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-phone { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text-muted); padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; }
.top-phone svg { color: var(--accent); }
.top-phone:hover { color: var(--text); border-color: var(--border-strong); }
.top-cta { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; background: var(--sunset-grad); color: #1a0e08; font-weight: 700; font-size: 14px; box-shadow: 0 10px 24px -10px rgba(255,143,74,0.6); }
.top-cta:hover { filter: brightness(1.06); }
@media (max-width: 600px) { .top-phone span { display: none; } }

/* ---------- Back link ---------- */
.backline { padding-top: 22px; }
.backlink { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--text-subtle); }
.backlink:hover { color: var(--accent); }
.backlink svg { transition: transform 0.25s; }
.backlink:hover svg { transform: translateX(-3px); }

/* ---------- Hero ---------- */
.svc-hero { padding: 34px 0 56px; }
.svc-hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 52px; align-items: center; }
@media (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; gap: 30px; } }
.svc-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.svc-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--accent); }
.svc-hero h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.03; letter-spacing: -0.015em; margin-bottom: 20px; }
.svc-lead { font-size: clamp(16px, 1.9vw, 19px); color: var(--text-muted); max-width: 560px; margin-bottom: 26px; }
.svc-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px; transition: transform 0.25s, filter 0.25s, background 0.25s; }
.btn-primary { background: var(--sunset-grad); color: #1a0e08; box-shadow: 0 16px 34px -14px rgba(255,143,74,0.65); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.svc-hero-stats { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.svc-hero-stats .s { display: flex; flex-direction: column; }
.svc-hero-stats .s b { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; color: var(--text); line-height: 1.1; }
.svc-hero-stats .s span { font-size: 12.5px; color: var(--text-subtle); }

/* hero media / video */
.svc-media { position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; border: 1px solid var(--border-strong); background: var(--accent-grad); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.85); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(7,13,20,0.15), rgba(7,13,20,0.55)); }
.svc-media video, .svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease; z-index: 1; }
.svc-media video.is-ready, .svc-media img.is-ready { opacity: 1; }
.svc-media .media-tag { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(7,13,20,0.6); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 600; color: var(--text); border: 1px solid var(--border-strong); }
.svc-media .media-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); font-style: normal; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section.alt { background: linear-gradient(180deg, var(--ocean-0), #0a1522); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 16px; }
.section-sub { color: var(--text-muted); max-width: 640px; font-size: 16.5px; margin-bottom: 34px; }
.prose p { color: var(--text-muted); font-size: 16.5px; margin-bottom: 16px; max-width: 720px; }
.prose p strong { color: var(--text); }

/* feature list */
.feature-list { display: grid; gap: 14px; margin-top: 8px; }
.feature-list.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .feature-list.two { grid-template-columns: 1fr; } }
.feature {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--ocean-1);
  transition: border-color 0.25s, transform 0.25s;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.feature h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.feature p { font-size: 14px; color: var(--text-subtle); line-height: 1.55; }

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--ocean-1); }
.step .n { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 10px; display: inline-block; padding: 3px 10px; border: 1px solid var(--accent-soft); border-radius: 999px; }
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--text-subtle); }

/* stat band */
.statband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 700px) { .statband { grid-template-columns: 1fr; } }
.statcard { padding: 26px; border: 1px solid var(--border); border-radius: 18px; background: var(--ocean-1); text-align: center; }
.statcard b { font-family: 'Fraunces', serif; font-size: 40px; font-weight: 600; background: var(--sunset-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; line-height: 1; }
.statcard span { font-size: 14px; color: var(--text-muted); display: block; margin-top: 8px; }

/* callout */
.callout { margin-top: 30px; padding: 26px 28px; border-radius: 18px; border: 1px solid var(--accent-soft); background: var(--accent-soft); }
.callout h4 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.callout p { color: var(--text-muted); font-size: 15.5px; margin: 0; }

/* FAQ */
.faq { margin-top: 8px; max-width: 780px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--ocean-1); margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; line-height: 1; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--text-muted); font-size: 15px; }

/* CTA band */
.cta-band { padding: 64px 0; text-align: center; background: linear-gradient(180deg, #0a1522, var(--ocean-0)); border-top: 1px solid var(--border); }
.cta-band h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); font-size: 17px; margin-bottom: 26px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* footer */
.foot { border-top: 1px solid var(--border); padding: 40px 0; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--text-subtle); }
.foot-links a:hover { color: var(--accent); }
.foot-copy { font-size: 13px; color: var(--text-subtle); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
