:root{
  --navy:#1D2142;
  --navy-dark:#101D38;
  --navy-darker:#0B1526;
  --teal:#2FB8AE;
  --teal-light:#E7F7F5;
  --text:#2A2E37;
  --text-muted:#6B7280;
  --gray-bg:#F5F7FA;
  --dark-gray:#444644;
  --white:#FFFFFF;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Montserrat',sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.65;
}
h1,h2,h3,h4,.brand,.eyebrow{
  font-family:'Raleway',sans-serif;
}
h2.section-title {
    font-weight: 900;
    color: var(--navy);
    font-size: 3.1rem;
    position: relative;
    line-height: 1;
}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.85rem;
  font-weight:600;
  color:var(--teal);
  margin-bottom:.5rem;
}
.title-rule{
  width:52px;
  height:4px;
  background:var(--teal);
  border-radius:2px;
  margin-top:14px;
}
.title-rule.center{margin-left:auto;margin-right:auto;}

/* ===== Navbar ===== */
.navbar-lingua{
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(6px);
  padding-top:1.25rem;
  padding-bottom:1.25rem;
  box-shadow:0 2px 18px rgba(16,29,56,.07);
  transition:all .3s ease;
}
.navbar-lingua .navbar-brand img{
  height:70px;
  width:auto;
  display:block;
  transition:all .3s ease-in-out;
}
.navbar-lingua .navbar-brand.scrolled img {
    height:50px;
}
.navbar-lingua .nav-link{
  color:var(--navy) !important;
  opacity:.75;
  font-weight:500;
  font-size:.92rem;
  margin:0 .55rem;
  position:relative;
}
.navbar-lingua .nav-link:hover{opacity:1;}
.navbar-lingua .nav-link.active{opacity:1;}
.navbar-lingua .nav-link.active::after{
  content:"";
  position:absolute;
  left:0; bottom:-4px;
  width:100%; height:2px;
  background:var(--teal);
}
.navbar-lingua .navbar-toggler{border-color:rgba(24,42,77,.3) !important;}
.navbar-lingua .navbar-toggler-icon{
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2824, 42, 77, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero ===== */
.hero{
  position:relative;
  background:
    radial-gradient(circle at 82% 20%, rgba(47,184,174,.18), transparent 45%),
    linear-gradient(120deg, var(--navy-darker) 0%, var(--navy) 55%, var(--navy) 100%);
  color:var(--white);
  padding:260px 0 160px;
  overflow:hidden;
}

.hero-bg{
  top:0; left:0;
  background:url(../img/bg-hero.jpg) center center / cover no-repeat;
  background-attachment:fixed;
  opacity:.15;
  z-index:1;
  mix-blend-mode: luminosity;
}

.hero-g-overlay{
  top:0; right:0;
  background:url(../img/g-float.png) center center / cover no-repeat;
  opacity:.15;
  z-index:2;
  min-height:100%;
  width:800px;
}

.hero h1{
  font-weight:800;
  font-size:2.9rem;
  line-height:1;
  max-width:640px;
}
.hero h1 .accent{color:var(--teal);}
.hero p.lead{
  color:rgb(255, 255, 255);
  max-width:600px;
  font-size:1.25rem;
  line-height:1.35;
  margin-top:1.3rem;
}
.hero .btn-teal{
  margin-top:1.8rem;
}
.btn-teal{
  background:var(--teal);
  border:1px solid var(--teal);
  color:var(--navy-darker);
  font-weight:600;
  padding:.7rem 1.7rem;
  border-radius:10px;
  transition:.2s;
}
.btn-teal:hover, .btn-teal:focus, .btn-teal:active {
    background:transparent;
    color:white;
    border:1px solid white;
}

.hero-spacer {
    background-color: var(--teal);
    height: 50px;
}

/* ===== Quienes somos ===== */
.section-quienes{
  padding:100px 0;
  background:var(--white);
  overflow:hidden;
}
.section-quienes p{color:var(--text-muted);}
.section-quienes strong{color:var(--navy);}

/* ===== Mision / Vision ===== */
.mv-wrap{
    padding:90px 0;
    position:relative;
}
.mv-bg {
  top:0; 
  left:0;
  right:0;
  background: var(--teal);
  z-index:1;
  display: block;
}

.mv-card{
  background:var(--white);
  border-radius:15px;
  padding:2.4rem 2.2rem;
  height:100%;
  border-top:4px solid var(--teal);
  box-shadow:0 10px 30px rgba(16,29,56,.06);
  transition:all .25s ease-in-out;
}
.mv-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(16,29,56,.12);
}


.mv-card-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap:12px;
  margin-bottom:1.5rem;
}
.mv-card h3{
  color:var(--navy);
  font-weight:800;
  margin-bottom:0;
  font-size:2.15rem;
}
.mv-card-icon{
  width:100px;
  height:100px;
  display:block;
}

.mv-card ul{padding-left:1.1rem; margin-bottom:0;}
.mv-card ul li{margin-bottom:.5rem;}
.mv-tagline{
  text-align:center;
  color:var(--navy);
  font-weight:600;
  font-size:1.35rem;
  max-width:640px;
  margin:60px auto 0;
  line-height:1.5;
}
.mv-card .lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
}

/* ===== Valores ===== */
.section-valores{
    background:var(--gray-bg);
    padding:100px 0;
}
.valor-item{
  display:flex;
  gap:16px;
  margin-bottom:2rem;
}
.valor-icon{
  flex:0 0 40px;
  width:40px; height:40px;
  border-radius:50%;
  background:var(--teal-light);
  color:var(--teal);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;
}
.valor-item h4{
  font-size:1.02rem;
  font-weight:700;
  color:var(--navy);
  margin-bottom:.3rem;
}
.valor-item p{font-size:.94rem; margin-bottom:0;}

/* ===== Servicios ===== */
.section-servicios{
  background:var(--navy-darker);
  padding:100px 0 110px;
  position:relative;  
}
.section-servicios .section-title,
.section-servicios .eyebrow{color:var(--white);}
.section-servicios .eyebrow{color:var(--teal);}
.servicios-swiper{
  overflow:hidden;
  padding:20px 0 32px;
}
.servicios-swiper .swiper-slide{
  height:auto;
}
.servicio-card{
  background:var(--white);
  border-radius:8px;
  padding:2.3rem 2rem;
  height:100%;
  transition:.25s;
}
.servicio-card.featured{
  background:var(--teal);
  color:var(--navy-darker);
  transform:translateY(-14px);
  box-shadow:0 20px 40px rgba(0,0,0,.25);
}

.servicio-card.featured h3,
.servicio-card.featured p{color:var(--navy-darker);}
.servicio-card:not(.featured):hover{transform:translateY(-6px);}
.servicio-icon{
  width:75px;height:75px;
  border-radius:12px;
  background:var(--teal-light);
  color:var(--teal);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.3rem;
}
.servicio-card.featured .servicio-icon{
  background:rgba(11,21,38,.14);
  color:var(--navy-darker);
}
.servicio-card h3{
  font-weight:700;
  font-size:1.15rem;
  color:var(--navy);
  margin-bottom:.9rem;
}
.servicio-card ul{padding-left:1.1rem; font-size:.9rem; color:var(--text-muted); margin-bottom:1rem;}
.servicio-card.featured ul{color:rgba(11,21,38,.8);}
.servicio-card ul li{margin-bottom:.4rem;}
.servicio-tagline{
  font-size:.86rem;
  font-style:italic;
  color:var(--text-muted);
  border-top:1px solid #eee;
  padding-top:.9rem;
  margin-bottom:0;
}
.servicio-card.featured .servicio-tagline{border-top-color:rgba(11,21,38,.15); color:rgba(11,21,38,.75);}
.section-servicios .swiper-pagination-bullet{
  width:10px;
  height:10px;
  background:rgba(255,255,255,.5);
  opacity:1;
}
.section-servicios .swiper-pagination-bullet-active{
  background:var(--teal);
}

.swiper-button-prev {
  left: -55px !important;
  top: 60% !important;
  color: white !important;
  background: teal;
  border-radius: 50%;
  font-size: .9rem !important;
}

.swiper-button-next {
  right: -55px !important;
  top: 60% !important;
  color: white !important;
  background: teal;
  border-radius: 50%;
  font-size: .9rem !important;
}

.swiper-button-next, .swiper-button-prev {
    ::slotted(svg), svg {
        height: auto !important;
        object-fit: contain;
        transform-origin: center;
        width: auto !important;
        fill: currentColor;
        pointer-events: none;
    }
}

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

@media (min-width:768px){
  .section-servicios .swiper-button-prev,
  .section-servicios .swiper-button-next {
    display: flex;
  }
}

/* ===== Enfoque ===== */
.section-enfoque{
  padding:110px 0;
  overflow: hidden;
}
.enfoque-icon-wrap{
  width:120px;height:120px;
  border-radius:50%;
  background:var(--teal-light);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.6rem;
}
.enfoque-icon-wrap svg{width:56px;height:56px;color:var(--teal);}

/* ===== Team ===== */
.section-team{
    background:var(--dark-gray); 
    padding:100px 0;
}
.avatar{
    width: 240px;
    height: 240px;
    border-radius:50%;
    background:var(--navy) center center / cover no-repeat;
    color:var(--white);
    display:flex;align-items:center;justify-content:center;
    font-family:'Poppins',sans-serif;
    font-weight:700;
    font-size:1.5rem;
    margin:0 auto 1.2rem;
    border:4px solid var(--white);
    box-shadow:0 8px 24px rgba(16,29,56,.12);
    transition:all .25s ease-in-out;
}
.team-card{text-align:center;}
.team-card h4{font-weight:700; color:white; margin-bottom:.15rem; font-size:1.15rem;transition:all .25s ease-in-out;}
.team-card p{color:var(--teal-light); opacity:.75; font-size:.88rem;transition:all .25s ease-in-out;}

.team-card:hover .avatar{
    transform:scale(.95);
    box-shadow:0 20px 40px rgba(16,29,56,.12);
}

.team-card:hover h4, .team-card:hover p{
    transform: scale(1.15);
    opacity: 1;
}

/* ===== Experiencia ===== */
.section-experiencia{padding:100px 0; background:var(--white);}
.section-experiencia p{color:var(--text-muted);}

/* ===== Clientes ===== */
.section-clientes{
  background:var(--teal);
  padding:64px 0;
  color:white;
}
.section-clientes h2{
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0;
    display: flex;
    align-content: center;
    justify-content: center;
    gap: 9px;
    align-items: center;
}
.section-clientes h2:after {
    display: inline-block;
    background-color: white;
    height: 3px;
    width: 35px;
    content: '';
    border-radius: 45px;
}
.cliente-dot{
  width:85px;height:85px;
  border-radius:50%;
  background:rgba(77, 77, 77, 0.15);
  border:none;
  overflow:hidden;
}
.clientes-carousel-btn{
  width:42px;height:42px;
  border-radius:50%;
  background:transparent;
  color:white;
  border:1px solid rgba(255, 255, 255, .35);
  display:flex;align-items:center;justify-content:center;
}
.clientes-carousel-btn:hover{
    background:rgba(255, 255, 255, .1);
    border-color:rgba(255, 255, 255, 1);
}

/* ===== Footer ===== */
footer.site-footer{
  background:var(--navy-darker);
  color:rgba(255,255,255,.75);
}
footer .footer-brand{
  font-family:'Poppins',sans-serif;
  font-weight:800;
  font-size:1.3rem;
  color:var(--white);
}
footer .footer-brand span{
  display:block;
  font-family:'Inter',sans-serif;
  font-weight:400;
  font-size:.6rem;
  letter-spacing:.22em;
  color:var(--teal);
  text-transform:uppercase;
}
footer h5{
  color:var(--white);
  font-weight:600;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-bottom:1.1rem;
}
footer a{color:rgba(255,255,255,.75); text-decoration:none;}
footer a:hover{color:var(--teal);}
.footer-divider{border-color:rgba(255,255,255,.1); margin:2.4rem 0 1.4rem;}
.footer-bottom{font-size:.8rem; color:rgba(255,255,255,.45);}

@media (max-width:767px){
  .hero{padding:300px 0 180px;}
  .hero h1{font-size:2.1rem;}
  .servicio-card.featured{transform:none;}
}

.bg-edificio{
  background: url(../img/edificio.jpg) center bottom  / cover no-repeat;
  min-height: 420px;
}

.datos-postales {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.text-direccion{
  color: var(--teal);
  text-align: right;
  font-size: .85rem;
  font-weight: 700;  
}

.text-direccion p {
  margin-bottom: 0;
  letter-spacing: 3px;
  line-height: 1.35;
}

.text-direccion p.x3 {
  font-size: 1.75rem;
  color: var(--white);  
  letter-spacing: normal;
}

.text-direccion p.x2 {
  font-size: 1.15rem;
  color: var(--white); 
  letter-spacing: normal; 
}

.link-telefono {
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  padding: .75rem 2.15rem;
  border-radius: 35px;
  border: none;
  transition: all .25s ease-in-out;
  text-align: center;
}

.link-telefono:hover, .link-telefono:focus, .link-telefono:active {
  background: var(--white);
  color: var(--teal);
}