:root{
  --primary:#0B2B78;
  --accent:#EA990A;
  --text:#16304f;
  --white:#ffffff;
  --black:#000;
  --header-offset:0px;
  --logo-height:56px;
  --logo-height-mobile:44px;
  --hero-height:clamp(480px, 78vh, 760px);
  --index-media-radius:22px;
  --banner-height:400px;
}

*{margin:0;padding:0;box-sizing:border-box;}

html{
  scroll-behavior:smooth;
}

main{
  display:block;
}

body{
  font-family:'Poppins',sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, #f7fbff 0%, #ffffff 24%, #f8fbff 100%);
  padding-top:var(--header-offset);
  overflow-x:hidden;
}

body.content-protected,
body.content-protected *{
  -webkit-user-select:none;
  -moz-user-select:none;
  user-select:none;
}

body.content-protected img,
body.content-protected video{
  -webkit-user-drag:none;
  user-drag:none;
}

body.content-protected input,
body.content-protected textarea,
body.content-protected select,
body.content-protected [contenteditable="true"]{
  -webkit-user-select:text;
  -moz-user-select:text;
  user-select:text;
}

img,
video,
iframe{
  max-width:100%;
}

h1,h2,h3,h4,h5,h6{
  font-family:'Poppins',sans-serif;
  color:var(--primary);
}

p,
li,
a,
span,
button,
label{
  font-family:'Poppins',sans-serif;
}

p{
  color:#4a6280;
}

.container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

#inicio,
#productos,
#servicios,
#contacto{
  scroll-margin-top:120px;
}

.promo-popup{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  transition:opacity 0.35s ease, visibility 0.35s ease;
  z-index:2000;
}

.promo-popup.active{
  opacity:1;
  visibility:visible;
}

.promo-popup-overlay{
  position:absolute;
  inset:0;
  background:rgba(6, 20, 38, 0.62);
  backdrop-filter:blur(6px);
}

.promo-popup-content{
  position:relative;
  z-index:1;
  /*width:min(960px, 100%);*/
  max-height:90vh;
  overflow:hidden;
  border-radius:28px;
  background:#0B2B78;
  box-shadow:0 24px 60px rgba(10, 31, 58, 0.25);
  transform:translateY(18px) scale(0.98);
  transition:transform 0.35s ease;
}

.promo-popup.active .promo-popup-content{
  transform:translateY(0) scale(1);
}

.promo-popup-close{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  border:none;
  border-radius:50%;
  background:#ffffff;
  color:#d62828;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
  box-shadow:0 10px 22px rgba(0,0,0,0.22);
  transition:transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.promo-popup-close:hover{
  background:#d62828;
  color:#ffffff;
  transform:scale(1.06);
}

.promo-popup-media{
  width:100%;
  height:min(78vh, 720px);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0B2B78;
}

.promo-popup-media img,
.promo-popup-media video{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

/* HEADER */
.header{
  background:linear-gradient(135deg, #0B2B78 0%, #1E4D8C 58%, #2b67b2 100%);
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  box-shadow:0 14px 34px rgba(14,43,120);
}

.header-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:16px 0;
  position:relative;
}

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

.logo-link{
  display:flex;
  align-items:center;
}

.logo-img{
  height:var(--logo-height);
  width:auto;
  object-fit:contain;
  max-width:100%;
  display:block;
}

.logo-mobile{
  display:none;
}

nav{
  flex:1;
  display:flex;
  justify-content:flex-start;
  min-width:0;
}

nav ul{
  display:flex;
  flex-wrap:nowrap;
  justify-content:center;
  gap:12px;
  list-style:none;
  width:100%;
  padding:10px 18px;
  border-radius:999px;
  backdrop-filter:blur(8px);
}

nav > ul > li{
  position:relative;
}

nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  color:var(--white);
  text-decoration:none;
  font-weight:600;
  font-size:0.96rem;
  letter-spacing:0.01em;
  overflow:hidden;
  transition:color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

nav a::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:rgba(94.94,94);
  opacity:0;
  transform:scale(0.92);
  transition:opacity 0.25s ease, transform 0.25s ease;
}

nav a span,
nav a i{
  position:relative;
  z-index:1;
}

nav a span{
  white-space:nowrap;
}

.nav-dropdown-icon{
  font-size:0.72rem;
  opacity:0.78;
  transition:transform 0.25s ease, opacity 0.25s ease;
}

.nav-item-has-submenu:hover .nav-dropdown-icon,
.nav-item-has-submenu:focus-within .nav-dropdown-icon{
  opacity:1;
  transform:rotate(180deg);
}

nav a:hover{
  color:#ffffff;
  transform:translateY(-2px);
}

nav a:hover::before{
  opacity:1;
  transform:scale(1);
}

nav a.active{
  color:#0d2e57;
  background:linear-gradient(135deg, #EA990A 0%, #ffe27a 100%);
  box-shadow:0 12px 24px rgba(8, 27, 49, 0.16);
}

nav a.active::before{
  opacity:0;
}

.nav-item-has-submenu{
  position:relative;
}

.nav-item-has-submenu::after{
  content:"";
  position:absolute;
  left:0;
  top:100%;
  width:100%;
  height:18px;
}

.nav-item-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-item-row .nav-link{
  flex:1;
}

.submenu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  flex:0 0 44px;
  width:44px;
  height:44px;
  border:none;
  border-radius:14px;
  background:rgba(94,94,94);
  color:var(--white);
  cursor:pointer;
  transition:background 0.25s ease, transform 0.25s ease;
}

.submenu-toggle:hover{
  background:rgba(94,94,94);
}

.mega-menu{
  position:absolute;
  top:calc(100% + 2px);
  left:0;
  width:min(760px, calc(100vw - 32px));
  padding:22px;
  border-radius:28px;
  background:linear-gradient(135deg, rgba(14,43,120) 0%, rgba(18, 52, 97, 0.96) 100%);
  box-shadow:0 24px 46px rgba(7, 24, 45, 0.28);
  display:grid;
  grid-template-columns:minmax(220px, 0.85fr) minmax(0, 1.5fr);
  gap:22px;
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  pointer-events:none;
  transition:opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index:1200;
  border:1px solid rgba(94,94,94);
}

.nav-item-has-submenu:last-child .mega-menu{
  left:auto;
  right:0;
}

.nav-item-has-submenu:nth-last-child(-n+2) .mega-menu{
  left:auto;
  right:0;
}

.nav-item-has-submenu:hover .mega-menu,
.nav-item-has-submenu:focus-within .mega-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}

.mega-menu-intro{
  padding:8px 8px 8px 4px;
}

.mega-menu-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  margin-bottom:14px;
  border-radius:999px;
  background:rgba(255, 214, 51, 0.16);
  color: #EA990A;
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.mega-menu-intro h3{
  color:#ffffff;
  font-size:1.55rem;
  line-height:1.15;
  margin-bottom:12px;
}

.mega-menu-intro p{
  color:rgba(234, 243, 255, 0.8);
  line-height:1.75;
}

.mega-menu-links{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.mega-menu-link{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:8px;
  min-height:118px;
  padding:18px;
  border-radius:22px;
  text-decoration:none;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(183, 212, 247, 0.14);
  color:#ffffff;
  transition:transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mega-menu-link::before{
  display:none;
}

.mega-menu-link:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,0.14);
  border-color:rgba(255, 214, 51, 0.35);
  box-shadow:0 16px 28px rgba(7, 24, 45, 0.2);
}

.mega-menu-link i{
  font-size:1.05rem;
  color:#EA990A;
}

.mega-menu-link span{
  color:#ffffff;
  font-size:1rem;
  font-weight:700;
}

.mega-menu-link small{
  color:rgba(234, 243, 255, 0.78);
  line-height:1.55;
  font-size:0.88rem;
}

.mega-menu-link.active{
  background:linear-gradient(135deg, rgba(255, 214, 51, 0.2) 0%, rgba(255, 226, 122, 0.12) 100%);
  border-color:rgba(255, 214, 51, 0.42);
  box-shadow:none;
}

.right{
  display:flex;
  gap:10px;
}

.btn-outline,
.btn-solid{
  padding:10px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 10px 22px rgba(10, 31, 58, 0.12);
  transition:transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-outline{
  border:1px solid var(--white);
  color:var(--white);
}

.btn-solid{
  background:var(--accent);
  color:#000;
}

.btn-outline:hover,
.btn-solid:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(10, 31, 58, 0.18);
}

.menu-toggle{
  display:none;
  color:var(--white);
  font-size:26px;
  border:none;
  background:transparent;
  cursor:pointer;
  line-height:1;
  position:relative;
  z-index:1101;
}

/* HERO */
.hero{
  position:relative;
  min-height:var(--hero-height);
  height:var(--hero-height);
}

.hero-slide{
  position:absolute;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1s ease;
}

.hero-slide.active{
  opacity:1;
}

.overlay{
  position:absolute;
  width:100%;
  height:100%;
  /*background:rgba(0,0,0,0.5);*/
}

.hero-content{
  position:absolute;
  top:40%;
  width:100%;
  text-align:center;
  color:var(--white);
  padding:0 20px;
}

.hero-content h1,
.hero-content p{
  color:var(--white);
}

.hero-content h1{
  font-size:clamp(2.4rem, 4vw, 4.2rem);
  line-height:1.08;
  margin-bottom:12px;
}

.hero-content p{
  font-size:1.08rem;
  color:rgba(255,255,255,0.9);
}

.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.65);
  color:var(--white);
  padding:10px 14px;
  cursor:pointer;
  border:none;
  z-index:2;
}

.hero-arrow.left{left:10px;}
.hero-arrow.right{right:10px;}

.hero-dots{
  text-align:center;
  position:absolute;
  bottom:20px;
  width:100%;
  z-index:2;
}

.hero-dots span{
  display:inline-block;
  width:10px;
  height:10px;
  background:var(--white);
  margin:5px;
  border-radius:50%;
  cursor:pointer;
}

.page-hero{
  padding:86px 0 48px;
  min-height:420px;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 51, 0.3), transparent 32%),
    linear-gradient(135deg, #e9f3ff 0%, #f7fbff 52%, #ffffff 100%);
}

.page-hero-alt{
  background:
    radial-gradient(circle at top right, rgba(30, 77, 140, 0.12), transparent 30%),
    linear-gradient(135deg, #eef5ff 0%, #f8fbff 52%, #ffffff 100%);
}

.page-hero-about{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-products{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-testimonials,
.page-hero-allies{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-services{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-contacts{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-government{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-organigram{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-directivos{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-agencies{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-transparency{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-contact{
  background:
    radial-gradient(circle at top left, rgba(45, 103, 179, 0.14), transparent 28%),
    linear-gradient(135deg, #edf6fb 0%, #f9fcff 52%, #ffffff 100%);
}

.page-hero-contact.page-hero-contacts{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-contact.page-hero-directivos{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-contact.page-hero-agencies{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-contact.page-hero-complaints{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.page-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap:28px;
  align-items:center;
}

.page-badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  margin-bottom:18px;
  border-radius:999px;
  background:rgba(30,77,140,0.1);
  color:var(--primary);
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  font-size:0.78rem;
}

.page-hero-copy h1{
  font-size:clamp(2.2rem, 4vw, 4rem);
  line-height:1.08;
  margin-bottom:14px;
}

.page-hero-copy p{
  max-width:700px;
  font-size:1.06rem;
  line-height:1.8;
}

.page-hero-card,
.info-card{
  background:#ffffff;
  border-radius:26px;
  box-shadow:0 16px 36px rgba(13, 42, 76, 0.1);
  border:1px solid rgba(30,77,140,0.08);
}

.page-hero-card{
  padding:30px;
}

.page-hero-card h2{
  margin-bottom:10px;
}

.page-hero-card p{
  line-height:1.8;
}

.page-section{
  padding:30px 0 70px;
}

.page-card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.info-card{
  padding:28px;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(13, 42, 76, 0.14);
}

.info-card i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  margin-bottom:18px;
  border-radius:18px;
  background:rgba(30,77,140,0.1);
  color:var(--accent);
  font-size:1.3rem;
}

.info-card h3{
  margin-bottom:12px;
  font-size:1.16rem;
}

.info-card p{
  line-height:1.8;
}

.organigram-summary-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.organigram-levels-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.organigram-level-card{
  position:relative;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.organigram-level-card::after{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
  border-radius:24px 0 0 24px;
  background:linear-gradient(180deg, #ffd633 0%, #1e4d8c 100%);
}

.organigram-level-tag{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  margin-bottom:14px;
  border-radius:999px;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-size:0.74rem;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
}

.organigram-block{
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.15), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.organigram-container{
  width:calc(100vw - 24px);
  max-width:1880px;
}

.organigram-shell{
  display:flex;
  flex-direction:column;
  gap:28px;
  width:100%;
  padding:34px;
  border-radius:32px;
  background:rgba(255,255,255,0.92);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 24px 48px rgba(13, 42, 76, 0.12);
  overflow-x:auto;
  overflow-y:visible;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(30,77,140,0.4) rgba(30,77,140,0.08);
}

.organigram-pdf-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px;
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.14), transparent 26%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
  border:1px solid rgba(30,77,140,0.08);
}

.organigram-pdf-meta{
  max-width:760px;
}

.organigram-pdf-badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  margin-bottom:10px;
  border-radius:999px;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-size:0.74rem;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
}

.organigram-pdf-meta h3{
  margin-bottom:8px;
  color:var(--primary);
  font-size:clamp(1.1rem, 1.8vw, 1.4rem);
}

.organigram-pdf-meta p{
  color:#58708f;
  line-height:1.7;
}

.organigram-pdf-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:0 22px;
  border-radius:16px;
  background:linear-gradient(135deg, #1e4d8c 0%, #173c6f 100%);
  color:#ffffff;
  text-decoration:none;
  font-weight:700;
  letter-spacing:0.01em;
  box-shadow:0 14px 26px rgba(30,77,140,0.24);
  transition:transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.organigram-pdf-button:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 32px rgba(30,77,140,0.28);
  filter:brightness(1.03);
}

.organigram-pdf-button i,
.organigram-pdf-button span{
  color:#ffffff;
}

.organigram-pdf-frame{
  width:100%;
  height:min(84vh, 1120px);
  border:1px solid rgba(30,77,140,0.08);
  border-radius:24px;
  background:#ffffff;
  box-shadow:0 20px 40px rgba(13, 42, 76, 0.08);
}

.organigram-pdf-note{
  margin-top:-6px;
  padding:0 8px;
  text-align:center;
  color:#5f7390;
}

.organigram-shell::-webkit-scrollbar{
  height:12px;
}

.organigram-shell::-webkit-scrollbar-track{
  background:rgba(30,77,140,0.08);
  border-radius:999px;
}

.organigram-shell::-webkit-scrollbar-thumb{
  background:rgba(30,77,140,0.4);
  border-radius:999px;
}

.organigram-diagram{
  display:grid;
  grid-template-columns:repeat(3, minmax(240px, 1fr));
  gap:14px;
  align-items:start;
  width:100%;
  min-width:0;
}

.organigram-assembly{
  grid-column:1 / -1;
}

.organigram-commissions-top{
  grid-column:auto;
  grid-row:auto;
  display:grid;
  gap:12px;
}

.organigram-admin{
  grid-column:auto;
}

.organigram-vigilance{
  grid-column:auto;
}

.organigram-control-stack{
  grid-column:auto;
  display:grid;
  gap:12px;
}

.organigram-legend{
  grid-column:auto;
  padding:24px 20px;
  border-radius:24px;
  background:linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
  border:1px dashed rgba(30,77,140,0.18);
}

.organigram-legend h3{
  margin-bottom:12px;
  color:var(--primary);
  font-size:1rem;
}

.organigram-legend p{
  margin:0 0 10px;
  color:#4a6280;
  font-weight:600;
}

.organigram-committees-left{
  grid-column:auto;
  display:grid;
  gap:12px;
}

.organigram-gerencia{
  grid-column:1 / -1;
}

.organigram-cumplimiento{
  grid-column:auto;
}

.organigram-riesgos{
  grid-column:auto;
}

.organigram-support-column{
  display:grid;
  gap:12px;
}

.organigram-assistant{
  grid-column:auto;
}

.organigram-legal{
  grid-column:auto;
}

.organigram-bottom-grid{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}

.organigram-row{
  display:grid;
  gap:20px;
  position:relative;
}

.organigram-row-single{
  grid-template-columns:minmax(280px, 460px);
  justify-content:center;
}

.organigram-row-dual{
  grid-template-columns:repeat(2, minmax(260px, 1fr));
}

.organigram-row-support{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.organigram-row-areas{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.organigram-row-areas-four{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.organigram-row-commissions{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.organigram-row-control-detail{
  margin-top:-6px;
}

.organigram-box{
  padding:18px;
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 16px 36px rgba(13, 42, 76, 0.1);
  text-align:center;
  overflow-wrap:anywhere;
}

.organigram-box-blue{
  background:linear-gradient(180deg, #dcecff 0%, #f4f9ff 100%);
}

.organigram-box-teal{
  background:linear-gradient(180deg, #dbf7f4 0%, #f4fcfb 100%);
}

.organigram-box-navy{
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.18), transparent 28%),
    linear-gradient(135deg, #1e4d8c 0%, #0f3562 100%);
}

.organigram-box-gold{
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, #ffd24a 0%, #f5ba10 100%);
  color:#173052;
}

.organigram-box-gold h3,
.organigram-box-gold p{
  color:#173052;
}

.organigram-box-gold .organigram-label{
  background:rgba(255,255,255,0.44);
  color:#173052;
}

.organigram-box-amber{
  background:linear-gradient(180deg, #fff1cb 0%, #fff8e7 100%);
}

.organigram-box-cyan{
  background:linear-gradient(180deg, #d8f2ff 0%, #f3fbff 100%);
}

.organigram-box-green{
  background:linear-gradient(180deg, #dcf5e3 0%, #f4fbf6 100%);
}

.organigram-box-rose{
  background:linear-gradient(180deg, #ffe1e8 0%, #fff5f7 100%);
}

.organigram-box-orange{
  background:linear-gradient(180deg, #ffe4c8 0%, #fff5eb 100%);
}

.organigram-box-sky{
  background:linear-gradient(180deg, #dcefff 0%, #f5faff 100%);
}

.organigram-box-purple{
  background:linear-gradient(180deg, #ece3ff 0%, #f8f4ff 100%);
}

.organigram-box h3{
  margin:8px 0 10px;
  color:var(--primary);
  font-size:1.02rem;
  line-height:1.3;
}

.organigram-box p{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:8px 10px;
  border-radius:14px;
  background:rgba(30,77,140,0.06);
  border:1px solid rgba(30,77,140,0.08);
  margin:0 0 8px;
  line-height:1.45;
  color:#4a6280;
  text-align:left;
  font-size:0.9rem;
}

.organigram-box p:last-child{
  margin-bottom:0;
}

.organigram-box p::before{
  content:"Cargo";
  flex:0 0 auto;
  min-width:52px;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(30,77,140,0.1);
  color:var(--primary);
  font-size:0.68rem;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  text-align:center;
}

.organigram-box-highlight{
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.18), transparent 28%),
    linear-gradient(135deg, #0f3562 0%, #1e4d8c 100%);
  color:#ffffff;
}

.organigram-box-highlight h3,
.organigram-box-highlight p,
.organigram-box-core h3,
.organigram-box-core p{
  color:#ffffff;
}

.organigram-box-navy h3,
.organigram-box-navy p{
  color:#ffffff;
}

.organigram-box-navy p{
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.12);
}

.organigram-box-navy p::before{
  background:rgba(255,255,255,0.14);
  color:#ffffff;
}

.organigram-box-core{
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.18), transparent 28%),
    linear-gradient(135deg, #1e4d8c 0%, #0f3562 100%);
}

.organigram-box-small{
  min-height:150px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.organigram-box-small h3{
  margin-bottom:0;
}

.organigram-box-pillar{
  min-height:220px;
}

.organigram-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
}

.organigram-box-highlight .organigram-label,
.organigram-box-core .organigram-label{
  background:rgba(255,255,255,0.14);
  color:#ffffff;
}

.organigram-box-navy .organigram-label{
  background:rgba(255,255,255,0.14);
  color:#ffffff;
}

.organigram-pillar{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.organigram-subgrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.organigram-subgrid-stack{
  grid-template-columns:1fr;
}

.organigram-subbox{
  padding:12px 10px;
  border-radius:18px;
  background:linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 10px 24px rgba(13, 42, 76, 0.08);
  color:var(--primary);
  text-align:center;
  font-weight:600;
  line-height:1.4;
  overflow-wrap:anywhere;
  font-size:0.88rem;
}

.organigram-subbox-gold{
  background:linear-gradient(180deg, #fff0be 0%, #fff8e5 100%);
}

.organigram-subbox-blue{
  background:linear-gradient(180deg, #dfeeff 0%, #f6faff 100%);
}

.form-page-shell{
  padding:38px;
  border-radius:32px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 22%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 24px 48px rgba(13, 42, 76, 0.12);
}

.form-page-head{
  max-width:820px;
  margin:0 auto 28px;
  text-align:center;
}

.form-page-head .section-title{
  margin:10px 0 12px;
}

.form-page-head p{
  color:#4a6280;
  line-height:1.85;
}

.form-highlights{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-bottom:26px;
}

.complaint-top-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap:22px;
  align-items:stretch;
  margin-bottom:26px;
}

.complaint-top-main{
  display:grid;
  gap:20px;
}

.complaint-top-main .form-page-head{
  margin:0;
}

.complaint-highlights{
  grid-template-columns:1fr;
  margin-bottom:0;
}

.form-highlight-card{
  padding:22px;
  border-radius:24px;
  background:rgba(255,255,255,0.84);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 14px 30px rgba(13, 42, 76, 0.08);
}

.form-highlight-card i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  margin-bottom:14px;
  border-radius:16px;
  background:rgba(30,77,140,0.1);
  color:var(--accent);
  font-size:1.15rem;
}

.form-highlight-card h3{
  margin-bottom:8px;
  color:var(--primary);
  font-size:1.06rem;
}

.form-highlight-card p{
  color:#4a6280;
  line-height:1.7;
}

.institutional-form{
  display:grid;
  gap:22px;
  padding:30px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(249,252,255,0.98) 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 16px 32px rgba(13, 42, 76, 0.08);
}

.form-status{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(30,77,140,0.12);
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-weight:600;
  line-height:1.55;
}

.form-status.is-success{
  border-color:rgba(38, 150, 93, 0.24);
  background:rgba(38, 150, 93, 0.1);
  color:#16643c;
}

.form-status.is-error{
  border-color:rgba(194, 61, 61, 0.24);
  background:rgba(194, 61, 61, 0.1);
  color:#8a2d2d;
}

.form-honeypot{
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.form-section-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  min-height:38px;
  padding:0 16px;
  border-radius:999px;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  font-size:0.8rem;
  box-shadow:0 10px 22px rgba(13, 42, 76, 0.06);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.form-grid-two{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.form-field{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.form-field label{
  color:var(--primary);
  font-weight:600;
  font-size:0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea{
  width:100%;
  min-height:54px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(30,77,140,0.12);
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color:#244466;
  font:inherit;
  outline:none;
  box-shadow:0 10px 24px rgba(13, 42, 76, 0.04);
  transition:border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder{
  color:#88a0ba;
}

.form-field textarea{
  min-height:180px;
  resize:vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color:rgba(30,77,140,0.35);
  box-shadow:0 14px 28px rgba(13, 42, 76, 0.08);
  transform:translateY(-1px);
}

.form-field input[readonly]{
  background:linear-gradient(180deg, #f2f7fd 0%, #edf4fb 100%);
  color:#4c6481;
  cursor:not-allowed;
}

.form-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  padding-top:10px;
  border-top:1px solid rgba(30,77,140,0.08);
}

.form-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:0 28px;
  border:none;
  border-radius:16px;
  font-weight:700;
  font-size:0.98rem;
  cursor:pointer;
  transition:transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-button-primary{
  background:linear-gradient(135deg, #1e88d3 0%, #176fbe 100%);
  color:#ffffff;
  box-shadow:0 16px 30px rgba(23, 111, 190, 0.24);
}

.form-button-secondary{
  background:linear-gradient(135deg, #6f7b8d 0%, #5a6577 100%);
  color:#ffffff;
  box-shadow:0 16px 30px rgba(56, 69, 87, 0.18);
}

.form-button:hover{
  transform:translateY(-3px);
}

.complaint-form .form-section-label{
  background:linear-gradient(135deg, rgba(30,77,140,0.1) 0%, rgba(255,214,51,0.18) 100%);
}

.form-button-primary:hover{
  box-shadow:0 20px 34px rgba(23, 111, 190, 0.3);
}

.form-button-secondary:hover{
  box-shadow:0 20px 34px rgba(56, 69, 87, 0.24);
}

.history-card{
  max-width:960px;
  margin:0 auto;
  padding:34px;
  border-radius:26px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 16px 36px rgba(13, 42, 76, 0.1);
}

.history-card p{
  line-height:1.9;
  color:#4a6280;
}

.history-card p + p{
  margin-top:18px;
}

.about-summary-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
}

.about-stat{
  padding:26px;
  border-radius:26px;
  background:linear-gradient(135deg, #163c72 0%, #1e4d8c 58%, #2b67b2 100%);
  box-shadow:0 18px 36px rgba(13, 42, 76, 0.18);
  text-align:center;
}

.about-stat-value{
  display:block;
  margin-bottom:8px;
  color:#ffffff;
  font-size:2.35rem;
  font-weight:700;
  line-height:1;
}

.about-stat-label{
  display:block;
  color:rgba(255,255,255,0.82);
  line-height:1.6;
}

.about-section-head{
  max-width:820px;
  margin:0 auto 28px;
  text-align:center;
}

.about-section-head .section-title{
  margin:10px 0 12px;
}

.about-section-head p{
  line-height:1.85;
  color:#4a6280;
}

.history-card{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.14), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.branch-directory-section{
  background:
    radial-gradient(circle at 12% 20%, rgba(43,103,178,0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 54%, #f6faff 100%);
}

.branch-directory{
  display:grid;
  grid-template-columns:minmax(280px, 0.82fr) minmax(520px, 1.18fr);
  align-items:center;
  gap:34px;
}

.branch-directory-media{
  min-height:610px;
  overflow:hidden;
  border-radius:26px;
  background:#edf5ff;
  box-shadow:0 24px 56px rgba(13, 42, 76, 0.16);
}

.branch-directory-media img{
  width:100%;
  height:100%;
  min-height:610px;
  object-fit:cover;
  object-position:left center;
  display:block;
}

.branch-directory-table-wrap{
  overflow:hidden;
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 22px 48px rgba(13, 42, 76, 0.13);
}

.branch-directory-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}

.branch-directory-table th{
  padding:14px 22px;
  background:var(--primary);
  color:#ffffff;
  font-size:1.28rem;
  font-weight:800;
  text-align:center;
  text-transform:uppercase;
  line-height:1.1;
}

.branch-directory-table th:first-child{
  width:48%;
}

.branch-directory-table td{
  position:relative;
  padding:9px 44px 9px 28px;
  border-bottom:2px solid rgba(234,153,10,0.34);
  color:#172d4d;
  font-size:0.94rem;
  line-height:1.22;
  vertical-align:middle;
}

.branch-directory-table tbody tr:last-child td{
  border-bottom:0;
}

.branch-directory-table td:first-child{
  color:var(--primary);
  font-size:1.05rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.01em;
}

.branch-directory-table td + td{
  border-left:3px solid rgba(234,153,10,0.58);
}

.branch-directory-table td:last-child::after{
  content:"";
  position:absolute;
  top:50%;
  right:22px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#ffb51f;
  transform:translateY(-50%);
}

.agency-grid{
  display:flex;
  flex-direction:column;
  gap:30px;
}

.agency-card{
  padding:30px;
  border-radius:26px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 16px 36px rgba(13, 42, 76, 0.1);
}

.agency-card h3{
  margin-bottom:18px;
  color:var(--primary);
  font-size:1.4rem;
}

.agency-list{
  list-style:none;
}

.agency-list li{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:16px 0;
  border-top:1px solid rgba(30,77,140,0.08);
}

.agency-list li:first-child{
  padding-top:0;
  border-top:none;
}

.agency-list strong{
  color:var(--primary);
  font-size:1.02rem;
}

.agency-list span{
  color:#4a6280;
  line-height:1.7;
}

.agencies-summary-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
}

.agencies-stat{
  padding:28px;
  border-radius:28px;
  background:linear-gradient(135deg, #0E2B78 0%, #1d4b88 58%, #2a69b3 100%);
  box-shadow:0 20px 40px rgba(13, 42, 76, 0.18);
  text-align:center;
}

.agencies-stat-value{
  display:block;
  margin-bottom:10px;
  color:#ffffff;
  font-size:2.5rem;
  font-weight:700;
  line-height:1;
}

.agencies-stat-label{
  display:block;
  color:rgba(255,255,255,0.82);
  line-height:1.65;
}

.agencies-section-head{
  max-width:820px;
  margin:0 auto 30px;
  text-align:center;
}

.agencies-section-head .section-title{
  margin:10px 0 12px;
}

.agencies-section-head p{
  color:#4a6280;
  line-height:1.85;
}

.agencies-shortcuts{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin:0 auto 28px;
  position:sticky;
  top:calc(var(--header-offset) + 10px);
  z-index:20;
  padding:12px;
  border-radius:24px;
  background:rgba(247, 251, 255, 0.92);
  backdrop-filter:blur(10px);
  box-shadow:0 14px 28px rgba(13, 42, 76, 0.08);
  border:1px solid rgba(30,77,140,0.08);
}

.agencies-shortcut{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  text-decoration:none;
  color:var(--primary);
  font-weight:600;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.12);
  box-shadow:0 10px 22px rgba(13, 42, 76, 0.08);
  transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.agencies-shortcut:hover,
.agencies-shortcut.is-active{
  transform:translateY(-3px);
  color:#ffffff;
  background:linear-gradient(135deg, #0E2B78 0%, #1e4d8c 58%, #2b67b2 100%);
  border-color:rgba(255,214,51,0.42);
  box-shadow:0 16px 28px rgba(13, 42, 76, 0.16);
}

.agencies-shortcut.is-active{
  box-shadow:0 18px 30px rgba(13, 42, 76, 0.18), inset 0 0 0 1px rgba(255,255,255,0.28);
}

.province-section{
  position:relative;
  overflow:hidden;
  padding:30px;
  border-radius:30px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 18px 38px rgba(13, 42, 76, 0.08);
}

.province-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}

.province-header h3{
  color:var(--primary);
  font-size:1.4rem;
}

.province-header .page-badge{
  background:rgba(30,77,140,0.1);
  color:var(--primary);
}

.agency-branch-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}

.branch-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(210px, 0.95fr);
  grid-template-rows:auto auto 1fr;
  grid-template-areas:
    "body meta"
    "body map"
    "body .";
  align-items:start;
  align-content:start;
  gap:16px;
  padding:14px;
  border-radius:24px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 14px 32px rgba(13, 42, 76, 0.1);
  transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.branch-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,214,51,0.45);
  box-shadow:0 22px 42px rgba(13, 42, 76, 0.14);
}

.branch-body{
  grid-area:body;
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:20px 18px;
  border-radius:18px;
  border:1px solid rgba(30,77,140,0.08);
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.branch-body h4{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  margin-bottom:14px;
  padding:7px 13px;
  border-radius:999px;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-size:1.3rem;
  font-weight:800;
  line-height:1.2;
}

.branch-body p{
  margin-bottom:14px;
  color:#4a6280;
  line-height:1.7;
}

.branch-detail,
.branch-hours{
  display:grid;
  gap:8px;
  margin:0 0 14px;
  padding:14px;
  border-radius:16px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.1);
  box-shadow:0 10px 22px rgba(13, 42, 76, 0.07);
}

.branch-detail{
  margin-top:0;
}

.branch-detail-title,
.branch-hours-title{
  color:var(--primary);
  font-size:0.86rem;
  font-weight:700;
  text-transform:uppercase;
}

.branch-detail span:not(.branch-detail-title){
  display:block;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(30,77,140,0.06);
  color:#4a6280;
  font-size:0.95rem;
  line-height:1.55;
}

.branch-hours span:not(.branch-hours-title){
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 11px;
  border-radius:12px;
  background:rgba(30,77,140,0.06);
  color:#4a6280;
  font-size:0.92rem;
  line-height:1.35;
}

.branch-hours strong{
  flex:0 0 auto;
  min-width:82px;
  color:var(--primary);
  font-weight:700;
}

.branch-meta{
  grid-area:meta;
  display:grid;
  flex-wrap:initial;
  align-content:flex-start;
  align-self:start;
  gap:8px;
  padding:14px;
  border-radius:16px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.1);
  box-shadow:0 10px 22px rgba(13, 42, 76, 0.07);
}

.branch-meta::before{
  content:"Contacto";
  color:var(--primary);
  font-size:0.86rem;
  font-weight:700;
  text-transform:uppercase;
}

.branch-meta span{
  display:flex;
  align-items:center;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(30,77,140,0.06);
  color:var(--primary);
  font-size:0.92rem;
  font-weight:600;
  line-height:1.35;
}

.branch-map{
  grid-area:map;
  width:100%;
  height:150px;
  border:0;
  align-self:start;
  border-radius:18px;
  border:1px solid rgba(30,77,140,0.08);
  background:#dfe9f6;
}

.governance-summary{
  padding-top:10px;
}

.governance-summary-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
}

.governance-stat{
  text-decoration:none;
  padding:26px;
  border-radius:26px;
  background:linear-gradient(135deg, #0E2B78 0%, #1e4d8c 58%, #2b67b2 100%);
  box-shadow:0 18px 36px rgba(13, 42, 76, 0.18);
  text-align:center;
  border:1px solid rgba(255,255,255,0.08);
  transition:transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.governance-stat:hover{
  transform:translateY(-6px) scale(1.02);
  background:linear-gradient(135deg, #0E2B78 0%, #255ea8 58%, #3777c8 100%);
  border-color:rgba(255,214,51,0.4);
  box-shadow:0 24px 42px rgba(13, 42, 76, 0.22);
  filter:saturate(1.1);
}

.governance-stat-label{
  display:block;
  color:#ffffff;
  font-size:1.05rem;
  font-weight:700;
  line-height:1.5;
  transition:letter-spacing 0.25s ease, color 0.25s ease;
}

.governance-stat:hover .governance-stat-label{
  color:#fff8d6;
  letter-spacing:0.03em;
}

#organizacion,
#staff-ejecutivo,
#representacion,
#control,
#ahorros,
#inversiones,
#creditos,
#servicios-operativos,
#cooperativa-digital,
#tarjetas-debito,
#provincia-imbabura,
#provincia-carchi,
#provincia-pichincha,
#provincia-cotopaxi,
#provincia-santo-domingo,
#provincia-manabi{
  scroll-margin-top:150px;
}

.governance-section-head{
  max-width:820px;
  margin:0 auto 28px;
  text-align:center;
}

.governance-section-head .section-title{
  margin:10px 0 12px;
}

.governance-section-head p{
  line-height:1.85;
  color:#4a6280;
}

.products-summary,
.services-summary{
  padding-top:10px;
}

.products-summary-grid,
.services-summary-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
}

.products-summary-card,
.services-summary-card{
  text-decoration:none;
  padding:26px;
  border-radius:26px;
  background:linear-gradient(135deg, #0E2B78 0%, #1e4d8c 58%, #2b67b2 100%);
  box-shadow:0 18px 36px rgba(13, 42, 76, 0.18);
  border:1px solid rgba(255,255,255,0.08);
  transition:transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.products-summary-card:hover,
.services-summary-card:hover{
  transform:translateY(-6px) scale(1.02);
  background:linear-gradient(135deg, #0E2B78 0%, #255ea8 58%, #3777c8 100%);
  border-color:rgba(255,214,51,0.4);
  box-shadow:0 24px 42px rgba(13, 42, 76, 0.22);
  filter:saturate(1.1);
}

.products-summary-label,
.services-summary-label{
  display:inline-flex;
  width:max-content;
  margin-bottom:12px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.14);
  color:rgba(255,255,255,0.82);
  font-size:0.84rem;
  letter-spacing:0.02em;
  text-transform:uppercase;
}

.products-summary-card strong,
.services-summary-card strong{
  display:block;
  margin-bottom:10px;
  color:#ffffff;
  font-size:1.3rem;
}

.products-summary-card p,
.services-summary-card p{
  color:rgba(255,255,255,0.84);
  line-height:1.75;
}

.products-simulators{
  padding-top:8px;
}

.products-simulators-shell{
  display:grid;
  grid-template-columns:minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap:28px;
  padding:34px;
  border-radius:32px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.14), transparent 20%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 22px 44px rgba(13, 42, 76, 0.1);
}

.requirements-home{
  padding-top:6px;
}

.requirements-feature-grid{
  display:grid;
  grid-template-columns:minmax(280px, 420px);
  justify-content:center;
}

.requirements-card{
  width:100%;
}

.requirements-card img{
  min-height:280px;
}

.page-hero-requirements{
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.4) 0%, rgba(248, 251, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 100%),
    url("../img/banner-superiro-pw-sec.jpg") center/cover no-repeat;
}

.requirements-page-shell{
  padding:34px;
  border-radius:32px;
  background:
    radial-gradient(circle at top left, rgba(30,77,140,0.12), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 22px 44px rgba(13, 42, 76, 0.1);
}

.requirements-page-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.requirements-page-card{
  padding:28px 24px;
  border-radius:26px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 16px 34px rgba(13, 42, 76, 0.08);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.requirements-page-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 38px rgba(13, 42, 76, 0.14);
}

.requirements-page-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  margin-bottom:18px;
  border-radius:18px;
  background:rgba(30,77,140,0.1);
}

.requirements-page-icon i{
  color:var(--accent);
  font-size:1.3rem;
}

.requirements-page-card h3{
  margin-bottom:12px;
  color:var(--primary);
  font-size:1.12rem;
}

.requirements-page-card p{
  color:#4a6280;
  line-height:1.8;
}

.requirements-list{
  list-style:none;
  margin:18px 0 0;
  padding:0;
}

.requirements-list li{
  position:relative;
  padding-left:26px;
  color:#4a6280;
  line-height:1.75;
}

.requirements-list li + li{
  margin-top:10px;
}

.requirements-list li::before{
  content:"";
  position:absolute;
  top:11px;
  left:0;
  width:10px;
  height:10px;
  border-radius:50%;
  background:linear-gradient(135deg, #EA990A 0%, #ffd95c 100%);
}

.requirements-note{
  margin-top:24px;
  padding:18px 20px;
  border-radius:20px;
  background:rgba(30,77,140,0.06);
  color:#4a6280;
  line-height:1.8;
}

.products-index-shell{
  padding:34px;
  border-radius:32px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.14), transparent 20%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 22px 44px rgba(13, 42, 76, 0.1);
}

.products-simulators-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.products-simulators-copy h2{
  margin:14px 0 14px;
  color:var(--primary);
  font-size:clamp(1.8rem, 2.8vw, 2.5rem);
  line-height:1.1;
}

.products-simulators-copy p{
  color:#4a6280;
  line-height:1.9;
}

.products-simulators-points{
  display:grid;
  gap:12px;
  margin-top:24px;
}

.products-simulators-points span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--primary);
  font-weight:600;
}

.products-simulators-points i{
  width:34px;
  height:34px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(30,77,140,0.08);
  color:var(--accent);
}

.products-simulators-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
}

.products-simulator-card{
  padding:30px;
  border-radius:28px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 18px 32px rgba(13, 42, 76, 0.1);
  transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.products-simulator-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 40px rgba(13, 42, 76, 0.16);
  border-color:rgba(255,214,51,0.42);
}

.products-simulator-icon{
  width:58px;
  height:58px;
  margin-bottom:16px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, #0E2B78 0%, #1e4d8c 58%, #2b67b2 100%);
  box-shadow:0 14px 24px rgba(13, 42, 76, 0.16);
}

.products-simulator-icon i{
  color:var(--accent);
  font-size:1.35rem;
}

.products-simulator-tag{
  display:inline-flex;
  width:max-content;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-size:0.84rem;
  font-weight:700;
  letter-spacing:0.03em;
  text-transform:uppercase;
}

.products-simulator-card h3{
  margin-bottom:12px;
  color:var(--primary);
  font-size:clamp(1.45rem, 2.2vw, 2rem);
}

.products-simulator-card p{
  color:#4a6280;
  line-height:1.8;
  margin-bottom:20px;
}

.org-chart{
  display:flex;
  flex-direction:column;
  gap:34px;
}

.org-level{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  position:relative;
}

.org-level-top{
  justify-items:stretch;
  padding-bottom:18px;
}

.org-level-middle{
  justify-items:stretch;
  padding-top:18px;
  padding-bottom:18px;
}

.org-level-bottom{
  justify-items:stretch;
  padding-top:18px;
}

.org-level-top .org-node{
  grid-column:2 / 3;
}

.org-level-middle .org-node:first-child{
  grid-column:1 / 2;
}

.org-level-middle .org-node:last-child{
  grid-column:3 / 4;
}

.org-level-top::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-18px;
  width:2px;
  height:36px;
  transform:translateX(-50%);
  background:rgba(30,77,140,0.18);
}

.org-level-middle::before{
  content:"";
  position:absolute;
  left:16.66%;
  right:16.66%;
  top:0;
  height:2px;
  background:rgba(30,77,140,0.18);
}

.org-level-middle::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-18px;
  width:2px;
  height:36px;
  transform:translateX(-50%);
  background:rgba(30,77,140,0.18);
}

.org-node{
  padding:28px;
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 16px 36px rgba(13, 42, 76, 0.1);
  text-align:center;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  position:relative;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.org-node:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 44px rgba(13, 42, 76, 0.14);
}

.org-node::before{
  content:"";
  width:14px;
  height:14px;
  margin-bottom:14px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 6px rgba(255,214,51,0.18);
}

.org-node-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,214,51,0.16);
  color:var(--primary);
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
}

.org-node h3{
  margin:10px 0 10px;
  color:var(--primary);
}

.org-node p{
  line-height:1.75;
  color:#4a6280;
}

.member-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

.member-card{
  padding:24px;
  border-radius:22px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 16px 36px rgba(13, 42, 76, 0.1);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  text-align:center;
}

.member-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 40px rgba(13, 42, 76, 0.14);
}

.member-photo{
  width:124px;
  height:124px;
  margin:0 auto 16px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  border:5px solid rgba(255,255,255,0.95);
  box-shadow:0 14px 26px rgba(13, 42, 76, 0.18);
}

.member-role-badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  margin-bottom:14px;
  border-radius:999px;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
}

.member-card h3{
  margin-bottom:10px;
  color:var(--primary);
}

.member-card p{
  line-height:1.75;
}

.executive-staff-shell{
  display:grid;
  grid-template-columns:minmax(280px, 390px) minmax(0, 1fr);
  gap:38px;
  align-items:start;
  padding:34px;
  border-radius:28px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 20px 44px rgba(13, 42, 76, 0.1);
}

.executive-manager-card{
  text-align:center;
}

.executive-manager-photo-wrap{
  overflow:hidden;
  border-radius:8px;
  box-shadow:0 18px 36px rgba(13, 42, 76, 0.16);
}

.executive-manager-photo{
  display:block;
  width:100%;
  aspect-ratio:3 / 4;
  object-fit:cover;
}

.executive-manager-copy{
  margin-top:20px;
}

.executive-manager-copy h3{
  color:var(--primary);
  font-size:1.05rem;
  font-style:italic;
  font-weight:800;
}

.executive-manager-copy p{
  margin-top:8px;
  color:#4a6280;
  font-weight:700;
  text-transform:uppercase;
}

.executive-team-list{
  display:grid;
  gap:12px;
  padding-top:4px;
}

.executive-team-item{
  display:grid;
  grid-template-columns:34px minmax(0, 1fr);
  gap:12px;
  align-items:center;
  padding:8px 0;
  color:#4a6280;
}

.executive-team-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  background:#eef2f7;
  color:var(--primary);
  font-size:0.82rem;
}

.executive-team-item p{
  line-height:1.55;
}

.executive-team-item strong{
  color:var(--primary);
  font-weight:700;
}

.rules-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}

.rule-card{
  padding:28px;
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.14), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 16px 36px rgba(13, 42, 76, 0.1);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.rule-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 40px rgba(13, 42, 76, 0.14);
}

.rule-card i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  margin-bottom:16px;
  border-radius:18px;
  background:rgba(30,77,140,0.1);
  color:var(--accent);
  font-size:1.2rem;
}

.rule-card h3{
  margin-bottom:10px;
  color:var(--primary);
}

.rule-card p{
  line-height:1.75;
}

.rule-button{
  margin-top:16px;
  min-height:44px;
  padding:0 18px;
  border:none;
  border-radius:999px;
  background:var(--primary);
  color:var(--white);
  font-weight:600;
  cursor:pointer;
  transition:transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow:0 10px 22px rgba(16, 44, 78, 0.14);
}

.rule-button:hover{
  transform:translateY(-3px) scale(1.02);
  background:var(--primary-soft);
  box-shadow:0 16px 28px rgba(16, 44, 78, 0.22);
}

.pdf-popup{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  transition:opacity 0.3s ease, visibility 0.3s ease;
  z-index:2200;
}

.pdf-popup.active{
  opacity:1;
  visibility:visible;
}

.pdf-popup-overlay{
  position:absolute;
  inset:0;
  background:rgba(8, 22, 41, 0.64);
  backdrop-filter:blur(6px);
}

.pdf-popup-content{
  position:relative;
  z-index:1;
  width:min(1100px, 100%);
  height:min(88vh, 820px);
  background:#ffffff;
  border-radius:28px;
  box-shadow:0 26px 60px rgba(8, 22, 41, 0.28);
  overflow:hidden;
}

.pdf-popup-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:72px;
  padding:18px 24px;
  border-bottom:1px solid rgba(30,77,140,0.08);
  background:linear-gradient(135deg, #eef5ff 0%, #f8fbff 100%);
}

.pdf-popup-header h2{
  color:var(--primary);
  font-size:1.35rem;
}

.pdf-popup-close{
  width:42px;
  height:42px;
  border:none;
  border-radius:50%;
  background:rgba(30,77,140,0.1);
  color:var(--primary);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pdf-popup-frame{
  width:100%;
  height:calc(100% - 72px);
  border:0;
  background:#f8fbff;
}

.transparency-shell{
  padding:34px;
  border-radius:32px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 20%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 22px 44px rgba(13, 42, 76, 0.1);
}

.transparency-head{
  max-width:840px;
  margin:0 auto 28px;
  text-align:center;
}

.transparency-head .section-title{
  margin:10px 0 12px;
}

.transparency-head p{
  color:#4a6280;
  line-height:1.85;
}

.transparency-tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin-bottom:26px;
  position:sticky;
  top:calc(var(--header-offset) + 10px);
  z-index:20;
  padding:14px;
  border-radius:24px;
  background:rgba(247, 251, 255, 0.94);
  backdrop-filter:blur(10px);
  box-shadow:0 14px 28px rgba(13, 42, 76, 0.08);
  border:1px solid rgba(30,77,140,0.08);
}

.transparency-tab{
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(30,77,140,0.12);
  background:#ffffff;
  color:var(--primary);
  font-weight:600;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(13, 42, 76, 0.08);
  transition:transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.transparency-tab:hover,
.transparency-tab.active{
  transform:translateY(-3px);
  background:linear-gradient(135deg, #0E2B78 0%, #1e4d8c 58%, #2b67b2 100%);
  color:#ffffff;
  border-color:rgba(255,214,51,0.4);
  box-shadow:0 16px 28px rgba(13, 42, 76, 0.16);
}

.transparency-panel{
  display:none;
}

.transparency-panel.active{
  display:block;
}

.transparency-panel-head{
  max-width:780px;
  margin-bottom:24px;
}

.transparency-panel-head h3{
  margin-bottom:10px;
  color:var(--primary);
  font-size:clamp(1.5rem, 2.3vw, 2.1rem);
}

.transparency-panel-head p{
  color:#4a6280;
  line-height:1.8;
}

.transparency-doc-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}

.transparency-doc-card{
  padding:26px;
  border-radius:26px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 16px 34px rgba(13, 42, 76, 0.1);
}

.transparency-doc-card i{
  margin-bottom:16px;
  color:var(--accent);
  font-size:1.4rem;
}

.transparency-doc-card h4{
  margin-bottom:10px;
  color:var(--primary);
  font-size:1.18rem;
}

.transparency-doc-card p{
  margin-bottom:18px;
  color:#4a6280;
  line-height:1.75;
}

.product-detail-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.product-detail-card{
  height:100%;
  overflow:hidden;
  border-radius:28px;
  box-shadow:0 18px 36px rgba(13, 42, 76, 0.1);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.product-detail-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 42px rgba(13, 42, 76, 0.14);
}

.product-detail-image{
  width:100%;
  aspect-ratio:16 / 10;
  margin-bottom:18px;
  border-radius:18px;
  object-fit:cover;
  display:block;
}

.product-detail-card p{
  line-height:1.8;
}

.products-section-head{
  max-width:760px;
  margin:0 auto 28px;
  text-align:center;
}

.products-section-head .section-title{
  margin:10px 0 12px;
}

.products-section-head p{
  font-size:1.04rem;
  line-height:1.85;
  color:#4a6280;
}

.services-section-head{
  max-width:820px;
  margin:0 auto 28px;
  text-align:center;
}

.services-section-head .section-title{
  margin:10px 0 12px;
}

.services-section-head p{
  color:#4a6280;
  line-height:1.85;
}

.product-feature-card{
  display:grid;
  grid-template-columns:minmax(340px, 0.95fr) minmax(0, 1.05fr);
  gap:0;
  overflow:hidden;
  border-radius:30px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 22px 44px rgba(13, 42, 76, 0.12);
}

.product-feature-media{
  min-height:100%;
}

.product-feature-image{
  width:100%;
  height:100%;
  min-height:340px;
  object-fit:cover;
  display:block;
}

.product-feature-copy{
  padding:36px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.product-feature-copy h3{
  margin:8px 0 14px;
  color:var(--primary);
  font-size:clamp(1.6rem, 2.6vw, 2.4rem);
}

.product-feature-copy p{
  font-size:1.04rem;
  line-height:1.9;
}

.simulator-trigger{
  margin-top:18px;
  min-height:48px;
  padding:0 20px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg, #0E2B78 0%, #1e4d8c 58%, #2b67b2 100%);
  color:#ffffff;
  font-weight:700;
  font-family:'Poppins',sans-serif;
  cursor:pointer;
  box-shadow:0 16px 28px rgba(13, 42, 76, 0.16);
  transition:transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.simulator-trigger:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 34px rgba(13, 42, 76, 0.22);
  filter:saturate(1.08);
}

.savings-intro-card{
  margin-bottom:24px;
  padding:30px 34px;
  border-radius:28px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.14), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 18px 36px rgba(13, 42, 76, 0.1);
}

.savings-intro-copy{
  max-width:760px;
}

.savings-intro-copy h3{
  margin:12px 0 12px;
  color:var(--primary);
  font-size:clamp(1.5rem, 2.4vw, 2.15rem);
}

.savings-intro-copy p{
  color:#4a6280;
  line-height:1.9;
}

.savings-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
}

.product-mini-badge{
  display:inline-flex;
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-size:0.82rem;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.product-feature-list{
  list-style:none;
  display:grid;
  gap:12px;
  margin-top:20px;
}

.product-feature-list li{
  position:relative;
  padding-left:22px;
  color:#4a6280;
  line-height:1.75;
}

.product-feature-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(255,214,51,0.18);
}

.savings-card{
  min-height:100%;
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.savings-card .product-detail-image{
  margin-bottom:16px;
}

.savings-card .product-mini-badge{
  margin-bottom:12px;
}

.simulation-popup{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:1200;
}

.simulation-popup.active{
  display:flex;
}

.simulation-popup-overlay{
  position:absolute;
  inset:0;
  background:rgba(7, 24, 45, 0.58);
  backdrop-filter:blur(6px);
}

.simulation-popup-content{
  position:relative;
  width:min(1040px, 100%);
  max-height:min(88vh, 920px);
  overflow:auto;
  border-radius:30px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:0 28px 60px rgba(7, 24, 45, 0.28);
}

.simulation-popup-header{
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:78px;
  padding:18px 24px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.98) 100%);
  border-bottom:1px solid rgba(30,77,140,0.08);
}

.simulation-popup-header h2{
  color:var(--primary);
  font-size:1.4rem;
}

.simulation-popup-close{
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  cursor:pointer;
}

.simulation-panel{
  padding:24px;
}

.simulation-form{
  padding:24px;
  border-radius:24px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 14px 32px rgba(13, 42, 76, 0.08);
}

.simulation-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.simulation-grid label{
  display:grid;
  gap:8px;
}

.simulation-grid span{
  color:var(--primary);
  font-weight:600;
}

.simulation-grid input,
.simulation-grid select{
  min-height:48px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(30,77,140,0.14);
  background:#ffffff;
  font:inherit;
}

.simulation-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.simulation-secondary-button{
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(30,77,140,0.14);
  background:#ffffff;
  color:var(--primary);
  font-weight:600;
  cursor:pointer;
}

.simulation-results{
  margin-top:18px;
}

.simulation-results-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.simulation-result-card{
  padding:20px;
  border-radius:22px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 12px 24px rgba(13, 42, 76, 0.08);
}

.simulation-result-card span{
  display:block;
  margin-bottom:10px;
  color:#4a6280;
}

.simulation-result-card strong{
  color:var(--primary);
  font-size:1.2rem;
}

.simulation-note{
  margin-top:16px;
  padding:18px 20px;
  border-radius:20px;
  background:rgba(30,77,140,0.06);
}

.simulation-note span{
  display:block;
  margin-bottom:6px;
  color:#4a6280;
}

.simulation-note strong{
  color:var(--primary);
}

.simulation-table-wrap{
  margin-top:18px;
  padding:16px;
  border-radius:22px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  overflow:auto;
}

.simulation-table{
  width:100%;
  border-collapse:collapse;
}

.simulation-table th,
.simulation-table td{
  padding:12px 10px;
  border-bottom:1px solid rgba(30,77,140,0.08);
  text-align:left;
  white-space:nowrap;
}

.simulation-table th{
  color:var(--primary);
  font-size:0.92rem;
}

.service-panel{
  display:grid;
  grid-template-columns:minmax(0, 1.25fr) minmax(280px, 0.95fr);
  gap:24px;
  padding:30px;
  border-radius:28px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 18px 36px rgba(13, 42, 76, 0.1);
}

.service-panel-copy h3,
.service-benefits h3{
  margin-bottom:12px;
  color:var(--primary);
  font-size:1.35rem;
}

.service-panel-copy p{
  line-height:1.85;
}

.service-panel-copy p + p{
  margin-top:14px;
}

.service-benefits{
  padding:24px;
  border-radius:22px;
  background:linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.service-list{
  list-style:none;
  display:grid;
  gap:12px;
}

.service-list li{
  position:relative;
  padding-left:22px;
  line-height:1.7;
  color:#4a6280;
}

.service-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(255, 214, 51, 0.18);
}

.service-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.service-access-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top:24px;
}

.service-access-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  min-height:136px;
  padding:18px;
  border-radius:22px;
  text-decoration:none;
  background:linear-gradient(135deg, #0E2B78 0%, #1e4d8c 58%, #2b67b2 100%);
  color:#ffffff;
  box-shadow:0 16px 30px rgba(13, 42, 76, 0.18);
  transition:transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.service-access-card:hover{
  transform:translateY(-6px) scale(1.01);
  box-shadow:0 24px 40px rgba(13, 42, 76, 0.24);
  filter:saturate(1.08);
}

.service-access-card i{
  font-size:1.2rem;
  color:var(--accent);
}

.service-access-card strong{
  color:#ffffff;
  font-size:1.02rem;
}

.service-access-card span{
  color:rgba(255,255,255,0.82);
  line-height:1.6;
}

.products-block{
  position:relative;
}

.products-block .container{
  padding-top:18px;
  padding-bottom:18px;
}

.products-block .section-title{
  margin-top:10px;
}

.products-block .products-section-head .page-badge{
  margin-bottom:2px;
}

.products-block-savings{
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.products-block-investments{
  background:
    radial-gradient(circle at top right, rgba(255, 214, 51, 0.18), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.products-block-credit{
  background:
    radial-gradient(circle at top left, rgba(30,77,140,0.08), transparent 26%),
    linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
}

/* TITULOS */
.section-title{
  text-align:center;
  margin:40px 0;
  color:var(--primary);
  font-size:clamp(1.85rem, 2.5vw, 2.4rem);
  line-height:1.15;
}

/* SERVICIOS */
.services-index-shell{
  padding:34px;
  border-radius:32px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.14), transparent 20%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 22px 44px rgba(13, 42, 76, 0.1);
}

.carousel-wrapper{
  position:relative;
  overflow:hidden;
  padding:0 40px;
}

.services-carousel-wrapper{
  padding:0 48px;
}

.carousel{
  display:flex;
  gap:20px;
  transition:transform 0.5s ease;
}

.card{
  flex:0 0 calc(25% - 15px);
  background:var(--white);
  border-radius:24px;
  overflow:hidden;
  text-align:center;
  box-shadow:0 14px 32px rgba(13, 42, 76, 0.1);
  border:1px solid rgba(30,77,140,0.06);
}

.card img{
  width:100%;
  aspect-ratio:4 / 3;
  height:auto;
  object-fit:cover;
  display:block;
}

.card h3{
  color:var(--primary);
  margin:14px 0 18px;
  font-size:1.08rem;
}

.service-card{
  border-radius:26px;
}

.service-card-content{
  padding:22px;
  text-align:left;
}

.service-card-tag{
  display:inline-flex;
  width:max-content;
  margin-bottom:12px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.service-card h3{
  margin:0;
}

.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:var(--white);
  color:var(--primary);
  border:none;
  width:40px;
  height:40px;
  cursor:pointer;
  border-radius:50%;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(13, 42, 76, 0.14);
}

.arrow.left{left:0;}
.arrow.right{right:0;}

/* BANNER */
.banner-full{
  position:relative;
  margin: 40px 0;
  border-radius:0;
  overflow:hidden;
  box-shadow:0 18px 36px rgba(13, 42, 76, 0.12);
}

.banner-slider{
  background:#dfe8f5;
}

.banner-slider-track{
  position:relative;
  width:100%;
  height:var(--banner-height);
}

.banner-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:opacity 0.7s ease;
  pointer-events:none;
  background:#dfe8f5;
}

.banner-slide.active{
  opacity:1;
  pointer-events:auto;
}

.banner-full img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.banner-dots{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:10px;
  z-index:2;
}

.banner-dots button{
  width:12px;
  height:12px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.55);
  cursor:pointer;
  transition:transform 0.25s ease, background 0.25s ease;
}

.banner-dots button.active{
  background:#ffffff;
  transform:scale(1.15);
}

.banner-slider .banner-arrow{
  z-index:10;
}

.cookie-consent{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:2300;
  padding:0 18px 18px;
  pointer-events:none;
  opacity:0;
  transform:translateY(18px);
  transition:opacity 0.28s ease, transform 0.28s ease;
}

.cookie-consent.active{
  opacity:1;
  transform:translateY(0);
}

.cookie-consent-card{
  width:min(1180px, 100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  padding:18px;
  border:1px solid rgba(255,255,255,0.22);
  border-radius:18px;
  background:linear-gradient(135deg, rgba(11,43,120,0.98) 0%, rgba(30,77,140,0.98) 100%);
  color:#ffffff;
  box-shadow:0 22px 50px rgba(5, 18, 42, 0.28);
  pointer-events:auto;
}

.cookie-consent-icon{
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(234,153,10,0.18);
  color:#ffd633;
  font-size:1.35rem;
}

.cookie-consent-copy h2{
  margin-bottom:6px;
  color:#ffffff;
  font-size:1.15rem;
}

.cookie-consent-copy p{
  max-width:720px;
  color:rgba(255,255,255,0.86);
  line-height:1.58;
  font-size:0.94rem;
}

.cookie-consent-actions,
.cookie-settings-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}

.cookie-button{
  min-height:44px;
  padding:0 20px;
  border:1px solid transparent;
  border-radius:999px;
  font-weight:700;
  font-size:0.9rem;
  cursor:pointer;
  transition:transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cookie-button:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(5, 18, 42, 0.18);
}

.cookie-button-primary{
  background:var(--accent);
  color:#07182d;
}

.cookie-button-secondary{
  background:#ffffff;
  color:var(--primary);
}

.cookie-button-ghost{
  background:transparent;
  border-color:rgba(255,255,255,0.45);
  color:#ffffff;
}

.cookie-settings{
  position:fixed;
  inset:0;
  z-index:2400;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  transition:opacity 0.28s ease, visibility 0.28s ease;
}

.cookie-settings.active{
  opacity:1;
  visibility:visible;
}

.cookie-settings-overlay{
  position:absolute;
  inset:0;
  background:rgba(4, 13, 28, 0.68);
  backdrop-filter:blur(5px);
}

.cookie-settings-panel{
  position:relative;
  z-index:1;
  width:min(980px, 100%);
  min-height:560px;
  max-height:88vh;
  display:grid;
  grid-template-columns:306px 1fr;
  grid-template-rows:1fr auto;
  overflow:hidden;
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 28px 70px rgba(4, 13, 28, 0.32);
}

.cookie-settings-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:5;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--primary);
  color:#ffffff;
  cursor:pointer;
  box-shadow:0 12px 24px rgba(11,43,120,0.24);
}

.cookie-settings-menu{
  grid-row:1 / span 2;
  padding:28px 24px;
  background:#f8fbff;
  border-right:1px solid rgba(30,77,140,0.08);
}

.cookie-settings-logo{
  width:178px;
  height:auto;
  display:block;
  margin-bottom:24px;
}

.cookie-tab{
  width:100%;
  min-height:48px;
  margin-bottom:10px;
  padding:10px 14px;
  border:1px solid rgba(30,77,140,0.08);
  border-radius:8px;
  background:#ffffff;
  color:var(--primary);
  text-align:left;
  text-transform:uppercase;
  font-size:0.74rem;
  line-height:1.25;
  font-weight:800;
  cursor:pointer;
  transition:background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cookie-tab.active,
.cookie-tab:hover{
  background:rgba(11,43,120,0.08);
  border-color:rgba(11,43,120,0.18);
}

.cookie-settings-content{
  overflow:auto;
  padding:50px 42px 34px;
}

.cookie-tab-panel h2{
  margin-bottom:16px;
  color:#081629;
  font-size:1.65rem;
}

.cookie-tab-panel p{
  max-width:560px;
  color:#2f3f55;
  line-height:1.78;
  font-size:0.96rem;
}

.cookie-switch-row{
  max-width:620px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:18px;
  padding:18px;
  border:1px solid rgba(30,77,140,0.1);
  border-radius:14px;
  background:#f8fbff;
}

.cookie-switch-row strong,
.cookie-switch-row small{
  display:block;
}

.cookie-switch-row strong{
  color:var(--primary);
  font-size:0.98rem;
}

.cookie-switch-row small{
  margin-top:4px;
  color:#5b6f8a;
  line-height:1.45;
}

.cookie-switch-row input{
  width:22px;
  height:22px;
  accent-color:var(--primary);
  flex:0 0 auto;
}

.cookie-settings-actions{
  grid-column:2;
  padding:22px 42px;
  border-top:1px solid rgba(30,77,140,0.08);
  background:#f8fbff;
}

@media(min-width:1280px){
  .banner-full img{
    object-fit:contain;
  }

  .banner-full:hover img{
    transform:none;
    filter:none;
  }
}

/* PRODUCTOS */
.productos.container{
  max-width:1320px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

@media(max-width:1024px){
  :root{
    --banner-height:340px;
  }

  .container{
    padding:0 18px;
  }

  .organigram-container{
    width:calc(100vw - 20px);
  }

  .page-hero{
    padding:72px 0 40px;
  }

  .page-hero-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .page-card-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .product-detail-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .product-feature-card{
    grid-template-columns:1fr;
  }

  .savings-grid{
    grid-template-columns:1fr;
  }

  .agency-grid{
    grid-template-columns:1fr;
  }

  .about-summary-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .branch-directory{
    grid-template-columns:1fr;
  }

  .branch-directory-media,
  .branch-directory-media img{
    min-height:360px;
  }

  .branch-directory-media img{
    object-position:center 38%;
  }

  .agencies-summary-grid{
    grid-template-columns:1fr;
  }

  .agency-branch-grid{
    grid-template-columns:1fr;
  }

  .branch-card{
    grid-template-columns:1fr;
    grid-template-rows:auto;
    grid-template-areas:
      "body"
      "meta"
      "map";
    gap:12px;
  }

  .branch-map{
    height:220px;
  }

  .branch-meta{
    border-top:0;
  }

  .service-panel{
    grid-template-columns:1fr;
  }

  .service-access-grid{
    grid-template-columns:1fr;
  }

  .executive-staff-shell{
    grid-template-columns:1fr;
  }

  .executive-manager-card{
    max-width:420px;
    margin:0 auto;
  }

  .org-level-middle,
  .org-level-bottom,
  .member-grid,
  .rules-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .governance-summary-grid{
    grid-template-columns:1fr;
  }

  .products-summary-grid,
  .services-summary-grid,
  .products-simulators-grid,
  .requirements-page-grid,
  .organigram-summary-grid{
    grid-template-columns:1fr;
  }

  .organigram-levels-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .products-simulators-shell{
    grid-template-columns:1fr;
    padding:24px;
  }

  .products-index-shell{
    padding:24px;
  }

  .requirements-page-shell{
    padding:24px;
  }

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

  .promo-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .contacto-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .organigram-row-dual,
  .organigram-row-areas,
  .organigram-row-areas-four{
    grid-template-columns:1fr;
  }

  .organigram-diagram{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    min-width:0;
  }

  .organigram-assembly,
  .organigram-commissions-top,
  .organigram-admin,
  .organigram-vigilance,
  .organigram-control-stack,
  .organigram-legend,
  .organigram-committees-left,
  .organigram-gerencia,
  .organigram-cumplimiento,
  .organigram-riesgos,
  .organigram-assistant,
  .organigram-legal,
  .organigram-bottom-grid{
    grid-column:auto;
    grid-row:auto;
  }

  .organigram-row-support,
  .organigram-row-commissions{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .organigram-subgrid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .organigram-bottom-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .organigram-pdf-head{
    flex-direction:column;
    align-items:flex-start;
  }
}

.card-product{
  text-decoration:none;
  color:inherit;
  background:var(--white);
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 14px 32px rgba(13, 42, 76, 0.1);
  border:1px solid rgba(30,77,140,0.06);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.card-product:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 30px rgba(0,0,0,0.14);
}

.card-product img{
  width:100%;
  aspect-ratio:16 / 10;
  min-height:250px;
  height:auto;
  object-fit:cover;
  display:block;
}

.card-product-content{
  padding:24px;
}

.card-product-tag{
  display:inline-flex;
  width:max-content;
  margin-bottom:12px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(30,77,140,0.08);
  color:var(--primary);
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.card-product h3{
  color:var(--primary);
  margin-bottom:8px;
  font-size:1.18rem;
}

.card-product p{
  color:#4a6280;
}

.highlight{
  background:var(--primary);
  color:var(--white);
}

.highlight h3,
.highlight p{
  color:var(--white);
}

/* INFO */
.info{
  min-height:300px;
  display:flex;
  align-items:center;
  text-align:left;
  background:
    linear-gradient(135deg, #ffcf1a 0%, #ffe27a 100%);
  margin:40px 0;
  overflow:hidden;
}

.info .container{
  position:relative;
  width:100%;
  padding:56px 28px 28px;
  min-height:470px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

.info-title-block{
  position:absolute;
  top:50%;
  left:26px;
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
  transform:translateY(-58%);
}

.info-title-top,
.info-title-bottom{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 18px;
  border-radius:18px;
  color:#ffffff;
  font-family:'Poppins',sans-serif;
  font-size:clamp(2rem, 3vw, 2.55rem);
  line-height:1;
  letter-spacing:-0.03em;
  box-shadow:0 16px 28px rgba(17, 49, 94, 0.18);
}

.info-title-top{
  margin-left:72px;
  background:#2e86ef;
}

.info-title-bottom{
  min-width:360px;
  background:#18386c;
}

.info-carousel{
  position:relative;
  min-height:360px;
  margin-left:clamp(260px, 28vw, 400px);
  padding:14px 28px 0 0;
}

.info-slide{
  display:none;
  position:relative;
  min-height:350px;
  border-radius:28px;
  overflow:hidden;
  border:3px solid rgba(255,255,255,0.88);
  background-size:cover;
  background-position:center;
  box-shadow:0 24px 44px rgba(111, 81, 0, 0.18);
  padding:0;
}

.info-slide::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(13, 42, 76, 0.12) 0%, rgba(13, 42, 76, 0.08) 45%, rgba(13, 42, 76, 0.2) 100%);
}

.info-slide:nth-child(1){
  background-image:url("../img/index/confianza-respalda-crecimiento.jpg");
}

.info-slide:nth-child(2){
  background-image:url("../img/index/compromiso-comunidad.jpg");
}

.info-slide:nth-child(3){
  background-image:url("../img/index/compromiso-comunidad.jpg");
}

.info-slide:nth-child(4){
  background-image:url("../img/index/inpulsamos-oportunidades.jpg");
}

.info-slide.active{
  display:block;
}

.info-slide h3{
  position:absolute;
  right:56px;
  bottom:100px;
  z-index:2;
  width:min(100%, 430px);
  margin:0;
  font-size:clamp(1.5rem, 2vw, 2.2rem);
  color:#ffffff;
  line-height:1.18;
  text-shadow:0 3px 14px rgba(8, 24, 46, 0.4);
}

.info-slide p{
  position:absolute;
  right:56px;
  bottom:52px;
  z-index:2;
  width:min(100%, 430px);
  margin:0;
  font-size:1rem;
  line-height:1.6;
  color:rgba(255,255,255,0.92);
  text-shadow:0 2px 10px rgba(8, 24, 46, 0.38);
}

.info p{
  color:#fff;
}

.info-slide.active::after{
  content:"";
  position:absolute;
  right:28px;
  bottom:24px;
  width:min(470px, calc(100% - 56px));
  height:174px;
  border-radius:26px;
  background:linear-gradient(135deg, rgba(14, 41, 84, 0.94) 0%, rgba(34, 80, 155, 0.9) 100%);
  box-shadow:0 18px 36px rgba(13, 42, 76, 0.28);
  backdrop-filter:blur(4px);
}

.info-dots{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:22px;
}

.info-dots button{
  width:14px;
  height:14px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.55);
  cursor:pointer;
}

.info-dots button.active{
  background:var(--primary);
}

/* NOTICIAS */
.noticias{
  padding:30px 0 70px;
}

.noticias .container{
  padding:34px;
  border-radius:32px;
  background:
    radial-gradient(circle at top right, rgba(255,214,51,0.12), transparent 18%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 22px 44px rgba(13, 42, 76, 0.1);
}

.news-carousel{
  position:relative;
  padding:0 58px;
}

.news-track{
  position:relative;
  min-height:360px;
}

.news-slide{
  display:none;
  grid-template-columns:minmax(0, 1fr) minmax(320px, 480px);
  align-items:center;
  gap:32px;
  background:linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
  border-radius:28px;
  padding:34px;
  box-shadow:0 18px 40px rgba(16, 44, 78, 0.12);
}

.news-slide.active{
  display:grid;
}

.news-content h3{
  font-family:'Poppins',sans-serif;
  font-size:2rem;
  color:var(--primary);
  margin-bottom:16px;
}

.news-content p{
  font-size:1rem;
  line-height:1.7;
  color:#4a6280;
}

.news-tag{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(30,77,140,0.1);
  color:var(--primary);
  font-weight:600;
  font-family:'Poppins',sans-serif;
}

.news-image img{
  width:100%;
  aspect-ratio:4 / 3;
  min-height:320px;
  height:auto;
  object-fit:cover;
  border-radius:var(--index-media-radius);
  display:block;
}

.news-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  background:var(--primary);
  color:var(--white);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
  box-shadow:0 8px 18px rgba(16, 44, 78, 0.2);
}

.news-arrow.left{left:0;}
.news-arrow.right{right:0;}

.news-dots{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:24px;
}

.news-dots button{
  width:12px;
  height:12px;
  border:none;
  border-radius:50%;
  background:#bfd0e3;
  cursor:pointer;
}

.news-dots button.active{
  background:var(--primary);
}

/* CONTACTO */
.contacto{
  background:var(--primary);
  color:var(--white);
  text-align:center;
  padding:40px;
}

/* FOOTER */
footer{
  background:#fff;
  color:var(--primary);
  text-align:center;
  padding:20px;
}

footer p{
  margin:0;
  color:inherit;
}

/* AJUSTES DE DISENO ACTUAL */
:root{
  --primary-dark:#123461;
  --primary-soft:#2d67b3;
}

body{
  background:linear-gradient(180deg, #f7fbff 0%, #ffffff 22%, #f8fafc 100%);
}

img{
  transition:transform 0.55s ease, filter 0.55s ease;
}

.menu-toggle::before{
  content:"\2630";
}

.topbar{
  border-bottom:1px solid rgba(255,255,255,0.12);
  background:rgba(7, 24, 45, 0.24);
}

.topbar-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:44px;
}

.topbar-info,
.topbar-links{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.topbar-info{
  color:var(--white);
}

.topbar-info span{
  color:var(--white);
}

.topbar-social{
  display:flex;
  align-items:center;
  gap:10px;
}

.topbar-social a{
  width:32px;
  height:32px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#ffffff;
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.16);
  text-decoration:none;
  transition:transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.topbar-social a:hover{
  transform:translateY(-2px) scale(1.04);
  background:rgba(255,214,51,0.2);
  border-color:rgba(255,214,51,0.5);
  box-shadow:0 10px 18px rgba(7,24,45,0.16);
}

.topbar-social a i{
  color:#ffffff;
  font-size:0.88rem;
}

.bank-link,
.bank-link-primary{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 14px;
  color:#15365f;
  font-size:0.92rem;
  font-weight:600;
  border:1px solid rgba(255, 214, 51, 0.7);
  border-radius:999px;
  background:linear-gradient(135deg, #ea990a 0%, #ffe27a 100%);
  text-decoration:none;
  transition:color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.bank-link i,
.bank-link-primary i{
  color:#15365f;
}

.bank-link:hover,
.bank-link-primary:hover{
  color:#0d2e57;
  border-color:#ffe27a;
  background:linear-gradient(135deg, #ffcf1a 0%, #ffd95c 100%);
  box-shadow:0 12px 22px rgba(7,24,45,0.2);
  transform:translateY(-2px) scale(1.02);
}

.mobile-bank-links{
  display:none;
}

.logo-link:hover .logo-img{
  transform:scale(1.03);
}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

.reveal-item{
  opacity:0;
  transform:translateY(20px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible .reveal-item{
  opacity:1;
  transform:translateY(0);
}

.reveal.is-visible .reveal-item:nth-child(2){transition-delay:0.08s;}
.reveal.is-visible .reveal-item:nth-child(3){transition-delay:0.16s;}
.reveal.is-visible .reveal-item:nth-child(4){transition-delay:0.24s;}

.card{
  transition:transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 30px rgba(0,0,0,0.13);
}

.card:hover img{
  transform:scale(1.04);
}

.banner-full img{
  border-radius:0;
}

.banner-full:hover img{
  transform:scale(1.02);
  filter:saturate(1.05);
}

.card-product:hover img{
  transform:scale(1.04);
}

.news-slide{
  transition:transform 0.4s ease, box-shadow 0.4s ease;
}

.news-slide.active:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 48px rgba(16, 44, 78, 0.16);
}

.news-slide.active:hover .news-image img{
  transform:scale(1.03);
}

.promociones{
  padding:10px 0 70px;
}

.promo-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.promo-card{
  position:relative;
  padding:30px;
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 18px 36px rgba(13, 42, 76, 0.1);
  transition:transform 0.35s ease, box-shadow 0.35s ease;
  border:1px solid rgba(30,77,140,0.06);
}

.promo-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 44px rgba(13, 42, 76, 0.15);
}

.promo-image{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
  margin-bottom:18px;
  padding:18px;
  border-radius:var(--index-media-radius);
  background:rgba(255,255,255,0.64);
}

.promo-image img{
  width:100%;
  max-width:100%;
  max-height:140px;
  height:100%;
  object-fit:contain;
  display:block;
}

.promo-card:hover .promo-image img{
  transform:scale(1.03);
}

.promo-card-cosede{
  background:linear-gradient(135deg, #eff6ff 0%, #ddeafe 100%);
}

.promo-card-educate{
  background:linear-gradient(135deg, #fff8df 0%, #fff0b8 100%);
}

.promo-card-uafe{
  background:linear-gradient(135deg, #eef5f0 0%, #dceadf 100%);
}

.promo-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 14px;
  margin-bottom:18px;
  border-radius:999px;
  background:rgba(255,255,255,0.72);
  color:var(--primary);
  font-size:0.84rem;
  font-weight:700;
  letter-spacing:0.05em;
}

.promo-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  background:var(--primary);
  color:var(--white);
  transition:transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow:0 10px 22px rgba(16, 44, 78, 0.14);
}

.promo-link:hover{
  transform:translateY(-3px) scale(1.02);
  background:var(--primary-soft);
  box-shadow:0 16px 28px rgba(16, 44, 78, 0.22);
}

.testimonials-section,
.allies-section{
  background:
    radial-gradient(circle at top right, rgba(234,153,10,0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.testimonial-video-player{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap:24px;
}

.allies-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.testimonial-video-player,
.ally-card{
  overflow:hidden;
  border-radius:24px;
  background:#ffffff;
  border:1px solid rgba(30,77,140,0.08);
  box-shadow:0 16px 36px rgba(13, 42, 76, 0.1);
}

.ally-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 42px rgba(13, 42, 76, 0.14);
}

.testimonial-video-stage{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 18% 18%, rgba(234,153,10,0.22), transparent 28%),
    linear-gradient(135deg, #081f42, #143d76);
}

.testimonial-main-video{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  min-height:360px;
  background:#081f42;
  object-fit:contain;
}

.testimonial-video-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  max-height:520px;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:18px;
  background:linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  scrollbar-color:rgba(30,77,140,0.42) rgba(30,77,140,0.08);
  scrollbar-width:thin;
}

.testimonial-video-list::-webkit-scrollbar{
  width:8px;
}

.testimonial-video-list::-webkit-scrollbar-track{
  background:rgba(30,77,140,0.08);
  border-radius:999px;
}

.testimonial-video-list::-webkit-scrollbar-thumb{
  background:rgba(30,77,140,0.42);
  border-radius:999px;
}

.testimonial-video-list::-webkit-scrollbar-thumb:hover{
  background:rgba(30,77,140,0.62);
}

.testimonial-video-item{
  display:grid;
  grid-template-columns:74px minmax(0, 1fr);
  align-items:center;
  gap:14px;
  width:100%;
  padding:12px;
  border:1px solid rgba(30,77,140,0.12);
  border-radius:18px;
  background:#ffffff;
  color:var(--text);
  text-align:left;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(13, 42, 76, 0.08);
  transition:transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-video-item:hover,
.testimonial-video-item.is-active{
  transform:translateY(-2px);
  border-color:rgba(234,153,10,0.58);
  box-shadow:0 14px 28px rgba(13, 42, 76, 0.12);
}

.testimonial-video-thumb{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:74px;
  aspect-ratio:16 / 10;
  border-radius:14px;
  background:
    linear-gradient(135deg, rgba(11,43,120,0.86), rgba(30,77,140,0.72)),
    url("../img/index/confianza-respalda-crecimiento.jpg") center/cover no-repeat;
  color:#ffffff;
  font-size:1.35rem;
  box-shadow:0 10px 18px rgba(7, 24, 45, 0.16);
}

.testimonial-video-copy{
  display:grid;
  gap:6px;
  min-width:0;
  overflow:hidden;
}

.ally-card{
  padding:26px;
}

.testimonial-video-copy .product-mini-badge{
  width:max-content;
}

.testimonial-video-copy strong{
  display:block;
  color:var(--primary);
  font-size:0.98rem;
  line-height:1.3;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.testimonial-video-copy small{
  display:block;
  color:var(--muted);
  font-size:0.82rem;
  line-height:1.45;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.testimonial-video-copy h3,
.ally-card h3{
  margin:12px 0 10px;
  font-size:1.18rem;
}

.testimonial-video-copy p,
.ally-card p{
  line-height:1.8;
}

.ally-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  margin-bottom:18px;
  border-radius:20px;
  background:rgba(30,77,140,0.1);
  color:var(--accent);
  font-size:1.45rem;
}

.ally-detail-list{
  display:grid;
  gap:12px;
  margin-top:20px;
  padding:0;
  list-style:none;
}

.ally-detail-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#4a6280;
  line-height:1.6;
}

.ally-detail-list i{
  flex:0 0 auto;
  margin-top:4px;
  color:var(--accent);
}

.contacto{
  padding:56px 0;
  text-align:left;
  background:
    linear-gradient(135deg, rgba(237, 246, 251, 0.92) 0%, rgba(249, 252, 255, 0.9) 52%, rgba(255, 255, 255, 0.92) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color:var(--primary);
}

.contacto-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:30px;
}

.contacto-col{
  position:relative;
  padding:28px 24px;
  padding-right:30px;
  border-radius:24px;
  background:rgba(255,255,255,0.72);
  border:1px solid rgba(18, 52, 97, 0.1);
  box-shadow:0 18px 40px rgba(16, 44, 78, 0.08);
  backdrop-filter:blur(10px);
  min-height:100%;
  overflow:hidden;
}

.contacto-col::before{
  content:"";
  position:absolute;
  top:18px;
  left:0;
  width:4px;
  height:56px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--primary) 0%, var(--primary-soft) 100%);
}

.contacto-col:not(:last-child)::after{
  content:"";
  position:absolute;
  top:4px;
  right:-15px;
  width:1px;
  height:calc(100% - 8px);
  background:linear-gradient(180deg, rgba(18, 52, 97, 0) 0%, rgba(18, 52, 97, 0.18) 14%, rgba(18, 52, 97, 0.28) 50%, rgba(18, 52, 97, 0.18) 86%, rgba(18, 52, 97, 0) 100%);
}

.contacto-col h2{
  font-family:'Poppins',sans-serif;
  font-size:1.35rem;
  margin-bottom:18px;
  padding-left:12px;
}

.contacto-col p,
.contacto-col li,
.contacto-col a{
  color:var(--primary);
  line-height:1.8;
  text-decoration:none;
}

.contact-link{
  display:flex;
  align-items:flex-start;
  gap:10px;
  overflow-wrap:anywhere;
  word-break:break-word;
  width:100%;
  transition:color 0.25s ease, transform 0.25s ease;
}

.contact-link i{
  flex:0 0 auto;
  margin-top:6px;
  transition:color 0.25s ease;
}

.contact-link span{
  transition:color 0.25s ease;
}

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

.contacto-col li a{
  display:inline-flex;
  align-items:flex-start;
  transition:color 0.25s ease, transform 0.25s ease;
}

.app-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.app-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:1 1 160px;
  gap:8px;
  min-height:48px;
  padding:0 18px;
  border-radius:16px;
  background:var(--primary);
  color:var(--white);
  text-decoration:none;
  font-weight:600;
  transition:background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow:0 10px 22px rgba(16, 44, 78, 0.14);
}

.app-link:hover{
  background:var(--primary-soft);
  transform:translateY(-4px) scale(1.02);
  box-shadow:0 18px 32px rgba(16, 44, 78, 0.22);
}

.app-link i,
.app-link span{
  color:var(--white);
}

.social-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.social-links a{
  width:52px;
  height:48px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--primary);
  color:var(--white);
  transition:background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow:0 10px 22px rgba(16, 44, 78, 0.14);
}

.social-links a:hover{
  background:var(--primary-soft);
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(16, 44, 78, 0.18);
}

.social-links a i{
  color:var(--white);
}

.contacto-col a:hover{
  color:var(--primary-soft);
}

.contact-link:hover{
  transform:translateX(4px);
}

.contact-link:hover i,
.contact-link:hover span,
.contacto-col li a:hover{
  color:var(--primary-soft);
}

.contacto-col li a:hover{
  transform:translateX(4px);
}

.back-to-top{
  position:fixed;
  right:24px;
  bottom:24px;
  width:48px;
  height:48px;
  border:none;
  border-radius:50%;
  background:var(--primary);
  color:var(--white);
  cursor:pointer;
  box-shadow:0 12px 24px rgba(16, 44, 78, 0.2);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
  z-index:1200;
}

.back-to-top.visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.back-to-top:hover{
  background:var(--primary-soft);
}

/* MOBILE */
@media(max-width:768px){
  .cookie-consent{
    padding:0 12px 12px;
  }

  .cookie-consent-card{
    grid-template-columns:1fr;
    gap:14px;
    padding:18px;
    border-radius:16px;
  }

  .cookie-consent-icon{
    width:46px;
    height:46px;
  }

  .cookie-consent-copy h2{
    font-size:1.05rem;
  }

  .cookie-consent-copy p{
    font-size:0.86rem;
  }

  .cookie-consent-actions,
  .cookie-settings-actions{
    width:100%;
    justify-content:stretch;
  }

  .cookie-button{
    flex:1 1 100%;
    width:100%;
  }

  .cookie-settings{
    padding:12px;
  }

  .cookie-settings-panel{
    min-height:auto;
    max-height:92vh;
    grid-template-columns:1fr;
    grid-template-rows:auto 1fr auto;
    overflow:auto;
    border-radius:16px;
  }

  .cookie-settings-menu{
    grid-row:auto;
    padding:22px 18px 12px;
    border-right:0;
    border-bottom:1px solid rgba(30,77,140,0.08);
  }

  .cookie-settings-logo{
    width:150px;
    margin-bottom:18px;
  }

  .cookie-tab{
    min-height:42px;
    font-size:0.68rem;
  }

  .cookie-settings-content{
    overflow:visible;
    padding:24px 18px;
  }

  .cookie-tab-panel h2{
    max-width:calc(100% - 48px);
    font-size:1.22rem;
  }

  .cookie-tab-panel p{
    font-size:0.9rem;
  }

  .cookie-switch-row{
    align-items:flex-start;
    padding:16px;
  }

  .cookie-settings-actions{
    grid-column:auto;
    padding:18px;
  }

  .branch-directory{
    gap:20px;
  }

  .branch-directory-media,
  .branch-directory-media img{
    min-height:260px;
  }

  .branch-directory-media{
    border-radius:18px;
  }

  .branch-directory-table-wrap{
    overflow-x:auto;
    border-radius:14px;
  }

  .branch-directory-table{
    min-width:620px;
  }

  .branch-directory-table th{
    padding:12px 16px;
    font-size:1rem;
  }

  .branch-directory-table td{
    padding:10px 38px 10px 18px;
    font-size:0.84rem;
  }

  .branch-directory-table td:first-child{
    font-size:0.92rem;
  }

  .branch-directory-table td:last-child::after{
    right:16px;
    width:10px;
    height:10px;
  }

  :root{
    --banner-height:240px;
  }

  .container{
    padding:0 16px;
  }

  .organigram-container{
    width:100%;
  }

  .promo-popup{
    padding:16px;
  }

  .promo-popup-content{
    max-height:90vh;
    overflow:auto;
  }

  .promo-popup-media{
    height:min(72vh, 420px);
  }

  .logo-img{
    height:var(--logo-height-mobile);
  }

  .header-container{
    gap:12px;
    padding:12px 16px;
    flex-wrap:nowrap;
  }

  .topbar{
    display:none;
  }

  .menu-toggle{
    display:block;
  }

  .logo-desktop{
    display:none;
  }

  .mobile-bank-links{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    margin-left:auto;
  }

  .logo-mobile-top{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    padding-right:2px;
  }

  .logo-mobile-top .logo-img{
    height:32px;
    width:auto;
    max-width:none;
  }

  .mobile-bank-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:38px;
    padding:0 12px;
    border-radius:999px;
    text-decoration:none;
    font-size:0.82rem;
    font-weight:600;
    color:#ffffff;
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.2);
    white-space:nowrap;
  }

  .mobile-bank-link.bank-link,
  .mobile-bank-link.bank-link-primary{
    color:#15365f;
    border:1px solid rgba(255, 214, 51, 0.7);
    background:linear-gradient(135deg, #ea990a 0%, #ffe27a 100%);
    box-shadow:0 10px 22px rgba(10, 31, 58, 0.12);
  }

  .mobile-bank-link i{
    font-size:0.82rem;
    color:#ffffff;
  }

  .mobile-bank-link.bank-link i,
  .mobile-bank-link.bank-link-primary i,
  .mobile-bank-link.bank-link span,
  .mobile-bank-link.bank-link-primary span{
    color:#15365f;
  }

  .about-stat{
    padding:24px 20px;
  }

  .about-stat-value{
    font-size:2rem;
  }

  .about-section-head{
    margin-bottom:24px;
  }

  .agencies-stat{
    padding:24px 20px;
  }

  .agencies-stat-value{
    font-size:2rem;
  }

  .agencies-section-head{
    margin-bottom:24px;
  }

  nav{
    position:fixed;
    left:-100%;
    top:0;
    width:min(320px, 86vw);
    height:100dvh;
    background:linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 65%, var(--primary-soft) 100%);
    justify-content:flex-start;
    align-items:flex-start;
    padding:88px 18px 28px;
    transition:left 0.3s ease;
    z-index:1100;
    box-shadow:10px 0 30px rgba(0,0,0,0.2);
    overflow-y:auto;
    overscroll-behavior:contain;
  }

  nav.active{
    left:0;
  }

  nav ul{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:10px;
    width:100%;
    padding:0;
    margin-top:2px;
  }

  nav li,
  nav a{
    width:100%;
  }

  nav li{
    border-bottom:1px solid rgba(255,255,255,0.08);
    padding-bottom:10px;
  }

  .nav-item-row{
    width:100%;
    align-items:stretch;
    gap:8px;
  }

  .nav-item-row .nav-link{
    min-width:0;
  }

  .submenu-toggle{
    display:inline-flex;
    margin-top:3px;
    flex:0 0 40px;
    width:40px;
    height:40px;
  }

  .submenu-toggle i{
    transition:transform 0.25s ease;
  }

  .nav-item-has-submenu.submenu-open .submenu-toggle i{
    transform:rotate(180deg);
  }

  .mega-menu{
    position:static;
    left:auto;
    right:auto;
    width:100%;
    padding:6px 0 0 4px;
    border-radius:0;
    background:transparent;
    border:none;
    box-shadow:none;
    display:none;
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
  }

  .nav-item-has-submenu.submenu-open .mega-menu{
    display:block;
  }

  .mega-menu-intro{
    display:none;
  }

  .mega-menu-links{
    grid-template-columns:1fr;
    gap:8px;
  }

  .mega-menu-link{
    min-height:auto;
    padding:9px 10px;
    border-radius:12px;
    background:rgba(255,255,255,0.06);
    border:none;
    box-shadow:none;
    gap:4px;
  }

  .mega-menu-link:hover{
    transform:none;
    background:rgba(255,255,255,0.08);
    border-color:transparent;
    box-shadow:none;
  }

  .mega-menu-link i{
    display:none;
  }

  .nav-dropdown-icon{
    display:none;
  }

  .mega-menu-link span{
    font-size:0.89rem;
    color:rgba(255,255,255,0.88);
    line-height:1.3;
    white-space:normal;
    word-break:normal;
    overflow-wrap:normal;
  }

  .mega-menu-link small{
    display:none;
  }

  .mega-menu-link.active{
    background:rgba(255, 214, 51, 0.12);
  }

  .mega-menu-link.active span{
    color:var(--accent);
  }

  nav a{
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    text-align:left;
    font-size:0.92rem;
    padding:11px 12px;
    min-height:46px;
    border-radius:14px;
    background:rgba(255,255,255,0.06);
    box-shadow:none;
    line-height:1.25;
    overflow-wrap:normal;
    word-break:normal;
  }

  nav a i{
    font-size:0.9rem;
    flex:0 0 16px;
  }

  nav a span{
    white-space:normal;
    word-break:normal;
    overflow-wrap:normal;
  }

  .nav-item-row .nav-link span{
    white-space:nowrap;
    font-size:0.88rem;
  }

  nav a:hover{
    transform:none;
    background:rgba(255,255,255,0.1);
  }

  nav a::after{
    display:none;
  }

  nav a.active{
    color:#0d2e57;
    background:linear-gradient(135deg, #ffd633 0%, #ffe27a 100%);
    box-shadow:none;
  }

  nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:2px;
    width:100%;
    height:3px;
    border-radius:999px;
    background:linear-gradient(90deg, var(--accent) 0%, #ffe27a 100%);
    transform:scaleX(0);
    transform-origin:center;
    transition:transform 0.25s ease;
  }

  nav a::before{
    display:none;
  }

  nav a.active{
    color:var(--white);
    background:transparent;
    box-shadow:none;
  }

  nav a.active::after,
  nav a:hover::after{
    transform:scaleX(1);
  }

  .right{
    display:none;
  }

  .hero{
    min-height:520px;
    height:70vh;
  }

  .hero-content{
    top:50%;
    transform:translateY(-50%);
  }

  .hero-content h1{
    font-size:clamp(2rem, 8vw, 3rem);
  }

  .hero-content p{
    font-size:1rem;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .card-product img{
    min-height:200px;
  }

  .card img{
    min-height:200px;
  }

  .banner-slider-track,
  .banner-full img{
    height:var(--banner-height);
  }

  .banner-slider .arrow.left{
    left:0;
  }

  .banner-slider .arrow.right{
    right:0;
  }

  .page-hero{
    padding:62px 0 32px;
    min-height:360px;
  }

  .page-hero-copy h1{
    font-size:clamp(1.95rem, 8vw, 2.8rem);
  }

  .page-hero-copy p{
    font-size:1rem;
    line-height:1.7;
  }

  .page-hero-card,
  .info-card{
    padding:22px;
  }

  .section-title{
    margin:28px 0;
  }

  .info{
    min-height:auto;
    padding:48px 0;
  }

  .info-title-block{
    position:relative;
    top:auto;
    left:auto;
    margin-bottom:22px;
    gap:12px;
    transform:none;
  }

  .info-title-top,
  .info-title-bottom{
    font-size:clamp(1.8rem, 7vw, 2.4rem);
    min-height:48px;
    padding:0 16px;
  }

  .info-title-top{
    margin-left:0;
  }

  .info-title-bottom{
    min-width:0;
  }

  .info-carousel{
    min-height:280px;
    margin-left:0;
    padding:0;
  }

  .info-slide{
    min-height:320px;
  }

  .info-slide.active::after{
    right:14px;
    bottom:14px;
    width:calc(100% - 28px);
    height:188px;
  }

  .info-slide h3,
  .info-slide p{
    left:28px;
    right:28px;
    width:auto;
  }

  .info-slide h3{
    bottom:122px;
  }

  .info-slide p{
    bottom:34px;
  }

  .page-hero-grid,
  .page-card-grid{
    grid-template-columns:1fr;
  }

  .requirements-feature-grid,
  .requirements-page-grid{
    grid-template-columns:1fr;
  }

  .product-detail-grid{
    grid-template-columns:1fr;
  }

  .products-section-head{
    margin-bottom:22px;
  }

  .services-section-head{
    margin-bottom:22px;
  }

  .services-index-shell{
    padding:24px;
  }

  .requirements-page-shell{
    padding:24px;
  }

  .info .container,
  .noticias .container{
    padding:24px;
  }

  .services-carousel-wrapper{
    padding:0 40px;
  }

  .agencies-shortcuts{
    top:calc(var(--header-offset) + 6px);
    padding:10px;
    margin-bottom:22px;
  }

  .product-feature-copy{
    padding:24px;
  }

  .simulation-grid,
  .simulation-results-grid{
    grid-template-columns:1fr;
  }

  .product-feature-image{
    min-height:240px;
  }

  .agency-card{
    padding:24px;
  }

  .province-section{
    padding:24px;
  }

  .province-header{
    flex-direction:column;
    align-items:flex-start;
    margin-bottom:18px;
  }

  .agency-branch-grid{
    grid-template-columns:1fr;
  }

  .org-level-top,
  .org-level-middle,
  .org-level-bottom,
  .member-grid,
  .rules-grid{
    grid-template-columns:1fr;
  }

  .org-level-top::after,
  .org-level-middle::before,
  .org-level-middle::after{
    display:none;
  }

  .org-node,
  .member-card,
  .rule-card,
  .executive-staff-shell{
    padding:22px;
  }

  .executive-team-item{
    grid-template-columns:30px minmax(0, 1fr);
  }

  .organigram-shell{
    padding:22px;
  }

  .organigram-diagram,
  .organigram-bottom-grid,
  .organigram-levels-grid{
    grid-template-columns:1fr;
    min-width:100%;
    width:100%;
  }

  .organigram-shell{
    overflow-x:visible;
  }

  .organigram-pdf-head{
    padding:18px;
  }

  .organigram-pdf-button{
    width:100%;
  }

  .organigram-pdf-frame{
    height:min(72vh, 760px);
  }

  .organigram-row-single,
  .organigram-row-dual,
  .organigram-row-support,
  .organigram-row-areas,
  .organigram-row-areas-four,
  .organigram-row-commissions,
  .organigram-subgrid{
    grid-template-columns:1fr;
  }

  .organigram-box,
  .organigram-subbox{
    padding:20px;
  }

  .organigram-legend{
    padding:20px;
  }

  .service-panel{
    padding:22px;
  }

  .simulation-popup{
    padding:14px;
  }

  .simulation-popup-header{
    padding:16px 18px;
  }

  .simulation-panel,
  .simulation-form{
    padding:18px;
  }

  .service-benefits{
    padding:20px;
  }

  .pdf-popup{
    padding:14px;
  }

  .pdf-popup-content{
    height:min(86vh, 760px);
    border-radius:22px;
  }

  .pdf-popup-header{
    min-height:64px;
    padding:14px 18px;
  }

  .pdf-popup-header h2{
    font-size:1.08rem;
  }

  .pdf-popup-frame{
    height:calc(100% - 64px);
  }

  .form-page-shell{
    padding:24px;
  }

  .form-highlights{
    grid-template-columns:1fr;
  }

  .complaint-top-layout{
    grid-template-columns:1fr;
  }

  .institutional-form{
    padding:22px;
  }

  .form-grid-two{
    grid-template-columns:1fr;
  }

  .form-actions{
    flex-direction:column;
  }

  .form-button{
    width:100%;
  }

  .transparency-shell{
    padding:24px;
  }

  .transparency-doc-grid{
    grid-template-columns:1fr;
  }

  .card{
    flex:0 0 100%;
  }

  .news-carousel{
    padding:0;
  }

  .news-track{
    min-height:auto;
  }

  .news-slide,
  .news-slide.active{
    grid-template-columns:1fr;
    padding:24px;
  }

  .news-content h3{
    font-size:1.5rem;
  }

  .news-image{
    order:-1;
  }

  .news-image img{
    min-height:220px;
  }

  .news-arrow{
    top:auto;
    bottom:-62px;
    transform:none;
  }

  .news-arrow.left{
    left:calc(50% - 56px);
  }

  .news-arrow.right{
    right:calc(50% - 56px);
  }

  .news-dots{
    margin-top:78px;
  }

  .promo-grid,
  .testimonial-video-player,
  .allies-grid,
  .contacto-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .testimonial-main-video{
    min-height:auto;
  }

  .testimonial-video-list{
    max-height:420px;
    padding:16px;
  }

  .testimonial-video-item{
    grid-template-columns:68px minmax(0, 1fr);
  }

  .testimonial-video-thumb{
    width:68px;
  }

  .contacto-col{
    padding:24px 20px;
    padding-right:20px;
  }

  .contacto-col:not(:last-child)::after{
    display:none;
  }

  .contacto{
    padding:44px 0;
  }

  .app-link{
    flex:1 1 calc(50% - 12px);
  }

  .social-links a{
    width:48px;
    height:48px;
  }

  .app-links,
  .social-links{
    justify-content:flex-start;
  }

  .promo-card{
    padding:24px;
  }

  .promo-card h3{
    font-size:1.45rem;
  }

  .promo-image{
    min-height:160px;
  }

  .promo-image img{
    max-height:120px;
  }

  .back-to-top{
    right:16px;
    bottom:16px;
  }
}

@media(min-width:769px){
  .mobile-bank-links{
    display:none;
  }

  .logo-mobile-top{
    display:none;
  }
}

@media(min-width:769px) and (max-width:1260px){
  nav ul{
    gap:6px;
    padding:8px 8px;
  }

  nav a{
    gap:6px;
    padding:10px 8px;
    font-size:0.82rem;
  }

  .header-container{
    gap:10px;
  }

  .logo-img{
    height:48px;
  }
}
