/* =========================================================
   Nationwide Install — main stylesheet
   Natural Attractions LLC
   Palette: deep ink / coral / seafoam / brass
   ========================================================= */

:root {
  --bg: #0F1117;
  --bg2: #151924;
  --bg3: #1B2030;
  --ink: #EEECE6;
  --muted: #9DA2B0;
  --muted-2: #747b8d;
  --accent: #FF7A59;
  --accent-deep: #E85D3A;
  --accent-2: #5FB49C;
  --brass: #E8B84B;
  --line: rgba(238, 236, 230, 0.10);
  --line-strong: rgba(238, 236, 230, 0.18);
  --card: #161A23;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-lg: 24px;
  --font-head: "Space Grotesk", "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  color: var(--muted);
}

/* ---------- Layout shell (vertical sidebar) ---------- */

.site-shell {
  display: block;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 268px;
  background: #0B0D12;
  border-right: 1px solid var(--line);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.sidebar-brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--brass));
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #140e0a;
  flex-shrink: 0;
}

.sidebar-brand .brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  color: var(--ink);
}

.sidebar-brand .brand-sub {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin-top: 6px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-nav a .nav-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-2);
  width: 18px;
  transition: color 0.2s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--bg3);
  color: var(--ink);
}

.sidebar-nav a:hover .nav-num,
.sidebar-nav a.active .nav-num {
  color: var(--accent);
}

.sidebar-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #140e0a;
  font-weight: 600;
  font-family: var(--font-head);
  padding: 13px 16px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.sidebar-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.sidebar-contact a {
  color: var(--muted);
}

.sidebar-contact a:hover {
  color: var(--accent-2);
}

/* ---------- Main content column ---------- */

.site-content {
  margin-left: 268px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Mobile top bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #0B0D12;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1100;
}

.mobile-bar .brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
}

.mobile-toggle {
  background: var(--bg3);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s ease;
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.mobile-toggle span::before { top: -6px; }
.mobile-toggle span::after { top: 6px; }

.mobile-toggle.is-open span { background: transparent; }
.mobile-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

.hero-section {
  position: relative;
  padding: 96px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(95, 180, 156, 0.16), transparent 60%),
    radial-gradient(700px 420px at 12% 10%, rgba(255, 122, 89, 0.12), transparent 55%),
    var(--bg);
}

.hero-inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  max-width: 15ch;
  margin-bottom: 26px;
}

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

.hero-sub {
  font-size: 18px;
  max-width: 56ch;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 68px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.hero-stat .stat-value {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

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

.hero-stat .stat-label {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ---------- Generic section helpers ---------- */

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  color: var(--muted);
}

/* ---------- Statement / manifesto section ---------- */

.statement-section {
  background: var(--bg2);
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.statement-inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.statement-big {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.statement-big .mark {
  color: var(--accent);
}

.statement-body p {
  margin-bottom: 18px;
  font-size: 16px;
}

/* ---------- Numbered services list ---------- */

.services-section {
  background: var(--bg);
}

.service-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service-item:last-child {
  border-bottom: 1px solid var(--line);
}

.service-num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  color: var(--muted-2);
  line-height: 1;
  transition: color 0.3s ease;
}

.service-item:hover .service-num {
  color: var(--accent);
}

.service-text h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--ink);
}

.service-text p {
  max-width: 720px;
  font-size: 15.5px;
}

/* ---------- Process timeline ---------- */

.process-section {
  background: var(--bg2);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-phase {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 6px;
}

.timeline-body h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.timeline-body p {
  max-width: 680px;
}

/* ---------- Alternating feature rows ---------- */

.rows-section {
  background: var(--bg);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-row .feature-copy h3 {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-row .feature-copy p {
  margin-bottom: 16px;
  font-size: 15.5px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.feature-tags span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg3);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.feature-visual {
  background: linear-gradient(160deg, var(--bg3), #12151f);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  min-height: 240px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.feature-visual .grid-badge {
  font-family: var(--font-head);
  font-size: 60px;
  font-weight: 700;
  color: #3A2A22;
  line-height: 1;
}

.feature-visual .grid-caption {
  position: absolute;
  bottom: 22px;
  left: 30px;
  right: 30px;
  font-size: 13px;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* ---------- Stat band (comparison) ---------- */

.band-section {
  background: linear-gradient(120deg, #171c29 0%, #141019 60%, #18121b 100%);
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.band-inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  text-align: center;
}

.band-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  max-width: 20ch;
  margin: 0 auto 22px;
}

.band-title .hl {
  color: var(--brass);
}

.band-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 52px;
}

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

.band-card {
  background: rgba(22, 26, 35, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: left;
}

.band-card .band-icon {
  font-size: 30px;
  margin-bottom: 18px;
}

.band-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--ink);
}

.band-card p {
  font-size: 14.5px;
}

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

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

.contact-inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-copy .section-title {
  font-size: clamp(28px, 3.4vw, 42px);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 34px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.contact-method .method-icon {
  font-size: 22px;
}

.contact-method .method-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-method .method-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

.contact-form {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 12.5px;
  color: var(--muted-2);
}

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

.footer {
  background: #0B0D12;
  border-top: 1px solid var(--line);
  padding: 64px 0 44px;
}

.footer-inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-brand p {
  font-size: 14px;
  max-width: 30ch;
  margin-top: 14px;
}

.footer-legal {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-2);
}

.footer-legal a {
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--accent-2);
}

.footer-wordmark {
  font-family: var(--font-head);
  font-size: clamp(48px, 9vw, 130px);
  font-weight: 700;
  line-height: 0.9;
  text-align: center;
  color: #0F1117;
  visibility: hidden;
  margin-top: 44px;
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
}

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

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1024px) {
  .sidebar {
    width: 240px;
  }
  .site-content {
    margin-left: 240px;
  }
  .hero-inner,
  .section-inner,
  .statement-inner,
  .band-inner,
  .contact-inner,
  .footer-inner {
    width: calc(100% - 56px);
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 280px;
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .site-content {
    margin-left: 0;
  }
  .mobile-bar {
    display: flex;
  }
  .hero-section {
    padding: 128px 0 68px;
  }
  .statement-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .band-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-inner,
  .section-inner,
  .statement-inner,
  .band-inner,
  .contact-inner,
  .footer-inner {
    width: calc(100% - 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
