/* ==========================================================
   BillPy — Estilos específicos del index
   Este archivo complementa a style.css con los componentes
   nuevos del landing page (hero, flip card, value cards,
   CTA band, clientes marquee, FAQ, modals).
========================================================== */
/* ══════════════════════════════════════════
   RESET & TOKENS
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #00A86B;
  --green-d:    #007A4D;
  --green-l:    #4AE0A0;
  --green-glow: rgba(0,168,107,0.25);
  --dark:       #090F1A;
  --dark-2:     #0D1524;
  --dark-3:     #111D30;
  --dark-card:  #0F1A2B;
  --light:      #EDF1F7;
  --white:      #FFFFFF;
  --text:       #0D1524;
  --muted:      #64748B;
  --muted-light:#94A3B8;
  --line:       rgba(0,0,0,0.07);
  --line-dark:  rgba(255,255,255,0.07);
  --radius:     14px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --t:          0.28s;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ══════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), opacity var(--t);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,0.30);
}
.btn-whatsapp:hover { background: #20C75C; box-shadow: 0 6px 26px rgba(37,211,102,0.42); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 18px var(--green-glow);
}
.btn-green:hover { background: var(--green-d); box-shadow: 0 6px 26px rgba(0,168,107,0.38); }

.btn-outline-brand {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn-outline-brand:hover { background: var(--green); color: #fff; }

.btn-ghost-dark {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-white {
  background: var(--white);
  color: var(--green-d);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  font-weight: 700;
}
.btn-white:hover { background: #F5F7FA; box-shadow: 0 6px 26px rgba(0,0,0,0.22); transform: translateY(-1px); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 5% 90%,  rgba(0,168,107,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 95% 10%, rgba(0,100,255,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,168,107,0.12);
  border: 1px solid rgba(0,168,107,0.28);
  color: #4AE0A0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-pill-dot {
  width: 6px; height: 6px;
  background: #4AE0A0;
  border-radius: 50%;
  box-shadow: 0 0 8px #4AE0A0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .accent { color: #4AE0A0; }
.hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-desc strong { color: rgba(255,255,255,0.9); font-weight: 500; }
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.badge::before {
  content: '✓';
  color: #4AE0A0;
  font-weight: 700;
  font-size: 0.72rem;
}
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,168,107,0.5), transparent);
}
.hero-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4AE0A0;
  margin-bottom: 16px;
}
.hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.hero-price-from { font-size: 0.8rem; color: rgba(255,255,255,0.45); font-weight: 400; }
.hero-price-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-price-unit { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.hero-price-note { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 24px; }
.hero-card-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 20px 0; }
.hero-card-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.hero-card-feature:last-of-type { margin-bottom: 0; }
.feat-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,168,107,0.2);
  border: 1px solid rgba(0,168,107,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: #4AE0A0;
}
.hero-card-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.hero-card-cta .btn { width: 100%; justify-content: center; font-size: 0.88rem; padding: 12px 20px; }

/* ══════════════════════════════════════════
   HERO FLIP CARD
══════════════════════════════════════════ */
.hero-flip-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-flip-inner {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}
.hero-flip-front,
.hero-flip-back {
  grid-area: 1 / 1;
  width: 100%;
  transform-origin: center center;
  will-change: transform;
}
.hero-flip-back {
  visibility: hidden;
  pointer-events: none;
}
.hero-card-api {
  border-color: rgba(56,138,221,0.2) !important;
}
.hero-card-api::before {
  background: linear-gradient(90deg, transparent, rgba(56,138,221,0.45), transparent) !important;
}
.hero-api-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-card-feature-api { color: rgba(255,255,255,0.75); }
.feat-check-api {
  background: rgba(56,138,221,0.15) !important;
  border-color: rgba(56,138,221,0.35) !important;
  color: #85B7EB !important;
}
.btn-api {
  background: #185FA5;
  color: #fff;
  box-shadow: 0 4px 18px rgba(24,95,165,0.35);
}
.btn-api:hover { background: #0C447C; box-shadow: 0 6px 26px rgba(24,95,165,0.45); }
.hero-flip-trigger {
  width: 100%;
  margin-top: 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.hero-flip-trigger:hover {
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.04);
}
.hero-flip-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.hfd {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.hfd.hfd-active {
  background: #4AE0A0;
  transform: scale(1.3);
}
.hfd:hover { background: rgba(255,255,255,0.45); }

/* ══════════════════════════════════════════
   PROOF STRIP
══════════════════════════════════════════ */
.proof-strip {
  background: var(--light);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.proof-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.proof-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.proof-divider { width: 1px; height: 20px; background: var(--line); }
.proof-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.proof-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ══════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════ */
.section { padding: 80px 0; }
.section-alt  { background: var(--light); }
.section-dark { background: var(--dark-2); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0,168,107,0.08);
  border: 1px solid rgba(0,168,107,0.18);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.section-title-light { color: var(--white); }
.section-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.7;
}
.section-desc-light { color: rgba(255,255,255,0.55); }
.section-head { margin-bottom: 52px; }
.section-head-center { text-align: center; }
.section-head-center .section-desc { margin: 0 auto; }

/* ══════════════════════════════════════════
   VALUE / FEATURES GRID
══════════════════════════════════════════ */
.v-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.v-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t);
  opacity: 0;
  transform: translateY(20px);
}
.v-card.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow var(--t) var(--ease), border-color var(--t);
}
.v-card:nth-child(2) { transition-delay: .08s; }
.v-card:nth-child(3) { transition-delay: .16s; }
.v-card:nth-child(4) { transition-delay: .24s; }
.v-card:hover {
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,168,107,0.15);
  transform: translateY(-3px);
  border-color: rgba(0,168,107,0.2);
}
.v-card-num {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0,168,107,0.07);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 20px;
  align-self: flex-start;
}
.v-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0,168,107,0.08);
  border: 1px solid rgba(0,168,107,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.v-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.v-h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
}
.v-text { color: var(--muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 16px; }
.v-steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.v-steps li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 0.9rem; }
.v-steps li .step-num {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.v-bullets { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.v-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.v-bullets li::before {
  content: '';
  min-width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 7px;
  flex-shrink: 0;
}
.v-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.chip {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--light);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid var(--line);
}
.v-cta { margin-top: auto; align-self: flex-start; }

/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
.cta-band {
  background: var(--green-d);
  padding: 72px 0 92px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid rgba(0,0,0,0.15);
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 100% 50%, rgba(74,224,160,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 90%  at 0%   50%, rgba(255,255,255,0.06)  0%, transparent 60%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.cta-sub { color: rgba(255,255,255,0.75); font-size: 0.95rem; font-weight: 300; }
.cta-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   CLIENTES — marquee arrastrable 4 filas
══════════════════════════════════════════ */
.clients { padding: 80px 0; scroll-margin-top: 80px; }

.clients-marquee-outer {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.clients-marquee-outer:active { cursor: grabbing; }

/* fades laterales */
.clients-marquee-outer::before,
.clients-marquee-outer::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.clients-marquee-outer::before { left: 0;  background: linear-gradient(to right, var(--light), transparent); }
.clients-marquee-outer::after  { right: 0; background: linear-gradient(to left,  var(--light), transparent); }

.clients-marquee-track {
  display: grid;
  grid-template-rows: repeat(4, 72px);
  grid-auto-flow: column;
  grid-auto-columns: 140px;
  gap: 10px;
  width: max-content;
  padding: 4px 0;
  /* animación continua */
  animation: clients-scroll 60s linear infinite;
  will-change: transform;
}
.clients-marquee-track.is-paused { animation-play-state: paused; }

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t);
  flex-shrink: 0;
}
.client-item:hover {
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,168,107,0.15);
  transform: translateY(-2px);
  border-color: rgba(0,168,107,0.2);
}
.client-item img {
  max-width: 100%;
  max-height: 44px;
  width: auto; height: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.client-item:hover img { opacity: 1; }
.clients-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 40px 0;
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq { margin: 0; padding: 80px 0; }
.faq h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 8px;
}
.faq-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 44px;
  font-weight: 300;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item:hover { border-color: rgba(0,168,107,0.2); }
.faq-item.is-open {
  border-color: rgba(0,168,107,0.3);
  box-shadow: 0 4px 20px rgba(0,168,107,0.07);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  line-height: 1.4;
}
.faq-q:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.faq-q:hover { background: rgba(0,168,107,0.03); }
.chev {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--light);
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted);
  transition: transform .22s var(--ease), background .2s, color .2s;
}
.faq-item.is-open .chev {
  transform: rotate(180deg);
  background: rgba(0,168,107,0.1);
  color: var(--green);
}
.faq-a {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  display: none;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.faq-item.is-open .faq-a { display: block; }
.faq-cta {
  grid-column: 1 / -1;
  margin-top: 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,168,107,0.06) 0%, rgba(0,100,200,0.04) 100%);
  border: 1px solid rgba(0,168,107,0.18);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}
.faq-cta p { font-size: 0.95rem; color: var(--muted); margin-bottom: 16px; font-weight: 300; }
.faq-cta strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}


/* ══════════════════════════════════════════
   MODAL
══════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal-card {
  width: 100%;
  max-width: 520px;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  padding: 32px;
  position: relative;
  border: 1px solid var(--line);
}
.modal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), #00D4A0);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 0;
  background: var(--light);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: background var(--t), color var(--t);
}
.modal-close:hover { background: #fee2e2; color: #dc2626; }
.modal-title { margin: 0 0 4px; font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; }
.modal-sub { margin: 0 0 24px; color: var(--muted); font-size: 0.9rem; }
.modal-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: end; }
.mf-field { display: flex; flex-direction: column; gap: 6px; }
.mf-field span { font-size: 0.8rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.mf-field input {
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  color: var(--text);
}
.mf-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,168,107,0.12); }
.mf-submit { grid-column: 1 / -1; height: 46px; border-radius: 10px; }
.modal-help { font-size: 0.78rem; color: var(--muted-light); margin-top: 12px; display: block; }
.modal-steps { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 12px; }
.modal-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; line-height: 1.5; color: var(--text); }
.modal-steps li .ms-num {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-pill   { animation: fadeUp .45s ease both; }
.hero h1     { animation: fadeUp .5s  .07s ease both; }
.hero-desc   { animation: fadeUp .5s  .14s ease both; }
.hero-cta    { animation: fadeUp .5s  .21s ease both; }
.hero-badges { animation: fadeUp .5s  .28s ease both; }
.hero-card   { animation: fadeUp .55s .12s ease both; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 480px; }
  .v-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 64px 0 52px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-flip-wrap { width: 100%; }
  .hero-flip-inner { width: 100%; }
  .faq-grid { grid-template-columns: 1fr; }
  .v-grid   { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns  { justify-content: center; width: 100%; }
  .proof-inner { flex-direction: column; gap: 8px; }
  .clients-marquee-track { grid-template-rows: repeat(4, 64px); grid-auto-columns: 120px; }
  .client-item { height: 64px; }
  .client-item img { max-height: 36px; }
}
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-card-cta .btn { font-size: 0.82rem; }
  .hero-badge-hide-mobile { display: none; }
  .modal-form { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .clients-marquee-track { grid-template-rows: repeat(4, 56px); grid-auto-columns: 100px; }
  .client-item { height: 56px; padding: 10px 8px; }
  .client-item img { max-height: 30px; }
}