/* ============================================================
   POTENZA TRANSPORTE — Estilos del sitio
   Brand-strict: solo verde #0e8764 / negro / gris #9b9b9b / blanco.
   League Gothic (títulos) + League Spartan (texto).
   Construido sobre los tokens de ../colors_and_type.css
   ============================================================ */

*, *::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(--fg);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--asphalt { background: var(--neutral-950); color: #fff; }
.section--subtle { background: var(--bg-subtle); }
.section--green { background: var(--accent); color: #fff; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.eyebrow--ondark { color: #fff; opacity: .92; }
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .006em;
  margin: 0;
}
h1.display { font-size: clamp(44px, 6.4vw, 92px); }
h2.display { font-size: clamp(38px, 5vw, 68px); }
h3.display { font-size: clamp(24px, 2.4vw, 34px); line-height: .98; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--fg-2); }
.muted { color: var(--fg-2); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  letter-spacing: .01em; line-height: 1;
  padding: 16px 28px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: background var(--dur) var(--ease-out), border-color var(--dur), color var(--dur), transform var(--dur-fast);
}
.btn svg { width: 19px; height: 19px; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { background: var(--accent-press); transform: translateY(1px); }
.btn--lg { padding: 19px 34px; font-size: 18px; }
.btn--sm { padding: 12px 20px; font-size: 14.5px; }
/* WhatsApp = brand green (paleta estricta), distinguido por el ícono + número */
.btn--whats { background: var(--accent); color: #fff; }
.btn--whats:hover { background: var(--accent-hover); }
.btn--ghost-dark {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.34);
}
.btn--ghost-dark:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn--outline {
  background: transparent; color: var(--fg); border-color: var(--line-strong);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--block { width: 100%; justify-content: center; }

.wa-num { font-variant-numeric: tabular-nums; }

/* link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 15.5px; color: var(--accent);
}
.tlink:hover { color: var(--accent-hover); }
.tlink svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.tlink:hover svg { transform: translateX(3px); }

/* ---------- monoline icon (minimal, no fill) ---------- */
.ico { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand-logo { height: 56px; width: auto; }
.mainnav { display: flex; align-items: center; gap: 28px; }
.mainnav a { font-weight: 600; font-size: 15.5px; color: var(--fg); }
.mainnav a:hover { color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; font-size: 15px; color: var(--fg); display: inline-flex; align-items: center; gap: 7px; }
.header-phone:hover { color: var(--accent); }
.navtoggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.navtoggle svg { width: 26px; height: 26px; stroke: var(--fg); stroke-width: 2; fill: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(8,8,7,.9) 0%, rgba(8,8,7,.72) 36%, rgba(8,8,7,.28) 66%, rgba(8,8,7,.08) 100%); }
.hero__inner { padding-block: 64px; max-width: 760px; color: #fff; }
.hero__logo-wrap { margin: 0; line-height: 0; }
.hero__logo { height: clamp(64px, 9vw, 124px); width: auto; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--green-300); }
.hero__sub { color: rgba(255,255,255,.86); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 560px; margin: 22px 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 40px; }
.hstat { display: flex; align-items: baseline; gap: 10px; }
.hstat__n { font-family: var(--font-display); font-size: 40px; line-height: 1; color: #fff; }
.hstat__l { font-size: 13px; color: rgba(255,255,255,.66); max-width: 120px; line-height: 1.3; }

/* ---------- proof bar ---------- */
.proofbar { background: var(--neutral-950); color: #fff; }
.proofbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 38px; padding-block: 22px; }
.proofbar__item { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 15px; }
.proofbar__item .ico { width: 20px; height: 20px; color: var(--green-300); }
.proofbar__sep { width: 1px; height: 22px; background: rgba(255,255,255,.16); }
.ph-token { color: var(--green-300); font-weight: 700; border: 1px dashed rgba(255,255,255,.4); padding: 3px 9px; border-radius: 6px; font-size: 13px; }

/* ---------- "por qué" grid ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 40px; margin-top: 48px; }
.why__item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.why__num { font-family: var(--font-display); font-size: 38px; line-height: .8; color: var(--accent); }
.why__t { font-weight: 700; font-size: 19px; margin: 2px 0 8px; }
.why__d { color: var(--fg-2); font-size: 15.5px; line-height: 1.55; margin: 0; }
.proof-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--green-700);
  background: var(--accent-soft); padding: 6px 12px; border-radius: var(--radius-pill);
}
.proof-tag .ico { width: 15px; height: 15px; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.svc-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), border-color var(--dur);
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.svc-card__media { aspect-ratio: 16/10; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card__icorow { display: flex; align-items: center; gap: 10px; color: var(--fg); margin-bottom: 10px; }
.svc-card__icorow .ico { width: 22px; height: 22px; }
.svc-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; line-height: .98; margin: 0; }
.svc-card p { color: var(--fg-2); font-size: 14.5px; line-height: 1.55; margin: 9px 0 18px; }
.svc-card .tlink { margin-top: auto; }
.svc-card--cta { background: var(--neutral-950); color: #fff; border-color: transparent; justify-content: center; }
.svc-card--cta:hover { background: var(--neutral-800); transform: translateY(-4px); }

/* ---------- coverage ---------- */
.coverage { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.coverage__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.coverage__media img { width: 100%; height: 100%; object-fit: cover; }
.deptos { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--fg-2);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); padding: 7px 13px;
}
.chip .ico { width: 14px; height: 14px; color: var(--accent); }

/* ---------- featured case ---------- */
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.case__media { position: relative; min-height: 340px; }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.case__metric { font-family: var(--font-display); font-size: clamp(48px, 6vw, 76px); line-height: .9; color: var(--accent); }
.case__metric small { display: block; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--fg-2); margin-top: 8px; letter-spacing: 0; text-transform: none; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; counter-reset: step; }
.step { position: relative; padding-top: 24px; border-top: 3px solid var(--accent); }
.step__n { font-family: var(--font-display); font-size: 22px; color: var(--accent); letter-spacing: .04em; }
.step h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 28px; margin: 6px 0 10px; line-height: .98; }
.step p { color: var(--fg-2); font-size: 15.5px; margin: 0; }

/* ---------- testimonials (draft) ---------- */
.draft-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--warning); border: 1px dashed var(--warning); border-radius: var(--radius-pill); padding: 5px 13px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.testi {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; background: var(--surface); color: var(--fg-3);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: center;
}
.testi--filled .testi__quote { color: var(--fg); font-style: normal; }
.testi--filled .testi__who { color: var(--fg-2); }
.testi__quote { font-size: 17px; line-height: 1.5; color: var(--fg-3); font-style: italic; margin: 0; }
.testi__who { margin-top: 18px; font-weight: 700; color: var(--fg-2); font-style: normal; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-family: var(--font-body); font-weight: 700; font-size: 18.5px; color: var(--fg);
}
.faq__q .ico { width: 22px; height: 22px; color: var(--accent); flex: none; transition: transform var(--dur) var(--ease-out); }
.faq__item[open] .faq__q .ico { transform: rotate(180deg); }
.faq__a { padding: 0 0 24px; max-width: 720px; color: var(--fg-2); font-size: 16px; line-height: 1.62; margin: 0; }
.faq__a strong { color: var(--fg); }

/* ---------- final CTA + form ---------- */
.finalcta { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.qform { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.qform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--fg); letter-spacing: .01em; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15.5px; color: var(--fg);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; outline: none; transition: border-color var(--dur), box-shadow var(--dur);
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.qform__note { font-size: 13px; color: var(--fg-3); margin: 14px 0 0; }
.qform__ok { text-align: center; padding: 26px 8px; }
.qform__ok .ico { width: 52px; height: 52px; color: var(--accent); margin: 0 auto 14px; stroke-width: 1.8; }

/* ---------- footer (logo + social + link row + legal + copyright) ---------- */
.site-footer { background: var(--neutral-950); color: #fff; padding-block: 64px 30px; }
.footer-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 38px; }
.footer-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background var(--dur) var(--ease-out); }
.social-btn:hover { background: var(--accent); }
.social-btn svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.footer-mid { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 28px; display: grid; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 9px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: rgba(255,255,255,.74); font-size: 14.5px; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: rgba(255,255,255,.5); font-size: 13.5px; }
.footer-legal a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.65; }

/* ---------- WhisperText: staggered word reveal on scroll ---------- */
.rv-armed .rv-w { display: inline-block; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.rv-armed.rv-in .rv-w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv-armed .rv-w { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- floating whatsapp ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(14,135,100,.46);
  transition: transform var(--dur) var(--ease-out), background var(--dur);
}
.wa-fab:hover { background: var(--accent-hover); transform: scale(1.06); }
.wa-fab svg { width: 30px; height: 30px; }

/* ---------- placeholder photo box ---------- */
.photo-ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, var(--neutral-100), var(--neutral-100) 12px, var(--neutral-50) 12px, var(--neutral-50) 24px);
  color: var(--fg-3); font-size: 13px; font-weight: 600; padding: 20px;
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .why, .svc-grid, .steps, .testi-grid { grid-template-columns: 1fr 1fr; }
  .coverage, .case, .finalcta { grid-template-columns: 1fr; }
  .case__media { min-height: 260px; }
  .footer-mid { gap: 16px; }
}
@media (max-width: 680px) {
  .mainnav, .header-phone { display: none; }
  .navtoggle { display: inline-flex; }
  .wa-fab { display: flex; }
  .why, .svc-grid, .steps, .testi-grid, .qform__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .footer-head { justify-content: flex-start; }
  .mainnav--open { display: flex; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .mainnav--open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
