/* ============================================================
   NIVALIS — Main Stylesheet
   Brand: Nivalis by Avalior
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
  --white-cryo:  #FAFBFC;
  --blue-deep:   #1D4F7A;
  --anthracite:  #24292F;
  --green-tech:  #00B884;
  --orange-cta:  #F58220;
  --grey-metal:  #B7BEC5;

  --font-title: 'Montserrat', system-ui, sans-serif;
  --font-body:  'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;

  --radius:     6px;
  --tr:         180ms ease;
  --shadow:     0 2px 16px rgba(36,41,47,.08);
  --shadow-md:  0 6px 32px rgba(36,41,47,.14);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white-cryo);
  color: var(--anthracite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.18;
  color: var(--anthracite);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.4rem); }
h4 { font-size: 1rem; }
p  { max-width: 65ch; }

.text-blue   { color: var(--blue-deep); }
.text-orange { color: var(--orange-cta); }
.text-green  { color: var(--green-tech); }
.text-muted  { color: #666; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }

.section-label {
  font-family: var(--font-title);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: .85rem;
  display: block;
}
.section-header { margin-bottom: 3rem; }
.section-header p {
  color: #555;
  margin-top: .85rem;
  font-size: 1.05rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-title);
  font-size: .875rem;
  font-weight: 700;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--orange-cta);
  color: #fff;
  border-color: var(--orange-cta);
}
.btn-primary:hover {
  background: #df761c;
  border-color: #df761c;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(245,130,32,.35);
}
.btn-secondary {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}
.btn-secondary:hover {
  background: var(--blue-deep);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--blue-deep);
  border-color: #fff;
}
.btn-white:hover { background: var(--white-cryo); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-sm { font-size: .8rem; padding: .55rem 1.1rem; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,251,252,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(183,190,197,.25);
  transition: box-shadow var(--tr);
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}
.nav-logo img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-family: var(--font-title);
  font-size: .82rem;
  font-weight: 600;
  color: var(--anthracite);
  transition: color var(--tr);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--orange-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue-deep); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--anthracite);
  transition: all var(--tr);
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white-cryo);
  border-bottom: 1px solid rgba(183,190,197,.3);
  padding: 1.25rem 1.5rem 1.75rem;
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 600;
  color: var(--anthracite);
  padding: .875rem 0;
  border-bottom: 1px solid rgba(183,190,197,.2);
  transition: color var(--tr);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { color: var(--blue-deep); }
.nav-mobile .btn { margin-top: 1rem; justify-content: center; }

/* ── Page wrapper ─────────────────────────────────────────── */
.page-wrapper { padding-top: 72px; }

/* ── Hero (home) ──────────────────────────────────────────── */
.hero {
  background: var(--anthracite);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(29,79,122,.75) 0%, rgba(36,41,47,.97) 55%),
    radial-gradient(ellipse at 80% 40%, rgba(0,184,132,.12) 0%, transparent 55%);
}
/* Decorative geometric shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--blue-deep);
  top: -200px; right: -100px;
}
.hero-shape-2 {
  width: 300px; height: 300px;
  background: var(--orange-cta);
  bottom: -80px; right: 200px;
}

.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-title);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-cta);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--orange-cta);
}

.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--orange-cta); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(250,251,252,.78);
  margin-bottom: 2.5rem;
  max-width: 52ch;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(250,251,252,.55);
  margin-top: .2rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Page hero (sub-pages) ────────────────────────────────── */
.page-hero {
  background: var(--anthracite);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(29,79,122,.65) 0%, rgba(36,41,47,.98) 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label { color: var(--orange-cta); }
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p { color: rgba(250,251,252,.78); font-size: 1.05rem; max-width: 58ch; }

/* ── Service cards ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--tr), box-shadow var(--tr);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  background: rgba(29,79,122,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg {
  width: 24px; height: 24px;
  stroke: var(--blue-deep);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.service-card p { font-size: .875rem; color: #555; line-height: 1.65; }
.service-card .link-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-top: 1.25rem;
  transition: gap var(--tr);
}
.service-card .link-more:hover { gap: .6rem; }

/* ── Service detail sections ──────────────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid rgba(183,190,197,.25);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail.reverse .service-detail-text { order: 2; }
.service-detail.reverse .service-detail-visual { order: 1; }

.service-detail-visual {
  background: var(--anthracite);
  border-radius: 8px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-detail-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(29,79,122,.6) 0%, rgba(36,41,47,.9) 100%);
}
.service-visual-icon {
  position: relative;
  z-index: 1;
  text-align: center;
}
.service-visual-icon svg {
  width: 64px; height: 64px;
  stroke: rgba(255,255,255,.3);
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-visual-label {
  font-family: var(--font-title);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 1rem;
}

.service-detail-text .section-label { margin-bottom: .5rem; }
.service-detail-text h2 { margin-bottom: 1rem; }
.service-detail-text p { color: #555; margin-bottom: 1.5rem; }

.feature-list { display: flex; flex-direction: column; gap: .75rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: #444;
}
.feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-cta);
  margin-top: .5rem;
  flex-shrink: 0;
}

/* ── Why Nivalis ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.why-number {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(29,79,122,.12);
  line-height: 1;
  margin-bottom: .5rem;
}
.why-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.why-card p { font-size: .875rem; color: #555; }

/* ── Steps ────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue-deep), var(--orange-cta));
  opacity: .25;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step h4 { font-size: .95rem; margin-bottom: .25rem; }
.step p { font-size: .85rem; color: #666; max-width: 22ch; margin: 0 auto; }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(29,79,122,.1);
  color: var(--blue-deep);
  font-family: var(--font-title);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 4px;
}
.badge-green { background: rgba(0,184,132,.1); color: var(--green-tech); }
.badge-orange { background: rgba(245,130,32,.1); color: var(--orange-cta); }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border-radius: 8px;
  padding: 2.25rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--tr), box-shadow var(--tr);
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  background: var(--blue-deep);
  transform: scale(1.02);
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-3px); }

.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange-cta);
  color: #fff;
  font-family: var(--font-title);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card h3 { font-size: 1.05rem; color: var(--anthracite); margin-bottom: .25rem; }
.pricing-card.featured h3 { color: #fff; }
.pricing-card.featured .pricing-unit { color: rgba(255,255,255,.65); }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.82); }
.pricing-card.featured .pricing-features li::before { color: #7de6cc; }
.pricing-card.featured p { color: rgba(255,255,255,.7); }

.pricing-price {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--anthracite);
  line-height: 1;
  margin: .75rem 0 .2rem;
}
.pricing-card.featured .pricing-price { color: #fff; }
.pricing-unit { font-size: .82rem; color: #888; margin-bottom: 1.5rem; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 1.75rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .875rem;
  color: #444;
}
.pricing-features li::before {
  content: '✓';
  color: var(--green-tech);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}
.pricing-note {
  font-size: .78rem;
  color: #999;
  margin-top: 1rem;
  font-style: italic;
}

/* ── Zones ────────────────────────────────────────────────── */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.zone-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .875rem;
  transition: box-shadow var(--tr);
}
.zone-card:hover { box-shadow: var(--shadow-md); }
.zone-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green-tech);
  flex-shrink: 0;
}
.zone-card h4 { font-size: .9rem; margin-bottom: .1rem; }
.zone-card span { font-size: .78rem; color: #888; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item {
  background: #fff;
  border-bottom: 1px solid rgba(183,190,197,.25);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 600;
  color: var(--anthracite);
  transition: background var(--tr);
}
.faq-q:hover { background: rgba(29,79,122,.03); }
.faq-q.open { color: var(--blue-deep); }

.faq-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--grey-metal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform var(--tr), stroke var(--tr);
}
.faq-q.open .faq-icon { transform: rotate(45deg); stroke: var(--blue-deep); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  font-size: .875rem;
  color: #555;
  line-height: 1.75;
  transition: max-height 320ms cubic-bezier(.22,1,.36,1), padding 320ms ease;
}
.faq-a.open {
  max-height: 600px;
  padding: 0 2rem 1.4rem;
}

/* ── Contact form ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.form-card {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--font-title);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--anthracite);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white-cryo);
  border: 1.5px solid var(--grey-metal);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--anthracite);
  transition: border-color var(--tr), box-shadow var(--tr);
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(29,79,122,.1);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .78rem; color: #999; margin-top: .75rem; }
.form-submit { margin-top: 1.75rem; }

.form-success {
  display: none;
  background: rgba(0,184,132,.08);
  border: 1.5px solid var(--green-tech);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  color: var(--anthracite);
  font-size: .875rem;
  margin-top: 1.25rem;
}

.contact-info-card {
  background: var(--anthracite);
  border-radius: 8px;
  padding: 2.25rem;
  color: rgba(250,251,252,.8);
  position: sticky;
  top: 96px;
}
.contact-info-card h3 { color: #fff; margin-bottom: .5rem; font-size: 1.1rem; }
.contact-info-card > p { font-size: .875rem; margin-bottom: 2rem; }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-item svg {
  width: 18px; height: 18px;
  stroke: var(--orange-cta);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .2rem;
}
.contact-info-item span { font-size: .875rem; }

.contact-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 1.75rem 0; }

/* ── CTA section ──────────────────────────────────────────── */
.cta-section {
  background: var(--blue-deep);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(29,79,122,.0) 0%, rgba(36,41,47,.15) 100%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.78); margin: 0 auto 2.5rem; font-size: 1.05rem; max-width: 52ch; }
.cta-section .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Dark / Blue section variants ────────────────────────── */
.section-dark { background: var(--anthracite); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-label { color: var(--orange-cta); }
.section-dark p { color: rgba(250,251,252,.75); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: #1a1e22;
  color: rgba(250,251,252,.6);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img {
  height: 42px;
  margin-bottom: 1.1rem;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 28ch; }

.footer-col h5 {
  font-family: var(--font-title);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul a {
  font-size: .85rem;
  color: rgba(250,251,252,.55);
  transition: color var(--tr);
}
.footer-col ul a:hover { color: rgba(250,251,252,.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .78rem; max-width: none; }
.footer-powered {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-title);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(250,251,252,.4);
  transition: color var(--tr);
}
.footer-powered:hover { color: rgba(250,251,252,.85); }
.footer-powered strong { color: var(--blue-deep); }

/* ── Utilities ────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ── Animations ───────────────────────────────────────────── */

/* Hero entrance — staggered on load */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: heroFadeUp 680ms cubic-bezier(.22,1,.36,1)  80ms both; }
.hero h1      { animation: heroFadeUp 680ms cubic-bezier(.22,1,.36,1) 200ms both; }
.hero-desc    { animation: heroFadeUp 680ms cubic-bezier(.22,1,.36,1) 340ms both; }
.hero-actions { animation: heroFadeUp 680ms cubic-bezier(.22,1,.36,1) 460ms both; }
.hero-stats   { animation: heroFadeUp 680ms cubic-bezier(.22,1,.36,1) 600ms both; }

/* Hero shapes — slow float */
@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(14px); }
}
.hero-shape-1 { animation: floatA 14s ease-in-out infinite; }
.hero-shape-2 { animation: floatB 18s ease-in-out infinite; }

/* Mobile nav slide-down */
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile.open { animation: navSlideDown 200ms ease both; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(.22,1,.36,1),
              transform 600ms cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero h1, .hero-desc, .hero-actions, .hero-stats,
  .hero-shape-1, .hero-shape-2, .nav-mobile.open {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .service-detail { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail.reverse .service-detail-text { order: unset; }
  .service-detail.reverse .service-detail-visual { order: unset; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .nav-links, .nav .btn { display: none; }
  .nav-burger { display: flex; }
  .hero { min-height: 80vh; padding: 3.5rem 0 4rem; }
  .hero-stats { gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: unset; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-section .btn-group { flex-direction: column; align-items: center; }
}
