/*
Theme Name: Solrays Consultant
Theme URI: https://solrays.example
Author: Solrays Consultant
Author URI: https://solrays.example
Description: A modern, mobile-first WordPress theme for Solrays Consultant — solar energy advisory. Warm solar palette, 3D animated hero, full multi-page structure (Home, Privacy Policy, Terms & Conditions, Contact) ready for Elementor or Gutenberg.
Version: 2.15.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solrays
Tags: business, one-page, light, animations, mobile-first, elementor, consulting
*/

/* ============== TOKENS — brand red + navy from SR logo ============== */
:root {
  --bg: #ffffff;
  --bg-2: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #fafbfd;
  --border: rgba(20, 33, 61, 0.10);
  --border-strong: rgba(20, 33, 61, 0.22);
  --fg: #14213d;
  --fg-muted: #475569;
  --fg-dim: #64748b;

  --red: #c8102e;
  --red-deep: #8b0a1f;
  --red-soft: #ffe8ec;
  --navy: #14213d;
  --navy-light: #1e3a8a;
  --navy-soft: #e8edf7;

  /* Legacy aliases so existing rules keep working */
  --orange: #c8102e;
  --sun: #c8102e;
  --sun-warm: #c8102e;
  --amber: #1e3a8a;

  --gradient: linear-gradient(135deg, #c8102e 0%, #8b0a1f 100%);
  --gradient-warm: linear-gradient(135deg, #1e3a8a 0%, #c8102e 100%);
  --gradient-soft: linear-gradient(135deg, rgba(200,16,46,0.10) 0%, rgba(30,58,138,0.08) 100%);
  --gradient-mesh:
    radial-gradient(circle at 15% 20%, rgba(30,58,138,0.20) 0%, transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(200,16,46,0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(20,33,61,0.08) 0%, transparent 50%);

  --shadow-sm: 0 1px 2px rgba(20,33,61,0.05), 0 1px 4px rgba(20,33,61,0.04);
  --shadow: 0 1px 3px rgba(20,33,61,0.06), 0 12px 30px -12px rgba(200,16,46,0.16);
  --shadow-lg: 0 30px 80px -20px rgba(200,16,46,0.25), 0 8px 24px -8px rgba(20,33,61,0.10);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --gutter: clamp(20px, 5vw, 56px);
  --max-w: 1200px;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(200, 16, 46, 0.20); color: #0c0a09; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ============== AMBIENT BACKDROP ============== */
.sun-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(30,58,138,0.10) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(200,16,46,0.06) 0%, transparent 50%),
    var(--bg);
}
.sun-backdrop::before {
  content: "";
  position: absolute;
  top: -20vw;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(30,58,138,0.22) 0%, transparent 60%);
  filter: blur(80px);
  animation: drift 24s ease-in-out infinite;
}
.sun-backdrop::after {
  content: "";
  position: absolute;
  bottom: -20vw;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(200,16,46,0.16) 0%, transparent 60%);
  filter: blur(100px);
  animation: drift 28s ease-in-out -8s infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, 3vw) scale(1.1); }
}

/* ============== LAYOUT ============== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(72px, 12vw, 140px) 0;
  position: relative;
}
.section-tight { padding: clamp(56px, 8vw, 96px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(30,58,138,0.18), rgba(200,16,46,0.08));
  border: 1px solid rgba(200,16,46, 0.15);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding: 0 0.05em;
  margin: 0 -0.05em;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.section-head h2 {
  font-size: clamp(32px, 5.2vw, 52px);
}
.section-head p {
  color: var(--fg-muted);
  font-size: clamp(15px, 1.7vw, 18px);
  max-width: 620px;
}

/* ============== HEADER ============== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px var(--gutter);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -10px rgba(200,16,46,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
  min-width: 0;
}
.brand-img {
  flex: 0 0 auto;
  height: 44px;
  width: auto;
  display: block;
  max-width: 100%;
}
.brand-tag {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--border-strong);
  line-height: 1.1;
}
@media (min-width: 800px) {
  .brand-tag { display: inline-block; }
}
.nav-links {
  display: none;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg-muted);
}
.nav-links a { transition: color 0.2s ease; position: relative; padding: 6px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(200,16,46,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -6px rgba(200,16,46,0.55); }
.nav-toggle {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--fg); }

/* Mobile drawer hidden by default; only the mobile media query enables it. */
.nav-mobile { display: none; }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  gap: 56px;
  align-items: center;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 2;
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  font-size: clamp(36px, 6.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  padding: 0.08em 0;
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hero h1 .gradient-text { white-space: nowrap; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--fg-muted);
  max-width: 560px;
  opacity: 0;
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--gradient);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(200,16,46,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(200,16,46,0.55); }
.btn-ghost {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--orange); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.hero-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
  opacity: 0;
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--fg-muted);
}
.trust-item svg { width: 18px; height: 18px; color: var(--orange); }

/* ============== HERO THOR — APPLE-STYLE CINEMATIC ============== */
/* Clean Apple-keynote presentation: a tight centered text intro (eyebrow +
   big headline + sub + link-style CTA), then a wide cinematic 16:9 video
   below taking most of the viewport. Pure dark background, no decorative
   chrome — the product reel does all the visual work. */
.hero-thor {
  --thor-bg:        #000000;
  --thor-fg:        #f0f3f9;
  --thor-fg-muted:  #a4adbf;
  --thor-fg-dim:    #6c7589;
  --thor-border:    rgba(255,255,255,0.10);
  --thor-link:      #ff5d72;

  position: relative;
  background: var(--thor-bg);
  color: var(--thor-fg);
  padding: clamp(120px, 16vh, 160px) 0 clamp(80px, 12vh, 120px);
  isolation: isolate;
}
.hero-thor > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 7vh, 80px);
}

/* ----- Intro: centered text stack ----- */
.hero-thor-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(16px, 2.4vh, 24px);
  max-width: 760px;
  margin: 0 auto;
  animation: thorIntroIn 0.9s cubic-bezier(0.2,0.8,0.2,1) both;
}
@keyframes thorIntroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-thor-eyebrow {
  color: var(--thor-link);
  background: transparent;
  border-color: transparent;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-thor-eyebrow::before { display: none; }
.hero-thor-title {
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  padding: 0.06em 0;
  color: var(--thor-fg);
  margin: 0;
}
.hero-thor-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.45;
  color: var(--thor-fg-muted);
  max-width: 560px;
  margin: 0;
}
.hero-thor-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 4px;
}
/* Apple-style link CTA — sits on the dark bg, no pill chrome. */
.hero-thor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--thor-link);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: gap 0.25s ease, color 0.25s ease;
}
.hero-thor-link:hover {
  color: #ff8b9b;
  gap: 10px;
}

/* ----- Video frame: frameless, product floats on black -----
   The video itself has a pure black backdrop now (rembg-segmented product on
   black), so any shadow/border on this wrapper would create a visible card
   outline against the section's matching black. Frame chrome is dropped so
   the product appears to float directly on the page. */
.hero-thor-videocard {
  position: relative;
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  background: #000;
  animation: thorVideocardIn 1.1s cubic-bezier(0.2,0.8,0.2,1) 0.2s both;
}
@keyframes thorVideocardIn {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.hero-thor-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-thor-intro,
  .hero-thor-videocard { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ----- Responsive ----- */
@media (max-width: 700px) {
  .hero-thor { padding: clamp(100px, 14vh, 130px) 0 clamp(64px, 10vh, 96px); }
}
@media (max-width: 600px) {
  .hero-thor { padding-top: 96px; padding-bottom: 60px; }
}

/* ============== PRODUCT GRID ============== */
.products-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.product-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,16,46, 0.3);
}
.product-image {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 70%, rgba(30,58,138,0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  display: grid;
  place-items: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.product-image img {
  max-width: 75%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  filter: drop-shadow(0 14px 18px rgba(200,16,46,0.18));
}
.product-card:hover .product-image img {
  transform: scale(1.06) rotate(-1.5deg);
}
.product-body {
  padding: 20px 24px 24px;
}
.product-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.product-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.product-desc {
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.55;
}

@media (min-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============== FEATURE STRIP ============== */
.feature-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-item svg {
  width: 24px;
  height: 24px;
  color: var(--orange);
  flex: 0 0 auto;
  margin-top: 2px;
}
.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.5;
}

@media (min-width: 700px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .feature-strip { grid-template-columns: repeat(4, 1fr); padding: 32px; }
}

/* ============== CERTIFICATIONS BAR ============== */
.certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  align-items: center;
}
.cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}
.cert-chip svg { width: 14px; height: 14px; color: var(--orange); }

/* ============== REVEAL ============== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ============== SERVICES / CARDS ============== */
.grid-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
  transform-style: preserve-3d;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,16,46,0.3);
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gradient-warm);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(200,16,46,0.45);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
}
.card p {
  color: var(--fg-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============== STEPS / PROCESS ============== */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 32px 32px 88px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 28px;
  top: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 6px 14px -4px rgba(200,16,46,0.45);
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--fg-muted); font-size: 14.5px; line-height: 1.6; }

/* ============== STATS ============== */
.stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.stat {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease;
}
.stat:hover { transform: translateY(-3px); }
.stat .big {
  font-size: clamp(30px, 5.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat p { font-size: 13.5px; color: var(--fg-muted); }

/* ============== CTA BAND ============== */
.cta-band {
  position: relative;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--gradient);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(200,16,46,0.45);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.18) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.10) 0%, transparent 40%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(28px, 5vw, 44px);
  max-width: 760px;
  position: relative;
}
.cta-band p { max-width: 600px; opacity: 0.92; position: relative; }
.cta-band-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.cta-band .btn {
  background: #fff;
  color: var(--red);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.3);
}
.cta-band .btn:hover { box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4); }
.cta-band .btn-ghost-w {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: none;
}
.cta-band .btn-ghost-w:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ============== CONTACT PAGE ============== */
.page-header {
  padding: 140px var(--gutter) 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  position: relative;
}
.page-header h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.03em;
  padding: 0.05em 0;
}
.page-header p {
  color: var(--fg-muted);
  font-size: clamp(15px, 1.7vw, 18px);
  max-width: 620px;
}

.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
}

.contact-form {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form h2 { font-size: 24px; letter-spacing: -0.02em; }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.field input,
.field textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(200,16,46,0.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }

/* Channels */
.channels-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  background: var(--surface);
  margin: 0;
}
.channels-block legend {
  padding: 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.legend-hint { color: var(--fg-dim); font-weight: 500; font-size: 12px; }
.channels-hint { font-size: 13px; color: var(--fg-muted); margin-bottom: 12px; }
.channels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}
.channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.channel input { accent-color: var(--orange); }
.channel:has(input:checked) {
  border-color: var(--orange);
  background: linear-gradient(135deg, rgba(30,58,138,0.18), rgba(200,16,46,0.10));
  color: var(--fg);
}

/* Consent block — visually prominent so Meta reviewers spot it instantly */
.consent {
  position: relative;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(30,58,138,0.14), rgba(200,16,46,0.08));
  border: 2px solid rgba(200,16,46, 0.35);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consent.error { border-color: rgba(200,16,46,0.55); background: linear-gradient(135deg, rgba(254,226,226,0.6), rgba(254,202,202,0.4)); }
.consent-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  font-weight: 700;
}
.consent-head svg { width: 18px; height: 18px; color: var(--orange); }
.consent-head strong { font-weight: 700; }
.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.consent-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: var(--orange);
  cursor: pointer;
}
.consent-row span { flex: 1; font-size: 14.5px; color: var(--fg); line-height: 1.55; }
.consent-foot {
  font-size: 12.5px;
  color: var(--fg-dim);
  border-top: 1px dashed rgba(200,16,46,0.25);
  padding-top: 10px;
  line-height: 1.55;
}
.consent-foot a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }

.form-msg {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}
.form-msg.success {
  background: rgba(34,197,94,0.10);
  color: #166534;
  border: 1px solid rgba(34,197,94,0.25);
}
.form-msg.error {
  background: rgba(200,16,46,0.10);
  color: #991b1b;
  border: 1px solid rgba(200,16,46,0.25);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card h3 {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 0;
}
.info-row + .info-row { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 16px; }
.info-icon {
  width: 36px; height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--gradient-soft);
  border: 1px solid rgba(200,16,46,0.18);
  display: grid;
  place-items: center;
  color: var(--orange);
}
.info-icon svg { width: 18px; height: 18px; }
.info-row .lbl { font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); }
.info-row .val { font-size: 15px; font-weight: 500; color: var(--fg); }
.info-row a { color: var(--fg); transition: color 0.2s; }
.info-row a:hover { color: var(--orange); }

/* ============== PROSE (privacy / terms / generic page) ============== */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--fg);
}
.prose h2 { font-size: 28px; margin: 40px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 21px; margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; color: var(--fg-muted); }
.prose ul, .prose ol { margin: 0 0 20px 22px; padding: 0; list-style: disc; }
.prose ol { list-style: decimal; }
.prose ul li, .prose ol li { margin-bottom: 8px; color: var(--fg-muted); }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); font-weight: 700; }
.prose blockquote {
  padding: 20px 24px;
  border-left: 3px solid var(--orange);
  background: var(--bg-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--fg);
}

/* ============== FOOTER ============== */
.site-footer {
  margin-top: 60px;
  padding: 64px var(--gutter) 40px;
  background: linear-gradient(180deg, var(--bg) 0%, #eef2fb 100%);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
.footer-col h4 {
  font-size: 12.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 16px;
}
.footer-col p, .footer-col a, .footer-col li {
  font-size: 14.5px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { transition: color 0.2s ease; }
.footer-col a:hover { color: var(--orange); }
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand .brand { pointer-events: none; }
.footer-brand p { max-width: 320px; font-size: 14.5px; color: var(--fg-muted); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-dim);
}

/* ============== RESPONSIVE ============== */
@media (min-width: 700px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .channels-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 18px;
  }
  .site-header { padding: 12px var(--gutter); }
  .brand-img { height: 36px; }
  .brand-tag { display: none; }
  .nav-toggle { width: 38px; height: 38px; }
  .hero { padding-top: 90px; padding-bottom: 40px; min-height: auto; }
  .eyebrow { font-size: 11px; letter-spacing: 0.08em; padding: 5px 12px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
  .page-header { padding: 100px var(--gutter) 40px; }
  .card, .step { padding: 24px; }
  .contact-form { padding: 24px; }
  .info-card { padding: 20px; }
  .cta-band { padding: 48px 24px; border-radius: 20px; }
  .channels-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .channel { padding: 10px 12px; font-size: 13px; }
  .consent { padding: 18px; }
  .consent-row span { font-size: 14px; }
}

@media (max-width: 600px) {
  .hero-visual { max-width: 300px; margin-top: 20px; }
  .hero-inner { gap: 32px; }
  .hero-trust { gap: 12px 18px; }
  .footer-inner { gap: 28px; }
  .grid-cards, .steps { gap: 14px; }
  .stats { gap: 12px; }
  .stat { padding: 22px; }
  .stat .big { font-size: 36px; }
  .footer-bottom { gap: 10px; font-size: 12px; }
}

@media (max-width: 380px) {
  .channels-grid { grid-template-columns: 1fr; }
  .channel { padding: 12px 14px; }
  .hero h1 { font-size: 30px; }
  .hero-visual { max-width: 260px; }
  .section-head h2 { font-size: 28px; }
  .page-header h1 { font-size: 32px; }
}

@media (max-width: 959px) {
  .nav-cta { display: none; }
  .nav-mobile {
    position: fixed;
    top: 0;
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px var(--gutter) 28px;
    box-shadow: 0 16px 30px -10px rgba(200,16,46,0.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.25s ease,
      visibility 0s 0.4s;
    z-index: 49;
  }
  .nav-mobile.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.25s ease,
      visibility 0s 0s;
  }
  .nav-mobile a {
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--fg);
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile a:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
