/* =========================================================================
   Netgrape, style.css
   Warm-industrial design system: greige canvas, cream cards, vivid orange,
   ultra-bold display type (Archivo Black) + DM Sans body.
   Re-skin from the tokens in :root.
   ========================================================================= */

:root {
  /* Palette */
  --canvas:  #e2e2df;   /* page background, warm greige */
  --cream:   #f7f6f2;   /* cards / panels */
  --ink:     #070607;   /* near-black text */
  --ink-soft:#3c3a3c;
  --muted:   #6f6d6a;
  --line:    rgba(7, 6, 7, .14);
  --orange:  #fc5000;   /* primary accent */
  --orange-deep: #d94500;
  --yellow:  #f5f28e;   /* highlight chips */
  --violet:  #524ae9;   /* secondary accent, used sparingly */

  /* Type */
  --font-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Menlo, monospace;

  /* Shape */
  --maxw: 1240px;
  --r-card: 24px;
  --r-sm: 14px;
  --r-pill: 10px;   /* squared-off buttons/chips (was a full pill) */
  --shadow-sm: 0 1px 2px rgba(7,6,7,.05), 0 6px 18px rgba(7,6,7,.06);
  --shadow-md: 0 14px 40px rgba(7,6,7,.12);
  --shadow-lg: 0 26px 60px rgba(7,6,7,.18);
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Halftone dot texture */
  --dots: radial-gradient(circle, rgba(7,6,7,.10) 2.3px, transparent 2.9px);
  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
::selection { background: var(--orange); color: #fff; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .18s; }
a:hover { color: var(--orange); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); line-height: .98; letter-spacing: -.015em; margin: 0 0 .5em; }
h4 { font-family: var(--font-body); font-weight: 700; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; color: var(--cream); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

/* Anchored sections scroll to rest below the sticky pill nav */
[id] { scroll-margin-top: 112px; }

/* Grid blowout guard */
.trustbar-inner > *, .statsband-inner > *, .steps > *, .plans > *,
.quotes > *, .footer-inner > *, .field-row > *, .feat-row > * { min-width: 0; }

/* =========================================================================
   Buttons — pill shapes
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .9em 1.7em; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(252,80,0,.30); }
.btn-primary:hover { background: var(--orange-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(252,80,0,.38); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px dashed rgba(7,6,7,.45); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); background: var(--cream); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { color: #fff; background: #1c1a1c; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: var(--ink); border: 1.5px dashed rgba(7,6,7,.5); }
.btn-outline-light:hover { color: var(--ink); border-color: var(--ink); background: rgba(247,246,242,.5); }
.btn-sm { padding: .68em 1.3em; font-size: .92rem; }
.btn-lg { padding: 1.02em 2em; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* =========================================================================
   Header — floating pill nav
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0; transition: padding .3s var(--ease); }
.header-inner {
  display: flex; align-items: center; gap: 18px; height: 64px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding-inline: 22px; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled .header-inner { box-shadow: var(--shadow-md); }

.brand { display: inline-flex; align-items: center; color: var(--ink); line-height: 0; }
.brand:hover { color: var(--ink); opacity: .92; }
.brand-logo { display: block; height: 36px; width: auto; max-width: min(200px, 42vw); object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; padding-left: 18px; border-left: 1px dotted rgba(7,6,7,.35); }
.main-nav a { color: var(--ink); font-weight: 500; font-size: .96rem; padding: 8px 13px; border-radius: var(--r-pill); transition: color .18s, background .18s; }
.main-nav a:hover { color: var(--orange); }
.main-nav a.active { background: var(--ink); color: var(--cream); }

.header-cta { display: flex; align-items: center; gap: 12px; margin-left: 4px; padding-left: 16px; border-left: 1px dotted rgba(7,6,7,.35); }
.header-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.header-phone:hover { color: var(--orange); }

.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0; }
.nav-toggle span { display: block; height: 2.5px; width: 24px; background: var(--ink); border-radius: 2px; margin-inline: auto; transition: transform .28s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================================
   Chips / eyebrows — pale yellow pills
   ========================================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink); background: var(--yellow); border-radius: var(--r-pill);
  padding: .5em 1.05em; margin: 0 0 1.2em;
}
.ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(252,80,0,.55); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(252,80,0,.5); } 70%,100% { box-shadow: 0 0 0 8px rgba(252,80,0,0); } }

/* =========================================================================
   Hero — big display headline, terminal stage, CTA bottom-right
   ========================================================================= */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero-head { max-width: 900px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); margin-bottom: .2em; }
.hero h1 .accent { color: var(--orange); }

.hero-stage { position: relative; width: fit-content; margin: 34px auto 40px; }
.terminal {
  width: min(640px, 100%);
  background: var(--ink); border: 1px solid rgba(252,80,0,.35); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono); font-size: .86rem; line-height: 1.9;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(247,246,242,.04); border-bottom: 1px solid rgba(247,246,242,.09); }
.tdot { width: 11px; height: 11px; border-radius: 50%; background: #3a3838; }
.tdot:nth-child(1) { background: #ff5f57; } .tdot:nth-child(2) { background: #febc2e; } .tdot:nth-child(3) { background: #28c840; }
.terminal-title { margin-left: auto; color: #96938e; font-size: .78rem; letter-spacing: .02em; }
.terminal-body { padding: 18px 20px 20px; color: #c9c6bf; overflow-x: auto; }
.terminal-body p { margin: 0; white-space: nowrap; }
.t-cmd { color: var(--cream); margin-bottom: 6px !important; }
.t-prompt { color: var(--orange); margin-right: .5em; }
.t-row { display: flex; align-items: baseline; }
.t-ok { color: var(--orange); margin-right: .7em; }
.t-dots { flex: 1 1 auto; margin: 0 .6em; border-bottom: 1px dotted rgba(247,246,242,.25); transform: translateY(-4px); }
.t-val { color: var(--cream); }
.t-up { color: var(--yellow); }
.t-done { color: #96938e; margin-top: 8px !important; }
.cursor { display: inline-block; width: .55em; margin-left: .15em; background: var(--orange); color: transparent; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-float { position: absolute; font-family: var(--font-body); font-weight: 700; font-size: .85rem; color: var(--ink); background: var(--cream); border: 1.5px dashed rgba(7,6,7,.4); padding: .6em 1.1em; border-radius: var(--r-pill); }
.hero-float-1 { top: -16px; left: -14px; animation: floaty 6s ease-in-out infinite; }
.hero-float-2 { bottom: -16px; right: -14px; animation: floaty 6.5s ease-in-out .8s infinite; }

.hero-foot { display: flex; flex-direction: column; align-items: flex-end; text-align: right; margin-left: auto; max-width: 500px; }
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 1.4em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.hero-trust { margin-top: 1.2em; color: var(--muted); font-size: .92rem; font-weight: 500; }

/* =========================================================================
   Marquee — cream tiles
   ========================================================================= */
.marquee-wrap { padding: 30px 0 34px; border-block: 1px dotted rgba(7,6,7,.3); background: var(--canvas); overflow: hidden; }
.marquee-label { text-align: center; font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.marquee { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-track { display: flex; gap: 14px; padding-left: 14px; }
.marquee-track span {
  flex: 0 0 auto; font-family: var(--font-body); font-weight: 700; font-size: .95rem; color: var(--ink);
  padding: .65em 1.3em; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); box-shadow: var(--shadow-sm);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   Trust bar — cream cards
   ========================================================================= */
.trustbar { padding: 56px 0; background: var(--canvas); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px; text-align: left; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trust-item strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 8px; }
.trust-item span { color: var(--ink-soft); font-size: .92rem; }

/* =========================================================================
   Statement band — giant type on halftone dots
   ========================================================================= */
.statement { padding: 110px 0; background-color: var(--canvas); background-image: var(--dots); background-size: 26px 26px; }
.statement h2 { font-size: clamp(3rem, 9vw, 7rem); text-align: center; margin: 0; }
.statement .lt { color: var(--orange); }

/* =========================================================================
   Sections / headings
   ========================================================================= */
.section { padding: 96px 0; }
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head-left { text-align: left; margin-inline: 0; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section-lead { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 0; }

/* =========================================================================
   Services — alternating feature rows
   ========================================================================= */
.services { background: var(--canvas); }
.feat-rows { display: grid; gap: 26px; }
.feat-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: stretch; }
.feat-row:nth-child(even) .feat-media { order: 2; }

.feat-media { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 340px; background: var(--orange); }
.feat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.feat-row:hover .feat-media img { transform: scale(1.04); }
.feat-media .feat-tag { position: absolute; top: 18px; left: 18px; z-index: 2; font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: .5em 1em; border-radius: var(--r-pill); }

.feat-panel { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-card); padding: 44px 42px; display: flex; flex-direction: column; align-items: flex-start; box-shadow: var(--shadow-sm); }
.feat-panel h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .45em; }
.feat-panel > p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 1.1em; }
.feat-list { display: grid; gap: 9px; margin: 0 0 26px; }
.feat-list li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .96rem; }
.feat-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.feat-panel .btn { margin-top: auto; }

/* =========================================================================
   Stats — giant numbers on dots
   ========================================================================= */
.statsband { padding: 84px 0; background-color: var(--canvas); background-image: var(--dots); background-size: 26px 26px; border-block: 1px dotted rgba(7,6,7,.3); }
.statsband-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat-card { text-align: center; padding: 10px; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--ink); line-height: 1; margin-bottom: .3em; }
.stat-label { color: var(--ink-soft); font-size: .96rem; font-weight: 500; }

/* =========================================================================
   About — feature row style
   ========================================================================= */
.about { background: var(--canvas); }
.about-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; align-items: stretch; }
.about-media { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 420px; background: var(--ink); display: grid; place-items: end center; }
.about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.about-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,6,7,.05) 30%, rgba(7,6,7,.78) 100%); }
.about-badge { position: relative; z-index: 2; text-align: center; color: var(--cream); padding: 28px; }
.about-badge-big { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; }
.about-badge-small { display: block; color: var(--yellow); font-size: 1rem; letter-spacing: .05em; margin-top: 4px; font-weight: 500; }
.about-copy { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-card); padding: 46px 44px; box-shadow: var(--shadow-sm); }
.about-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.about-copy p { color: var(--ink-soft); }
.about-points { display: grid; gap: 10px; margin: 22px 0 28px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }

/* =========================================================================
   Steps — process timeline
   ========================================================================= */
.how { background: var(--canvas); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps::before { content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; z-index: 0; opacity: .5;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 14px); }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-node { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--orange); border: 5px solid var(--canvas); box-shadow: 0 12px 26px rgba(252,80,0,.35); margin-bottom: 20px; transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.step:hover .step-node { transform: translateY(-4px) scale(1.04); box-shadow: 0 18px 34px rgba(252,80,0,.45); }
.step-ic { width: 30px; height: 30px; }
.step-num { position: absolute; top: -7px; right: -7px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--font-body); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.14rem; letter-spacing: 0; margin-bottom: .4em; }
.step p { color: var(--ink-soft); font-size: .93rem; margin: 0 auto; max-width: 250px; }

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing { background: var(--canvas); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; max-width: 1020px; margin-inline: auto; }
.plan { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-card); padding: 36px 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan h3 { font-size: 1.35rem; margin-bottom: .25em; }
.plan-price { font-family: var(--font-body); color: var(--muted); font-size: 1rem; margin: 0; }
.plan-price strong { font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; color: var(--ink); letter-spacing: -.01em; }
.plan-note { color: var(--muted); font-size: .86rem; margin: 0 0 18px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 28px; }
.plan ul li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .95rem; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 800; }
.plan .btn { margin-top: auto; }

.plan-featured { background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan-featured h3 { color: var(--cream); }
.plan-featured .plan-price { color: #96938e; }
.plan-featured .plan-price strong { color: var(--orange); }
.plan-featured .plan-note { color: #96938e; }
.plan-featured ul li { color: #c9c6bf; }
.plan-featured ul li::before { color: var(--orange); }
.plan-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: .45em 1.1em; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); white-space: nowrap; }
.pricing-foot { text-align: center; margin: 36px 0 0; color: var(--ink-soft); }
.pricing-foot a { color: var(--orange); font-weight: 700; }

/* =========================================================================
   Testimonials
   ========================================================================= */
.testimonials { background: var(--canvas); background-image: var(--dots); background-size: 26px 26px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px 30px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote blockquote { margin: 0 0 16px; font-size: 1.04rem; line-height: 1.55; color: var(--ink); }
.quote blockquote::before { content: "“"; font-family: var(--font-display); font-size: 2.4rem; color: var(--orange); line-height: 0; vertical-align: -.35em; margin-right: .08em; }
.quote figcaption { font-weight: 700; color: var(--muted); font-size: .92rem; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { background: var(--canvas); }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: 16px; background: var(--cream); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.acc-item.open { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; cursor: pointer; padding: 21px 24px; text-align: left; font-family: var(--font-body); font-weight: 700; font-size: 1.04rem; color: var(--ink); }
.acc-icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--orange); border-radius: 2px; transition: transform .28s var(--ease); }
.acc-icon::before { top: 8px; left: 0; width: 18px; height: 2.5px; }
.acc-icon::after  { left: 8px; top: 0; width: 2.5px; height: 18px; }
.acc-item.open .acc-icon::after { transform: scaleY(0); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.acc-panel p { margin: 0; padding: 0 24px 22px; color: var(--ink-soft); font-size: .98rem; }

/* =========================================================================
   Coverage map
   ========================================================================= */
.coverage-section { background: var(--canvas); }
.coverage { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--cream); box-shadow: var(--shadow-md); }
.coverage-map { display: block; width: 100%; height: auto; color: var(--ink-soft); background: var(--cream); }
.coverage-map text { font-family: var(--font-body); }
.coverage-cap { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 15px 18px; font-family: var(--font-body); font-weight: 700; font-size: .9rem; color: var(--ink-soft); border-top: 1px dotted rgba(7,6,7,.3); text-align: center; }
.coverage-cap .dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(252,80,0,.16); }
.cov-ping { transform-origin: center; transform-box: fill-box; animation: covping 2.2s ease-out infinite; }
@keyframes covping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

/* =========================================================================
   CTA band — orange
   ========================================================================= */
.cta-band { background: var(--orange); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(circle, rgba(7,6,7,.16) 2.3px, transparent 2.9px); background-size: 26px 26px; }
.cta-inner { position: relative; text-align: center; padding: 92px 0; max-width: 820px; margin-inline: auto; }
.cta-band h2 { color: var(--ink); font-size: clamp(2.4rem, 5.5vw, 4rem); }
.cta-band p { color: rgba(7,6,7,.8); font-size: 1.14rem; font-weight: 500; margin-bottom: 1.9em; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   Contact
   ========================================================================= */
.contact { background: var(--canvas); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: start; }
.contact-copy { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-card); padding: 42px 40px; box-shadow: var(--shadow-sm); }
.contact-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.contact-copy p { color: var(--ink-soft); }
.contact-details { display: grid; gap: 18px; margin-top: 26px; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; }
.contact-details .ci { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; }
.contact-details em { color: var(--muted); font-style: normal; font-size: .82rem; }
.contact-details a { font-weight: 700; }

.contact-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-card); padding: 36px 34px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-family: var(--font-body); font-weight: 700; font-size: .9rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid rgba(7,6,7,.25); border-radius: var(--r-sm); background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,80,0,.16); }
.field textarea { resize: vertical; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #d0342c; }
.form-hint { margin: 14px 0 0; color: var(--muted); font-size: .85rem; text-align: center; }
.form-hint--ok { color: #1a7f37; font-weight: 600; }
.form-hint--error { color: #b42318; font-weight: 600; }
.field-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* =========================================================================
   Footer — near-black
   ========================================================================= */
.site-footer { background: var(--ink); color: #c9c6bf; padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 46px; }
.brand-footer .brand-logo { height: 34px; }
.footer-brand p { color: #96938e; font-size: .95rem; max-width: 320px; margin-top: 14px; }
.socials { display: flex; gap: 16px; margin-top: 16px; }
.socials a { color: #96938e; font-size: .9rem; font-weight: 700; }
.socials a:hover { color: var(--orange); }
.footer-col h4 { color: var(--cream); font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #b5b2ab; font-size: .95rem; }
.footer-col a:hover { color: var(--orange); }
.footer-col li { color: #b5b2ab; font-size: .95rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px dotted rgba(247,246,242,.22); }
.footer-bottom p { margin: 0; color: #96938e; font-size: .85rem; }

/* =========================================================================
   Back-to-top
   ========================================================================= */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 120; width: 50px; height: 50px; border-radius: 12px; border: none; cursor: pointer; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(252,80,0,.4); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); background: var(--orange-deep); }

/* =========================================================================
   WhatsApp chat button (fixed, bottom-left)
   ========================================================================= */
.wa-fab { position: fixed; left: 22px; bottom: 22px; z-index: 120; display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: 13px 18px; border-radius: 12px; box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.wa-fab:hover { color: #fff; background: #1fb857; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(37,211,102,.5); }
.wa-fab svg { flex: 0 0 auto; }
@media (max-width: 560px) { .wa-fab span { display: none; } .wa-fab { padding: 13px; } }

/* =========================================================================
   Contact map embed
   ========================================================================= */
.contact-map { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--cream); box-shadow: var(--shadow-sm); }
.contact-map iframe { display: block; width: 100%; height: 340px; border: 0; }

/* =========================================================================
   Inner pages (privacy policy etc.)
   ========================================================================= */
.page-article { max-width: 820px; margin: 40px auto 90px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-card); padding: 52px 48px; box-shadow: var(--shadow-sm); }
.page-article h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-article h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; letter-spacing: 0; margin: 1.6em 0 .5em; }
.page-article p, .page-article li { color: var(--ink-soft); }
.page-article ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.page-article a { color: var(--orange); font-weight: 700; }
.page-meta { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .page-article { padding: 34px 24px; margin-top: 20px; } }
/* =========================================================================
   Interactive terminal + health check
   ========================================================================= */
.terminal-body { max-height: 460px; overflow-y: auto; }
.t-in-line { display: flex; align-items: baseline; gap: .5em; }
.t-in { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; outline: none;
  font-family: var(--font-mono); font-size: 16px; line-height: 1.9; color: var(--cream);
  caret-color: var(--orange); padding: 0; }
.t-resp { color: #c9c6bf; white-space: pre-wrap !important; }
.t-err { color: #ff8a63; }
.t-hint { color: #96938e; font-size: .78rem; margin-top: 8px !important; }

.healthcheck { background: var(--canvas); background-image: var(--dots); background-size: 26px 26px; }
.hc-terminal { width: min(780px, 100%); margin-inline: auto; animation: none; }
.hc-terminal .terminal-body { min-height: 120px; }
#hcRun { margin: 12px 0 4px; }
.hc-cta { margin-top: 10px !important; }
.hc-cta a { color: var(--yellow); font-weight: 700; }
/* =========================================================================
   Reveal-on-scroll
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .feat-row { grid-template-columns: 1fr; }
  .feat-row:nth-child(even) .feat-media { order: 0; }
  .feat-media { min-height: 260px; }
  .feat-panel { padding: 34px 30px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { min-height: 320px; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .statsband-inner { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .quotes { grid-template-columns: 1fr; }
  .faq-inner, .contact-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-foot { align-items: flex-start; text-align: left; margin-left: 0; max-width: none; }
  .hero-actions { justify-content: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stage { width: 100%; max-width: 640px; margin-inline: auto; }
  .contact-map iframe { height: 280px; }
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed; inset: 100px 14px auto 14px; margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); padding: 14px 16px 20px; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow-lg); transform: translateY(-160%); visibility: hidden;
    transition: transform .32s var(--ease), visibility 0s .32s; z-index: 90;
    border-left: 1px solid var(--line);
    max-height: calc(100dvh - 120px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .site-header.nav-open .main-nav { transform: translateY(0); visibility: visible; transition: transform .32s var(--ease), visibility 0s; }
  .main-nav a { padding: 13px 14px; font-size: 1.05rem; border-radius: 12px; }
  .nav-toggle { display: flex; flex: 0 0 auto; }
  .header-phone span { display: none; }
  .header-cta { border-left: none; padding-left: 0; margin-left: auto; gap: 6px; }
  .header-inner { gap: 10px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand-logo { height: 30px; max-width: min(168px, 46vw); }
  .main-nav { margin-left: 0; padding-left: 16px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .section { padding: 66px 0; }
  .site-header { padding: 10px 0; }
  .header-inner { height: 60px; padding-inline: 12px; }
  .header-cta .btn-primary { display: none; }
  .hero { padding-top: 28px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.45rem, 11vw, 3.4rem); }
  .hero-sub { font-size: 1.02rem; }
  .main-nav { inset: 88px 12px auto 12px; }
  [id] { scroll-margin-top: 92px; }
  .hero-float { display: none; }
  .statement { padding: 76px 0; }
  .statement h2 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .feat-panel { padding: 28px 22px; }
  .about-copy { padding: 30px 22px; }
  .contact-map iframe { height: 240px; }
  .wa-fab, .to-top { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-fab { left: calc(14px + env(safe-area-inset-left, 0px)); }
  .to-top { right: calc(14px + env(safe-area-inset-right, 0px)); }
  /* Keep page content clear of fixed WhatsApp button */
  .site-footer { padding-bottom: 88px; }
  .btn { white-space: normal; text-align: center; }
  .terminal-body p { white-space: normal; }
  .t-row { flex-wrap: wrap; gap: 2px 0; }
  .t-dots { display: none; }
}

@media (max-width: 560px) {
  .trustbar-inner, .statsband-inner, .field-row { grid-template-columns: 1fr; }
  .statsband-inner { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .terminal { font-size: .78rem; width: 100%; }
  .brand-logo { height: 26px; max-width: min(140px, 40vw); }
  .steps { gap: 0; max-width: 440px; margin-inline: auto; grid-template-columns: 1fr; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; gap: 18px; padding-bottom: 30px; }
  .step-node { margin-bottom: 0; flex: 0 0 auto; }
  .step p { max-width: none; margin: 0; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 36px; top: 72px; bottom: -2px; width: 2px; z-index: 0; opacity: .45;
    background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 14px); }
  .coverage-cap { font-size: .82rem; padding: 12px 14px; }
  .plan { padding: 28px 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee, .terminal, .hero-float, .ping, .cursor, .cov-ping { animation: none !important; }
  * { animation-duration: .001ms !important; transition-duration: .06s !important; }
}
