/* ============================================================
   Atlas Automation Agency — styles.css
   Mobile-first. Colors are sampled from the actual logo files.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (exact values sampled from the logo PNGs) */
  --navy: #08183A;        /* primary — trust, stability */
  --navy-soft: #0E2452;   /* lighter navy for layering on navy */
  --ink: #00092D;         /* deepest navy, near-black */
  --teal: #00BCAE;        /* accent — innovation, CTAs */
  --teal-dark: #00A396;   /* CTA hover */
  --teal-text: #00857A;   /* teal dark enough to read as text on white */
  --cyan-pale: #DDF7F3;   /* light cyan highlight (dot halos in the logo) */
  --line: #E1E6EF;        /* hairline borders, from the logo's orbit rings */
  --body: #3D4A63;        /* body text — desaturated navy */
  --muted: #64718C;       /* secondary text */
  --bg: #FFFFFF;
  --bg-soft: #F6F9FB;     /* off-white section background */
  --wa-green: #25D366;    /* WhatsApp brand green */

  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --radius: 16px;
  --shadow: 0 2px 6px rgba(8, 24, 58, 0.05);
  --shadow-lift: 0 14px 34px rgba(8, 24, 58, 0.12);
  --nav-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

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

a { color: var(--teal-text); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 6.5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); letter-spacing: -0.015em; margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--teal); }

.section-lead {
  max-width: 640px;
  font-size: 1.06rem;
  margin-bottom: 2.5rem;
}

.section-punch {
  margin-top: 2.5rem;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
}
.section-punch em { color: var(--teal-text); font-style: normal; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Anchored sections stop below the sticky nav */
section[id], main[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

.grid { display: grid; gap: 20px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 88px 0; }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 104px 0; }
}

/* Staggered reveal: cards inside a grid animate one after another */
.grid .reveal:nth-child(2) { transition-delay: 0.10s; }
.grid .reveal:nth-child(3) { transition-delay: 0.20s; }
.grid .reveal:nth-child(4) { transition-delay: 0.30s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none !important;
}

/* Primary: bright teal with navy text — high contrast, on-brand */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(0, 188, 174, 0.35);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 188, 174, 0.45);
}
/* light sweep across the button on hover */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-primary:hover::after { animation: btn-shine 0.7s ease; }
@keyframes btn-shine {
  from { left: -80%; }
  to   { left: 130%; }
}

.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

.btn-whatsapp {
  background: var(--wa-green);
  color: #fff;
  width: 100%;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45); }
.btn-whatsapp svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- Sticky nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(8, 24, 58, 0.06); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo img { width: auto; height: 34px; }

.nav-links {
  display: none; /* hidden on mobile; hamburger below */
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--navy);
}
.nav-links a:hover { color: var(--teal-text); text-decoration: none; }
.btn-nav { padding: 10px 20px; font-size: 0.85rem; }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
/* Hamburger → X when open */
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  /* Mobile menu: slides down under the bar */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(8, 24, 58, 0.10);
    padding: 8px 20px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  }
  .nav.open .nav-links { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--bg-soft); }
  .nav-links .btn-nav { margin-top: 14px; border-bottom: 0; padding: 13px 20px; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }

  /* teal underline slides in under nav links */
  .nav-links a:not(.btn) { position: relative; padding: 4px 0; }
  .nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 2px;
    border-radius: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .nav-links a:not(.btn):hover::after { transform: scaleX(1); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 80px;
  background: var(--bg-soft);
  overflow: hidden;
}

/* soft cyan radial glow behind the content — breathes gently */
.hero-glow {
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(closest-side, rgba(0, 188, 174, 0.13), transparent 70%);
  pointer-events: none;
  animation: glow-breathe 7s ease-in-out infinite alternate;
}
@keyframes glow-breathe {
  from { transform: translateX(-50%) scale(1);    opacity: 0.8; }
  to   { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

/* faint oversized orbit mark, desktop only — rotates very slowly */
.hero-watermark {
  display: none;
  position: absolute;
  right: -140px; top: 40px;
  width: 560px;
  opacity: 0.05;
  pointer-events: none;
  animation: orbit-spin 90s linear infinite;
}
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (min-width: 1000px) { .hero-watermark { display: block; } }

/* Hero content cascades in, line by line */
.hero-inner > .reveal:nth-child(1) { transition-delay: 0s; }
.hero-inner > .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero-inner > .reveal:nth-child(3) { transition-delay: 0.24s; }
.hero-inner > .reveal:nth-child(4) { transition-delay: 0.36s; }
.hero-inner > .reveal:nth-child(5) { transition-delay: 0.48s; }

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo { width: min(320px, 78vw); margin-bottom: 2.2rem; }

.hero-sub {
  max-width: 560px;
  font-size: 1.1rem;
  margin: 1.1rem 0 2rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.9rem;
}

@media (min-width: 640px) {
  .hero { padding: calc(var(--nav-h) + 88px) 0 110px; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cyan-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.25s ease, background 0.25s ease;
}
/* icon gives a friendly tilt when its card is hovered */
.card:hover .card-icon,
.trust-item:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--teal);
}
.card:hover .card-icon svg,
.trust-item:hover .card-icon svg { stroke: var(--navy); }
.card-icon svg {
  width: 23px; height: 23px;
  fill: none;
  stroke: var(--teal-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-grid { margin-top: 1rem; }
.pain-grid .card p { font-size: 0.93rem; }

/* ---------- Before / after rows (What We Do) ---------- */
.ba-list { display: flex; flex-direction: column; gap: 14px; max-width: 940px; }

.ba-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.ba-arrow {
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  transform: rotate(90deg); /* points downward when stacked on mobile */
}

.ba-before, .ba-after { font-size: 0.95rem; }
.ba-after { color: var(--navy); font-weight: 500; }

.ba-tag {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.ba-tag-after { color: var(--teal-text); }

@media (min-width: 760px) {
  .ba-row { grid-template-columns: 1fr 48px 1fr; gap: 16px; padding: 22px 26px; }
  .ba-arrow { transform: none; animation: arrow-nudge 1.8s ease-in-out infinite; }
}
@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

/* ---------- Packages ---------- */
.package-grid { margin-top: 0.5rem; }
.package { position: relative; display: flex; flex-direction: column; }

/* The pain, in the owner's own words — the card's hook */
.package-pain {
  font-size: 1.02rem;
  font-weight: 500;
  font-style: italic;
  color: var(--navy);
  background: var(--cyan-pale);
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin-bottom: 1.2rem;
}

.package-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.package h3 { font-size: 1.35rem; }

/* Tier tagline — the "slogan" line under the package name */
.package-tagline {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-text);
  margin: 0.15rem 0 0.8rem;
}

.package-what { font-size: 0.95rem; margin-bottom: 1rem; }
.package-what strong { color: var(--navy); }

/* "What's inside" mini-heading */
.package-inside {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

/* Honesty note (Sales Engine) */
.package-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.package-for {
  margin-top: auto;      /* pins to the card bottom so cards align */
  padding-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.package-for strong { color: var(--navy); }

.package-flagship { border: 2px solid var(--teal); }
.package-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  animation: badge-float 3.2s ease-in-out infinite;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* The ladder line under the package grid */
.ladder-note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.98rem;
  color: var(--muted);
}
.ladder-note strong { color: var(--teal-text); }

/* Checkmark lists */
.checklist { list-style: none; margin-bottom: 1rem; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
  font-size: 0.93rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--cyan-pale);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 7.5px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--teal-text);
  border-bottom: 2px solid var(--teal-text);
  transform: rotate(-45deg);
}

/* Pricing philosophy strip */
.pricing-note {
  margin-top: 34px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
}
.pricing-note h3 { color: #fff; font-size: 1.3rem; }
.pricing-note p {
  color: #C9D4E6;
  max-width: 620px;
  margin: 0.6rem auto 1.4rem;
}
.pricing-note strong { color: #fff; }

/* ---------- How it works (navy band) ---------- */
.section-navy { background: var(--navy); }
.section-navy h2 { color: #fff; }

.steps-grid { margin-top: 2.2rem; }

.step { position: relative; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
/* number pops in with a little bounce once the step scrolls into view */
.step.reveal .step-num {
  transform: scale(0.3);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
}
.step.reveal.visible .step-num { transform: scale(1); }
.step h3 { color: #fff; }
.step p { color: #B7C3D8; font-size: 0.93rem; }

/* ---------- Industries ---------- */
.industry-grid { margin-top: 0.5rem; }
.industry { padding: 30px 28px; }
.industry-sub { font-size: 0.95rem; margin-bottom: 1.2rem; }

/* ---------- Trust ---------- */
.trust-grid { margin-top: 1.5rem; }
.trust-item p { font-size: 0.92rem; }

/* Testimonials */
.testimonial-head { margin-top: 56px; margin-bottom: 6px; }
.testimonial-head h3 { font-size: 1.4rem; }

.testimonial {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 34px;
}
/* decorative opening quote */
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 8px; left: 20px;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
  opacity: 0.45;
}
.testimonial blockquote {
  font-size: 0.95rem;
  color: var(--body);
  margin-bottom: 1.4rem;
}
.testimonial figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.testimonial figcaption img {
  width: 46px; height: 46px;
  object-fit: contain;
  border-radius: 10px;
}
.testimonial figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--navy);
}
.testimonial figcaption span:not(.testimonial-monogram) {
  font-size: 0.8rem;
  color: var(--muted);
}
/* Monogram avatar used until a company's real logo is supplied */
.testimonial-monogram {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 480px; /* single centred card until the Tally form exists */
}
/* When main.js detects a pasted Tally embed, it adds .has-form */
.contact-layout.has-form { max-width: none; }
@media (min-width: 860px) {
  .contact-layout.has-form { grid-template-columns: 420px 1fr; align-items: start; }
}
.contact-layout:not(.has-form) .contact-form { display: none; }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 1.2rem; }
.contact-line { font-size: 0.95rem; margin-top: 0.9rem; }
.contact-line a { color: var(--navy); font-weight: 600; }
.contact-hint { font-size: 0.85rem; color: var(--muted); margin-top: 1.2rem; }

/* ---------- Native audit form ---------- */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}

.form-intro { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.4rem; }

.form-field { margin-bottom: 1.25rem; border: 0; padding: 0; }

.form-field label,
.form-field legend {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.req { color: var(--teal-text); }
.opt { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.85rem; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #A6B0C3; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 188, 174, 0.18);
}
.form-field textarea { resize: vertical; min-height: 96px; }

/* custom dropdown arrow */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2308183A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-field select:invalid { color: #A6B0C3; } /* placeholder option looks like one */

/* Tap-able chip radios */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input {
  /* visually hidden but kept inside the chip (position: relative above) */
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--body);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  transition: all 0.15s ease;
}
.chip:hover span { border-color: var(--teal); }
.chip input:checked + span {
  background: var(--cyan-pale);
  border-color: var(--teal);
  color: var(--navy);
  font-weight: 600;
}
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 188, 174, 0.25); }

.form-submit { width: 100%; margin-top: 0.4rem; }
.form-submit[disabled] { opacity: 0.6; cursor: wait; }

.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 0.8rem; text-align: center; }
.form-note a { font-weight: 600; }

/* Success state (form fields get hidden, this appears) */
#audit-form.done > *:not(.form-success) { display: none; }
.form-success { text-align: center; padding: 28px 8px; }
.form-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--cyan-pale);
  display: flex; align-items: center; justify-content: center;
}
.form-success-icon svg {
  width: 30px; height: 30px;
  fill: none; stroke: var(--teal-text); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.form-success p { max-width: 380px; margin: 0.5rem auto 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #B7C3D8;
  padding: 56px 0 0;
}
.footer a { color: #DDE5F1; }
.footer a:hover { color: var(--teal); text-decoration: none; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 24px; }
}

.footer-brand img { width: 230px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 300px; }

.footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a, .footer-contact p { font-size: 0.93rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 22px;
  padding-bottom: 26px;
}
.footer-bottom p { font-size: 0.83rem; color: #8493AF; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Gentle pulse ring */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa-green);
  opacity: 0.45;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.45; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Section headings grow a teal underline as they appear */
h2.reveal::after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--teal);
  transition: width 0.7s ease 0.35s;
}
h2.reveal.visible::after { width: 58px; }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; transition-delay: 0s; }
  h2.reveal::after { width: 58px; transition: none; }
  .step.reveal .step-num { transform: scale(1); transition: none; }
  .wa-float::before, .hero-glow, .hero-watermark, .package-badge,
  .ba-arrow, .btn-primary::after { animation: none !important; }
  .card, .btn, .wa-float, .card-icon { transition: none; }
}
