:root{
  --bg:#f3f2ef;
  --teal:#4f8893;
  --teal-dark:#245866;
  --sand:#d8d2c6;
  --text:#141414;
  --muted:#6b6b6b;
  --white:#ffffff;
  --line:#d7d7d7;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  padding-top:64px;
  transition:background-color .45s ease;
  overflow-x:hidden;
}

body.services-active{
  background:var(--teal);
}

img,
video{
  display:block;
  max-width:100%;
}

a{
  text-decoration:none;
  color:inherit;
}

button{
  font-family:inherit;
}

.container{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:0 32px;
}

/* HOVER IMÁGENES */
.img-hover-color{
  filter:grayscale(100%);
  transition:filter .35s ease, transform .35s ease;
}

.img-hover-color:hover{
  filter:grayscale(0%);
}

/* HEADER */
.header{
  background:rgba(247, 246, 244, .95);
  border-bottom:1px solid #e1e1e1;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  transition:background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  backdrop-filter:saturate(140%) blur(6px);
}

.header.scrolled{
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.header-inner{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
}

.logo{
  display:block;
  width:130px;
  flex-shrink:0;
}

.logo img{
  width:100%;
  height:auto;
}

.nav{
  display:flex;
  align-items:center;
  gap:34px;
  font-size:13px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:#5f5f5f;
  margin-left:auto;
}

.nav a{
  transition:.2s ease;
  position:relative;
  white-space:nowrap;
}

.nav a:hover{
  opacity:.75;
}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:1.5px;
  background:currentColor;
  transition:width .28s ease;
}

.nav a:hover::after{
  width:100%;
}

/* BOTON IDIOMA */
.lang-inline{
  display:flex;
  align-items:center;
  gap:6px;
  margin-left:6px;
}

.lang-chip{
  border:1px solid #cfcfcf;
  background:#ffffff;
  color:#4b4b4b;
  min-width:42px;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:1px;
  cursor:pointer;
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.lang-chip:hover{
  transform:translateY(-1px);
  border-color:#b8b8b8;
}

.lang-chip.active{
  background:var(--teal);
  color:#fff;
  border-color:var(--teal);
  box-shadow:0 8px 18px rgba(79,136,147,.22);
}

.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border:none;
  background:transparent;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  margin-left:auto;
}

.menu-toggle span{
  width:24px;
  height:2px;
  background:#222;
  border-radius:999px;
  transition:transform .25s ease, opacity .25s ease;
}

.menu-toggle.active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
  opacity:0;
}

.menu-toggle.active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero{
  position:relative;
  min-height:590px;
  overflow:hidden;
  background:#000;
}

.hero-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(43, 109, 120, 0.60);
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  min-height:590px;
  display:flex;
  align-items:center;
  padding-left:8px;
  padding-right:8px;
}

.hero-title{
  color:#fff;
  font-style:italic;
  line-height:0.95;
  font-weight:300;
  max-width:900px;
}

.hero-title span:first-child{
  display:block;
  font-size:76px;
  font-weight:700;
}

.hero-title span:last-child{
  display:block;
  font-size:78px;
  font-weight:300;
  margin-top:12px;
}

/* INTRO */
.intro{
  padding:72px 0 86px;
  background:var(--bg);
}

.intro-text{
  text-align:center;
  font-size:28px;
  line-height:1.3;
  font-style:italic;
  font-weight:700;
  max-width:980px;
  margin:0 auto 80px;
}

.intro-text span{
  color:var(--teal);
}

.trusted-title{
  text-align:center;
  font-size:30px;
  font-style:italic;
  letter-spacing:.8px;
  margin-bottom:40px;
  color:#2f2f2f;
  font-weight:500;
}

/* BRANDS GRID */
.brands-grid{
  display:grid;
  align-items:start;
}

.brands-pyramid-3-2{
  max-width:1280px;
  margin:0 auto;
  gap:42px 36px;
  grid-template-columns:repeat(6, 1fr);
  grid-template-areas:
    "top1 top1 top2 top2 top3 top3"
    ". bottom1 bottom1 bottom2 bottom2 .";
}

.brand-top-1{ grid-area: top1; }
.brand-top-2{ grid-area: top2; }
.brand-top-3{ grid-area: top3; }
.brand-bottom-1{ grid-area: bottom1; }
.brand-bottom-2{ grid-area: bottom2; }

.brand-item{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}

.brand-logo-wrap{
  width:100%;
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
}

.brand-item img{
  max-width:260px;
  max-height:110px;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:grayscale(100%);
  transition:filter .35s ease, transform .35s ease;
}

.brand-item:hover img{
  filter:grayscale(0%);
  transform:translateY(-4px);
}

.brand-item span{
  display:block;
  font-size:22px;
  font-style:italic;
  line-height:1.3;
}

/* SERVICES BLOCK */
.services-block{
  background:transparent;
  color:#fff;
  padding:72px 0 42px;
  position:relative;
  z-index:2;
  transition:background-color .45s ease;
}

.services-heading{
  max-width:740px;
  margin-bottom:34px;
}

.section-mini{
  display:block;
  font-size:11px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:rgba(255,255,255,.75);
  margin-bottom:10px;
}

.services-heading h2{
  font-size:42px;
  font-weight:800;
  margin-bottom:14px;
}

.services-heading p{
  font-size:17px;
  line-height:1.65;
  color:rgba(255,255,255,.93);
}

.services-list-extended{
  border-top:1px solid rgba(255,255,255,.4);
}

.service-row{
  display:grid;
  grid-template-columns:80px 290px 1fr;
  gap:24px;
  padding:30px 0;
  border-bottom:1px solid rgba(255,255,255,.4);
  align-items:start;
}

.service-icon{
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

.service-icon img{
  width:58px;
  height:58px;
  object-fit:contain;
  filter:none !important;
}

.service-title{
  font-size:29px;
  font-style:italic;
  font-weight:700;
  line-height:1.15;
  padding-top:8px;
}

.service-copy{
  font-size:14px;
  line-height:1.65;
  color:rgba(255,255,255,.96);
}

.service-copy p + p{
  margin-top:10px;
}

.service-copy ul{
  margin-top:10px;
  padding-left:18px;
}

.service-copy li{
  margin-bottom:3px;
}

/* STATS BAND */
.stats-band{
  background:#d9d4c7;
  padding:18px 0;
  position:relative;
  z-index:3;
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.stat{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.stat-number{
  display:flex;
  align-items:flex-start;
  gap:6px;
}

.stat strong{
  font-size:52px;
  font-weight:600;
  line-height:1;
}

.stat span{
  font-size:28px;
  font-weight:500;
  line-height:1;
  margin-top:4px;
}

.stat p{
  font-size:12px;
  line-height:1.5;
  max-width:180px;
}

/* EXCELLENCE */
.excellence{
  padding:92px 0 96px;
  background:var(--bg);
}

.excellence-grid{
  display:grid;
  grid-template-columns:330px 1fr;
  gap:44px;
  align-items:start;
}

.excellence-copy h2{
  font-size:28px;
  line-height:1.25;
  font-style:italic;
  font-weight:700;
}

.excellence-copy h2 span{
  color:var(--teal);
}

.excellence-gallery{
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  gap:16px;
  align-items:end;
}

.gallery-item{
  overflow:hidden;
  border-radius:0;
}

.gallery-item img{
  width:100%;
  height:240px;
  object-fit:cover;
}

.gallery-item.tall img{
  height:320px;
  object-fit:cover;
}

/* FOOTER */
.footer{
  background:linear-gradient(135deg, #4f8893 0%, #467f8a 50%, #3f7580 100%);
  color:#fff;
  padding:64px 0;
}

.footer-shell{
  max-width:1280px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr 470px;
  gap:60px;
  align-items:center;
}

.footer-left{
  max-width:560px;
}

.footer-kicker{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:2.6px;
  text-transform:uppercase;
  color:rgba(255,255,255,.76);
  margin-bottom:16px;
}

.footer-left h2{
  font-size:52px;
  line-height:1.02;
  font-weight:800;
  letter-spacing:-1.2px;
  max-width:520px;
  margin-bottom:20px;
}

.footer-description{
  max-width:460px;
  font-size:16px;
  line-height:1.7;
  color:rgba(255,255,255,.86);
  margin-bottom:24px;
}

.footer-email{
  display:inline-block;
  font-size:26px;
  line-height:1.2;
  font-weight:700;
  color:#fff;
  margin-bottom:24px;
  transition:opacity .25s ease, transform .25s ease;
}

.footer-email:hover{
  opacity:.9;
  transform:translateY(-1px);
}

.social{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px;
}

.social a{
  width:48px;
  height:48px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.05);
  transition:
    transform .25s ease,
    background-color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.social a:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.11);
  border-color:rgba(255,255,255,.4);
  box-shadow:0 10px 22px rgba(0,0,0,.12);
}

.social img{
  width:20px;
  height:20px;
  object-fit:contain;
  filter:none !important;
}

.footer-bottom{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.footer-bottom a{
  font-size:12px;
  font-weight:600;
  color:rgba(255,255,255,.78);
  text-decoration:none;
  transition:color .25s ease, opacity .25s ease;
}

.footer-bottom a:hover{
  color:#fff;
}

.form{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.22);
  border-radius:24px;
  padding:28px;
  width:100%;
}

.form-head{
  margin-bottom:18px;
}

.form-head h3{
  font-size:22px;
  line-height:1.15;
  font-weight:700;
  color:#fff;
  margin-bottom:6px;
}

.form-head p{
  font-size:14px;
  line-height:1.6;
  color:rgba(255,255,255,.76);
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.form input,
.form textarea{
  width:100%;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.30);
  color:#fff;
  font-size:14px;
  outline:none;
  padding:14px 16px;
  transition:
    border-color .25s ease,
    background-color .25s ease,
    box-shadow .25s ease;
}

.form input{
  border-radius:16px;
  margin-bottom:14px;
}

.form textarea{
  height:145px;
  border-radius:18px;
  resize:none;
  margin-bottom:18px;
}

.form input::placeholder,
.form textarea::placeholder{
  color:rgba(255,255,255,.70);
}

.form input:focus,
.form textarea:focus{
  border-color:rgba(255,255,255,.55);
  background:rgba(255,255,255,.08);
  box-shadow:0 0 0 4px rgba(255,255,255,.08);
}

.form button{
  background:#f4efe7;
  color:#1a1a1a;
  border:none;
  border-radius:999px;
  padding:13px 24px;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  cursor:pointer;
  min-width:140px;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background-color .25s ease;
}

.form button:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(0,0,0,.14);
}

/* REVEAL */
.reveal{
  opacity:0;
  transform:translateY(50px);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.22, 1, .36, 1);
  will-change:opacity, transform;
}

.reveal-left{
  transform:translateX(-60px);
}

.reveal-right{
  transform:translateX(60px);
}

.reveal.show{
  opacity:1;
  transform:translate(0, 0);
}

.stagger-group .stagger-item{
  opacity:0;
  transform:translateY(40px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.22, 1, .36, 1);
}

.stagger-group.show .stagger-item{
  opacity:1;
  transform:translateY(0);
}

.stagger-group.show .stagger-item:nth-child(1){ transition-delay:.06s; }
.stagger-group.show .stagger-item:nth-child(2){ transition-delay:.14s; }
.stagger-group.show .stagger-item:nth-child(3){ transition-delay:.22s; }
.stagger-group.show .stagger-item:nth-child(4){ transition-delay:.30s; }
.stagger-group.show .stagger-item:nth-child(5){ transition-delay:.38s; }
.stagger-group.show .stagger-item:nth-child(6){ transition-delay:.46s; }

/* RESPONSIVE */
@media (max-width: 1200px){
  .brands-pyramid-3-2{
    grid-template-columns:repeat(3, minmax(180px, 1fr));
    grid-template-areas:
      "top1 top2 top3"
      "bottom1 bottom2 .";
    justify-items:center;
  }
}

@media (max-width: 1024px){
  .container{
    padding:0 24px;
  }

  .logo{
    width:115px;
  }

  .nav{
    gap:22px;
    font-size:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .hero{
    min-height:500px;
  }

  .hero-content{
    min-height:500px;
  }

  .hero-title span:first-child{
    font-size:58px;
  }

  .hero-title span:last-child{
    font-size:62px;
  }

  .intro-text{
    max-width:860px;
  }

  .brands-pyramid-3-2{
    gap:28px 24px;
  }

  .brand-logo-wrap{
    min-height:120px;
  }

  .brand-item img{
    max-width:200px;
    max-height:88px;
  }

  .stats{
    grid-template-columns:repeat(2,1fr);
  }

  .service-row{
    grid-template-columns:70px 1fr;
  }

  .service-copy{
    grid-column:2 / 3;
  }

  .excellence-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .excellence-grid{
    gap:28px;
  }

  .excellence-copy{
    text-align:center;
    max-width:760px;
    margin:0 auto;
  }

  .excellence-gallery{
    grid-template-columns:repeat(2,1fr);
  }

  .footer{
    padding:54px 0;
  }

  .footer-grid{
    gap:40px;
  }

  .footer-left{
    max-width:none;
  }

  .footer-left h2{
    font-size:42px;
    max-width:none;
  }

  .footer-email{
    font-size:22px;
  }
}

@media (max-width: 768px){
  body{
    padding-top:78px;
  }

  .container{
    padding:0 18px;
  }

  .header-inner{
    min-height:78px;
    padding:12px 0;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:10px;
  }

  .logo{
    width:105px;
  }

  .menu-toggle{
    display:flex;
  }

  .nav{
    position:absolute;
    top:100%;
    left:18px;
    right:18px;
    background:#f7f6f4;
    border:1px solid #e1e1e1;
    box-shadow:0 16px 30px rgba(0,0,0,.08);
    border-radius:18px;
    padding:18px;
    margin-left:0;
    display:none;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:16px;
    font-size:12px;
    letter-spacing:1.4px;
  }

  .nav.nav-open{
    display:flex;
  }

  .nav a{
    width:100%;
    text-align:center;
    padding:4px 0;
  }

  .nav a::after{
    display:none;
  }

  .lang-inline{
    width:100%;
    justify-content:center;
    margin-left:0;
    margin-top:4px;
  }

  .lang-chip{
    height:32px;
    min-width:40px;
    font-size:11px;
  }

  .hero{
    min-height:420px;
  }

  .hero-content{
    min-height:420px;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding-left:0;
    padding-right:0;
  }

  .hero-title{
    width:100%;
    line-height:1.02;
  }

  .hero-title span:first-child{
    font-size:42px;
  }

  .hero-title span:last-child{
    font-size:46px;
    margin-top:8px;
  }

  .intro{
    padding:52px 0 62px;
  }

  .intro-text{
    font-size:19px;
    margin-bottom:54px;
  }

  .trusted-title{
    font-size:22px;
    margin-bottom:28px;
  }

  .brands-pyramid-3-2{
    grid-template-columns:repeat(2, minmax(140px, 1fr));
    grid-template-areas:
      "top1 top2"
      "top3 bottom1"
      "bottom2 bottom2";
    gap:18px;
  }
   
   
   .brand-item span{
  display:none;
}

  .brand-item{
    min-height:190px;
    padding:14px 8px;
    justify-content:flex-start;
  }

  .brand-logo-wrap{
    min-height:90px;
    margin-bottom:14px;
  }

  .brand-item img{
    max-width:140px;
    max-height:66px;
  }

  .brand-item span{
    font-size:18px;
  }

  .stats,
  .excellence-gallery{
    grid-template-columns:1fr;
  }

  .services-block{
    padding:52px 0 28px;
  }

  .services-heading{
    max-width:none;
    text-align:center;
    margin-bottom:28px;
  }

  .services-heading h2{
    font-size:30px;
  }

  .services-heading p{
    font-size:14px;
  }

  .service-row{
    grid-template-columns:1fr;
    gap:14px;
    text-align:center;
  }

  .service-icon{
    justify-content:center;
  }

  .service-copy{
    grid-column:auto;
  }

  .service-copy ul{
    padding-left:0;
    list-style-position:inside;
  }

  .service-title{
    font-size:22px;
    padding-top:0;
  }

  .stats-band{
    padding:22px 0;
  }

  .stat{
    align-items:center;
    text-align:center;
  }

  .stat-number{
    justify-content:center;
  }

  .stat strong{
    font-size:42px;
  }

  .stat span{
    font-size:22px;
  }

  .stat p{
    max-width:none;
  }

  .excellence{
    padding:60px 0;
  }

  .excellence-copy{
    text-align:center;
  }

  .excellence-copy h2{
    font-size:22px;
  }

  .gallery-item img,
  .gallery-item.tall img{
    height:260px;
  }

  .footer{
    padding:44px 0;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .footer-left{
    max-width:none;
    text-align:center;
  }

  .footer-left h2{
    font-size:34px;
    line-height:1.08;
    letter-spacing:-.8px;
    max-width:none;
  }

  .footer-description{
    font-size:15px;
    margin-left:auto;
    margin-right:auto;
  }

  .footer-email{
    font-size:18px;
    word-break:break-word;
  }

  .social{
    justify-content:center;
  }

  .social a{
    width:44px;
    height:44px;
  }

  .social img{
    width:18px;
    height:18px;
  }

  .form{
    padding:22px 18px;
    border-radius:20px;
  }

  .form-row{
    grid-template-columns:1fr;
    gap:0;
  }

  .form-head{
    text-align:center;
  }

  .form-head h3{
    font-size:19px;
  }

  .footer-bottom{
    justify-content:center;
    gap:10px 16px;
  }

  .footer-bottom a{
    font-size:11px;
  }
}

@media (max-width: 480px){
  body{
    padding-top:76px;
  }

  .container{
    padding:0 16px;
  }

  .header-inner{
    min-height:76px;
  }

  .nav{
    left:16px;
    right:16px;
  }

  .hero{
    min-height:380px;
  }

  .hero-content{
    min-height:380px;
  }

  .hero-title span:first-child{
    font-size:32px;
  }

  .hero-title span:last-child{
    font-size:35px;
  }

  .intro-text{
    font-size:17px;
    line-height:1.45;
  }

  .trusted-title{
    font-size:20px;
  }

  .brands-pyramid-3-2{
    grid-template-columns:1fr;
    grid-template-areas:
      "top1"
      "top2"
      "top3"
      "bottom1"
      "bottom2";
    gap:10px;
  }
   
   .brand-item span{
  display:none;
}

  .brand-item{
    min-height:auto;
    padding:18px 8px;
  }

  .brand-logo-wrap{
    min-height:80px;
  }

  .brand-item img{
    max-width:150px;
    max-height:64px;
  }

  .brand-item span{
    font-size:16px;
  }

  .services-heading h2{
    font-size:26px;
  }

  .service-title{
    font-size:20px;
  }

  .service-copy{
    font-size:13px;
  }

  .stat strong{
    font-size:36px;
  }

  .stat span{
    font-size:20px;
  }

  .excellence-copy h2{
    font-size:20px;
    line-height:1.35;
  }

  .gallery-item img,
  .gallery-item.tall img{
    height:220px;
  }

  .footer-left h2{
    font-size:28px;
  }

  .footer-email{
    font-size:16px;
  }

  .form{
    padding:18px 14px;
  }
}