:root {
  --brand:#005FBE;
  --brand-700:#0A58B5;
  --brand-900:#0A3E8D;
  --fuente-oscura: #1F085A;
  --blue-ink: #1F2A62;
  --gradiente-oscura: #001742F2;
  --brand-500:#2A7DD8;
  --gradiente-clara: #00A5E5;
  --gris-letra: #484D45;
  --gradiente-media: #004085;
  --azul-opaco: #0070BA;
  --ink:#24324A;
  --blanco-tenue: #F5F5F5;
  --shadow:0 10px 30px rgba(0,0,0,0.15);
  --open-delay: 0.15s;
  --radius: 12px;
  --max: 1200px;
  --title-font-desk: 30px;
  --title-font-mob: 24px;
  --p-font-desk: 18px;
  --p-font-mob: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #F2F2F2;
}

.pill{
  background: linear-gradient(
    90deg,
    var(--gradiente-oscura) 0%,
    var(--gradiente-media) 50%,
    var(--gradiente-clara) 100%
  );
  color:#fff; padding:0.12em 0.5em; border-radius:999px;
  white-space: nowrap;
}

.ancho-maximo {
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

/* form extras */

.elq-required{
    color:red!important;
    display:inline;
    font-size: 12px;
    float:none;
    font-weight:700;
    margin-left: 3px;
    padding:0;
}


/* Header */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  pointer-events:auto;
}
.header-bar{
  pointer-events:auto;
  max-width:var(--max);
  margin:14px auto 0;
  padding:10px 16px;
  display:flex; align-items:center; justify-content:space-between; gap:18px; 
  background:#fff; border-radius: 38px; box-shadow:var(--shadow);
}
.brand{display:flex;align-items:center;flex-shrink:0}
.logo{height:49px;display:block}
.logo--white{display:none} 
.nav{ position:relative; margin-left:auto; z-index:2 }  
.menu, .menu ul{list-style:none !important;margin:0;padding:0}
.menu{
  display:flex; align-items:center; gap:32px;
}
.menu > .menu-item{
  position:relative; display:flex; align-items:center; gap:6px; 
}
.menu-item > a,
.menu-item > span {
  display:inline-flex; align-items:center;
  color:var(--ink); text-decoration:none;
  font:500 16px/1.1 Roboto,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  letter-spacing:.2px;
}

.menu-item--cta{ margin-left:24px }
.btn-cta{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 20px;border-radius:999px;color:#fff;text-decoration:none;
  box-shadow:0 10px 22px rgba(10,88,181,.25);
  font:700 18px/1 Roboto,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  border: solid 2px transparent;
  border-radius: 40px;
background: linear-gradient(90deg, #3594ED 0%, #015FB8 51.44%, #3594ED 100%);
}

.btn-cta:hover, .menu-item--cta:hover .btn-cta, .menu-item--cta > .btn-cta:hover{
  color: #015FB8 !important;
  background: #fff;
  border: solid 2px #015FB8;
}

.submenu-toggle{
  width:24px;height:24px;flex:0 0 24px;display:inline-flex;align-items:center;justify-content:center;
  border:0;background:transparent;cursor:pointer;padding:0;line-height:1;vertical-align:middle;
  color:#6B778A; background-color:currentColor; 
}
.submenu{min-width:220px}
.submenu .menu-item{display:block}
.submenu .menu-item a{
  display:block;padding:10px 12px;border-radius:8px;
  color:var(--ink);font:500 15px/1.2 Roboto,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
.submenu .menu-item a:hover{background:#F2F6FB}
@media (min-width:1024px){

    .menu > .menu-item:not(.menu-item--cta) > a{
    color: var(--ink);
  }
  .menu-item--cta > .btn-cta{
    color: #fff;                  
  }
  .nav-toggle{display:none}
  .submenu-toggle{
    -webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat;
            mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat;
  }
  .menu-item.has-children.open > .submenu-toggle{transform:rotate(180deg)}
  .menu-item.has-children > .submenu{
    position:absolute; left:0; top:calc(100% + 12px);
    display:none; padding:10px; background:#fff; border-radius:12px; box-shadow:var(--shadow);
  }
  .menu-item.has-children.open > .submenu{display:block !important}
  .menu-item.has-children:hover > .submenu{display:none !important}       
  .menu-item.has-children:focus-within > .submenu{display:none !important}
  .menu-item.has-children.open:hover > .submenu,
  .menu-item.has-children.open:focus-within > .submenu{
    display:block !important;
  }
   .header-bar{ overflow: visible !important; }
  .menu-item.has-children > .submenu{ z-index: 9999; }
}

@media (max-width:1023px){
  .logo{height:24px;display:block}
  .header-bar{background:transparent;box-shadow:none;border-radius:0;margin-top:0;}
  .logo--color{display:none}.logo--white{display:block}
  .nav-toggle{margin-left:auto;position:relative;width:36px;height:28px;border:0;background:transparent;cursor:pointer;touch-action:manipulation}
  .nav-toggle__bar,.nav-toggle__bar::before,.nav-toggle__bar::after{
    content:"";position:absolute;left:0;right:0;height:2px;background:#fff;border-radius:1px;transition:transform .22s ease,opacity .22s ease}
  .nav-toggle__bar{top:50%;transform:translateY(-50%)}
  .nav-toggle__bar::before{top:-8px}
  .nav-toggle__bar::after{top:8px}
  .nav{position:absolute;top:100%;left:0;right:0;display:none}
  .site-header.is-open .nav{display:block}
  .menu{
    flex-direction:column;align-items:stretch;gap:0;
    background:#fff;padding:14px 16px 18px;border-radius:0 0 12px 12px;box-shadow:var(--shadow)
  }
  .menu > .menu-item{gap:8px;
    display:flex; 
    align-items:center; 
    gap:8px; 
    flex-wrap: wrap;}
  .menu > .menu-item:last-child{border-bottom:0}

  .menu-item > a,
  .menu-item > span {padding:14px 4px;color:#1A2433; text-decoration: none;}
  .menu-item--cta{margin-left:0}
  .menu-item--cta .btn-cta{width:100%;margin-top:12px; color: white;}
  .submenu-toggle{
    -webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat;
            mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat;
  }
  .menu-item.has-children.open > .submenu-toggle{transform:rotate(180deg)}
  .menu-item.has-children > .submenu{
     position: static !important;
    order: 2;             
    width: 100%;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
    padding: 0; margin: 0 0 10px 0;
    box-shadow: none; border-radius: 0; background: transparent;
  }
  .menu-item.has-children.open > .submenu{max-height:900px; display: block;}
  .site-header.is-open .header-bar,
  .site-header.is-scrolled .header-bar{
    background:var(--brand-700);box-shadow:var(--shadow); padding: 10px 15px 10px;
  }
  .site-header.is-open .header-bar{
    max-width:none;width:100%;margin:0;border-radius:0; padding: 10px 15px 10px; box-sizing: border-box;
  }
  .site-header.is-open .nav-toggle__bar{background:transparent}
  .site-header.is-open .nav-toggle__bar::before{transform:translateY(8px) rotate(45deg)}
  .site-header.is-open .nav-toggle__bar::after{transform:translateY(-8px) rotate(-45deg)}
}

/* BUSCADOR */

.search-bar-desktop {
  display:none;
  width:100%;
  background:#47504d;
  padding:24px;
  border-radius:0 0 16px 16px;
  pointer-events:auto;
  box-sizing: border-box;
  max-width: 1150px;
  margin: 0 auto;
}

.search-bar-desktop.open {
  display:block;
}

.search-form-desktop {
  max-width:900px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:16px;
}

.search-form-desktop input {
  flex:1;
  padding:14px 22px;
  border-radius:999px;
  border:0;
  background:#fff;
  font-size:16px;
}

.search-submit-desktop {
  width:42px;
  height:42px;
  border-radius:50%;
  border:0;
  cursor:pointer;
  background:
    url('/themes/custom/mobilink_theme/images/lupa.svg') center/18px no-repeat,
    linear-gradient(91deg, #3594ED -23.78%, #015FB8 9.22%, #3594ED 120.05%);
}

.search-close-desktop {
  width:42px;
  height:42px;
  border:0;
  cursor:pointer;
  background:transparent url('/themes/custom/mobilink_theme/images/close.svg') center/20px no-repeat;
}

.search-toggle {
  width:42px;
  height:42px;
  border-radius:50%;
  border:0;
  cursor:pointer;
  background:
      url('/themes/custom/mobilink_theme/images/lupa.svg') center/18px no-repeat,
      linear-gradient(91deg, #3594ED -23.78%, #015FB8 9.22%, #3594ED 120.05%);
}

@media (min-width:1024px) and (max-width:1200px) {
  .search-bar-desktop {
    max-width: 900px;
  }
}

@media (min-width:1024px) {
  .search-bar-mobile {
    display: none;
  }
  .search-toggle {
    margin-right: -30px;
  }
}
@media (max-width:1023px){
  .menu {
      box-shadow: none;
  }
  .search-bar-desktop { display:none !important; }
  .search-bar-mobile {
    padding:12px 0 8px;
    background-color: #fff;
    margin-bottom: -10px;
  }
  .search-form-mobile {
    display:flex !important;
    gap:8px;
    box-sizing: border-box;
    align-items:center;
    margin: 5px 20px;
  }
  .search-form-mobile input {
    flex:1;
    padding:12px 18px;
    background:#F9F8F6;
    border-radius:999px;
    border: solid 1px #0000004D;
    margin-right: -40px;
  }
  .search-submit-mobile {
    width:50px;
    height:50px;
    border:0;
    border-radius:50%;
    background:
      url('/themes/custom/mobilink_theme/images/lupa.svg') center/18px no-repeat,
      linear-gradient(91deg, #3594ED -23.78%, #015FB8 9.22%, #3594ED 120.05%);
  }
  .search-toggle {
    display:none !important;
  }
}

/* página de resultados de búsqueda */

/* ocultar formulario por default */
#search-form .container-inline,
#search-form .search-help-link,
#search-form details,
#search-form summary,
#search-form fieldset,
#search-form .action,
#block-mobilink-theme-content:has(#search-form) p:last-child,
#search-form #edit-submit,
#search-form input[type="submit"] {
  display: none !important;
}

#search-form #edit-basic,
#search-form #edit-keys {
  display: block !important;
}

#block-mobilink-theme-content:has(#search-form) #edit-keys {
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 16px;
  margin-bottom: 20px;
}

#block-mobilink-theme-content:has(#search-form) {
  max-width: 1200px;                
  margin: 140px auto 80px;    
  padding: 0 20px;
  min-height: calc(100vh - 400px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 120px;
}

#block-mobilink-theme-content:has(#search-form) h2:first-of-type,
#block-mobilink-theme-content:has(#search-form) h1 {
  font-size: 32px;
  color: var(--fuente-oscura);
  margin-bottom: 12px;
  text-align: center;
}

#block-mobilink-theme-content:has(#search-form) h2 + ol,
#block-mobilink-theme-content:has(#search-form) ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

#block-mobilink-theme-content:has(#search-form) ol li {
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e5e5e5;
}
#block-mobilink-theme-content:has(#search-form) li p {
  font-size: 16px;
  margin-top: 10px;
}

#block-mobilink-theme-content:has(#search-form) h3 a {
  font-size: 20px;
  font-weight: 700;
  color: #015FB8;
  text-decoration: none;
}

#block-mobilink-theme-content:has(#search-form) h3 a:hover {
  text-decoration: underline;
}

#block-mobilink-theme-content:has(#search-form) label {
  color: var(--fuente-oscura);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 6px;
  display: block;
  margin-left: 20px;
}

@media (max-width: 767px) {
  #block-mobilink-theme-content:has(#search-form) {
    margin-top: 60px;
    margin-bottom: 40px;
    padding: 0 16px;
  }

  #block-mobilink-theme-content:has(#search-form) h2:first-of-type,
  #block-mobilink-theme-content:has(#search-form) h1 {
    font-size: 26px;
  }

  #block-mobilink-theme-content:has(#search-form) h3 a {
    font-size: 18px;
  }
}


/* Banner */

.banner {
  position: relative;
  width: 100%;
  height: 100svh;
  max-height: 753.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;


  & .banner__slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;

    & .banner__slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: flex; 
    align-items: center;
    justify-content: center;
    }

    & .swiper-pagination {
      position: absolute;
      bottom: 5rem;
      left: 0;
      width: 100%;
      text-align: center;
      cursor: pointer;
      z-index: 5; 
    }
    & .swiper-pagination-bullet {
      background: #fff;
      opacity: 0.6;
    }
    & .swiper-pagination-bullet-active {
      opacity: 1;
    }
  }

}

.banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9); /* simula el leve overlay del gradient */
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.05);
  pointer-events: none !important;
  z-index: 1;
}

.banner__content {
  position: relative;
  z-index: 2;
  padding: 0 1rem 12rem 0;
}

.banner__content h1 {
  color: #fff;
  text-align: center;
  text-shadow: 3px 6px 16px rgba(0, 0, 0, 0.25);
  font-size: 56px;
  font-weight: 500;
  line-height: 120%;
}

.banner__curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: block;
  z-index: 3;
  pointer-events: none;
}

.banner__curve.mobile {
  display: none;
}

@media (max-width: 768px) {
  .banner {
      max-height: 651px;

       & .banner__slider {
          & .swiper-pagination {
            bottom: 6rem;
          }
        }
  }

  .banner__content h1 {
    font-size: 32px;
    line-height: 130%;
  }

}

@media (min-width: 620px) and (max-width: 1023px) {
    .banner {
       & .banner__slider {
          & .swiper-pagination {
            bottom: 10rem;
          }
        }
  }
}

@media (max-width: 1023px) {
    .banner__curve.desktop {
    display: none;
  }

  .banner__curve.mobile {
    display: block;
  }
}

/* HOME */

/* Sección cards expandibles */

.solutions__list .views-element-container,
.solutions__list .js-view-dom-id,
.solutions__list .views-row,
.solutions__list > div {
  display: contents !important;
}

.solutions{ max-width: var(--max); padding: 32px 16px; margin: 0 auto; }
.solutions__head{ max-width:1200px; margin: 2rem auto 2rem; }
.solutions__head h2{  color:var(--fuente-oscura); font-weight: 320; font-size: var(--title-font-mob);
font-style: normal; text-align: center; }

.solutions__list{
  max-width:1200px; margin:0 auto;
  display:grid; gap:12px;
}
.solution-card{
  position:relative; border-radius:12px; overflow:hidden; color:var(--ink);
  background:
    linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.25) 100%),
    var(--bg) center/cover no-repeat; 
  box-shadow: var(--shadow);
  transition: flex 0.35s ease;
}
.solution-card::before,
.solution-card::after{
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity var(--acc-speed) ease;
}
.solution-card::before{
  opacity: 1;
  background: linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.25) 100%);
}
.solution-card::after{
  background: #004085;
}
.solution-card.is-open::before{ opacity: 0; }
.solution-card.is-open::after{ opacity: 1; }
.solution-card.is-open{
  background: linear-gradient(180deg, var(--brand-900) 0%, var(--brand) 100%);
}
.solution-card__hit{
  position:absolute; inset:0; border:0; background:transparent; cursor:pointer;
}
.solution-card__inner{ position:relative; padding:16px; min-height:96px; z-index: 1; }
.solution-card__header{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.solution-card__title{ font:500 20px/1.2 Roboto, sans-serif; text-shadow: 0 2px 14px rgba(0,0,0,0.35); color: #FFFFFF;}
.solution-card__plus svg{ display:block; opacity:0.9; }
.solution-card.is-open .solution-card__plus{ display:none; }
  .solution-card.is-open .solution-card__title{
    opacity: 0.8;
  }
.solution-card__body{ 
    overflow:hidden; 
    max-height:0; 
    transition: max-height var(--acc-speed) ease;
    will-change: max-height; 
}
.solution-card.is-open .solution-card__body{ 
    max-height: 900px;    
    opacity: 1; 
} 
.solution-card.is-open .solution-card__header{ justify-content:center; }
.solution-card__body > *{
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--fade-speed) ease,
    transform var(--fade-speed) ease;
  transition-delay: 0s;          
}
.solution-card.is-open .solution-card__body > *{
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--open-delay); 
}
.solution-card__items{ display:grid; gap:18px; margin-top:14px; }
.solution-card__item{ display:grid; grid-template-columns:27px 1fr; gap:20px; align-items:start; }
.solution-card__text strong{ display:block; font:500 18px/1.3 Roboto, sans-serif; margin-bottom:4px; color:#fff;}
.solution-card__text p{ font:400 16px/1.5 Roboto, sans-serif; opacity:0.95; margin:0 0 8px;color:#fff; }
.solution-card__link{ font:500 16px/1 Roboto, sans-serif; color:#fff; text-decoration:underline; }
.solution-card__text a {
  display: flex;
  justify-content: flex-end;
  margin-right: 40px;
}
@media (min-width: 1024px){
  .solutions__list{
    display:flex; gap:16px;
    min-height:440px; 
  }
  .solution-card{
    flex:1 1 0; height:440px;
    display:flex; flex-direction:column;
  }
  .solution-card.is-open{ flex:3 1 0; }

  .solution-card__inner{ 
    height:100%; 
    display:flex; 
    flex-direction:column; 
  }
  .solution-card__body{ margin-top:16px; }
  .solution-card:not(.is-open){
    background:
      linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.25) 100%),
      var(--bg) center/cover no-repeat;
  }
  .solution-card:not(.is-open) .solution-card__header{
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  }
  .solution-card:not(.is-open) .solution-card__title{
    writing-mode: vertical-rl; transform: rotate(180deg);
    font:500 20px/1 Roboto, sans-serif; letter-spacing:0.02em; opacity: 1;
  }
  .solution-card:not(.is-open) .solution-card__plus{
    position:absolute; top:18px; left:50%; transform:translateX(-50%);
  }
  .solution-card__title{ text-align: center; font-size: var(--title-font-desk); font-weight: 500;}
  .solution-card.is-open .solution-card__header {
    position:static;
    justify-content: center;
}
  .solutions__head h2{ font-size: var(--title-font-desk); }
}

/* ====== COMPATIBILIDAD CON LA ESTRUCTURA DE DRUPAL ======
   Si la vista agrega wrappers como .views-element-container,
   .js-view-dom-id o <div> sueltos, estos estilos aseguran
   que la disposición original (grid / flex) se mantenga igual.
=========================================================== */

.solutions__list .views-element-container > div,
.solutions__list .js-view-dom-id > div,
.solutions__list .views-row > div,
.solutions__list > div > div {
  display: contents;
}

.solutions__list > div > article.solution-card,
.solutions__list .views-row > article.solution-card,
.solutions__list .views-element-container > article.solution-card,
.solutions__list .js-view-dom-id > article.solution-card {
  display: block;
  flex: 1 1 0;
  height: auto;
}

@media (min-width: 1024px) {
  .solutions__list,
  .solutions__list .views-element-container,
  .solutions__list .js-view-dom-id,
  .solutions__list .views-row,
  .solutions__list > div {
    display: flex;
    gap: 16px;
    min-height: 440px;
  }

  .solutions__list .views-element-container > *,
  .solutions__list .js-view-dom-id > *,
  .solutions__list .views-row > *,
  .solutions__list > div > * {
    flex: 1 1 0;
    min-width: 0;
  }
}


/* Sección de ventajas */
.advantages-section{
  background: #00529314;         
  padding: 32px 16px 48px;
}

.advantages-section__head{
  max-width: var(--max); 
  margin: 0 auto 20px;
  text-align: center;
}
.advantages-section__head h2{
  font: 500 24px/1.2 Roboto, sans-serif;
  color: #1B2559;
  margin-bottom: 10px;
}
.advantages-section__sub{
  max-width: 780px;
  margin: 2rem auto;
  font: 400 18px/1.6 Roboto, sans-serif;
  color: #5F6B7A;
}

.advantages-section__grid{
  max-width: var(--max);
  margin: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.adv-card{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.adv-card__media{
  width: 100%;
  display: grid;
  place-items: center;
  height: 160px;                 
}
.adv-card__media img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: translateY(50px);    
}

.adv-card__panel{
  width: 100%;
  background: #FFF;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
  padding: 18px 14px 20px;
  display: grid;
  place-items: center;
  min-height: 152px;
  max-width: 80%;
}

.adv-card__mark {
margin-top: auto; 
}

.adv-card__mark svg{ display:block; }
.adv-card__title{
  text-align: center;
  color: #0070BA;
  font: 700 18px/1.2 Roboto, sans-serif;
  margin-top: 0;
}

@media (min-width: 344px) and (max-width: 400px) {
.adv-card__panel {
    min-height: 200px;
}
}

@media (min-width: 400px) and (max-width: 500px) {
  .page-home {
    & .adv-card__media img {
        max-width: 100%;
        transform: translateY(-20px);
    }
  }
}

@media (min-width: 401px) and (max-width: 1023px) {
.adv-card__panel {
    min-height: 232px;
}
}

@media (min-width: 640px) and (max-width: 1023px) {
.adv-card__panel {
    max-width: 55%;
}
.adv-card__media img {
    transform: translateY(20px);
    min-width: 280px;
}
}
@media (min-width: 1024px){
  .advantages-section{ padding: 56px 16px 72px; }

  .advantages-section__head h2{
    font-size: var(--title-font-desk);
    margin-bottom: 2rem;
  }
  .advantages-section__sub{
    font-size: var(--p-font-desk);
  }

  .advantages-section__grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 auto;
  }

  .adv-card__media{
    height: 170px;
  }
  .adv-card__media img{
    max-width: 100%;
    transform: translateY(32px);
    min-width: 202px;
  }

  .adv-card__panel{
    padding: 52px 16px 24px;
    min-height: 150px;
    max-width: 201px;
  }
  .adv-card__title{
    font-size: 22px;
    margin-top: 0;
  }
}

@media (min-width: 1200px){

  .adv-card__media img{
    min-width: 282px;
  }

  .adv-card__panel{
    padding: 62px 16px 24px;
    min-height: 200px;
    max-width: 241px;
  }
  .adv-card__title{
    font-size: 25px;
    min-height: 60px;
  }
}

/* Sección experiencias */

.testi-section{
  position: relative;
  padding: 2rem 16px 2rem;
  background: #F1F3F6;
  max-width: var(--max); 
  margin: 0 auto;
}
.testi-bg{
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    url("/themes/custom/mobilink_theme/images/ondulacion-tenue-fondo.svg"),
    url("/themes/custom/mobilink_theme/images/ondulacion-tenue-fondo.svg"),
    url("/themes/custom/mobilink_theme/images/ondulacion-tenue-fondo.svg");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: 5% 20%, 50% 68%, 95% 28%;
   background-size:
    clamp(180px, 32vw, 320px) auto,
    clamp(180px, 32vw, 320px) auto,
    clamp(180px, 32vw, 320px) auto;
}

@media (min-width: 1024px){
  .testi-section{
  padding: 8rem 16px 72px;
}
   .testi-bg{
    background-position: 4% 28%, 50% 30%, 96% 32%;
    background-size:
      clamp(320px, 32vw, 620px) auto,
      clamp(320px, 32vw, 620px) auto,
      clamp(320px, 32vw, 620px) auto;
  }
}
@media (min-width:1800px){
    .testi-bg {
      background-position: 1% 38%,53% 30%,106% 32%;
      background-size: clamp(320px,32vw,520px) auto,clamp(320px,32vw,520px) auto,clamp(320px,32vw,520px) auto;
  }
}

.testi-head{
  position: relative; z-index: 1;
  max-width: 1060px;
  margin: 0 auto 16px;
  text-align: center;
}
.testi-head h2{
  font: 500 24px/1.25 Roboto, sans-serif;
  color: var(--blue-ink);
}
@media (min-width: 1024px){
  .testi-head h2{ font-size: var(--title-font-desk); }
}
.testi-wrap{
  position: relative; z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 20px 1fr 20px;
  align-items: center;
  gap: 8px;
}
.testi-nav{
  width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.testi-prev{ background-image: url("/themes/custom/mobilink_theme/images/flecha-azul-izquierda.svg"); }
.testi-next{ background-image: url("/themes/custom/mobilink_theme/images/flecha-azul-derecha.svg"); }
.testi-swiper{ 
  width: 100%; 
  height: auto !important;
  min-height: unset !important;
}
.testi-swiper .swiper-wrapper{ 
  align-items: flex-start !important;
}
.testi-swiper .swiper-wrapper .swiper-slide { 
  height: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testi-card{
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
  padding: 2rem;
  max-width: 860px;
  text-align: center;
  cursor: grab;
  height: auto;
}
.testi-card__title{
  font: 700 18px/1.25 Roboto, sans-serif;
  color: var(--blue-ink);
  margin-bottom: 40px;
  margin-top: 0;
}
.testi-card__body p{
  font: 400 16px/1.6 Roboto, sans-serif;
  color: #3D4B57;
  margin: 6px 0 8px;
}
.testi-quote{ width: 26px; height: 26px; }
.tq--up{ 
  margin-right: auto;
  position: absolute; 
  width: 26px; height: 26px; 
  top: 2rem; left: 6rem;
}
.tq--down{ 
  margin-left: auto; 
  position: absolute; 
  width: 26px; height: 26px; 
  bottom: 2rem; right: 6rem;
}

.testi-tail{
  position: relative;
  display: block;
  margin: 0 auto;
  top: 0;
  bottom: 0;
  left: auto;
  transform: none;
  width: 84px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}
.swiper-slide > .testi-tail {
  margin-top: -10px;
}
.testi-thumbs{
  position: relative; z-index: 1;
  margin: 0 auto 0;
  display: flex; align-items: center; justify-content: center;
  gap: 22px;
}
.thumb{
  width: 46px; height: 46px; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  position: relative;
}
.thumb--center{
  width: 68px; height: 68px;
  border-width: 4px;
}
.thumb--side::after{
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,0,0,0.45); /* #00000073 */
}
.testi-swiper .swiper-button-prev,
.testi-swiper .swiper-button-next{ display: none; }

.thumb{
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.thumb--side{ transform: scale(0.96); }
.thumb--center{ transform: scale(1); }
.thumb--side::after{
  opacity: 0.45; transition: opacity 0.28s ease;
}

.thumb-bump{ animation: thumb-bump 0.45s ease; border: none; }
.thumb-pulse{ animation: thumb-pulse 0.38s ease; border: none; }
.thumb-pulse::after{ opacity: 0.55; } 

@keyframes thumb-bump{
  0%{   transform: scale(0.90); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
  60%{  transform: scale(1.08); box-shadow: 0 8px 18px rgba(0,0,0,0.20); }
  100%{ transform: scale(1.00); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
}
@keyframes thumb-pulse{
  0%{   transform: scale(0.96); }
  60%{  transform: scale(1.02); }
  100%{ transform: scale(0.96); }
}
@media (min-width: 100px) and (max-width: 500px) {
  .adv-card__title {
    font: 700 14px/1.2 Roboto,sans-serif !important;
}
.adv-card__media {
    height: 80px;
}
.adv-card__media img {
    max-width: 110%;
    transform: translateY(0);
}
.testi-card__title {
    margin-bottom: 20px !important;
    margin-top: 20px !important;
}
.ci-card__text {
    font: 400 18px/1.5 Roboto,sans-serif !important;
}
.ci-card__title--sm {
    font: 700 18px/1.2 Roboto,sans-serif !important;
}
.ci-card__icon--sm {
    width: 42px !important;
    height: 42px !important;
}
.solution-card__items {
    padding-left: 5px !important;
}
.advantages-section__grid {
    margin: 0;
}
}
@media (max-width: 1023px) {
  .testi-card {
    min-height: 250px;
  }
  .tq--up{
  top: 10px; left: 20px;

  }
  .tq--down{
    bottom: 10px; right: 20px;
  }

  .testi-nav {
    visibility: hidden;
  }

.testi-swiper{ width: 100%; min-height: 396px !important; }

.testi-head h2 {
    margin-bottom: 3rem;
}

.swiper-slide > .testi-tail {
  margin-right: 70px;
}
}

@media (min-width: 1024px){
  .testi-card{ 
    padding: 3rem;
    margin-top: 4rem;
    max-width: 660px;
    min-height: 150px;
 }
 .testi-swiper {
  min-height: 400px !important;
 }
 .testi-tail {
    transform: none;
}
.testi-card__title {
    font: 500 20px/1.25 Roboto,sans-serif;
    margin-bottom: 40px;
    margin-top: 0;
}
.testi-card__body p {
    font: 400 18px/1.6 Roboto,sans-serif;
    margin: 0 10px;
}
}

@media (min-width: 1200px){
  .testi-card{ 
    min-width: 660px;
 }

}

/* sección tecnología */
.ci-section{ 
  padding:28px 16px 36px;
  max-width: var(--max); 
  margin: 0 auto;
 }
.ci-head{ max-width:var(--max); margin:0 auto 16px; text-align:center; }
.ci-head h2{ font: 500 24px/1.25 Roboto, sans-serif;
  color: var(--blue-ink); margin-bottom: 2rem;}
.ci-swiper{ max-width:var(--max); margin:0 auto; }
#ci-swiper { position: relative; }
.ci-swiper .swiper-wrapper{ align-items:stretch; }
.ci-pagination{ margin-top:14px; }
.ci-pagination .swiper-pagination-bullet{
  width:8px;height:8px;border-radius:50%;opacity:1;background:#B7C3D1;
}
.ci-pagination .swiper-pagination-bullet-active{ background:var(--brand); }
.ci-card{ perspective:1000px; height: 260px; }
.ci-card.swiper-slide {
  min-height: 400px;
}
.ci-card__inner{
  position:relative; height:100%;
  border-radius:var(--ci-radius);
  transform-style:preserve-3d;
  transition: transform 0.6s;
  will-change: transform;
}
.ci-card__face{
  position:absolute; inset:0; border-radius:var(--ci-radius); overflow:hidden;
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
}
.ci-card__front{
  background: var(--ci-bg) center/cover no-repeat; 
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
}
.ci-card__front::before{ content:""; position:absolute; inset:0; 
  background:rgba(0,0,0,0.25);  
}
.ci-card__icon{ width:40px; height:40px; object-fit:contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25)); z-index: 3; }
.ci-card__title{ color:var(--blanco-tenue); text-align:center; font:700 18px/1.2 Roboto,sans-serif; padding:0 12px; z-index: 3;}
.ci-card__back{
  background: linear-gradient(180deg, var(--brand-700) 0%, var(--brand-900) 100%);
  color:var(--blanco-tenue); transform:rotateY(180deg);
  display:flex; flex-direction:column; padding:16px;
}
.ci-card__header{ display:flex; align-items:center; gap:10px; }
.ci-card__icon--sm{ width:22px; height:22px;}
.ci-card__title--sm{ font:700 16px/1.2 Roboto,sans-serif; color:var(--blanco-tenue); text-align:left; padding:0; }
.ci-card__hr{ border:0; border-top:1px solid rgba(255,255,255,0.35); margin:10px 0; }
.ci-card__text{ font:400 14px/1.5 Roboto,sans-serif; opacity:0.95; margin-bottom:10px; }
.ci-card__link{ color:var(--blanco-tenue); font:500 14px/1 Roboto,sans-serif; text-decoration:underline; align-self:flex-start; }

@media (max-width:1023.98px){
  .ci-card__back{
    min-height: 350px;
  }
  .ci-card__text {
      font: 400 22px/1.5 Roboto,sans-serif;
      margin-right: 10px;
      margin-left: 10px;
  }
  .ci-card__title--sm {
      font: 700 22px/1.2 Roboto,sans-serif;
  }
  .ci-card__icon--sm {
      width: 62px;
      height: 62px;
      margin-right: 20px;
      margin-left: 10px;
  }
   .ci-card__inner{ transform: rotateY(180deg); }
    #ci-swiper .ci-pagination{
    position: static;       
    display: flex;            
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 14px auto 0;
    text-align: center !important;
  }
  #ci-swiper .ci-pagination.swiper-pagination-horizontal{
    left: auto !important;
    right: auto !important;
    bottom: auto !important;  
  }
  #ci-swiper .ci-pagination .swiper-pagination-bullet{
    margin: 0 4px;
  }
}
@media (min-width:1024px){
 .ci-head h2{ font-size:var(--title-font-desk); } 
 #ci-swiper{ overflow: visible; height: auto; }
 #ci-swiper .swiper-wrapper{
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-auto-rows: 1fr;              
    gap: 16px;
    width: 100%;
    height: auto;
    transform: none;
    min-height: 800px;
  }
 #ci-swiper.swiper-initialized .swiper-wrapper{
    display: grid;
    transform: none;
  }

  #ci-swiper .swiper-slide{
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    min-height: var(--ci-card-h-d); 
  }
  .ci-pagination{ display:none; }
  .ci-card{ height: var(--ci-card-h-d); }
  .ci-card__inner{ transform: none; }
 .ci-card:hover .ci-card__inner{ transform: rotateY(180deg); }
 .ci-card__front{
    background:
      linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.35)),
      var(--ci-bg, #1d3b6f) center/cover no-repeat;
  }

}

/* sección servicios */
.btn-cta{display:inline-flex;align-items:center;justify-content:center;padding:.9rem 1.2rem;border-radius:999px;background:linear-gradient(90deg,var(--brand-700),var(--brand-500));color:#fff;text-decoration:none;font:700 16px/1 Roboto,sans-serif;box-shadow:0 8px 18px rgba(10,88,181,.25)}
.pv-section{
  background: var(--section-bg, none);
  padding: 18px 16px 56px;
}
.pv-head{ max-width:var(--max); margin:0 auto 18px; text-align:center; }
.pv-head h2{ font: 500 28px/1.25 Roboto, sans-serif;
  color: var(--blue-ink); margin-bottom: 2rem;}
.pv-sub{ max-width:780px; margin: 0 auto 18px; color:var(--pv-muted); font: 400 18px/1.6 Roboto,sans-serif; }
.pv-tabs{
  display:flex; align-items:center; justify-content:center; gap:0;
  list-style:none; padding:10px 0 18px; margin:0 auto 6px;
}
.pv-tab__btn{
  display:flex; flex-direction:column; align-items:center; gap:10px; min-width:84px; cursor:pointer; border: none;
}
.pv-tab__icon{ width:100%; display:block; object-fit:contain; }
.pv-panels{ max-width: var(--max); margin: 10px auto 0; }
.pv-panel{
  display:grid; gap:18px;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 10px 0;
}
.pv-panel__media{
  min-height:260px;
  background: var(--media) lightgray 50% / cover no-repeat; 
  box-shadow: var(--shadow);
}
.pv-panel__content{
  position: relative;
  min-height: 300px;
  padding: 10px;
}
.pv-panel__content h3{ font: 500 32px/1.25 Roboto,sans-serif; color:#1E2A38; margin-bottom:12px; 
}
.pv-panel__content .hl{ color: var(--brand-700); }
.pv-panel__content p{ color:#3D4B57; font: 400 18px/1.7 Roboto,sans-serif; margin: 2rem 0 2rem; }

.pv-panel__content::before{
  content:"";
  position:absolute; inset:0;
  background-image: url('/themes/custom/mobilink_theme/images/ondulacion-tenue-fondo.svg'),
                    url('/themes/custom/mobilink_theme/images/ondulacion-tenue-fondo.svg'),
                    url('/themes/custom/mobilink_theme/images/ondulacion-tenue-fondo.svg');
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: 4% 76%, 48% 88%, 92% 80%;
  background-size: clamp(120px, 22vw, 220px) auto,
                    clamp(120px, 22vw, 220px) auto,
                    clamp(120px, 22vw, 220px) auto;
  opacity: 1;
  pointer-events:none;
  z-index: -1;
}

.pv-panels > .pv-panel{ 
  display: none !important; 
}
.pv-panels > .pv-panel.is-active{
  display: grid !important;  
}
.pv-panels > .pv-panel[hidden]{ 
  display: none !important; 
}
.pv-panel__media{
  background:
    linear-gradient(0deg, rgba(255,255,255,.32), rgba(255,255,255,.32)),
    var(--media) 50% / cover no-repeat;
  background-color:#d9d9d9;  
  box-shadow: var(--shadow);
}
@media (max-width:1023px){
  .btn-cta {
    font: 700 18px/1 Roboto,sans-serif;
    width: 100%;
    box-sizing: border-box;
}
  .pv-panels > .pv-panel.is-active{ grid-template-columns: 1fr; }
  .pv-tab__icon{ height:60px; }
  .pv-panel{
    grid-template-columns: 1fr;
  }
  .pv-panel__media{ order: -1; min-height: 300px; }
}
@media (min-width:1024px){
  .pv-section{ padding: 62px 16px 80px; }
  .pv-panel{
    grid-template-columns: 1.1fr 1fr; /* texto | imagen */
    gap: 28px;
  }
  .pv-panel__media{ min-height: 420px; }
  .pv-tab__icon{ height:90px; }
  .pv-tabs{gap:26px;
}
 .pv-panels > .pv-panel.is-active{ grid-template-columns: 1.1fr 1fr; gap: 28px; }
}



/* sección de video */
.video-section{
  max-width: 1280px;    
  margin: 0 auto;      
  padding: 40px 16px;    
}
.video-wrapper{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* relación 16:9 → (9/16*100) */
  height: 0;
  overflow: hidden;
  border-radius: 12px; 
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.video-wrapper .es_iframe {
  position: absolute;
  top:0; left:0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrapper .es_video {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border: 0;
}


/* QUIENES SOMOS */

/* sección nuestra historia */

.section-historia {
  position: relative; 
  max-width: var(--max);
  margin: 0 auto 16px;
  padding: 0;
  text-align: center;

  & .historia-content {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  & .historia-content, .historia__head {
    position: relative; 
    z-index: 1;
  }

  & .historia__head {
    margin: 2rem 0;

    & h2 {
      color:var(--fuente-oscura); 
      font-weight: 300; 
      font-size: var(--title-font-desk);
      font-style: normal; 
      text-align: center;
    }
  
  }

  & .historia-text {
    text-align: justify;
    color: #484D45;
    font-size: var(--p-font-desk);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
  }
  & .historia-img {
    width: 100%;
    max-height: 393px;
    object-fit: cover;
  }

  & .testi-bg {
        background-position: 5% 20%, 50% 68%, 95% 28%;
        background-size:
          clamp(180px, 32vw, 320px) auto,
          clamp(180px, 32vw, 320px) auto,
          clamp(180px, 32vw, 320px) auto;

        @media (min-width: 1024px){
        background-position: 3% 98%, 50% 100%, 96% 92%;
        background-size:
          clamp(320px, 35vw, 620px) auto,
          clamp(320px, 35vw, 620px) auto,
          clamp(320px, 35vw, 620px) auto;
    }
  }
}
@media (max-width: 1023px){
    .section-historia {
      width: 90%;
      margin: 0 auto;
      box-sizing: border-box;
        
        & .historia-content {
          flex-direction: column;
        }

        & .historia__head {
          margin: 2rem 0;

          & h2 {
            font-size: var(--title-font-mob);
          }
        }
        & .historia-text {
          width: 100%;

         & p {
            font-size: var(--p-font-mob);
          }
        }
        & .historia-img {
          width: 100%;
          max-height: unset;
        }
    }
}
@media (min-width: 1024px){
    .section-historia {
      padding: 6rem 0;
    }
}

/* sección especialistas */

.equipo-section{
  padding: clamp(28px, 4vw, 56px) 16px 36px;
}

.equipo-container{
  max-width: var(--max);
  margin: 0 auto;
}

.equipo-title{
   color:var(--fuente-oscura); 
    font-weight: 300; 
    font-size: var(--title-font-desk);
    font-style: normal; 
    text-align: center;
    margin-bottom: 2rem;
}

.equipo-panels{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
}

.equipo-panel{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.equipo-panel[hidden]{ display: none; }
.equipo-panel.is-active{ display: grid; }

.panel-copy h3.panel-heading{
  font-size: clamp(24px, 2.2vw, 30px);
  margin: 0 0 10px;
  color: var(--gris-letra);
  font-weight: 700;
}
.panel-copy .accent{ color: var(--azul-opaco); }
.panel-copy p{
  margin: 0;
  color: var(--gris-letra);
  line-height: 1.65;
  max-width: 46ch;
}

.panel-media{
  position: relative;
  margin: 0;
  width: 100%;
  height: 477px;

  img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16/10;
  border-radius: 8px;
}
}

.media-arc{
  position:absolute;
  inset: -12% -10% auto auto;
  width: 58%;
  height: auto;
  transform: rotate(3deg);
  pointer-events: none;
  z-index: 1;       
}

.media-arc.is-fill{
  inset: 0 -2% ;
  width: 100%;
  transform: none;     
}

@media (max-width:860px){
  .media-arc.is-fill {
    inset: 0;
    width: 70%;
}

.equipo-title{
    font-size: var(--title-font-mob);
}

}

.equipo-tabs{
  margin-top: clamp(18px, 3.2vw, 28px);
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  justify-content: center;
  flex-wrap: wrap;
}

.equipo-tab{
  --size: 74px;           
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  justify-items: center;
  align-items: start;
  background: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
  color: var(--gris-letra);
  position: relative;
}
.equipo-tab:focus-visible{ outline-offset: 6px; border-radius: 12px; }

.equipo-tab .tab-thumb{
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(14,30,84,0.18);
  position: relative;
}
.equipo-tab .tab-thumb img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.equipo-tab .tab-label{
  font-size: 16px;
  color: var(--blue-ink);
  line-height: 1.1;
  text-align: center;
}
.equipo-tab:not(.is-active) .tab-thumb::after{
  content: "";
  position: absolute;
  inset: 0;
  background: #00000099; 
  pointer-events: none;
  border-radius: 999px;
}
.equipo-tab .tab-label strong{
  color: var(--gris-letra);
  font-weight: 700;
}

.equipo-tab.is-active{
  --size: 92px;
  transform: translateY(-2px) scale(1.02);
  color: var(--gris-letra);
}
.equipo-tab.is-active .tab-thumb::after{
  display: none;
}

@media (hover:hover){
  .equipo-tab:hover{ opacity: 0.85; transform: translateY(-2px); }
}

@media (max-width: 860px){
  .equipo-panels,
  .equipo-panel{
    display: block;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .panel-media{ margin-bottom: 14px; border-radius: 12px; aspect-ratio: 16/10; }

  .panel-copy p{ max-width: none; font-size: var(--p-font-mob); }
  .equipo-section{ padding: 22px 14px 28px; }

  .equipo-panel.is-active {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .panel-media{
    order: -1;           
    height: auto;       
    aspect-ratio: 16/10; 
  }

  .panel-copy p{ max-width: none; }
}

/* PÁGINA 404 */

.page-404 {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 0;
  text-align: center;
  box-sizing: border-box;

    & h2 {
      font-size: 52px;
      color: #0070BA;
      font-weight: 700;
    }
    & h3 {
      color: #1F085A;
      text-align: center;
      font-size: 48px;
      font-style: normal;
      font-weight: 500;
      line-height: 130%; /* 62.4px */
      text-transform: capitalize;
    }
    & img {
        object-fit: contain;
        width: 100%;
        height: auto;
        max-height: 733px;
        margin-bottom: 2rem;
    }
    & a {
      text-decoration: none;
      text-align: center;
      color: white;
      border-radius: 40px;
      background: linear-gradient(90deg, #3594ED 0%, #015FB8 51.44%, #3594ED 100%);
      width: fit-content;
      padding: 10px 30px;
      margin: 2rem auto;
      cursor: pointer;
    }

    & a:hover {
      color: #3594ED;
      background: white;
      border: solid 2px #3594ED;
    }
}

@media (max-width: 860px){ 
  .page-404 {
    padding: 2rem 0;

    & h2 {
      font-size: 42px;
    }
    & h3 {
      font-size: 32px;
    }
    & img {
      max-height: 533px;
    }
  }
}

/* FORMULARIO - CONTACTO */

.LV_validation_message.LV_invalid {
  color: red;
  font-size: 14px !important;
  margin-bottom: 20px;
}

.LV_validation_message.LV_valid {
  display: none;
}

.contacto-section{
  padding: 48px 16px 40px;
  position: relative;

    & .form-wrap {
      max-width: 760px;
      margin: 0 auto;
      background: transparent;
      z-index: 1;
      position: relative;

        & .cta-title {
          color:var(--fuente-oscura); 
          font-weight: 300; 
          font-size: var(--title-font-desk);
          font-style: normal; 
          text-align: center;
          margin-bottom: 2rem;
        }

        & .cta-subtitle {
          text-align:center;
          color:var(--gris-letra);
          margin:0 0 18px;
        }

      & .contacto-form{
        display: flex;
        flex-direction: column;
        border-radius: 8px;
        padding: 18px;

        & .btn-primary {
          text-decoration: none;
          text-align: center;
          color: white;
          border: solid 2px transparent;
          border-radius: 40px;
          background: linear-gradient(90deg, #3594ED 0%, #015FB8 51.44%, #3594ED 100%);
          width: fit-content;
          padding: 10px 30px;
          margin-top: 2rem;
          cursor: pointer;
        }
        & .btn-primary:hover {
          color: #3594ED;
          background: white;
          border: solid 2px #3594ED;
        }
        & .group-title{
        margin: 12px 0 10px;
        color: var(--azul-opaco);
        font-family: Roboto;
        font-size: var(--title-font-mob);
        font-style: normal;
        font-weight: 500;
        line-height: normal;
      }

      & .form-group{
        display:flex;
        flex-direction:column;
        gap:6px;
        margin-bottom: 14px;

        & input[type="text"],
        & input[type="email"],
        & input[type="tel"],
        & select,
        & textarea{
          width:100%;
          border:1px solid var(--stroke);
          background:#fff;
          border-radius:10px;
          padding:12px 14px;
          font-size:1rem;
          color:var(--gris-letra);
          outline:none;
          transition:border-color 0.15s ease, box-shadow 0.15s ease;
          box-shadow: 0 2px 0 rgba(8,15,40,.02) inset;
          box-sizing: border-box;
        }
        & textarea{ resize: vertical; min-height: 120px; }
        & input::placeholder,
        & textarea::placeholder{ color:#a1a9b8; }
        & input:focus,
        & select:focus,
        & textarea:focus{
          border-color:#c9d6f8;
          box-shadow: 0 0 0 4px rgba(91,134,229,.15);
        }
        & select{
          appearance:none;
          -webkit-appearance:none;
          -moz-appearance:none;
          background-image:
            url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23243B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          background-repeat:no-repeat;
          background-position: right 12px center;
          padding-right:42px;
        }
        & .checkline{
          display:flex;
          align-items:flex-start;
          gap:10px;
          margin: 6px 0 18px;
          color:var(--gris-letra);
          font-size:0.95rem;
        }
        & .checkline input[type="checkbox"]{
          width:18px;height:18px;margin-top:3px;
          accent-color: var(--azul-opaco);
        }

        & label {
          color: #000;
          font-size: 16px;
          font-style: normal;
          font-weight: 400;
          line-height: 16.8px; 
          letter-spacing: 0.48px;
        }

      }
    }
  }
}

.form-row-2{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  margin-bottom: 14px;
}

@media (min-width: 760px){
  .contacto-form{ padding: 26px; }
  .form-row-2{ grid-template-columns: 1fr 1fr; }
}

/* POPUP DEL FORMULARIO */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.popup-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.popup-logo img {
  width: 160px;
  height: auto;
  margin-bottom: 18px;
}
.popup-content h2 {
  color: var(--fuente-oscura);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 12px;
}
.popup-content p {
  color: var(--gris-letra);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 26px;
}
.popup-button {
  text-decoration: none;
  color: #fff;
  border: solid 2px transparent;
  border-radius: 40px;
  background: linear-gradient(90deg, #3594ED 0%, #015FB8 51.44%, #3594ED 100%);
  padding: 10px 30px;
  display: inline-block;
  transition: all .2s;
}
.popup-button:hover {
  color: #3594ED;
  background: #fff;
  border-color: var(--brand-500);
}

@media (max-width: 480px) {
  .popup-content {
    padding: 28px 20px;
  }
  .popup-content h2 {
    font-size: 20px;
  }
  .popup-content p {
    font-size: 15px;
  }
  .popup-button {
    width: 100%;
  }
}

/* Footer */
.site-footer{
  position: relative;
  background: var(--gradiente-media);
  color: #fff;
  padding: 28px 16px 20px;
  overflow: hidden;
}
.site-footer::after{
  content:"";
  position:absolute; inset:0 0 0 auto;
  width: min(34%, 420px);
  background:
    repeating-linear-gradient(115deg,
      rgba(255,255,255,.18) 0 2px,
      rgba(255,255,255,0) 2px 14px);
  opacity: .45;
  pointer-events: none;
}
.ft-inner{ max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.footer-brand{ display:flex; justify-content:center; margin: 4px 0 18px; }
.footer-logo{ height: 34px; display:block; margin: 0 auto 2rem auto; }
.footer-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  align-items: start;
}
.footer-title{
  font: 700 16px/1.2 Roboto, sans-serif;
  margin: 0 0 10px;
  color: #fff;
}
.footer-col .menu{ list-style: none; margin:0; padding:0; display:grid; gap: 8px; }
.footer-col .menu-item{ color: #E7EEF8; font: 400 16px/1.6 Roboto, sans-serif; }
.footer-col .menu a{ color: #E7EEF8; text-decoration: none; }
.footer-col .menu a:hover{ text-decoration: underline; }
.ft-sep{
  border: 0; border-top: 1px solid  rgba(255,255,255,0.35);
  margin: 24px 0 16px;
}
.ft-bottom{
  display:grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
}
.ft-left{ display:flex; align-items:center; gap:18px; flex-wrap: wrap; }
.ft-copy{ margin:0; color: #E7EEF8; font: 400 16px/1.6 Roboto, sans-serif; }

.ft-links{ list-style: none; display:flex; gap:16px; margin:0; padding:0; }
.ft-links a{ color: #E7EEF8; text-decoration:none; font: 400 16px/1.6 Roboto, sans-serif; }
.ft-links a:hover{ text-decoration: underline; }
.ft-social{ list-style:none; display:flex; gap:15px; margin:0; padding:0; }
.ft-social a{
  display:inline-flex; width:44px; height:44px; align-items:center; justify-content:center;
  
}
.ft-social img{ width:32px; height:32px; display:block; }
.ft-partner img{ height:28px; display:block; filter:none; }
@media (max-width: 1023px){
  .footer-logo{ height: 52px; margin: 0 auto 20px auto;}
  .footer-brand{ justify-content: flex-start; }
  .footer-grid{ grid-template-columns: 1fr; gap: 18px; margin-left: 1rem; }
  .ft-bottom{
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
    margin-left: 1rem;
  }
  .footer-title{
    font: 700 17px/1.2 Roboto, sans-serif; margin-top: 10px;
  }
  .ft-social {
    gap: 20px;
  }
  .ft-social img {
    width: 42px;
    height: 42px;
  }
  .ft-left{ flex-direction: column; align-items: flex-start; gap: 8px; }
  .ft-links{ flex-direction: column; gap: 6px; }
  .ft-social a{ width:36px; height:36px; }
  .site-footer::after{ width: 42%; opacity: 0.55; }
}
.site-footer .menu {
  background: none;
  box-shadow: none;
}
.site-footer .menu > .menu-item:not(.menu-item--cta) > a {
    color: white;
}
.site-footer .menu-item > a {
    padding: 5px 0;
    font-size: 16px;
    font-weight: 500;
}
.ft-quienes-somos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;

  & h4 {
    color: #F2F2F2;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 1rem;
  }
  & a img {
    display: inline-flex;
    height: 39px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 4rem;
  }
}
@media (max-width: 768px) {
  .ft-quienes-somos {
      & h4 {

        font-size: 18px;

      }
      & a img {
        height: 29px;
        margin-bottom: 2rem;
      }
}
}

/* SOLUCIONES */

/* Sección conoce card - grid */
.conoce-section {
  margin: 20px auto 3rem auto;
  box-sizing: border-box;
  max-width: var(--max);
}
.conoce-head{ max-width:var(--max); margin: 0 auto 2rem; }
.conoce-head h2{  color:var(--fuente-oscura); font-weight: 320; font-size: var(--title-font-mob);
font-style: normal; text-align: center; }
.conoce-container {
  overflow: hidden;
}
.conoce-card {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  text-align: left;
  box-sizing: border-box;
  margin-top: 20px;
}
.conoce-card h3 {
    color: var(--brand);
    font-size: 20px;
    font-style: normal;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 130%; 
    text-transform: uppercase;
}
.conoce-card p {
    color: var(--gris-letra);
    font-size: var(--p-font-desk);
    font-style: normal;
    font-weight: 300;
    line-height: 135%; /* 20.25px */
    margin-bottom: 2rem;
}
.conoce-img {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-block: 20px;
}
.conoce-img img {
  z-index: 1;
  object-fit: contain;
  width: auto;
  max-height: 150px;
}
.conoce-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.conoce-link2 {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 8px;
}
.conoce-link a,
.conoce-link2 a {
  color: var(--brand);
  font-size: var(--p-font-desk);
  font-style: normal;
  font-weight: 500;
}
.conoce-head p {
color:  var(--gris-letra);
text-align: center;
font-size: var(--p-font-desk);
font-style: normal;
font-weight: 300;
line-height: 150%;
margin: 2rem auto;
}
.paragraph2 {
  margin: 2rem 0 2rem 0;
}
.conoce-link img,
.conoce-link2 svg  {
  width: 18px;
  height: 18px;
}
.conoce-pagination {
  margin-top: 14px;
  text-align: center;
}
.conoce-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 1;
  background: #b7c3d1;
}
.conoce-pagination .swiper-pagination-bullet-active {
  background: var(--brand);
}
@media (max-width: 1023px){
  .conoce-section {
    margin: 2rem 20px 2rem 20px;

  & .swiper .swiper-slide {
    height: auto;
    display: flex;               
  }
  & .swiper .conoce-card { height: auto; }
  }
  .conoce-head h2 {
    font-size: var(--title-font-mob);
    margin: 0 auto;
    line-height: 150%;
}
  .conoce-img img {
    max-height: 180px;
  }
}
@media (min-width: 390px) and (max-width: 534px){
  .conoce-head h2 {
    max-width: 70%;
}

}
@media (min-width: 1024px) and (max-width: 1200px) {
   .conoce-wrapper {
    max-height: none;
   }
}
@media (min-width: 1024px) {
  .conoce-container {
    max-width: var(--max);
    margin: 0 auto;
  }
  .conoce-head h2{ font-size: var(--title-font-desk);}
  .conoce-head p {
    max-width: 60%;
    }
  .conoce-wrapper {
    display: grid;
    gap: 20px;
    align-items: stretch;
    padding: 5px;
  }
  .conoce-wrapper.has-1 {
    grid-template-columns: minmax(400px, 600px);
    justify-content: center;
  }
  .conoce-wrapper.has-2 {
    grid-template-columns: repeat(2, minmax(360px, 1fr));
    align-items: center;
    margin: 0 20px;
  }
  .conoce-wrapper.has-2 .conoce-card {
    min-height: 600px;
  }
  .conoce-wrapper.has-3 {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
  }
  .conoce-wrapper.has-4 {
    display: grid;
    grid-template-columns: 0.75fr 0.75fr 1.25fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "a b c"
      "a b d";
    /* max-height: 650px; */
  }
  .conoce-wrapper.has-4 .conoce-card:nth-child(1) { grid-area: a; }
  .conoce-wrapper.has-4 .conoce-card:nth-child(2) { grid-area: b; }
  .conoce-wrapper.has-4 .conoce-card:nth-child(3) { grid-area: c; }
  .conoce-wrapper.has-4 .conoce-card:nth-child(4) { grid-area: d; }
  .conoce-wrapper.has-5 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "a b c"
      "d b e";
    gap: 24px;
    /* max-height: 650px; */
    align-items: stretch;
  }
  .conoce-wrapper.has-5 .conoce-card:nth-child(1) { grid-area: a; }
  .conoce-wrapper.has-5 .conoce-card:nth-child(2) { grid-area: d; }
  .conoce-wrapper.has-5 .conoce-card:nth-child(3) { 
    grid-area: b;
    align-self: stretch;
    height: auto;
  }
  .conoce-wrapper.has-5 .conoce-card:nth-child(4) { grid-area: c; }
  .conoce-wrapper.has-5 .conoce-card:nth-child(5) { grid-area: e; }
  .conoce-wrapper.has-6 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }
  .conoce-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    transition: all 0.3s ease;
    margin-top: 0;
  }
  .conoce-wrapper.has-4 .conoce-card:nth-child(3),
  .conoce-wrapper.has-4 .conoce-card:nth-child(4),
  .conoce-wrapper.has-5 .conoce-card:nth-child(1),
  .conoce-wrapper.has-5 .conoce-card:nth-child(2),
  .conoce-wrapper.has-5 .conoce-card:nth-child(4),
  .conoce-wrapper.has-5 .conoce-card:nth-child(5) {
    display: grid;
    grid-template-columns: 1fr min(42%, 320px); 
    grid-template-rows: auto 1fr auto;        
    grid-template-areas:
        "title media"
        "body  media"
        "cta   media";
    column-gap: 20px;
    row-gap: 10px;
    padding: 20px;
    /* min-height: 260px;       */
  }
  .conoce-wrapper.has-4 .conoce-card:nth-child(3) h3,
  .conoce-wrapper.has-4 .conoce-card:nth-child(4) h3,
  .conoce-wrapper.has-5 .conoce-card:nth-child(1) h3,
  .conoce-wrapper.has-5 .conoce-card:nth-child(2) h3,
  .conoce-wrapper.has-5 .conoce-card:nth-child(4) h3,
  .conoce-wrapper.has-5 .conoce-card:nth-child(5) h3 { grid-area: title; margin: 0 0 6px; }

  .conoce-wrapper.has-4 .conoce-card:nth-child(3) p,
  .conoce-wrapper.has-4 .conoce-card:nth-child(4) p,
  .conoce-wrapper.has-5 .conoce-card:nth-child(1) p,
  .conoce-wrapper.has-5 .conoce-card:nth-child(2) p,
  .conoce-wrapper.has-5 .conoce-card:nth-child(4) p,
  .conoce-wrapper.has-5 .conoce-card:nth-child(5) p { grid-area: body; margin: 0; }

  .conoce-wrapper.has-4 .conoce-card:nth-child(3) .conoce-link,
  .conoce-wrapper.has-4 .conoce-card:nth-child(4) .conoce-link,
  .conoce-wrapper.has-5 .conoce-card:nth-child(1) .conoce-link,
  .conoce-wrapper.has-5 .conoce-card:nth-child(2) .conoce-link,
  .conoce-wrapper.has-5 .conoce-card:nth-child(4) .conoce-link,
  .conoce-wrapper.has-5 .conoce-card:nth-child(5) .conoce-link { 
    grid-area: cta; 
    align-self: start; 
  }

  .conoce-wrapper.has-4 .conoce-card:nth-child(3) .conoce-img,
  .conoce-wrapper.has-4 .conoce-card:nth-child(4) .conoce-img,
  .conoce-wrapper.has-5 .conoce-card:nth-child(1) .conoce-img,
  .conoce-wrapper.has-5 .conoce-card:nth-child(2) .conoce-img,
  .conoce-wrapper.has-5 .conoce-card:nth-child(4) .conoce-img,
  .conoce-wrapper.has-5 .conoce-card:nth-child(5) .conoce-img { 
    grid-area: media; 
    justify-self: center; 
    align-self: center;
  }

  .conoce-wrapper.has-4 .conoce-card:nth-child(3) .conoce-img img,
  .conoce-wrapper.has-4 .conoce-card:nth-child(4) .conoce-img img,
  .conoce-wrapper.has-5 .conoce-card:nth-child(1) .conoce-img img,
  .conoce-wrapper.has-5 .conoce-card:nth-child(2) .conoce-img img,
  .conoce-wrapper.has-5 .conoce-card:nth-child(4) .conoce-img img,
  .conoce-wrapper.has-5 .conoce-card:nth-child(5) .conoce-img img {
    max-height: 125px; 
    width: auto;
  }
  .conoce-card .conoce-img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .conoce-card .conoce-img img {
    /* max-height: 200px; */
    width: auto;
  }

  .conoce-pagination { display: none; }
}

/* SECCION COMPARATIVA */
.comparativa-container {
    padding: 20px;

    .tabla {
         background-color: #fff;
    }

    h2 {
        text-align: center;
        color: var(--blue-ink);
        margin-top: 2rem;
        margin-bottom: 3rem;
        font: 300 var(--title-font-mob) / var(--title-font-desk) Roboto, sans-serif;
    }
    h3 {
        color: var(--blue-ink);
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
    }
    .tt-desktop {
        display: none;
    }
    p {
        font-size: 14px;
        color: var(--gris-letra);
        max-width: 20ch;
        text-align: center;
    }
    .fila {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-content: center;
        height: 60px;
        padding-inline: 20px;
    }
    .fila:nth-child(even) {
        background-color: #EEFAFF;
    }
    .columna img {
        width: 18px;
        height: 18px;
    }
    .container-check {
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #31A631;
        border-radius: 100%;
    }
    .columna {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 500px) {
   .comparativa-container {
     & .tabla {
        & .fila {
           & .columna {
              & h3 {
                font-size: 13px;
              }
              & p {
                font-size: 10px;
              }
           }
        }
     }
   }
}
@media (min-width: 992px) {
    .comparativa-container {
        max-width: 1200px;
        margin: 0 auto;

        & h2, & h3 {
            font-size: var(--title-font-desk);
        }
        & .tt-mobile {
            display: none;
        }
        & .tt-desktop {
            display: block;
        }
        & p {
            font-size: var(--p-font-desk);
        }
        & .fila {
            grid-template-columns: 1fr 1fr 1fr;
        }
        & .col1 { order: 2; }
        & .col2 { order: 1; }
        & .col3 { order: 3; }
        & .columna img {
            width: 20px;
            height: 20px;
        }
        & .container-check {
            width: 30px;
            height: 30px;
        }
    }
}

/* SECCION INTEROPERABILIDAD */
.interoperabilidad {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;

    & .interoperabilidad-container {
        background-color: #EEFAFF;
        padding: 30px;
    }

    & .servicio-adicional-container {
      padding: 20px;
      width: 90%;
    }
    
    & h2 {
        text-align: center;
        color: var(--blue-ink);
        margin-bottom: 2rem;
        font: 300 var(--title-font-mob) / 1.25 Roboto, sans-serif;
    }
    & picture {
        width: 100%;
        max-width: 100%;
        height: auto;

        & img {
            width: 80%;
            max-width: 860px;
            height: auto;
            background-color: #EEFAFF;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
        }
    }
}
@media (min-width: 992px) {
    .interoperabilidad {
      margin: 40px auto;

        & picture {

          & img {
              width: 100%;
          }
      }

        & .interoperabilidad-container {
            padding: 40px;
            width: 100%;
        }
        & h2 {
            font-size: var(--title-font-desk);
        }
    }
}
.servicio-adicional-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    background: #FFF;
    box-sizing: border-box;
    max-width: var(--max);
    margin-block: 20px;
    padding: 24px 12px;
    border-radius: 8px;
    box-shadow: 0 5.861px 5.861px 0 rgba(0, 0, 0, 0.25);

    & h2, & h3 {
        color: var(--azul-opaco);
        text-align: start;
        margin: 0;
    }
    & h3 {
        font-size: 16px;
        font-weight: 400;
    }
    & h2 {
        font-size: var(--title-font-mob);
        font-weight: 500;
    }
    & p {
        color: var(--gris-letra);
    }

    & img {
        max-width: 200px;
        align-self: center;
    }
    & .servicio-adicional-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
    }
}
@media (min-width: 768px) {
    .servicio-adicional-container {
        flex-direction: row;
        gap: 100px;
        border-radius: 12px;
        padding: 24px;
        width: 100%;

        & h3 {
            font-size: 26px;
        }
        & h2 {
            font-size: var(--title-font-desk);
        }
        & p {
            font-size: var(--p-font-desk);
        }

        & img {
            max-width: 40%;
        }
    }
}
@media (min-width: 992px) {
    .servicio-adicional-container {
        max-width: 1200px;
        padding-inline: 60px;
        margin-block: 60px;
    }
}

/* SUBMENÚ SOLUCIONES */
.soluciones-submenu {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 40px;
  font-family: 'Roboto', sans-serif;
}
.soluciones-list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem 0 3rem 0;
  padding: 8px 20px;
  list-style: none;
  position: relative;
}
.soluciones-list li {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.soluciones-list li a:not(.active),
.soluciones-list li a:not(.active):not([aria-current="page"]):not(.is-active) {
  background-color: #fff;
  padding: 20px 40px;
}
.soluciones-list li a {
  color: #114C9A;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 10px 0;
  transition: color 0.3s ease;
}
.soluciones-list li a:hover {
  color: var(--brand);
}
.soluciones-list li:first-child a {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}
.soluciones-list li:last-child a {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.soluciones-list li a.active,
.soluciones-list li a.active,
.soluciones-list li a[aria-current="page"],
.soluciones-list li a.is-active,
.soluciones-list li.is-active > a,
.soluciones-list li.menu-item--active-trail > a {
  color: #fff;
  background: var(--azul-opaco);
  padding: 20px 40px;
  border-radius: 0;
}
.soluciones-list li:first-child a.active,
.soluciones-list li:first-child a[aria-current="page"],
.soluciones-list li:first-child a.is-active,
.soluciones-list li:first-child.is-active > a,
.soluciones-list li:first-child.menu-item--active-trail > a {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}
.soluciones-list li:last-child a.active,
.soluciones-list li:last-child a[aria-current="page"],
.soluciones-list li:last-child a.is-active,
.soluciones-list li:last-child.is-active > a,
.soluciones-list li:last-child.menu-item--active-trail > a {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}
.soluciones-list li a.active::after,
.soluciones-list li a[aria-current="page"]::after,
.soluciones-list li a.is-active::after,
.soluciones-list li.is-active > a::after,
.soluciones-list li.menu-item--active-trail > a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    width: 0;
    height: 0;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 15px solid var(--azul-opaco);
}
.soluciones-list li a {
  position: relative;
}
.soluciones-list li:not(:last-child) a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background-color: #D9D9D9;
  z-index: 2; 
}
.soluciones-mobile-header {
  background: #082A5E;
  color: #fff;
  padding: 14px 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px 8px 0 0;
}
.soluciones-mobile-header .soluciones-current {
  font-weight: 500;
  font-size: var(--p-font-mob);
}
.soluciones-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.soluciones-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
  transition: all 0.3s ease;
}
.soluciones-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.soluciones-toggle.active span:nth-child(2) {
  opacity: 0;
}
.soluciones-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.soluciones-list li:is(.is-active, .menu-item--active-trail) a::before,
.soluciones-list li a:is(.active, [aria-current="page"], .is-active)::before {
  display: none;
}

@media (max-width: 1023px) {
  .soluciones-submenu {
    position: relative;
    z-index: 4;
  }
  .soluciones-list {
    display: none;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .soluciones-list li:first-child a {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
  }
  .soluciones-list.show {
    display: flex;
  }

.soluciones-mobile-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -2rem;
    border-radius: 0;
}

  .soluciones-list li {
    width: 100%;
    text-align: left;
  }

  .soluciones-list li a {
    display: block;
    padding: 12px 20px;
    color: #002c5f;
  }

  .soluciones-list li:last-child a,
  .soluciones-list li:last-child a.active,
  .soluciones-list li:last-child a[aria-current="page"],
.soluciones-list li:last-child a.is-active,
.soluciones-list li:last-child.is-active > a,
.soluciones-list li:last-child.menu-item--active-trail > a {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
  }
  .soluciones-list li:first-child a.active,
  .soluciones-list li:first-child a[aria-current="page"],
.soluciones-list li:first-child a.is-active,
.soluciones-list li:first-child.is-active > a,
.soluciones-list li:first-child.menu-item--active-trail > a {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.soluciones-list li a.active::after,
.soluciones-list li a[aria-current="page"]::after,
.soluciones-list li a.is-active::after,
.soluciones-list li.is-active > a::after,
.soluciones-list li.menu-item--active-trail > a::after{
    display: none;
  }
}

/* funcionamiento section */

.funcionamiento-section {
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1400px;

    & h2 {
      font-size: var(--title-font-desk);
      color: #002c5f;
      margin-bottom: 1rem;
      font-weight: 300;
    }
    & .container {
      max-width: var(--max);
      margin: 0 auto;
      padding: 2rem;
    }
    & p {
      max-width: 600px;
      margin: 2rem auto 3rem;
      color: var(--gris-letra);
      font-size: var(--p-font-mob);
    }
    & .func-card {
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      padding: 2rem;
      position: relative;
      text-align: left;
      height: 100%;
      width: 100%;
      box-sizing: border-box;
      min-height: 350px;
      max-height: 350px;
      margin-bottom: 4rem;

      & img {
        position: absolute;
        bottom: 1rem;
        right: 1rem;
        width: 60px;
        height: auto;
        max-width: 100%; 
        display: block;
      }

      & img, & svg {
        overflow: hidden;
      }

      & h3 {
        color: var(--brand);
        font-size: var(--title-font-mob);
        margin-bottom: 1.5rem;
        font-weight: 500;
      }

      & p {
        font-size: 16px;
        color: var(--gris-letra);
      }
    }
      & .swiper {
        width: 100%;
        padding: 0 2rem 0 2rem;
        max-width: 100%;
        overflow: visible !important;
        box-sizing: border-box;

        & .swiper-wrapper {
          box-sizing: border-box;

        & .swiper-slide {
            box-sizing: border-box;
            max-width: 100%;
        }
      }
    }
   
    & .swiper.swiper-disabled .swiper-wrapper {
      transform: none !important;
      display: flex;
      justify-content: center;
      gap: 30px;
    }
    & .swiper.swiper-disabled .swiper-slide {
      flex: 1 1 0;
      min-width: 0;
      width: auto !important;
      position: relative;
    }

    & .swiper-button-prev svg,
    & .swiper-button-next svg {
      width: 100%;
      height: auto;
      /* display: block; */
      position: absolute;
    }
    & .swiper-button-prev svg {
      left: -40px;
    }
    & .swiper-button-next svg {
      right: -40px;
    }
    & .swiper-button-prev::after,
    & .swiper-button-next::after {
      display: none !important;
      content: none !important;
    }

    & .custom-prev,
    & .custom-next,
    & .swiper-button-prev,
    & .swiper-button-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      z-index: 10;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
    }

}
@media (max-width: 1199px) {
  .funcionamiento-section {
    & .custom-prev svg,
    & .custom-next svg {
      display: none;
    }
    & .swiper {
      padding: 0;
    }
  }

}

@media (min-width: 1200px) {
    .funcionamiento-section {
      & .custom-prev svg,
      & .custom-next svg {
        width: 100%;
        height: auto;
        display: block;
      }
    }

}

@media (max-width: 1023px) {
  .funcionamiento-section {
    padding: 2rem 0;

    & h2 {
      font-size: var(--title-font-mob);
    }
   & h3 {
        font-size: 20px;
    }
    & p {
      font-size: var(--p-font-mob);
    }
    & .container {
      padding: 0 2rem 0 2rem;
    }

    & .func-card {
      min-height: 400px;
      /* max-height: 340px; */
      padding: 1rem;

      & p {
        margin: 10px auto !important;
        font-size: 15px;
      }
    }

    & .swiper-button-prev,
    & .swiper-button-next {
      display: none;
    }

    & .custom-prev,
    & .custom-next {
      display: none !important;
    }

    & .swiper-pagination {
      display: block;
    }

    & .swiper {
      padding: 0;
    }

  }

}


/* sección mapa */

.cobertura-section {
  text-align: center;
  padding: 2rem 0;
}
.cobertura-section h2 {
  font-size: var(--title-font-desk);
  font-weight: 300;
  color: #002c5f;
  margin-bottom: 2rem;
}
.cobertura-filtros {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}
.cobertura-filtros label {
  font-size: var(--p-font-mob);
  color: var(--gris-letra);
}
.cobertura-mapa {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: var(--max);
}
.cobertura-mapa img:first-child {
  width: 100%;
  height: auto;
  display: block;
}
.mancha {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mancha.visible {
  opacity: 1;
}
.mancha-azul {
    width: 45%;
    top: 0.2%;
    left: 34.8%;
}
.mancha-verde {
    width: 46%;
    top: 6%;
    left: 11%;
}
#chk-actual {
  accent-color: var(--brand);
}
#chk-proxima {
  accent-color: #31A631;
}
@media (max-width: 768px) {
  .cobertura-mapa {
    width: 100%;
  }
}


/* sección mototrbro */

.tecnologia-section {
  position: relative;
  padding: 4rem 0;
  text-align: center;
  
    & .bg-lines {
      position: absolute;
      inset: 0;
      z-index: 0;
      width: 100%;

        & img {
        width: 100%;
        height: 70%;
        object-fit: cover;
        max-width: 1400px;
      }
    }

    & .container {
      position: relative;
      z-index: 1;
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 1.5rem;
    }
    & p {
      color: var(--gris-letra);
      font-size: var(--p-font-mob);
      max-width: 650px;
    }
    & p:not(.flip-back p) {
      margin: 20px auto;
    }
    & h2 {
      color: #1F085A;
      font-size: var(--title-font-desk);
      margin-bottom: 1rem;
      font-weight: 300;

        & span {
        color: var(--brand);
        font-weight: 600;
      }
    }
}

.cards-grid {
  display: grid;
  gap: 30px;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    & .flip-card {
      perspective: 1000px;
      min-width: 300px;
    }
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s;
}
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}
.flip-front,
.flip-back {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s;
  padding: 2rem;
  max-height: 230px;
  min-height: 230px;
  min-width: 190px;
}
.flip-front {

  & img {
    width: 64px;
    height: auto;
    margin-bottom: 1rem;
  }
  & h3 {
    color: var(--azul-opaco);
    font-size: 1.1rem;
    line-height: 1.3;
  }
}

.flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);

    & h3 {
      color: var(--azul-opaco);
      font-size: 20px;
      font-weight: 500;
      margin-bottom: 1.5rem;
      position: relative;
      text-align: left;
      margin-right: auto;
      margin-top: 0;
    }
    & h3::after {
      content: "";
      position: absolute;
      bottom: -10px;     
      left: 0;
      width: 60px;     
      height: 2px;         
      background-color: var(--azul-opaco); 
      border-radius: 2px;
    }
    & p {
      color: var(--azul-opaco);
      font-size: 0.95rem;
      line-height: 1.4;
      text-align: left;
      margin-right: auto;
    }
    & .icon-back {
      display: none; 
    }
}

@media (max-width: 1023px) {
  .tecnologia-section {
  padding: 2rem 0;
  overflow: visible;
  margin: 0;

    & h2 {
      font-size: var(--title-font-mob);
    }
    & .bg-lines img {
      height: 45%;
      width: 100%;
  }
  & .flip-front, & .flip-back {
    justify-content: flex-start;
    min-height: 300px !important;
}
}
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .flip-inner {
    transform: none !important;
  }
  .flip-front {
    display: none !important;
  }
  .flip-back {
    position: static;
    transform: none;

    & .icon-back {
      display: block;
      width: 40px;
      position: absolute;
      bottom: 1rem;
      left: 2rem;
    }
  }
 
}

@media (min-width: 1200px) {
  .tecnologia-section {
    margin: 2rem auto 6rem auto;
   }
  .cards-grid.has-4 {
     grid-template-columns: repeat(4, minmax(250px, 1fr));
  }
  .cards-grid.has-2 {
     grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
  .cards-grid.has-3 {
     grid-template-columns: repeat(3, minmax(300px, 1fr));
  }
  .cards-grid .flip-card {
    width: 100%;
    min-width: 0; 
  }
  .cards-grid .flip-card,
  .flip-front,
  .flip-back {
    max-width: none !important;
    min-width: 0 !important;
  }
  .flip-front,
  .flip-back {
    padding: 2rem;
    height: 100%;
    min-height: unset !important;
    max-height: none !important;
  }

}
@media (min-width: 768px) and (max-width: 1199px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}

/* capacidad section o columnas asimétricas */

.capacidad-section {
  text-align: center;
  padding: 2rem 0;

  & h2 {
    font-size: var(--title-font-desk);
    font-weight: 300;
    color: #002C5F;
    margin-bottom: 2rem;
  }
}

.capacidad-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;

    & .col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 380px;

      & .card {
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      overflow: hidden;
    }
    & .card-img {
        & img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
      }
    }
    & .card-text {
      padding: 2rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex-grow: 1;
      min-height: 300px;

        & h3 {
        color: var(--brand);
        font-size: 20px;
        margin-bottom: 1rem;
      }
      & p {
        color: var(--azul-opaco);
        font-size: var(--p-font-desk);
        line-height: 1.5;
        text-align: left;
      }
    }
  }
}

@media (max-width: 1023px) {
.capacidad-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 0 20px;

    & .col {
      width: 100%;
      max-width: 100%; 
      display: flex;          
      flex-direction: column;  
      gap: 20px;

      & .card-img {
        & img {
          border-radius: 8px;
        }
      }
    }
    & .col:nth-child(2) {
      flex-direction: column-reverse;
    }
  }

  .capacidad-section h2 {
    font-size: var(--title-font-desk);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .capacidad-grid {
        & .col {
        display: flex;
        flex-direction: row;
        max-width: none;
        margin: 0 2rem 0 2rem;
    }
  }

}

@media (min-width: 1024px) {
  .capacidad-section {
  text-align: center;
  padding: 0 2rem 3rem 2rem; 
}
  .capacidad-grid {
    flex-direction: row;
    align-items: stretch;

      & .col:nth-child(1) .card-text { flex: 1; } 
      & .col:nth-child(1) .card-img  { flex: 0.9; }

      & .col:nth-child(2) .card-img  { flex: 1; }
      & .col:nth-child(2) .card-text { flex: 1; }

      & .col:nth-child(3) .card-text { flex: 1; }
      & .col:nth-child(3) .card-img  { flex: 1; }
  }

}

/* Sección accesorios */

.accesorios-section {
  padding: 0 0 4rem 0;
  display: flex;
  justify-content: center;
}
.accesorios-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5.861px 5.861px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  max-width: var(--max);
  width: 100%;
  margin: 0 20px;
}

.accesorios-texto {
  flex: 1;
  padding: 3rem;
  text-align: left;

    & p {
      color: var(--gris-letra);
      font-size: 1rem;
      margin-bottom: 2rem;
    }

    & h2 {
      font-size: 1.8rem;
      color: #1F085A;
      font-weight: 300;
      line-height: 1.3;
      margin-bottom: 1rem;

        & span {
        color: var(--azul-opaco);
        font-weight: 500;
        margin-bottom: 2rem;
      }
    }
}

.btn-accesorios {
  background: linear-gradient(90deg, var(--brand), #3C83E1);
  color: #fff;
  padding: 0.75rem 4rem;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.btn-accesorios:hover {
  background: #fff;
  border: 2px solid var(--brand);
  color: var(--brand);
}

.accesorios-imagen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
}

@media (max-width: 1023px) {
  .accesorios-container {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .accesorios-texto {
    display: contents;
    padding: 2rem 1.5rem;

      & h2 {
        margin-bottom: 1rem;
        font-size: var(--title-font-mob);
        order: 1;
      }
      & p {
        margin: 1.5rem 0;
        font-size: var(--p-font-mob);
        order: 3;
      }
  }

  .accesorios-imagen {
    order: 2;
    width: 100%;

      & img {
        width: 100%;
        max-height: none;
        object-fit: contain;
        border-radius: none;
      }
  }

  .btn-accesorios {
    order: 4;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }

}


/* sección video manager */

.video-section {
  padding: 4rem 0;
  display: flex;
  justify-content: center;
}
.video-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5.861px 5.861px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  max-width: var(--max);
  width: 100%;
}

.video-texto {
  flex: 1;
  padding: 3rem;
  text-align: left;
}

.video-texto h2 {
  font-size: var(--title-font-desk);
  color: #1F085A;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.video-texto h2 span {
  color: var(--azul-opaco);
  font-weight: 600;
}

.video-texto p {
  color: var(--gris-letra);
  font-size: var(--p-font-desk);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.video-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.video-lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  color: #1F1F1F;
  font-size: 1rem;
}
.video-lista li svg {
  min-width: 20px !important;
  min-height: 20px !important;
}
.video-imagen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.video-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1023px) {
  .video-section {
    padding: 0 0 3rem 0;
}
  .video-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "photo"
      "text"
      "list"
      "cta";
    text-align: center;
    margin: 0 20px;
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
  }
  .video-texto,
  .video-imagen {
    display: contents;
  }
  .video-texto h2 {
    grid-area: title;
    margin-bottom: 1rem;
  }
  .video-imagen img {
    grid-area: photo;
    width: 100%;
    max-height: 250px;
    object-fit: cover;
  }
  .video-texto p {
    grid-area: text;
    margin: 1.5rem 0;
    font-size: 16px;
  }
  .video-lista {
    grid-area: list;
    text-align: left;
    margin: 0 auto 1.5rem;
    width: 90%;
  }
  .video-lista li {
    font-size: 0.95rem;
  }
}

/* sección pdf */

.documentos-section {
  padding: 1rem 0;
  text-align: center;
  margin: 20px auto;
  max-width: var(--max);
}

.documentos-section h2 {
  font-size: var(--title-font-desk);
  color: #002C5F;
  margin-bottom: 2rem;
  font-weight: 300;
}

.documentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.doc-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.doc-card:hover {
  transform: translateY(-5px);
}

.doc-content {
  display: flex;
  align-items: stretch;
  gap: 20px;
  text-align: left;
  height: 100%;
}
.doc-img {
  max-width: 40%;
  height: auto;
}
.doc-img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
  background-color: var(--gradiente-media);
}
.doc-text {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}
.doc-text h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 0.3rem;
}
.doc-text p {
  font-size: var(--p-font-desk);
  color: var(--gris-letra);
  flex-grow: 1;
}
.doc-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
  margin-top: 1rem;
  transition: color 0.3s;
}
.doc-download img {
  width: 18px;
  height: auto;
}
.doc-download:hover {
  color: #003f8f;
}

@media (max-width: 1023px) {
  .documentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .documentos-section {
  margin: 20px;
}
}
@media (max-width: 767px) {
    .documentos-grid {
    grid-template-columns: 1fr;
  }
    .documentos-section {
    margin: 20px;
    padding: 0;
  }
  .documentos-section h2 {
    font-size:var(--title-font-mob);
  }
  .doc-card{
    position: relative;
    border-radius: 10px;
    overflow: hidden;         
  }
  .doc-content {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 5px;
      padding: 0 0 2.25rem;
      height: auto;
      min-height: 160px;
  }
  .doc-img{
    flex: 0 0 38%;
    max-width: 38%;
  }
  .doc-img img{
    width: 100%;
    height: auto;
    min-height: 160px !important;
    border-radius: 6px;
    object-fit: cover;
  }
  .doc-text{
    flex: 1;
    padding: 0;
    margin: 20px 10px auto 10px;
  }
  .doc-text h3{
    font-size: 16px;
    margin: 0 0 0.45rem;
    line-height: 1.25;
  }
  .doc-text p{
    font-size: 14px;
    margin: 0;
    line-height: 1.35;
    color: var(--gris-letra);
  }
  .doc-download{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    text-align: center;
    background: linear-gradient(90deg, var(--brand), #3C83E1);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 0.95rem 1rem;
    border-radius: 0 0 10px 10px;
  }
  .doc-download img{ display: none; } 
}


/* botón flotante */

.btn-cotiza {
  position: fixed;
  top: 60%;
  right: 0;
  transform: translateY(-50%);
  background-color: var(--gradiente-clara);
  color: #fff;
  font-size: var(--p-font-desk);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl; 
  transform: translateY(-50%) rotate(180deg); 
  gap: 10px;
  padding: 1.2rem 0.6rem;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cotiza img {
  transform: rotate(180deg);
  width: 22px;
  height: auto;
  margin-bottom: 6px; 
}

.btn-cotiza:hover {
  background-color: #0090C8;
}

@media (max-width: 768px) {
  .btn-cotiza {
    font-size: var(--p-font-mob);
    padding: 1rem 0.5rem;
  }
  .btn-cotiza img {
    width: 18px;
  }
}

