/* ================================================
   TRUVER / PRESTAFÉ — Global Styles
   Basado en Brandbook Opción Tipográfica #2 (Asap + Nunito)
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400&family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.10.0/dist/tabler-icons.min.css');

/* TOKENS */
:root {
  --truver-navy:   #031C35;
  --truver-navy2:  #020e1c;
  --truver-red:    #D90128;
  --truver-red-dk: #b3011f;
  --truver-blue:   #043594;
  --truver-blue-lt: #1755c0;
  --truver-gray:   #E5E5E5;
  --truver-white:  #ffffff;
  --truver-dark:   #1a1a1a;
  --truver-muted:  #666666;
  --truver-border: #e0e0e0;
  
  /* Gradientes */
  --gradient-hero: none;

  --font-cond: 'Asap', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --radius: 0px;
  --gap: 2px;
  --section-pad: 60px 40px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--truver-dark);
  background: var(--truver-gray);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }
ul { list-style: none; }

/* ================================================
   NAV
   ================================================ */
.nav {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--truver-red);
  box-shadow: 0 2px 8px rgba(3,28,53,0.08);
}

/* ================================================
   HERO BACKGROUNDS
   ================================================
   Si querés usar tu propia imagen, agregala aquí:
   background-image: url('../img/hero-fondo.jpg');
   background-size: cover;
   background-position: center;
*/

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-mobile-cta { display: none; }

.nav-wordmark {
  font-family: var(--font-cond);
  font-size: 24px;
  font-weight: 700;
  color: var(--truver-navy);
  letter-spacing: 3px;
}
.nav-wordmark em { color: var(--truver-red); font-style: normal; }

.nav-links {
  display: flex;
  gap: 0;
}
.nav-links a {
  color: rgba(3,28,53,0.55);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--truver-navy); }
.nav-links a.active {
  color: var(--truver-navy);
  border-bottom-color: var(--truver-red);
}

.nav-cta {
  background: var(--truver-red);
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--truver-red-dk); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--truver-navy);
  font-size: 26px;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: var(--truver-red);
  color: #fff;
}
.btn-primary:hover { background: var(--truver-red-dk); box-shadow: 0 6px 20px rgba(217,1,40,0.38); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: #fff; }

/* Outline en nav blanco — relleno navy al hover */
.nav-actions .btn-outline:hover {
  background: var(--truver-navy) !important;
  color: #fff !important;
  border-color: var(--truver-navy) !important;
  box-shadow: 0 6px 20px rgba(3,28,53,0.22);
}

.btn-navy {
  background: var(--truver-navy);
  color: #fff;
}
.btn-navy:hover { background: #162d5f; box-shadow: 0 6px 20px rgba(3,28,53,0.35); }

.btn-wsp {
  background: #25D366;
  color: #fff;
}
.btn-wsp:hover { background: #1faf56; box-shadow: 0 6px 20px rgba(37,211,102,0.4); }

.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar {
  background: var(--truver-red);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 14px 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.trust-item i { font-size: 20px; opacity: 0.9; }
.trust-item-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.3);
}

/* ================================================
   SECTION UTILS
   ================================================ */
.section { padding: var(--section-pad); }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--truver-red);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-cond);
  font-size: 38px;
  font-weight: 700;
  color: var(--truver-navy);
  line-height: 1.05;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 15px;
  color: var(--truver-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
}
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

.bg-white { background: #fff; }
.bg-gray  { background: var(--truver-gray); }
.bg-navy  { background: var(--truver-navy); }
.bg-navy2 { background: var(--truver-navy2); }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--truver-navy2);
  padding: 48px 40px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  transform: translateX(-10%);
}
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 230px;
  margin-bottom: 20px;
}
.footer-prestafe-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  padding: 12px 16px;
  border-left: 3px solid var(--truver-red);
}
.footer-prestafe-name {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.footer-prestafe-name em { color: var(--truver-red); font-style: normal; }
.footer-prestafe-sub { font-size: 11px; color: rgba(255,255,255,0.4); }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom p strong { color: rgba(255,255,255,0.55); }

/* FOOTER LEGAL */
.footer-legal {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
}
.footer-legal-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-legal-btn {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  min-width: 190px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-legal-btn:hover { opacity: 0.75; }
.footer-legal-btn--green { background: rgba(40,167,69,0.1); border-left: 3px solid #28a745; }
.footer-legal-btn--purple { background: rgba(108,99,255,0.1); border-left: 3px solid #7c73f5; }
.footer-legal-btn strong { font-size: 13px; color: #fff; margin-bottom: 3px; display: block; }
.footer-legal-btn span { font-size: 11px; color: rgba(255,255,255,0.45); }
.footer-legal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal-company {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-legal-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.footer-badge-bcra {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; text-decoration: none; text-align: center;
  transition: border-color 0.2s;
}
.footer-badge-bcra:hover { border-color: rgba(255,255,255,0.5); }
.footer-badge-bcra span { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.45); letter-spacing: 0.5px; }
.footer-badge-uf {
  background: #c97a00;
  padding: 6px 10px;
  display: flex; flex-direction: column;
  text-decoration: none; flex-shrink: 0;
  transition: opacity 0.2s; max-width: 140px;
}
.footer-badge-uf:hover { opacity: 0.85; }
.footer-badge-uf strong { font-size: 9px; font-weight: 900; color: #fff; letter-spacing: 0.5px; display: block; margin-bottom: 2px; }
.footer-badge-uf span { font-size: 8px; color: rgba(255,255,255,0.85); line-height: 1.3; }
.footer-badge-df {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.88);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; flex-shrink: 0; transition: opacity 0.2s;
}
.footer-badge-df:hover { opacity: 0.8; }
.footer-badge-df span { font-size: 7px; font-weight: 900; color: #222; text-align: center; line-height: 1.3; text-transform: uppercase; }
.footer-badge-aaip {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; flex-shrink: 0; transition: opacity 0.2s;
}
.footer-badge-aaip:hover { opacity: 0.75; }
.footer-badge-aaip span { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.55); letter-spacing: 0.5px; }
.footer-legal-text {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 880px;
  margin: 14px 0;
}

/* ================================================
   WHATSAPP FLOATING BUTTON
   ================================================ */
.wsp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border: none;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wsp-pulse 2.8s ease-in-out infinite;
}
.wsp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37,211,102,0.55);
  animation: none;
}
.wsp-fab i { font-size: 30px; color: #fff; }
@keyframes wsp-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.75); }
}

/* ================================================
   WHATSAPP POPUP CARD
   ================================================ */
.wsp-card {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  overflow: hidden;
  z-index: 1000;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.wsp-card.wsp-card--open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.wsp-card-header {
  background: #25D366;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wsp-card-close {
  background: rgba(255,255,255,0.25);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
  line-height: 1;
}
.wsp-card-close:hover { background: rgba(255,255,255,0.4); }
.wsp-card-title {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.wsp-card-body { padding: 16px 16px 10px; }
.wsp-card-msg {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  margin-bottom: 14px;
}
.wsp-agent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid #efefef;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background 0.15s;
  text-decoration: none;
}
.wsp-agent-row:hover { background: #f5f5f5; }
.wsp-agent-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wsp-agent-role {
  font-size: 10px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wsp-agent-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.wsp-agent-online {
  font-size: 11px;
  color: #25D366;
  font-weight: 600;
  white-space: nowrap;
}
.wsp-card-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 13px 16px;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 4px;
}
.wsp-card-bottom:hover { background: #1faf56; color: #fff; }
.wsp-card-bottom i { font-size: 18px; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 48px 20px; }
  .nav { padding: 0 20px; }
  .nav-links, .nav-cta, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { padding: 14px 20px; flex-direction: column; gap: 14px; }
  .trust-divider { display: none; }

  /* ---- Menú móvil abierto ---- */
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--truver-red);
    box-shadow: 0 8px 24px rgba(3,28,53,0.12);
    padding: 8px 0 20px;
    z-index: 99;
    animation: menuSlideDown 0.2s ease;
  }
  .nav-links.nav-open li { width: 100%; }
  .nav-links.nav-open a {
    height: auto;
    padding: 14px 24px;
    border-bottom: none;
    margin-bottom: 0;
    color: rgba(3,28,53,0.65);
    border-left: 3px solid transparent;
    width: 100%;
    justify-content: flex-start;
  }
  .nav-links.nav-open a:hover,
  .nav-links.nav-open a.active {
    color: var(--truver-navy);
    background: rgba(3,28,53,0.04);
    border-left-color: var(--truver-red);
    border-bottom-color: transparent;
  }
  .nav-links.nav-open .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    padding: 16px 24px 0;
    gap: 8px;
  }
  .nav-links.nav-open .nav-mobile-cta a {
    justify-content: center;
    padding: 12px 14px;
    border-left: none;
    font-size: 13px;
  }
  .nav-links.nav-open .nav-mobile-cta .btn-primary {
    color: #fff;
  }
  .nav-links.nav-open .nav-mobile-cta .btn-outline {
    border: 1.5px solid rgba(3,28,53,0.25);
    color: var(--truver-navy);
  }
  .nav-links.nav-open .nav-mobile-cta .btn-outline:hover {
    background: var(--truver-navy);
    color: #fff;
    border-color: var(--truver-navy);
  }
  @keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
@media (max-width: 600px) {
  .section-title { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}
