:root {
  --navy: #062d5b;
  --navy-2: #08457f;
  --blue: #1268ad;
  --blue-soft: #eaf3fb;
  --red: #e32332;
  --ink: #102238;
  --muted: #65778c;
  --white: #fff;
  --line: #dce6ef;
  --green: #25d366;
  --shadow: 0 24px 70px rgba(4, 39, 76, .15);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f6f9fc;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 74px);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220,230,239,.85);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: #fff;
  background: var(--navy);
  border-radius: 12px;
  font-weight: 900;
  box-shadow: inset -5px -5px 0 var(--red);
}
.brand-copy strong { display: block; font-size: 13px; letter-spacing: .12em; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: .13em; }
.nav { display: flex; align-items: center; gap: 27px; font-size: 14px; font-weight: 750; }
.nav a { transition: color .2s, transform .2s; }
.nav a:hover { color: var(--red); transform: translateY(-1px); }
.nav-cta {
  padding: 11px 19px;
  color: #fff !important;
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 9px 20px rgba(227,35,50,.18);
}
.menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.8);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  border-radius: 10px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 22%, rgba(18,104,173,.14), transparent 28%),
    linear-gradient(135deg, #fbfdff 0%, #eef5fa 55%, #e1ecf6 100%);
}
.hero-grid {
  max-width: 1380px;
  min-height: 680px;
  margin: auto;
  padding: 78px clamp(24px, 5vw, 65px) 90px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: clamp(35px, 5vw, 75px);
}
.hero-copy-wrap { position: relative; z-index: 3; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 19px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}
.eyebrow span { width: 25px; height: 3px; background: var(--red); border-radius: 10px; }
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(55px, 6vw, 88px);
  line-height: .91;
  letter-spacing: -.065em;
}
.hero h1 span { color: var(--red); }
.hero-lead { max-width: 570px; margin: 0; color: #53677d; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,34,56,.14); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #e32332, #f02d3d);
  box-shadow: 0 12px 25px rgba(227,35,50,.2);
}
.btn-primary span { transition: transform .2s; }
.btn-primary:hover span { transform: translateX(4px); }
.mini-process { display: flex; align-items: center; gap: 11px; color: #52667b; font-size: 12px; font-weight: 800; }
.mini-process div { display: flex; align-items: center; gap: 6px; }
.mini-process b { color: var(--blue); font-size: 10px; }
.mini-process i { width: 28px; height: 1px; background: #b9c8d6; }

.visual-sequence {
  position: relative;
  min-height: 520px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  filter: drop-shadow(0 28px 40px rgba(6,45,91,.18));
}
.visual-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #c9d9e8;
  isolation: isolate;
}
.visual-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s;
}
.visual-card:hover img { transform: scale(1.07); filter: saturate(1.08); }
.visual-one {
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  margin-right: -7%;
  z-index: 1;
  border-radius: 26px 0 0 26px;
}
.visual-two {
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  margin-right: -7%;
  z-index: 2;
}
.visual-three {
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
  border-radius: 0 26px 26px 0;
}
.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,22,43,.02) 38%, rgba(2,22,43,.78) 100%);
  pointer-events: none;
}
.visual-caption {
  position: absolute;
  z-index: 5;
  left: 18px;
  right: 18px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}
.visual-icon {
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 50%;
  font-weight: 900;
  font-size: 17px;
  background: rgba(6,45,91,.42);
  backdrop-filter: blur(5px);
}
.visual-caption strong, .visual-caption small { display: block; line-height: 1.05; }
.visual-caption strong { font-size: 16px; letter-spacing: .02em; }
.visual-caption small { margin-top: 4px; font-size: 9px; font-weight: 800; letter-spacing: .12em; opacity: .88; }
.step-dot {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 7px 20px rgba(227,35,50,.25);
}
.hero-bottom-line {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  padding: 16px 22px 17px;
  color: #dce9f5;
  background: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.ticker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  color: #fff;
  background: #072f5c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  overflow: hidden;
}
.ticker div { padding: 18px 25px; border-right: 1px solid rgba(255,255,255,.18); }

.section { max-width: 1180px; margin: auto; padding: 112px 28px; }
.section-label { margin-bottom: 32px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.section-kicker { margin: 0 0 13px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.about {
  max-width: none;
  padding-left: max(28px, calc((100vw - 1180px)/2));
  padding-right: max(28px, calc((100vw - 1180px)/2));
  background: #fff;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
h2 { margin: 0 0 20px; font-size: clamp(42px, 5vw, 69px); line-height: 1; letter-spacing: -.055em; }
h2 span, h2 em { color: var(--red); font-style: normal; }
.about-text .lead { max-width: 590px; color: #263d55; font-size: 20px; font-weight: 750; }
.about-text p:not(.lead) { max-width: 590px; color: var(--muted); }
.text-link { display: inline-flex; gap: 10px; margin-top: 10px; color: var(--red); font-weight: 900; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

.process {
  max-width: none;
  padding-left: max(28px, calc((100vw - 1180px)/2));
  padding-right: max(28px, calc((100vw - 1180px)/2));
  background: #f6f9fc;
}
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-heading > p { max-width: 440px; color: var(--muted); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.process-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -75px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(18,104,173,.1);
  border-radius: 50%;
}
.process-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.process-highlight { color: #fff; background: var(--navy); border-color: var(--navy); }
.process-highlight p { color: #cbdbea !important; }
.process-top { display: flex; justify-content: space-between; color: var(--red); font-weight: 900; }
.process-top span:last-child { font-size: 20px; }
.process-card h3 { margin: 60px 0 10px; font-size: 30px; letter-spacing: -.03em; }
.process-card p { max-width: 350px; color: var(--muted); }

.statement { padding: 105px 28px; text-align: center; background: linear-gradient(145deg, #eaf3fa, #fff); }
.statement-inner { max-width: 900px; margin: auto; }
.statement-mark { color: var(--red); font-family: Georgia, serif; font-size: 80px; line-height: .65; }
blockquote { margin: 16px auto 20px; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; font-weight: 850; letter-spacing: -.045em; }
.statement p { color: var(--muted); font-size: 13px; font-weight: 750; }

.contact {
  position: relative;
  overflow: hidden;
  padding: 95px 28px;
  color: #fff;
  background: linear-gradient(135deg, #062b55, #07569b);
}
.contact::before {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: -72px;
  height: 115px;
  background: #f6f9fc;
  transform: rotate(-2deg);
}
.contact-decoration {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -200px;
  top: 50px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.018);
}
.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: auto;
  padding-top: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.eyebrow.light { color: #ff7782; }
.contact h2 { color: #fff; }
.contact h2 span { color: #ff5968; }
.contact-inner > div > p:not(.eyebrow) { max-width: 540px; color: #c9d9e8; }
.whatsapp-big {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 270px;
  padding: 18px 22px;
  color: var(--ink);
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-big:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.24); }
.wa-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 26px;
  font-weight: 900;
}
.whatsapp-big small { display: block; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.whatsapp-big strong { display: block; font-size: 16px; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 23px clamp(20px, 6vw, 75px);
  color: #90a6bb;
  background: #051e3a;
  font-size: 12px;
}

/* WHATSAPP FLOTANTE: separado del banner de TAB_ */
.floating-wa {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 92px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-image-wrap {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 3px;
  overflow: hidden;
  background: #fff;
  border: 3px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 12px 35px rgba(37,211,102,.34);
  transition: transform .2s, box-shadow .2s;
}
.wa-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.floating-wa:hover .wa-image-wrap { transform: scale(1.08); box-shadow: 0 15px 40px rgba(37,211,102,.42); }
.wa-tooltip {
  padding: 9px 13px;
  color: #fff;
  background: #122235;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateX(8px);
  transition: .2s;
  pointer-events: none;
}
.floating-wa:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* BANNER TAB_ — sempre visível, sem cobrir conteúdo */
.tab-credit {
  position: fixed;
  z-index: 95;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(620px, calc(100% - 28px));
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 17px;
  color: #fff;
  background: rgba(5,30,58,.96);
  border: 1px solid rgba(255,255,255,.12);
  border-bottom: 0;
  border-radius: 17px 17px 0 0;
  box-shadow: 0 -12px 35px rgba(6,45,91,.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .25s, box-shadow .25s;
}
.tab-credit:hover {
  box-shadow: 0 -16px 45px rgba(6,45,91,.3);
}
.tab-credit-line {
  width: 4px;
  height: 36px;
  flex: 0 0 4px;
  border-radius: 20px;
  background: var(--red);
  box-shadow: 0 0 15px rgba(227,35,50,.45);
}
.tab-credit-text { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.tab-credit-text small {
  color: #b9cadb;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
}
.tab-credit-text strong {
  color: #fff;
  font-size: 20px;
  letter-spacing: -.04em;
}
.tab-credit-arrow {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 18px;
  transition: transform .2s;
}
.tab-credit:hover .tab-credit-arrow { transform: translate(3px,-3px); }

/* Entrada suave al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* TABLET */
@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }
  .hero-copy-wrap { max-width: 760px; }
  .visual-sequence {
    max-width: 900px;
    min-height: 500px;
    margin: 10px auto 0;
  }
  .visual-card, .visual-card img { min-height: 500px; }
}

/* TABLET / MOBILE */
@media (max-width: 850px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: rgba(255,255,255,.97);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 10px; border-radius: 10px; }
  .nav a:hover { background: var(--blue-soft); }
  .nav-cta { text-align: center; margin-top: 5px; }
  .hero h1 { font-size: clamp(54px, 12vw, 78px); }
  .visual-sequence { min-height: 430px; }
  .visual-card, .visual-card img { min-height: 430px; }
  .visual-caption { left: 13px; right: 10px; bottom: 19px; gap: 7px; }
  .visual-caption strong { font-size: 12px; }
  .visual-caption small { font-size: 7px; }
  .visual-icon { flex-basis: 35px; width: 35px; height: 35px; font-size: 13px; }
  .about-grid, .process-grid { grid-template-columns: 1fr; }
  .section-heading, .contact-inner { align-items: flex-start; flex-direction: column; }
  .contact-inner { padding-top: 45px; }
}

/* MOBILE: las tres fotos pasan a tarjetas completas y legibles */
@media (max-width: 580px) {
  body { padding-bottom: 64px; }
  .site-header { padding: 12px 15px; }
  .brand { gap: 9px; }
  .brand-mark { width: 41px; height: 41px; border-radius: 11px; }
  .brand-copy strong { font-size: 10px; letter-spacing: .1em; }
  .brand-copy small { font-size: 8px; }

  .hero-grid {
    display: block;
    padding: 42px 16px 48px;
  }
  .hero-copy-wrap { max-width: none; }
  .eyebrow { font-size: 9px; letter-spacing: .13em; margin-bottom: 16px; }
  .eyebrow span { width: 22px; }
  .hero h1 {
    font-size: clamp(50px, 15vw, 66px);
    line-height: .91;
    margin-bottom: 21px;
  }
  .hero-lead { font-size: 16px; line-height: 1.5; }
  .hero-actions { margin: 25px 0 24px; }
  .hero-actions .btn { width: 100%; min-height: 54px; font-size: 16px; }
  .mini-process { justify-content: space-between; gap: 5px; font-size: 10px; }
  .mini-process div { gap: 5px; }
  .mini-process i { width: 15px; }

  .visual-sequence {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin-top: 27px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    filter: drop-shadow(0 18px 25px rgba(6,45,91,.16));
  }
  .visual-card,
  .visual-card img {
    width: 100%;
    min-height: 0;
    height: 235px;
  }
  .visual-card {
    clip-path: none !important;
    margin: 0 !important;
    border-radius: 19px !important;
    transform: none !important;
  }
  .visual-card:nth-child(2) { width: 97%; margin-left: 3% !important; }
  .visual-card:nth-child(3) { width: 94%; margin-left: 6% !important; }
  .visual-card img { object-fit: cover; object-position: center 35%; }
  .visual-caption {
    left: 16px;
    right: 15px;
    bottom: 16px;
    gap: 9px;
  }
  .visual-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .visual-caption strong { font-size: 14px; }
  .visual-caption small { font-size: 8px; margin-top: 5px; }
  .step-dot { top: 13px; right: 13px; width: 31px; height: 31px; font-size: 9px; }

  .hero-bottom-line {
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    padding: 14px 15px;
    font-size: 8px;
    letter-spacing: .1em;
  }
  .ticker {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ticker::-webkit-scrollbar { display: none; }
  .ticker div { flex: 0 0 auto; padding: 15px 17px; }

  .section { padding: 75px 20px; }
  .about { padding-left: 20px; padding-right: 20px; }
  .section-label { margin-bottom: 25px; }
  h2 { font-size: 46px; }
  .about-grid { gap: 30px; }
  .about-text .lead { font-size: 18px; }
  .process-grid { gap: 13px; }
  .process-card { min-height: 230px; padding: 24px; border-radius: 19px; }
  .process-card h3 { margin-top: 42px; font-size: 27px; }
  .statement { padding: 78px 20px; }
  .statement-mark { font-size: 65px; }
  blockquote { font-size: 31px; }
  .contact { padding: 70px 20px; }
  .contact-inner { gap: 28px; }
  .whatsapp-big { width: 100%; min-width: 0; }
  footer { flex-direction: column; gap: 7px; }

  /* WA queda por encima del banner y a la derecha */
  .floating-wa {
    right: 13px;
    bottom: 78px;
  }
  .wa-image-wrap {
    width: 70px;
    height: 70px;
    padding: 3px;
  }
  .wa-tooltip { display: none; }

  .tab-credit {
    width: calc(100% - 18px);
    min-height: 58px;
    padding: 8px 12px;
    gap: 9px;
    border-radius: 15px 15px 0 0;
  }
  .tab-credit-line { height: 32px; }
  .tab-credit-text { gap: 6px; flex-wrap: wrap; }
  .tab-credit-text small { font-size: 7px; }
  .tab-credit-text strong { font-size: 19px; }
  .tab-credit-arrow { width: 34px; height: 34px; flex-basis: 34px; }
}

/* Pantallas muy angostas */
@media (max-width: 370px) {
  .brand-copy small { display: none; }
  .hero h1 { font-size: 47px; }
  .visual-card, .visual-card img { height: 215px; }
  .visual-caption strong { font-size: 12px; }
  .visual-caption small { font-size: 7px; }
  .wa-image-wrap { width: 64px; height: 64px; }
}

/* Reduce animaciones si el dispositivo lo solicita */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
