:root{
  --brand:#2F3C48;
  --brand-700:#1E2A33;
  --accent:#9C2C2C;
  --text:#2F3C48;
  --muted:#7A7A7A;
  --bg:#ffffff;
  --bg-soft:#f5f5f5;
  --ring:rgba(156,44,44,.25);
  --radius:16px;
  --shadow:0 10px 25px rgba(47,60,72,.15);

  --calc-red:#b1332f;     
  --calc-red-700:#8f2724;  
}

html,body{margin:0;padding:0;font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Helvetica,Arial,sans-serif;color:var(--text);background:var(--bg);}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 20px}

.muted{color:var(--muted)}
.pill{display:inline-flex;align-items:center;gap:8px;border:1px solid #e2e8f0;border-radius:999px;padding:6px 10px}

#drawer{position:fixed;inset:0 0 0 auto;width:86%;max-width:360px;background:#fff;transform:translateX(100%);transition:.25s ease;box-shadow:-10px 0 30px rgba(2,6,23,.08)}
#drawer header{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid #e2e8f0}
#drawer nav{display:flex;flex-direction:column;padding:10px 18px 22px}
#drawer nav a{padding:14px 12px;border-radius:12px;color:#111827}
#drawer nav a:hover{background:var(--bg-soft)}

.hero{position:relative;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center;padding:50px 0}
.badge{display:inline-flex;gap:10px;align-items:center;background:var(--bg-soft);padding:8px 12px;border-radius:999px;color:var(--brand);font-weight:600}
.hero h1{font-size:clamp(28px,4vw,44px);line-height:1.1;margin:14px 0}
.hero p{font-size:18px;color:var(--muted)}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.hero .card{background:#fff;border:1px solid #e2e8f0;border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.hero-ill{position:relative}
.hero-ill .blob{position:absolute;inset:auto -10% -10% auto;width:480px;height:480px;background:radial-gradient(closest-side, rgba(11,95,169,.15), transparent 70%);filter:blur(10px);z-index:-1}

.section{padding:56px 0}
.section h2{font-size:clamp(24px,3vw,36px);margin:0 0 12px}
.beneficios{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}
.beneficio{background:#fff;border:1px solid #e2e8f0;border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.blog{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}
.post{background:#fff;border:1px solid #e2e8f0;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.post .content{padding:16px}
.post .meta{font-size:14px;color:var(--muted)}
.cta-band{background:linear-gradient(135deg, var(--brand), var(--brand-700));color:#fff;border-radius:24px;padding:26px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:26px}
@media (max-width:900px){.cta-band{grid-template-columns:1fr}}
table{width:100%;border-collapse:separate;border-spacing:0 10px}
th,td{text-align:left;padding:12px 14px;background:#fff}
th{color:#0f172a;border-bottom:2px solid #e2e8f0;background:transparent;cursor:pointer}
tbody tr{box-shadow:var(--shadow);border-radius:12px}
tbody td:first-child, thead th:first-child{border-top-left-radius:12px;border-bottom-left-radius:12px}
tbody td:last-child, thead th:last-child{border-top-right-radius:12px;border-bottom-right-radius:12px}

footer{margin-top:60px;background:var(--bg-soft);border-top:1px solid #e2e8f0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:22px;padding:28px 0}
.footer-grid h4{margin:10px 0}
.footer-grid a{color:#334155}
.copy{border-top:1px solid #e2e8f0;color:#64748b;padding:14px 0;font-size:14px}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr}}
:root {
  --logos-h: clamp(58px, 7.2vw, 82px);  
  --logos-height: var(--logos-h);     
  --navbar-height: 70px;
}
body{
  margin:0;
   padding-top: 130px;
  padding-top: calc(var(--logos-height) + var(--navbar-height));
}
.navbar-glass{
  position: fixed;
  top: var(--logos-height);
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 5000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar__row{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:16px 20px;
}

.navbar__menu{
  position:relative;
  display:flex; gap:32px; text-transform:uppercase;
  align-items:center;
  justify-content:center;
  gap:32px;
  text-transform:uppercase;
}

.navbar__menu a{
  color:#2F3C48; font-weight:800;
  font-weight:800;
  opacity:.90;
  padding:8px 0;
  position:relative;
  transition:opacity .2s ease;
}

.navbar__menu a:hover{
  opacity:1;
}

.navbar__menu a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:6px;
  height:3px;
  border-radius:3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin:center;
  transition: transform .2s ease;
}

.navbar__menu a:hover::after{
  transform: scaleX(1);
}

.navbar__cta{
  background: var(--accent);
  color:#fff;
  border-radius:999px;
  padding:10px 18px;
  font-weight:700;
  box-shadow:0 6px 16px rgba(0,0,0,.15);
  transition: background .2s ease, transform .1s ease;
}

.navbar__cta:hover{
  background:#822424;
  transform: translateY(-1px);
}

@media (max-width:900px){
  .navbar__menu,
  .navbar__cta{
    display:none !important;
  }

  .navbar__hamburger{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    padding:0;
    border-radius:10px;
    background:rgba(255,255,255,.10);
    border:0;
    outline:none;
    position:relative;
    z-index:1101;
    cursor:pointer;
  }

  .navbar__hamburger span{
    width:24px;
    height:2px;
    background:#2F3C48;
    display:block;
    border-radius:2px;
    margin:4px 0;
    transition: .2s ease;
  }
}

[id]{ scroll-margin-top: calc(var(--logos-height) + 20px); }

.mobile-invu-calc {
  background: #ffffff;
  border: 2px solid #003b49;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 20px;
  margin-top: 20px;
}

.mobile-calc-header h3,
.mobile-calc-header h2 {
  color: #003b49;
  margin-bottom: 5px;
  font-weight: 700;
}

.mobile-calc-header p {
  color: #555;
  font-size: 15px;
  margin-bottom: 20px;
}

.mobile-input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #003b49;
  border-radius: 8px;
  padding: 10px 12px;
  background-color: #f9f9f9;
}

.mobile-currency {
  color: #003b49;
  font-weight: 700;
  margin-right: 6px;
}

.mobile-calc-input {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  color: #003b49;
}

.mobile-calc-input:focus { outline: none; }

.mobile-calc-btn {
  display: inline-block;
  margin-top: 12px;
  background-color: var(--calc-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, filter .15s ease;
  width: 100%;
}
.mobile-calc-btn:hover { background-color: var(--calc-red-700); }

.mobile-calc-error {
  background: #ffe6e6;
  border-left: 5px solid var(--calc-red);
  color: var(--calc-red);
  padding: 10px;
  border-radius: 6px;
  margin-top: 8px;
}

.mobile-result-card {
  border: 1.5px solid #003b49;
  border-radius: 10px;
  background: #f5f9fa;
  padding: 14px;
  margin-bottom: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mobile-result-card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

.mobile-result-card h3 {
  color: #003b49;
  border-bottom: 2px solid var(--calc-red);
  padding-bottom: 6px;
  margin-bottom: 10px;
  font-size: 18px;
}

.mobile-ahorro-section { background: #e0f2f1; border-radius: 6px; padding: 8px 10px; margin-bottom: 8px; }
.mobile-prestamo-section { background: #fff3e0; border-radius: 6px; padding: 8px 10px; }

.desktop-calc-table { width: 100%; border-collapse: collapse; margin-top: 16px; border: 1.5px solid #003b49; }
.desktop-calc-table th,
.desktop-calc-table td { text-align: center; padding: 10px 6px; border: 1px solid #ddd; font-size: 15px; }
.desktop-calc-table thead th { color: #fff; font-weight: 600; }
.ahorro-th { background-color: #003b49; }
.prestamo-th { background-color: var(--calc-red); }

.mobile-download-btn {
  background-color: #003b49; color: #fff; border: none; border-radius: 8px;
  padding: 12px 18px; margin-top: 20px; font-size: 16px; font-weight: 600;
  cursor: pointer; width: 100%; transition: background-color 0.3s ease;
}
.mobile-download-btn:hover { background-color: #025560; }

.mobile-calc-note {
  margin-top: 20px; background: #f0f8f9; border-left: 5px solid #003b49;
  padding: 12px; border-radius: 8px; color: #003b49;
}
.mobile-calc-contact { margin-top: 18px; text-align: center; }
.mobile-calc-contact a { color: var(--calc-red); text-decoration: none; font-weight: 600; }
.mobile-calc-contact a:hover { text-decoration: underline; }

.year-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.year-chips .chip{
  display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px;
  border:1px solid #00313c; background:#003b49; color:#fff; font-size:14px; line-height:1;
  box-shadow:0 2px 6px rgba(0,0,0,.06); transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.year-chips .chip b{ font-weight:700; }
.year-chips .chip:hover{ transform:translateY(-1px); background:#025560; box-shadow:0 4px 10px rgba(0,0,0,.10); }
@media (max-width:420px){ .year-chips .chip{ font-size:13px; padding:5px 8px; } }
@media print{ .year-chips .chip{ background:#eee; color:#111; border-color:#ccc; box-shadow:none; } }

.year-chips{ display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; justify-content:flex-start; }
.year-chips .chip--info{
  display:flex; flex-direction:column; align-items:stretch; justify-content:center;
  background:#fffaf0; color:var(--text); border:1px solid #e5e7eb; border-radius:10px;
  width:220px; min-height:110px; padding:12px 14px; box-shadow:0 2px 6px rgba(0,0,0,.08);
  transition:transform .15s ease, box-shadow .15s ease;
}
.year-chips .chip--info:hover{ transform:translateY(-2px); box-shadow:0 4px 10px rgba(0,0,0,.12); }
.year-chips .chip--info .chip-row{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; line-height:1.25; margin:2px 0; }
.year-chips .chip--info .chip-row .lbl{ color:#6b7280; font-weight:600; font-size:14px; }
.year-chips .chip--info .chip-row .val{ font-weight:700; font-size:14px; color:var(--text); white-space:nowrap; }
@media (max-width:560px){ .year-chips .chip--info{ width:calc(50% - 6px); } }
@media (max-width:380px){ .year-chips .chip--info{ width:100%; } }
@media print{ .year-chips .chip--info{ background:#fff; border-color:#ccc; box-shadow:none; } }

.plan-toggle{
  margin-top:12px; display:inline-flex; align-items:center; gap:8px;
  background:#003b49; color:#fff; border:0; border-radius:10px; padding:10px 14px;
  font-weight:700; cursor:pointer; box-shadow:0 4px 10px rgba(0,0,0,.08);
}
.plan-toggle:hover{ background:#025560; }
.plan-toggle .chev{ transition:transform .2s ease }

.plan-details{
  overflow:hidden; transition:max-height .28s ease, opacity .2s ease, transform .2s ease;
  max-height:0; opacity:0; transform:translateY(-4px);
}
.plan-details.open{ max-height:900px; opacity:1; transform:translateY(0); margin-top:12px; }

.year-cards{ display:grid; grid-template-columns:repeat(3,minmax(220px,1fr)); gap:14px; }
@media (max-width:900px){ .year-cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .year-cards{ grid-template-columns:1fr; } }

.year-card{
  background:#fffaf0; border:1px solid #e6e0d2; border-radius:12px;
  box-shadow:0 2px 6px rgba(0,0,0,.06); padding:16px 16px 14px;
}
.year-card .row{ display:flex; justify-content:space-between; align-items:center; padding:6px 0; border-bottom:1px dashed #eadfca; }
.year-card .row:last-child{ border-bottom:0; padding-bottom:0; }
.year-card .lbl{ color:#64748b; font-weight:700; }
.year-card .val{ color:#2F3C48; font-weight:800; }

.plan-detail-row td{ background:#f8fbfd; text-align:left; }
.plan-detail-row .plan-details{ display:none; padding:12px 4px 4px; }
.plan-detail-row .plan-details.open{ display:block; }
.plan-detail-row .plan-toggle{
  margin:8px 0 10px; display:inline-flex; align-items:center; gap:8px;
  background:#003b49; color:#fff; border:0; border-radius:10px; padding:10px 14px; font-weight:700; cursor:pointer;
}
.plan-detail-row .plan-toggle:hover{ background:#025560; }
.plan-detail-row .plan-toggle .chev{ transition:transform .2s ease; }

#formulario .form-wrap { 
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 28px;
  align-items: start;
}

#contactForm.card{
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#contactForm .card-title,
#contactForm h2{
  text-align: center;
  margin: 0 0 10px;
  color: var(--brand);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
}

#contactForm { display: flex; flex-direction: column; gap: 14px; }
#contactForm .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px){
  #contactForm .grid-2 { grid-template-columns: 1fr; }
}

#contactForm .f { display: flex; flex-direction: column; gap: 6px; }
#contactForm .f > span { font-weight: 600; color: var(--text); }
#contactForm .f .help { font-size: 12px; color: var(--muted); }

#contactForm input[type="text"],
#contactForm input[type="tel"],
#contactForm input[type="email"],
#contactForm select,
#contactForm textarea{
  appearance: none;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}

#contactForm textarea{ min-height: 120px; resize: vertical; }

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring);
}

#contactForm label.f[style*="flex-direction:row"],
#contactForm label.f.inline{
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
}
#contactForm input[type="checkbox"]{ margin-top: 4px; }

#btnEnviar.btn-primary{
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s ease, transform .02s ease;
}
#btnEnviar.btn-primary:hover{ filter: brightness(0.95); }
#btnEnviar.btn-primary:active{ transform: translateY(1px); }

#formMsg.alert{ 
  border-radius: 10px; padding: 10px 12px; font-size: 14px;
  background: #f1f5f9; color:#0f172a; border:1px solid #e2e8f0;
}
#formMsg.alert.error{
  background:#fee2e2; color:#991b1b; border-color:#fecaca;
}

#formulario aside.card{
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
#formulario aside.card h3{ margin: 12px 0 6px; color: var(--muted); }
#formulario aside.card p{ margin: 0 0 8px; }
#formulario aside.card a{ color: var(--brand); font-weight: 600; }

.plan-row-head td {
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #ffffff;
}
.plan-row-head td.azul { background-color: #003b49; }
.plan-row-head td.rojo { background-color: var(--calc-red); }

.plan-row-head td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.plan-row-head td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.section-hero-invu{
  position:relative;
  isolation:isolate;
  padding:64px 0 36px;
  overflow:hidden;
}
.section-hero-invu .hero-v2__wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:38px;
  align-items:center;
}
@media (max-width:980px){
  .section-hero-invu{ padding:42px 0 18px; }
  .section-hero-invu .hero-v2__wrap{ grid-template-columns:1fr; gap:26px; }
}

.section-hero-invu .hero-v2__eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--bg-soft); color:var(--brand); font-weight:700;
  border-radius:999px; padding:8px 12px; margin-bottom:14px;
}

.section-hero-invu .hero-v2__title{
  font-size:clamp(30px,4.6vw,52px);
  line-height:1.08; letter-spacing:-.015em; margin:6px 0 10px;
}
.section-hero-invu .hero-v2__title span{ color:var(--calc-red); }
.section-hero-invu .hero-v2__lead{
  color:var(--muted);
  font-size:clamp(16px,2.2vw,18px);
  max-width:56ch;
}

.section-hero-invu .hero-v2__cta{
  display:flex; flex-wrap:wrap; gap:12px; margin:16px 0 12px;
}
.section-hero-invu .btn-primary,
.section-hero-invu .btn-ghost{
  display:inline-flex; align-items:center; gap:8px; border-radius:12px;
  padding:12px 16px; font-weight:800; letter-spacing:.02em;
  text-transform:uppercase; cursor:pointer;
  transition:transform .06s ease, filter .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.section-hero-invu .btn-primary{ background:var(--calc-red); color:#fff; border:2px solid var(--calc-red); }
.section-hero-invu .btn-primary:hover{ background:var(--calc-red-700); border-color:var(--calc-red-700); transform:translateY(-1px) scale(1.02); }
.section-hero-invu .btn-ghost{ background:#fff; color:var(--brand); border:2px solid #e5e7eb; }
.section-hero-invu .btn-ghost:hover{ border-color:#c7cdd6; filter:brightness(.98); transform:translateY(-1px) scale(1.02); }

.section-hero-invu .hero-v2__stats{
  display:grid; grid-template-columns:repeat(3,minmax(110px,1fr));
  gap:12px; margin-top:12px; padding:0; list-style:none;
}
@media (max-width:540px){ .section-hero-invu .hero-v2__stats{ grid-template-columns:repeat(3,1fr); } }
.section-hero-invu .hero-v2__stats .stat{
  background:#fff; border:1px solid #e6e8eb; border-radius:14px; padding:14px 12px;
  box-shadow:var(--shadow); text-align:center;
}
.section-hero-invu .hero-v2__stats .kpi{ font-size:clamp(22px,3vw,28px); font-weight:900; color:var(--brand); letter-spacing:-.01em; }
.section-hero-invu .hero-v2__stats small{ color:var(--muted); font-weight:600; }

.section-hero-invu .hero-v2__card{
  margin-top:12px;
  max-width:min(520px,95%);
  background:#ffffffee; backdrop-filter:saturate(140%) blur(6px);
  border-radius:16px; border:1px solid #e6e8eb; box-shadow:0 8px 30px rgba(0,0,0,.08);
  padding:14px 16px;
}
.section-hero-invu .hero-v2__card .card-title{
  margin:0 0 6px; font-size:clamp(16px,2.2vw,18px); color:var(--brand); font-weight:800;
}
.section-hero-invu .hero-v2__card .card-text{ margin:4px 0 10px; color:var(--text); }
.section-hero-invu .hero-v2__trust{ display:flex; flex-wrap:wrap; gap:10px; margin:6px 0 0; padding:0; list-style:none; }
.section-hero-invu .hero-v2__trust .pill{ background:#fff; border-color:#e5e7eb; color:var(--text); }

.section-hero-invu .hero-v2__right{ position:relative; }
.section-hero-invu .hero-v2__img:hover{ transform:perspective(800px) rotateY(-2deg); }



.section-hero-invu .hero-bg{ position:absolute; inset:-10% -10% -20% -10%; z-index:-1; }
.section-hero-invu .hero-bg .grid{
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(15,23,42,.06) 1px, transparent 1px);
  background-size:18px 18px;
  -webkit-mask-image: radial-gradient(circle at 20% 20%, #000 40%, transparent 75%);
          mask-image: radial-gradient(circle at 20% 20%, #000 40%, transparent 75%);
}
.section-hero-invu .hero-bg .blob{
  position:absolute; width:800px; height:800px; filter:blur(30px); border-radius:50%;
  opacity:.55; pointer-events:none;
}
.section-hero-invu .hero-bg .b1{ right:-8%; top:-10%; background:radial-gradient(closest-side, rgba(177,51,47,.22), transparent 70%); }
.section-hero-invu .hero-bg .b2{ left:-12%; bottom:-18%; background:radial-gradient(closest-side, rgba(47,60,72,.22), transparent 70%); }
@supports (background: color-mix(in oklab, red 50%, transparent)){
  .section-hero-invu .hero-bg .b1{ background:radial-gradient(closest-side, color-mix(in oklab, var(--calc-red) 22%, transparent), transparent 70%); }
  .section-hero-invu .hero-bg .b2{ background:radial-gradient(closest-side, color-mix(in oklab, var(--brand) 22%, transparent), transparent 70%); }
}

.section-hero-invu .hero-v2__scroll{
  position:absolute; left:50%; bottom:10px; transform:translateX(-50%);
  background:#fff; border:1px solid #e6e8eb; color:var(--brand);
  border-radius:999px; padding:8px 12px; font-weight:700; box-shadow:var(--shadow);
}
.section-hero-invu .hero-v2__scroll:hover{ filter:brightness(.98); }

.section-hero-invu::before{
  background: radial-gradient(600px 600px at var(--mx,50%) var(--my,20%), rgba(156,44,44,.08), transparent 60%);
}
#formulario .form-wrap{
  grid-template-columns: 1fr;   
  gap: clamp(18px, 3vw, 28px);
}
@media (min-width:900px){
  #formulario .form-wrap{
    grid-template-columns: 1.4fr .8fr; 
  }
}

#contactForm .grid-2{
  grid-template-columns: 1fr;   
  gap: clamp(12px, 2vw, 16px);
}
@media (min-width:720px){
  #contactForm .grid-2{ grid-template-columns: 1fr 1fr; }
}


#contactForm input[type="text"],
#contactForm input[type="tel"],
#contactForm input[type="email"],
#contactForm select,
#contactForm textarea{
  width:100%;
  min-height:44px;             
  font-size:16px;              
  box-sizing:border-box;
}

#contactForm ::placeholder{
  white-space:normal;
  text-overflow:ellipsis;
}

#btnEnviar.btn-primary{
  width:100%;
}
@media (min-width:720px){
  #btnEnviar.btn-primary{
    width:auto; min-width:220px;
    align-self:center;         
  }
}

#contactForm label.f.inline{
  display:flex; align-items:flex-start; gap:10px;
}
#contactForm input[type="checkbox"]{
  margin-top:4px; flex:0 0 auto;
}

#contactForm textarea{
  min-height:120px;
  resize:vertical;
}

@media (max-width:480px){
  #contactForm .card-title, #contactForm h2{
    font-size: clamp(20px, 5vw, 24px);
  }
  #contactForm .f > span{       
    font-size:15px;
  }
}

@media (max-width:900px){
  #formulario aside.card{
    order: 2;        
  }
}

#formulario table{
  display:block;
  width:100%;
  overflow-x:auto;
  white-space:nowrap;
  -webkit-overflow-scrolling:touch;
  border-spacing:0 10px;        
}
#formulario thead, #formulario tbody, #formulario tr{
  width:auto;
}




@media (max-width: 1024px){
  #formulario .form-wrap{
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 20px;
  }
  #contactForm.card{ order: 1; }
  #formulario aside.card{
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    margin: 0 !important;
    z-index: auto !important;
  }

  #formulario .sticky,
  #formulario [class*="sticky"],
  #formulario [style*="position: sticky"]{
    position: static !important;
    top: auto !important;
  }

  #formulario .form-wrap > *{ min-width: 0; }
  #contactForm.card,
  #formulario aside.card{ box-sizing: border-box; }

  #formulario{ overflow: visible; }
}

@media (max-width: 768px){
  #contactForm input[type="text"],
  #contactForm input[type="tel"],
  #contactForm input[type="email"],
  #contactForm select,
  #contactForm textarea{
    width: 100%;
    min-height: 44px;
    font-size: 16px; 
  }
  #btnEnviar.btn-primary{ width: 100%; }
}


#drawer{
  position:fixed; inset:0 0 0 auto; width:min(86vw,360px);
  background:#1f2937; color:#fff;
  transform:translateX(100%); transition:transform .25s ease;
  z-index:1100; box-shadow:-20px 0 60px rgba(0,0,0,.35);
}
#drawer:target{ transform:none; pointer-events:auto; }

#drawer::before{
  content:""; position:fixed; inset:0;
  right:calc(100vw - min(86vw,360px));     
  background:rgba(0,0,0,.45);
  opacity:0; transition:opacity .25s ease;
  pointer-events:none;
}
#drawer:target::before{ opacity:1; pointer-events:auto; }

html:has(#drawer:target){ overflow:hidden; }

#drawer nav a{ min-height:44px; display:flex; align-items:center; }

#drawer{
  background:#0f172a;               
  color:#e5e7eb;
}
#drawer header{
  background:rgba(255,255,255,.03);
  border-bottom:1px solid rgba(255,255,255,.08);
}
#drawer header strong{ color:#fff; }
#drawer header a{ color:#fff; text-decoration:none; font-size:20px; }

#drawer nav{ padding:14px 18px 22px; }
#drawer nav a{
  display:block;
  color:#e5e7eb !important;         
  padding:14px 12px;
  border-radius:12px;
  font-weight:600;
  letter-spacing:.2px;
}
#drawer nav a:hover,
#drawer nav a:focus-visible{
  background:rgba(255,255,255,.08); 
  color:#fff;
  outline:none;
}

#drawer nav a.cta{
  background:#9C2C2C;
  color:#fff !important;
  text-align:center;
  margin-top:6px;
}
#drawer nav a.cta:hover{ background:#822424; }

#drawer::before{
  content:"";
  position:fixed; inset:0;
  right:calc(100vw - min(86vw,360px));
  background:rgba(0,0,0,.45);
  opacity:1;                        
  pointer-events:auto;
}


@media (max-width: 992px){
  .section-hero-invu .hero-float-badge{
    position: static !important;
    display: inline-flex;
    margin: 8px 0 0 auto;   
  }
}

@media (min-width: 992px){
  .logos-cube-wrap{
    position:absolute !important;
    top: -120px;            
    right: 24px;           
    --s: 96px;
  }
}
@media (max-width: 992px){
  .logos-cube-wrap{
    position: static !important;
    margin: 0 0 10px auto; 
  }
}

.section-hero-invu .hero-v2__scroll{
  position: static !important;     
  display: inline-flex;
  margin: 12px auto 0;            
}

@media (max-width: 600px){
  .section-hero-invu{ padding-top: 48px; }
  .section-hero-invu .hero-v2__wrap{ gap: 18px; }
}
.hero-image-container img {
  display: block;
  width: 100%; 
}

.hero-float-badge {
  display: inline-block;
  background: #ffffffee;
  backdrop-filter: saturate(140%) blur(6px);
  border: 1px solid #e6e8eb;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  color: var(--brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px; 
}

.top-logos-bar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6000;
  background:#fff;
}

.top-logos-container{
  width: 100%;
  display: flex;
  justify-content: space-between;  
  align-items: center;
  padding: 10px 40px;
  box-sizing: border-box;
}

.logo-left img{
  height: var(--logos-h);
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-right{
  display: flex;
  align-items: center;
  gap: 40px; 
}

.logo-right img{
  height: var(--logos-h);
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform .25s ease;
}

.logo-right img:hover{
  transform: scale(1.05);
}


.logo-left{
  display: flex;
  align-items: center;
  gap: var(--logos-gap); 
}

.logo-left img{
  height: var(--logos-h);
  width: auto;
  object-fit: contain;
  display: block;
}



.titulo-dinamico {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 60px 0 25px;
  position: relative;
  overflow: hidden;
  animation: fadeCycle 5s ease-in-out infinite;
}


.titulo-dinamico .parte1,
.titulo-dinamico .parte2 {
  display: inline-block;
  animation: textSlide 5s ease-in-out infinite;
  opacity: 0;
}


.titulo-dinamico .parte1 {
  color: #2F3C48;
  animation-delay: 0s;
}


.titulo-dinamico .parte2 {
  background: linear-gradient(90deg, #B82C2C, #E96A3C);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-delay: 0.5s;
}

@keyframes textSlide {
  0%, 10% {
    opacity: 0;
    transform: translateY(20px);
  }
  20%, 70% {
    opacity: 1;
    transform: translateY(0);
  }
  90%, 100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes fadeCycle {
  0%, 90% { opacity: 1; }
  100% { opacity: 1; }
}

.titulo-dinamico::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #B82C2C, #E96A3C);
  border-radius: 4px;
  animation: underlineCycle 5s ease-in-out infinite;
}

@keyframes underlineCycle {
  0%, 10% {
    width: 0;
    opacity: 0;
  }
  25%, 70% {
    width: 120px;
    opacity: 1;
  }
  90%, 100% {
    width: 0;
    opacity: 0;
  }
}


.hero-v2__eyebrow {
  font-size: 28px;      
  font-weight: 800;
  color: #2F3C48;       
  letter-spacing: .5px;
  display: inline-block;
}
.beneficios-dos-img {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;  
}

.beneficios-box {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e4e4e4;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.beneficios-box:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.box-large {
  width: 600px;     
  height: auto;
  transform: scale(1.05);
  box-shadow: 0 18px 45px rgba(0,0,0,0.20);
  border: 2px solid #d8d8d8;
}

.box-small {
  width: 350px;
  height: auto;
}

.beneficios-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


#usos-y-finalidades {
  text-align: center;
  padding-top: 40px;
}

.titulo-usos {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  display: inline-block;
  opacity: 1;
  position: relative;
  animation: tituloLoop 5s ease-in-out infinite;
}


.titulo-usos .txt-1 {
  color: #2F3C48;
  display: inline-block;
}

.titulo-usos .txt-2 {
  background: linear-gradient(90deg, #B82C2C, #E96A3C, #B82C2C);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: gradientMove 3s linear infinite;
}

.underline-usos {
  width: 180px;
  height: 5px;
  margin: 12px auto 40px;
  border-radius: 8px;
  background: linear-gradient(90deg, #2F3C48, #C0392B);
  animation: underlineLoop 5s ease-in-out infinite;
}


@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes tituloLoop {
  0%   { opacity: 0.3; transform: scale(0.98); }
  10%  { opacity: 1; transform: scale(1); }
  70%  { opacity: 1; transform: scale(1); }
  90%  { opacity: 0.25; transform: scale(0.97); }
  100% { opacity: 0.25; transform: scale(0.97); }
}

@keyframes underlineLoop {
  0%   { width: 0; opacity: 0; }
  10%  { width: 180px; opacity: 1; }
  70%  { width: 180px; opacity: 1; }
  90%  { width: 0; opacity: 0; }
  100% { width: 0; opacity: 0; }
}

.usos-descripcion {
  max-width: 850px;
  margin: 0 auto 40px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: #2F3C48;
  text-align: center;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpText 1s ease forwards 0.4s;
}

.usos-descripcion strong {
  color: #B82C2C;
  font-weight: 900;
}

@keyframes fadeUpText {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.usos-section {
  padding-top: 20px; 
}

.usos-lead {
  max-width: 780px;
  margin: 8px auto 32px;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

.usos-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.uso-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.uso-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15,23,42,0.12);
  border-color: rgba(156,44,44,0.35); 
}

.uso-icon {
  flex: 0 0 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: #f8fafc;
  color: var(--brand);
}

.uso-icon--maximo {
  background: #ffece8;
  color: var(--accent);
}

.uso-icon--alerta {
  background: #fff4e5;
  color: #c05621;
}

.uso-body {
  flex: 1;
}

.uso-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
}

.uso-monto {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.uso-text {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

@media (max-width: 720px) {
  .uso-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .uso-icon {
    flex: 0 0 auto;
  }

  .uso-title {
    font-size: 17px;
  }
}

.footer {
  background: linear-gradient(180deg, #2F3C48 0%, #1E2A33 100%);
  color: #e2e8f0;
  padding-top: 40px;
  margin-top: 60px;
  position: relative;
}

.footer-top-line {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #B82C2C, #E96A3C, #B82C2C);
  opacity: 0.8;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 0;
}

.footer-col p {
  margin: 0 0 6px;
  font-size: 14px;
  color: #cbd5e1;
}

.footer-title {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-col a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 15px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-col ul {
  padding: 0;
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  transition: background .2s ease;
}

.social-circle:hover {
  background: rgba(255,255,255,0.30);
}

.footer-bottom {
  text-align: center;
  padding: 18px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 20px;
}

@media(max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}


.social-circle {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  transition: background .2s, transform .2s;
}

.social-circle:hover {
  background: rgba(255,255,255,0.20);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: #a3b0c2;
  border-top: 1px solid rgba(255,255,255,0.1);
}


@media (max-width: 500px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px){

  .container{
    padding: 0 16px;
  }

  .hero .wrap,
  .section-hero-invu .hero-v2__wrap{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .beneficios,
  .blog{
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .navbar__menu{
    display:none !important;
  }

  .navbar__hamburger{
    display:flex !important;
  }
}
@media (max-width: 768px){

  h1, .hero h1, .section-hero-invu .hero-v2__title{
    font-size: clamp(26px, 6vw, 34px);
  }

  p, .hero p{
    font-size: 16px;
  }

  .beneficios,
  .blog,
  .year-cards{
    grid-template-columns: 1fr;
  }

  .footer-content{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social{
    justify-content: center;
    margin-top: 12px;
  }

  .beneficios-dos-img{
    flex-direction: column;
    gap: 20px;
  }

}

@media (max-width: 480px){

  .hero h1,
  .section-hero-invu .hero-v2__title{
    font-size: clamp(22px, 7vw, 30px);
  }

  .navbar__cta{
    padding: 10px 14px;
    font-size: 14px;
  }

  .beneficios-box.box-large{
    width: 100%;
  }

  .beneficios-box.box-small{
    width: 100%;
  }

  .year-chips .chip--info{
    width: 100%;
  }

  #contactForm .grid-2{
    grid-template-columns: 1fr !important;
  }

  #contactForm textarea{
    min-height: 100px;
  }

  .top-logos-container{
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .logo-right{
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 360px){
  body{
    font-size: 14px;
  }
}

@media (max-width: 650px){

  .navbar-glass{
    top: calc(var(--logos-h) - 20px);
  }

  body{
    padding-top: calc((var(--logos-h) - 20px) + var(--navbar-h));
  }
}

@media (max-width: 992px){

  .container{
    padding: 0 16px;
  }

  .hero .wrap,
  .section-hero-invu .hero-v2__wrap{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .beneficios,
  .blog{
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .navbar__menu{
    display:none !important;
  }

  .navbar__hamburger{
    display:flex !important;
  }
}
@media (max-width: 768px){

  h1, .hero h1, .section-hero-invu .hero-v2__title{
    font-size: clamp(26px, 6vw, 34px);
  }

  p, .hero p{
    font-size: 16px;
  }

  .beneficios,
  .blog,
  .year-cards{
    grid-template-columns: 1fr;
  }

  .footer-content{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social{
    justify-content: center;
    margin-top: 12px;
  }

  .beneficios-dos-img{
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px){

  .hero h1,
  .section-hero-invu .hero-v2__title{
    font-size: clamp(22px, 7vw, 30px);
  }

  .navbar__cta{
    padding: 10px 14px;
    font-size: 14px;
  }

  .beneficios-box.box-large{
    width: 100%;
  }

  .beneficios-box.box-small{
    width: 100%;
  }

  .year-chips .chip--info{
    width: 100%;
  }

  #contactForm .grid-2{
    grid-template-columns: 1fr !important;
  }

  #contactForm textarea{
    min-height: 100px;
  }

  .top-logos-container{
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .logo-right{
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 360px){
  body{
    font-size: 14px;
  }
}

@media (max-width: 600px){
  .top-logos-container{
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 12px;
    gap: 8px;
  }

  .logo-left{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }
  .logo-right{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
  }
  .logo-left img,
  .logo-right img{
    max-height: 32px;
    height: auto;
    max-width: 32%;   
    flex: 0 0 auto;
  }
  body{
    padding-top: 150px !important;
  }

  .top-logos-bar{
    height: auto !important;
  }
}


.top-logos-bar {
  height: auto !important;
  padding: 1px 0;
}

.header-top {
  background: #ffffff;
  border-bottom: 1px solid #e4e4e4;
}

.header-top-inner {
  padding: 10px 24px;
}

.logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 48px;
}
.logos-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logos img {
  height: 54px;
  object-fit: contain;
}

.header-nav{background:white;border-bottom:1px solid #dfdfdf;}
.nav-row{display:flex;justify-content:space-between;align-items:center;padding:16px 0;}
.nav-menu{display:flex;list-style:none;gap:24px;}
.nav-menu a{text-decoration:none;color:#2F3C48;font-weight:700;}
.cta{background:#9C2424;padding:10px 20px;border-radius:999px;color:#fff;text-decoration:none;}
.hamburger{display:none;background:none;border:none;font-size:28px;}
@media(max-width:900px){.nav-menu,.cta{display:none;}.hamburger{display:block;}}

body{
  margin:0;
  padding-top:0 !important; 
}

.header-top-inner{
  padding:10px 0;
}

.logos img{
  height:46px;
}

.header-nav .nav-row{
  padding:12px 0;
}

@media (max-width: 900px){
  .header-top-inner{
    padding:10px 16px;
    display:flex;
    justify-content:center;
  }

  .logos{
    gap:12px;
  }

  .logos img{
    height:34px;
  }

  .header-nav .nav-row{
    padding:10px 16px;
  }
}

@media (min-width: 901px) {
  .header-top .logos img {
    height: 68px !important;
    max-height: 68px !important;
    width: auto !important;
    object-fit: contain;
  }

  .header-top-inner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .logos-group {
    gap: 24px !important;
  }
}

#formulario .form-wrap{
  grid-template-columns: 1fr;   
  gap: clamp(18px, 3vw, 28px);
}
@media (min-width:900px){
  #formulario .form-wrap{
    grid-template-columns: 1.4fr .8fr; 
  }
}


@media (max-width: 600px) {

  #calculadora .mobile-invu-calc {
    width: 100%;
    padding: 16px;
    margin-top: 16px;
    box-sizing: border-box;
  }
  .mobile-calc-header h3,
  .mobile-calc-header h2 {
    font-size: 18px;
    text-align: center;
  }

  .mobile-calc-header p {
    font-size: 14px;
    text-align: center;
  }

  .mobile-input-wrapper {
    padding: 8px 10px;
  }

  .mobile-calc-input {
    font-size: 16px;
  }

  .mobile-result-card {
    padding: 12px;
  }

  .mobile-result-card h3 {
    font-size: 16px;
  }

  .mobile-calc-btn,
  .mobile-download-btn {
    font-size: 15px;
    padding: 10px 14px;
    width: 100%;
  }

  .desktop-table-container {
    overflow-x: auto;
  }

  .desktop-calc-table {
    min-width: 620px; 
  }
}


