/* ==========================================================
   Nexa Support — Design tokens
   Palette: deep pine teal (trust) + signal orange (urgency/CTA)
   Type: Sora (display) / Inter (body) / IBM Plex Mono (data & stats)
   ========================================================== */
:root {
  --pine-900: #0A2E2F;
  --pine-800: #0F3D3E;
  --pine-700: #14746F;
  --pine-100: #E4F1EE;
  --orange-600: #E85A2A;
  --orange-500: #FF6B35;
  --orange-100: #FFE9DD;
  --ink: #16221F;
  --ink-soft: #4B5B57;
  --paper: #F7F5F1;
  --paper-raised: #FFFFFF;
  --line: #E3E0D8;
  --success: #1E8E5A;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(10,46,47,.06), 0 8px 24px -12px rgba(10,46,47,.18);
  --shadow-pop: 0 20px 45px -18px rgba(10,46,47,.35);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--pine-800); color: #fff;
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--pine-900); margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600);
  font-weight: 600; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--orange-500); display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: var(--font-body);
}
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--orange-500); color: #fff; box-shadow: 0 10px 24px -10px rgba(232,90,42,.6); }
.btn-cta:hover { background: var(--orange-600); box-shadow: 0 14px 28px -10px rgba(232,90,42,.7); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--pine-800); color: #fff; }
.btn-dark:hover { background: var(--pine-900); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(247,245,241,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--pine-900); }
.brand-text strong { font-weight: 800; color: var(--orange-600); }
.brand-text.light { color: #fff; font-size: 1.3rem; }
.brand-text.light strong { color: var(--orange-500); }

.main-nav { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; padding: 6px 0; }
.main-nav a:hover { color: var(--pine-700); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 6px; font-weight: 700; font-family: var(--font-mono); font-size: .88rem; color: var(--pine-800); }
.header-phone svg { color: var(--orange-500); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 100%; height: 2px; background: var(--pine-900); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, #164F4C 0%, var(--pine-900) 55%, #081F20 100%);
  color: #fff; padding: 76px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-eyebrow { color: var(--orange-500); }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--orange-500); }
.hero-sub { color: rgba(255,255,255,.78); font-size: 1.08rem; max-width: 480px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 28px; }
.hero-trust span { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.85); font-weight: 500; }
.hero-trust svg { color: var(--orange-500); flex-shrink: 0; }
.hero-cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 54px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }
.hero-stats div { border-left: 1px solid rgba(255,255,255,.14); padding-left: 16px; }
.hero-stats div:first-child { border-left: none; padding-left: 0; }
.hero-stat-num { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; color: var(--orange-500); }
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 2px; }

/* ---------- Estimator (signature element) ---------- */
.estimator {
  background: var(--paper-raised); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-pop); color: var(--ink);
}
.estimator-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.estimator-head h3 { margin: 0; }
.estimator-live { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .72rem; color: var(--success); font-weight: 600; }
.estimator-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.appliance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.appliance-pick {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--paper);
  font-size: .72rem; font-weight: 600; color: var(--ink-soft); text-align: center; transition: all .15s ease;
}
.appliance-pick svg { color: var(--pine-700); }
.appliance-pick.active, .appliance-pick:hover { border-color: var(--orange-500); background: var(--orange-100); color: var(--pine-900); }
.appliance-pick.active svg { color: var(--orange-600); }

.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--pine-900); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: .92rem; background: var(--paper); color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--pine-700); box-shadow: 0 0 0 3px var(--pine-100);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.estimate-box {
  display: flex; align-items: center; justify-content: space-between; background: var(--pine-900);
  color: #fff; border-radius: var(--radius-sm); padding: 16px 18px; margin: 18px 0;
}
.estimate-box .label { font-size: .78rem; color: rgba(255,255,255,.7); }
.estimate-box .amount { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600; color: var(--orange-500); }

.form-msg { font-size: .85rem; padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: #E7F6EE; color: var(--success); }
.form-msg.error { background: #FDECEA; color: #C0392B; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper-raised); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.service-card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--pine-100); display: flex;
  align-items: center; justify-content: center; margin-bottom: 16px; color: var(--pine-800);
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: .9rem; margin-bottom: 14px; }
.service-card .card-link { font-weight: 700; font-size: .85rem; color: var(--orange-600); display: inline-flex; align-items: center; gap: 6px; }
.service-price { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); margin-bottom: 10px; display: block; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.about-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--pine-900); }
.about-list li::before { content: '✓'; width: 22px; height: 22px; flex-shrink: 0; background: var(--pine-700); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; }
.about-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 30px; }
.about-stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.about-stat .num { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 600; color: var(--orange-600); }
.about-stat .lbl { font-size: .82rem; color: var(--ink-soft); }
.about-visual {
  background: linear-gradient(160deg, var(--pine-800), var(--pine-900)); border-radius: var(--radius-lg);
  padding: 40px; color: #fff; position: relative; min-height: 340px; display: flex; flex-direction: column; justify-content: center;
}
.about-visual .quote { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.about-visual .who { margin-top: 20px; font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---------- Process strip ---------- */
.process-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.process-step { position: relative; padding-top: 18px; }
.process-step .idx { font-family: var(--font-mono); font-size: .78rem; color: var(--orange-600); font-weight: 700; }
.process-step h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.process-step p { font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; color: var(--pine-900);
}
.faq-q .plus { font-size: 1.3rem; color: var(--orange-500); transition: transform .2s ease; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 18px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }
.contact-card { background: var(--pine-900); color: #fff; border-radius: var(--radius-lg); padding: 34px; }
.contact-card h3 { color: #fff; }
.contact-row { display: flex; gap: 14px; margin-top: 22px; }
.contact-row .icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--orange-500); flex-shrink: 0; }
.contact-row .lbl { font-size: .78rem; color: rgba(255,255,255,.6); }
.contact-row .val { font-weight: 600; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; margin-top: 24px; border: none; width: 100%; height: 200px; }

.form-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange-600), var(--orange-500));
  border-radius: var(--radius-lg); padding: 48px; color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 520px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-900); color: rgba(255,255,255,.75); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; margin-bottom: 10px; font-size: .9rem; color: rgba(255,255,255,.72); }
.footer-col a:hover { color: var(--orange-500); }
.footer-disclaimer { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

/* ---------- Floating actions ---------- */
.floating-actions { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 90; }
.fab { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-pop); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--orange-500); }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 40px; }
.legal-content h2:first-child { margin-top: 0; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--paper-raised); flex-direction: column;
    padding: 18px 24px; gap: 4px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .2s ease; }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); row-gap: 20px; }
  .hero-stats div:nth-child(3) { border-left: none; padding-left: 0; }
  .appliance-grid { grid-template-columns: repeat(3,1fr); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band { padding: 34px 22px; }
}
