/* ============================================================
   WhiteGlow — style.css
   Light theme: warm cream body, near-black text, orange-red accent
   ============================================================ */

:root {
  --bg: #F7F5F0;
  --bg-soft: #EFEBE3;
  --surface: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #4A4742;
  --ink-faint: #6B675F;
  --accent: #E84A2C;
  --accent-deep: #C63A1F;
  --accent-soft: #F0502E;
  --accent-warm: #FF6B35;
  --line: #E2DDD2;
  --footer-bg: #191614;
  --footer-ink: #F7F5F0;
  --footer-soft: #B9B3A8;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.4em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.7em;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  margin-bottom: 0.4em;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 620px;
  font-size: 1.05rem;
}

.section-head { margin-bottom: 2.4rem; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.utility-bar {
  background-color: var(--ink);
  color: #E7E3DB;
  font-size: 0.8rem;
}

.utility-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  gap: 22px;
}

.utility-loc { margin-left: auto; }

.main-nav { background-color: var(--bg); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.2rem;
}

.brand-accent { color: var(--accent); }
.brand-text-light { color: var(--footer-ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 6px 2px;
  transition: color 0.15s ease;
}

.nav-link:hover { color: var(--accent); }

.nav-cta {
  background-color: var(--accent);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}

.nav-cta:hover { background-color: var(--accent-deep); color: #FFFFFF; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero-section {
  position: relative;
  padding: 150px 0 90px;
  background-color: var(--bg);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  background-color: var(--accent);
  pointer-events: none;
}

.hero-shape-one {
  width: 460px;
  height: 460px;
  top: -160px;
  right: -120px;
  background-color: var(--bg-soft);
}

.hero-shape-two {
  width: 220px;
  height: 220px;
  bottom: -70px;
  left: -60px;
  background-color: var(--bg-soft);
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 0.5em;
}

.hero-accent { color: var(--accent); }

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0 24px;
}

.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; }

.chip {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* Hero visual node grid */

.hero-visual {
  position: relative;
  min-height: 360px;
  background-color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.16);
}

.node-grid { position: absolute; inset: 0; }

.node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-warm);
  box-shadow: 0 0 0 5px rgba(232,74,44,0.25);
}

.node-a { top: 14%; left: 16%; }
.node-b { top: 22%; left: 62%; }
.node-c { top: 48%; left: 34%; }
.node-d { top: 60%; left: 74%; }
.node-e { top: 76%; left: 20%; }
.node-f { top: 14%; left: 84%; }
.node-g { top: 84%; left: 56%; }
.node-h { top: 40%; left: 8%; }

.node-line {
  position: absolute;
  height: 2px;
  background-color: var(--accent);
  transform-origin: left center;
}

.line-1 { width: 46%; top: 21%; left: 17%; transform: rotate(4deg); }
.line-2 { width: 38%; top: 31%; left: 34%; transform: rotate(-16deg); }
.line-3 { width: 42%; top: 52%; left: 34%; transform: rotate(11deg); }
.line-4 { width: 36%; top: 63%; left: 20%; transform: rotate(-9deg); }
.line-5 { width: 34%; top: 18%; left: 62%; transform: rotate(23deg); }

.stat-card {
  position: absolute;
  background-color: var(--surface);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.2);
  text-align: center;
}

.stat-top { top: 22%; right: -22px; }
.stat-bottom { bottom: 18%; left: -18px; }

.stat-value {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- Ticker ---------- */

.ticker-band {
  background-color: var(--accent);
  overflow: hidden;
  padding: 16px 0;
}

.ticker-track {
  display: inline-flex;
  gap: 34px;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #FFFFFF;
  align-self: center;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- About ---------- */

.about-section { padding: 96px 0; background-color: var(--bg); }

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.about-copy p { color: var(--ink-soft); font-size: 1.05rem; }

.about-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.mini-stat {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}

.mini-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
}

.mini-label { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Services ---------- */

.services-section {
  padding: 96px 0;
  background-color: var(--bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.service-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4em;
}

.service-title { font-size: 1.25rem; }
.service-desc { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* ---------- Method ---------- */

.method-section { padding: 96px 0; background-color: var(--bg); }

.method-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  counter-reset: method;
}

.method-step {
  display: flex;
  gap: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.method-dot {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-title { font-size: 1.2rem; margin-bottom: 0.4em; }
.method-desc { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* ---------- Compare ---------- */

.compare-section { padding: 96px 0; background-color: var(--bg-soft); }

.compare-table-wrap { overflow-x: auto; border-radius: var(--radius); }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface);
  font-size: 0.98rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background-color: var(--ink);
  color: var(--footer-ink);
  font-weight: 700;
  font-size: 0.92rem;
}

.compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--ink);
}

.compare-table .col-highlight {
  color: var(--accent-deep);
  font-weight: 600;
}

.compare-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Industries ---------- */

.industries-section { padding: 96px 0; background-color: var(--bg); }

.industry-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.industry-card {
  flex: 0 0 270px;
  scroll-snap-align: start;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--accent);
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 0.9em;
}

.industry-card h3 { font-size: 1.15rem; }
.industry-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- FAQ ---------- */

.faq-section { padding: 96px 0; background-color: var(--bg-soft); }

.faq-list { max-width: 760px; }

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-q {
  cursor: pointer;
  font-weight: 700;
  padding: 20px 24px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-q::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-q::after { transform: rotate(45deg); }

.faq-a {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Contact ---------- */

.contact-section { padding: 96px 0; background-color: var(--bg); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-text { color: var(--ink-soft); font-size: 1.05rem; }

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.contact-meta li {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.contact-meta strong {
  color: var(--ink);
  display: inline-block;
  min-width: 90px;
}

.contact-form {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }

.field-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background-color: var(--bg);
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--accent-deep);
  font-weight: 600;
  margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover { background-color: var(--accent-deep); }

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover { background-color: var(--ink); color: var(--bg); }

.btn-light {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn-light:hover { background-color: var(--accent-warm); }

/* ---------- Footer ---------- */

.site-footer { background-color: var(--footer-bg); color: var(--footer-ink); }

.newsletter-band {
  border-bottom: 1px solid #2A2622;
  padding: 34px 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.newsletter-title { color: var(--footer-ink); font-size: 1.35rem; margin-bottom: 0.2em; }
.newsletter-sub { color: var(--footer-soft); margin: 0; font-size: 0.95rem; }

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid #3A342E;
  border-radius: 999px;
  background-color: #211E1A;
  color: var(--footer-ink);
  min-width: 240px;
}

.newsletter-form input:focus {
  outline: 2px solid var(--accent-warm);
  outline-offset: 0;
}

.footer-main {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  right: -30px;
  bottom: 0;
  font-size: 11rem;
  font-weight: 900;
  color: #26221E;
  line-height: 0.8;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
  visibility: hidden;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand-col { max-width: 320px; }

.footer-blurb {
  color: var(--footer-soft);
  font-size: 0.95rem;
  margin-top: 14px;
}

.footer-head {
  color: var(--footer-ink);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
}

.footer-link {
  display: block;
  color: var(--footer-soft);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.footer-link:hover { color: var(--accent-warm); }

.footer-bottom {
  border-top: 1px solid #2A2622;
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--footer-soft);
}

.footer-dev { color: var(--footer-soft); }

/* ---------- Scroll reveal ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 300px; }
  .stat-top { right: 8px; }
  .stat-bottom { left: 8px; }

  .about-inner { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .method-list { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--bg);
    border-top: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 12px; border-bottom: none; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .utility-item { display: none; }
  .utility-loc { display: none; }
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
}
