/* =========================================================
   SM WEB SOLUTIONS — Landing page
   Brand: SM Digital design tokens (Manual de Marca)
   ========================================================= */

/* Fonts: Poppins autoalojada (subset latin, pesos 200/300/400/500/600/700) en assets/fonts. */
@font-face{font-family:"Poppins";font-style:normal;font-weight:200;font-display:swap;src:url("../assets/fonts/poppins-200.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:300;font-display:swap;src:url("../assets/fonts/poppins-300.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url("../assets/fonts/poppins-400.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url("../assets/fonts/poppins-500.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url("../assets/fonts/poppins-600.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url("../assets/fonts/poppins-700.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ---------- Tokens ---------- */
:root{
  --footer-text:#4b5370;
  --sm-azul-noche:#001a53;
  --sm-azul-marino:#0066ff;
  --sm-azul-origen:#051123;
  --sm-azul-cielo:#00c8fc;

  --sm-navy-700:#042366;
  --sm-navy-600:#0a3187;
  --sm-blue-600:#0057db;
  --sm-blue-100:#e0ecff;
  --sm-cyan-100:#e7faff;
  --sm-cyan-500:#00c8fc;

  --sm-ink:#051123;
  --sm-white:#ffffff;
  --sm-canvas:#eef0f2;
  --sm-paper:#f6f7f9;
  --sm-grey-50:#f3f5f7;
  --sm-grey-100:#e7eaee;
  --sm-grey-200:#d4dae1;
  --sm-grey-300:#b6bfca;
  --sm-grey-400:#8b97a6;
  --sm-grey-500:#66717f;
  --sm-grey-600:#4a5462;
  --sm-grey-700:#333c48;

  --radius-sm:12px;
  --radius-md:20px;
  --radius-lg:28px;
  --radius-pill:999px;

  --shadow-sm:0 2px 10px rgba(5,17,35,.06);
  --shadow-md:0 12px 28px rgba(5,17,35,.10);
  --shadow-lg:0 24px 48px rgba(5,17,35,.14);

  --ease:cubic-bezier(.4,0,.2,1);
  --wrap:1140px;
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Poppins", sans-serif;
  font-weight:400;
  color:var(--sm-ink);
  background:var(--sm-white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
button{font-family:inherit;}
h1,h2,h3,h4{margin:0;font-weight:600;letter-spacing:-.01em;}
p{margin:0;}
section{position:relative;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important;}
}

.container-ws{
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 24px;
  position:relative;
  z-index:1;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:var(--sm-azul-noche);
  background:var(--sm-blue-100);
  padding:6px 16px;
  border-radius:var(--radius-pill);
  margin-bottom:18px;
}
.eyebrow::before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:var(--sm-azul-marino);
}

/* Eyebrow variant: two-part sparkle badge (icon circle + solid pill),
   matching the "Encuéntranos" reference — used for section labels that
   should stand out more than the default light-blue pill. */
.eyebrow--badge{
  background:none;
  padding:0;
  gap:5px;
}
.eyebrow--badge::before{content:none;}
.eyebrow-icon{
  width:30px;height:30px;
  border-radius:50%;
  background:var(--sm-azul-marino);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.eyebrow-icon .brand-icon{width:15px;height:15px;color:#fff;}
.eyebrow-text{
  background:var(--sm-azul-marino);
  color:#fff;
  font-weight:700;
  font-size:13px;
  padding:8px 18px;
  border-radius:var(--radius-pill);
}

.section-title{
  font-family:"Poppins", sans-serif;
  font-weight:200;
  font-size:clamp(30px,4vw,41px);
  line-height:1.1;
  color:var(--sm-azul-noche);
  max-width:640px;
}
.section-title strong{font-weight:600;}
.text-accent{color:#0066FF;}
.section-lede{
  margin-top:16px;
  font-size:16.5px;
  line-height:1.65;
  color:var(--sm-grey-600);
  max-width:560px;
}
.section-head{margin-bottom:56px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head.center .section-title,.section-head.center .section-lede{margin-left:auto;margin-right:auto;}

.section-pad{padding:100px 0;}
@media (max-width:768px){.section-pad{padding:64px 0;}}

/* ---------- Buttons ---------- */
.btn-ws{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:"Poppins", sans-serif;
  font-weight:600;
  font-size:15px;
  padding:15px 28px;
  border-radius:var(--radius-pill);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space:nowrap;
}
.btn-ws:active{transform:translateY(1px);}
.btn-ws svg{width:16px;height:16px;flex-shrink:0;transition:transform .18s var(--ease);}
.btn-ws:hover svg{transform:translate(2px,-2px);}

.btn-primary{background:var(--sm-azul-marino);color:#fff;}
.btn-primary:hover{background:var(--sm-blue-600);box-shadow:0 10px 24px rgba(0,102,255,.28);color:#fff;}

.btn-dark{background:var(--sm-azul-noche);color:#fff;}
.btn-dark:hover{background:var(--sm-navy-700);color:#fff;}

.btn-outline{background:transparent;color:var(--sm-azul-noche);border-color:var(--sm-grey-300);}
.btn-outline:hover{border-color:var(--sm-azul-noche);background:var(--sm-grey-50);color:var(--sm-azul-noche);}

.btn-white{background:#fff;color:var(--sm-azul-noche);}
.btn-white:hover{background:var(--sm-cyan-100);color:var(--sm-azul-noche);}

.btn-sm{padding:11px 20px;font-size:14px;}

/* Brand icon system — solid geometric marks, colored via currentColor */
.brand-icon{fill:currentColor;stroke:none;display:block;}

/* ---------- Side decorative icons (parallax) ---------- */
.side-icon{
  position:absolute;
  top:8%;
  width:auto;height:auto;
  pointer-events:none;
  z-index:0;
  will-change:transform;
}
.side-icon.side-icon--right{right:20px;}
.side-icon.side-icon--left{left:20px;}
.side-icon--hidden{display:none;}
@media (max-width:1320px){
  .side-icon{display:none;}
}
.ws-header{
  position:fixed;top:16px;left:0;right:0;z-index:1000;
  transition:top .25s var(--ease);
}
.ws-header .header-inner{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.header-shell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.6);
  border-radius:var(--radius-pill);
  padding:10px 10px 10px 22px;
  box-shadow:0 8px 30px rgba(5,17,35,.08);
  width:100%;
  transition:box-shadow .25s var(--ease);
}
.ws-header.is-scrolled .header-shell{box-shadow:0 14px 40px rgba(5,17,35,.14);}

.ws-logo{display:flex;flex-direction:column;align-items:center;gap:2px;}
.ws-logo img{height:25px;width:auto;display:block;}
.ws-logo-tagline{
  font-size:10px;
  font-weight:600;
  letter-spacing:.06em;
  color:var(--sm-grey-600);
  text-transform:uppercase;
  line-height:1;
  width:100%;
  text-align:center;
  padding-top:3px;
}

.ws-nav{display:flex;align-items:center;gap:2px;background:var(--sm-grey-50);border-radius:var(--radius-pill);padding:6px;}
.ws-nav a{
  font-size:14.5px;font-weight:500;color:var(--sm-grey-700);
  padding:9px 16px;border-radius:var(--radius-pill);
  transition:background-color .18s var(--ease), color .18s var(--ease);
}
.ws-nav a:hover{color:var(--sm-azul-marino);background:#fff;}
.ws-nav a.is-active{background:#fff;color:var(--sm-azul-noche);box-shadow:var(--shadow-sm);}

.header-cta{display:flex;align-items:center;gap:10px;}

.ws-burger{
  display:none;
  width:42px;height:42px;border-radius:50%;
  align-items:center;justify-content:center;
  background:var(--sm-azul-noche);
  border:none;flex-shrink:0;
  cursor:pointer;
}
.ws-burger span{display:block;width:16px;height:2px;background:#fff;position:relative;transition:transform .2s var(--ease), opacity .2s var(--ease);}
.ws-burger span::before,.ws-burger span::after{content:"";position:absolute;left:0;width:16px;height:2px;background:#fff;transition:transform .2s var(--ease), top .2s var(--ease);}
.ws-burger span::before{top:-5px;}
.ws-burger span::after{top:5px;}
.ws-burger.is-open span{background:transparent;}
.ws-burger.is-open span::before{top:0;transform:rotate(45deg);}
.ws-burger.is-open span::after{top:0;transform:rotate(-45deg);}

.mobile-panel{
  position:fixed;inset:0;z-index:999;
  background:var(--sm-azul-noche);
  display:flex;flex-direction:column;
  padding:110px 32px 40px;
  transform:translateY(-100%);
  opacity:0;
  visibility:hidden;
  transition:transform .32s var(--ease), opacity .32s var(--ease), visibility .32s;
}
.mobile-panel.is-open{transform:translateY(0);opacity:1;visibility:visible;}
.mobile-panel a{
  font-size:26px;font-weight:300;color:#fff;padding:16px 0;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.mobile-panel .btn-ws{margin-top:28px;align-self:flex-start;}

@media (max-width:991px){
  .ws-nav{display:none;}
  .header-cta .btn-ws{display:none;}
  .ws-burger{display:flex;}
}
@media (max-width:576px){
  .ws-header{top:10px;}
  .header-shell{padding:8px 8px 8px 16px;}
  .header-cta .btn-ws{padding:11px 14px;}
}

/* ---------- Hero ---------- */
.hero{
  padding:168px 0 100px;
  background:var(--sm-canvas);
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
  min-width:0;
}
.hero-grid > *{min-width:0;}
.hero h1{
  font-weight:200;
  font-size:clamp(34px,5vw,58px);
  line-height:1.06;
  color:var(--sm-azul-noche);
  letter-spacing:-.01em;
  min-height:185px;
}
.hero h1 strong{font-weight:700;color:var(--sm-azul-marino);}
.hero .lede{
  margin-top:22px;
  font-size:18px;
  line-height:1.6;
  color:var(--sm-grey-600);
  max-width:480px;
}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px;}

.hero-stats{
  display:flex;justify-content:center;
  gap:24px;flex-wrap:wrap;
  margin-top:80px;
}
.hero-stat{
  display:flex;align-items:center;gap:14px;
  background:#fff;
  border:1px solid var(--sm-grey-100);
  border-radius:var(--radius-pill);
  padding:12px 26px 12px 12px;
  box-shadow:var(--shadow-sm);
  transition:transform .22s var(--ease), box-shadow .22s var(--ease);
}
.hero-stat:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
.hero-stat b{
  display:flex;align-items:center;justify-content:center;
  min-width:64px;height:52px;padding:0 16px;
  border-radius:var(--radius-pill);
  background:#001A53;
  color:#fff;
  font-size:24px;font-weight:700;
  flex-shrink:0;
}
.hero-stat span{font-size:14px;font-weight:500;color:var(--sm-grey-600);line-height:1.3;}

@media (max-width:576px){
  .hero-stats{gap:14px;}
  .hero-stat{padding:9px 18px 9px 9px;gap:10px;}
  .hero-stat b{min-width:50px;height:40px;font-size:18px;}
  .hero-stat span{font-size:12px;}
}

/* Hero product photo */
.hero-visual{position:relative;z-index:0;}
.hero-photo{
  border-radius:60px;
  box-shadow:var(--shadow-lg);
  overflow:hidden;
  border:1px solid var(--sm-grey-100);
  max-width:440px;
  margin:0 auto;
}
.hero-photo img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1353/1503;
  object-fit:cover;
}

.floaty-badge{
  position:absolute;
  background:#fff;
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  padding:9px 13px;
  display:flex;align-items:center;gap:7px;
  font-size:11.5px;font-weight:600;color:var(--sm-azul-noche);
  border:1px solid var(--sm-grey-100);
}
.floaty-badge .dot-icon{
  width:24px;height:24px;border-radius:50%;
  background:var(--sm-azul-marino);color:#fff;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.floaty-badge svg{width:11px;height:11px;}
.badge-top-left{top:-22px;left:-26px;}
.badge-top-right{top:20px;right:-30px;}
.badge-bottom-left{bottom:36px;left:-34px;}
.badge-bottom-right{bottom:-24px;right:-20px;}

@media (max-width:991px){
  .hero{padding:132px 0 64px;}
  .hero-grid{grid-template-columns:1fr;gap:56px;}
  .hero-visual{max-width:460px;margin:0 auto;}
  .badge-top-left{left:0;}
  .badge-top-right{right:0;top:-18px;}
  .badge-bottom-left{display:none;}
  .badge-bottom-right{right:0;}
}
@media (max-width:520px){
  .floaty-badge{padding:7px 11px;font-size:10.5px;}
  .badge-top-right{display:none;}
}

/* ---------- Marcas / trust marquee ---------- */
.trust{padding:64px 0;border-bottom:1px solid var(--sm-grey-100);border-top:1px solid var(--sm-grey-100);}
.trust-label{
  text-align:center;
  margin:0 auto 28px;
  max-width:none;
  display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:nowrap;
  font-family:"Poppins", sans-serif;
  font-weight:400;
  font-size:14.5px;
  line-height:1.3;
  color:var(--sm-grey-600);
  white-space:nowrap;
}
.trust-label b{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;height:28px;padding:0 10px;
  vertical-align:middle;
  border-radius:var(--radius-pill);
  background:var(--sm-azul-marino);color:#fff;
  font-size:13px;font-weight:700;
}
.trust-marquee{
  width:100%;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-marquee--row2{margin-top:18px;}
.trust-track{
  display:flex;
  align-items:center;
  width:max-content;
  animation:trust-scroll 60s linear infinite;
}
.trust-track--reverse{
  animation-name:trust-scroll-reverse;
  animation-duration:68s;
}
.side-icon{
  opacity: 0.1;
}
.trust-marquee:hover .trust-track{animation-play-state:paused;}
@keyframes trust-scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
@keyframes trust-scroll-reverse{
  from{transform:translateX(-50%);}
  to{transform:translateX(0);}
}
@media (prefers-reduced-motion: reduce){
  .trust-track{animation:none;}
}
@media (max-width:576px){
  .trust-label{white-space:normal;font-size:13px;gap:6px;}
}
.trust-logo{
  display:flex;align-items:center;justify-content:center;
  height:84px;padding:0 14px;
  flex-shrink:0;
  transition:transform .25s var(--ease);
}
.trust-logo:hover{transform:scale(1.06);}
.trust-logo img{
  height:100%;
  width:auto;
  max-width:170px;
  object-fit:contain;
}
@media (max-width:576px){
  .trust-logo{height:64px;padding:0 10px;}
}

/* Fallback layout when the Swiper library hasn't loaded (yet, or at all):
   plain wrapped flex row instead of a collapsed / empty carousel track. */
.swiper.no-swiper{overflow:visible;height:auto;}
.swiper.no-swiper .swiper-wrapper{
  display:flex;flex-wrap:wrap;
  justify-content:center;
  gap:8px 0;
  transform:none !important;
  height:auto;
}
.swiper.no-swiper .swiper-slide{width:auto;height:auto;}
.portfolio-swiper.no-swiper .swiper-wrapper{justify-content:flex-start;gap:20px;}
.portfolio-swiper.no-swiper .swiper-slide{width:100%;max-width:340px;}
.portfolio-swiper.no-swiper + .pf-nav{display:none;}

/* ---------- Servicios ---------- */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  min-width:0;
}
.services-grid > *{min-width:0;}
.service-card{
  background:#fff;
  border:1px solid var(--sm-grey-100);
  border-radius:var(--radius-lg);
  padding:34px 30px 30px;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position:relative;
  display:flex;flex-direction:column;
}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:transparent;}
.service-icon{
  width:52px;height:52px;border-radius:16px;
  background:var(--sm-azul-noche);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:22px;
  color:#fff;
}
.service-icon svg{width:24px;height:24px;}
.service-card h3{font-size:19px;font-weight:600;color:var(--sm-azul-noche);margin-bottom:10px;padding-right:36px;}
.service-card p{font-size:14.5px;line-height:1.6;color:var(--sm-grey-600);flex:1;padding-right:25px;}
.service-card .service-link{
  position:absolute;
  right:22px;bottom:22px;
  width:38px;height:38px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:var(--sm-blue-100);
  color:var(--sm-azul-marino);
  transition:background-color .22s var(--ease), transform .22s var(--ease);
}
.service-card .service-link svg{width:16px;height:16px;transition:transform .18s var(--ease);}
.service-card:hover .service-link{background:var(--sm-azul-marino);color:#fff;}
.service-card:hover .service-link svg{transform:translate(2px,-2px);}

.service-card.cta-card{
  background:var(--sm-azul-noche);
  color:#fff;
  justify-content:center;
}
.service-card.cta-card h3{color:#fff;}
.service-card.cta-card p{color:rgba(255,255,255,.68);}
.service-card.cta-card .service-icon{background:rgba(255,255,255,.12);}

@media (max-width:991px){.services-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:576px){.services-grid{grid-template-columns:1fr;}}

/* ---------- Section divider ---------- */
.section-divider{width:100%;}
.section-divider .container-ws{display:block;}
.section-divider span{display:block;height:1px;background:var(--sm-grey-100);}

/* ---------- Diferenciales (bento) ---------- */
.dif-section{background:#fff;}

.bento{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  min-width:0;
}
.bento > *{min-width:0;}
.bento-item{
  border-radius:var(--radius-lg);
  padding:26px;
  display:flex;flex-direction:column;
  gap:6px;
  background:var(--sm-grey-50);
  border:1px solid var(--sm-grey-100);
  transition:transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.bento-item:hover{transform:translateY(-3px);background:#fff;box-shadow:var(--shadow-md);}
.bento-item h3{font-size:18px;font-weight:600;color:var(--sm-azul-noche);margin-top:10px;}
.bento-item p{font-size:13.5px;color:var(--sm-grey-600);line-height:1.55;}
.bento-item svg{width:22px;height:22px;color:var(--sm-azul-marino);}

.bento-item.b-featured{
  grid-column:span 2;
  background:var(--sm-azul-marino) url(../assets/img/bg-i.png) no-repeat center right;
  border-color:transparent;
  padding:32px;
  justify-content:center;
}
.bento-item.b-featured:hover{background-color:var(--sm-blue-600);}
.bento-item.b-featured h3{font-size:26px;font-weight:300;color:#fff;margin-top:18px;}
.bento-item.b-featured p{color:rgba(255,255,255,.82);font-size:14.5px;}
.bento-item.b-featured svg{width:26px;height:26px;color:#fff;}

@media (max-width:900px){
  .bento{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:560px){
  .bento{grid-template-columns:1fr;}
  .bento-item.b-featured{grid-column:span 1;}
}

/* ---------- Metodología ---------- */
.method{position:relative;}
.method-swiper{margin-top:20px;padding-bottom:4px;}
.method-swiper .swiper-slide{height:auto;}
.method-step{
  background:#fff;
  border:1px solid var(--sm-grey-100);
  border-radius:var(--radius-md);
  padding:22px 18px;
  position:relative;
  height:100%;
}
.method-step .m-num{
  font-size:13px;font-weight:700;color:var(--sm-azul-marino);
  display:flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:50%;
  background:var(--sm-blue-100);
  margin-bottom:16px;
}
.method-step h3{font-size:15px;font-weight:600;color:var(--sm-azul-noche);line-height:1.3;margin-bottom:8px;min-height:38px;}
.method-step p{font-size:12.8px;line-height:1.5;color:var(--sm-grey-600);}

.method-swiper.no-swiper .swiper-wrapper{justify-content:flex-start;gap:16px;}
.method-swiper.no-swiper .swiper-slide{width:calc(25% - 12px);min-width:200px;}
.method-swiper.no-swiper + .method-nav{display:none;}

/* ---------- Portafolio / industrias ---------- */
.industry-card{
  height:100%;
  display:flex;flex-direction:column;
  padding:4px 28px 4px 25px;
  border-right:1px solid var(--sm-grey-100);
}
.industry-top{
  display:flex;align-items:center;gap:14px;
  margin-bottom:18px;
}
.industry-arrow{
  width:38px;height:38px;flex-shrink:0;
  border-radius:50%;
  border:1.5px solid var(--sm-azul-marino);
  display:flex;align-items:center;justify-content:center;
  color:var(--sm-azul-marino);
  transition:background-color .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
.industry-arrow svg{width:16px;height:16px;}
.industry-card:hover .industry-arrow{background:var(--sm-azul-marino);color:#fff;transform:rotate(45deg);}
.industry-num{
  font-family:"Poppins", sans-serif;
  font-weight:200;
  font-size:38px;
  color:var(--sm-azul-marino);
  line-height:1;
}
.industry-card h3{font-size:18px;font-weight:700;color:var(--sm-azul-noche);margin-bottom:10px;line-height:1.3;}
.industry-card p{font-size:13.5px;line-height:1.6;color:var(--sm-grey-600);margin-bottom:20px;}
.industry-photo{
  margin-top:auto;
  height:230px;
  border-radius:var(--radius-md);
  position:relative;
  overflow:hidden;
  background:var(--sm-grey-100);
}
.industry-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 25%;
  display:block;
}

.portfolio-swiper{padding-bottom:8px;}
.portfolio-swiper .swiper-slide{height:auto;}
.portfolio-swiper .swiper-slide:last-child .industry-card{border-right:none;}
.portfolio-swiper.no-swiper .swiper-slide .industry-card{border-right:1px solid var(--sm-grey-100);}
.pf-nav{display:flex;gap:10px;justify-content:flex-end;margin-top:28px;}
.pf-nav button{
  width:44px;height:44px;border-radius:50%;
  border:1px solid var(--sm-grey-200);background:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:.18s var(--ease);
}
.pf-nav button:hover{background:var(--sm-azul-noche);border-color:var(--sm-azul-noche);color:#fff;}
.pf-nav button svg{width:18px;height:18px;}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--sm-azul-marino);
  border-radius:var(--radius-lg);
  padding:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
  position:relative;
  overflow:hidden;
}
.cta-banner::after{
  content:"";position:absolute;width:280px;height:280px;border-radius:50%;
  background:rgba(255,255,255,.08);right:-90px;top:-110px;
}
.cta-banner h2{font-size:clamp(22px,3vw,30px);font-weight:300;color:#fff;max-width:520px;position:relative;z-index:1;line-height:1.35;min-height:4.05em;}
.cta-banner h2 strong{font-weight:700;}
.tw-heading .tw-cursor{
  display:inline-block;
  width:3px;
  height:0.9em;
  margin-left:2px;
  vertical-align:-0.1em;
  background:currentColor;
  animation:tw-blink 1s step-end infinite;
}
@keyframes tw-blink{0%,100%{opacity:1;}50%{opacity:0;}}
@media (prefers-reduced-motion: reduce){
  .tw-heading .tw-cursor{display:none;}
}
.cta-banner .btn-ws{position:relative;z-index:1;}
@media (max-width:600px){.cta-banner{padding:36px 28px;}}

/* ---------- Contacto ---------- */
.contact-wrap{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:60px;
  align-items:start;
  min-width:0;
}
.contact-wrap > *{min-width:0;}
.contact-side .section-title{max-width:none;}
.contact-points{margin-top:28px;display:grid;gap:16px;}
.contact-point{display:flex;gap:14px;align-items:flex-start;}
.contact-point .cp-icon{
  width:38px;height:38px;border-radius:12px;background:var(--sm-blue-100);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--sm-azul-marino);
}
.contact-point .cp-icon svg{width:18px;height:18px;}
.contact-point p{font-size:14.5px;color:var(--sm-grey-600);line-height:1.5;padding-top:8px;}
.cp-highlight{font-weight:700;font-size:16.5px;color:var(--sm-azul-noche);}

.contact-form{
  background:#fff;
  border:1px solid var(--sm-grey-100);
  border-radius:var(--radius-lg);
  padding:40px;
  box-shadow:var(--shadow-md);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.form-group{margin-bottom:20px;}
.form-group label{
  display:block;font-size:13px;font-weight:600;color:var(--sm-azul-noche);margin-bottom:8px;
}
.form-group input,.form-group select,.form-group textarea{
  width:100%;
  font-family:"Poppins", sans-serif;
  font-size:14.5px;
  padding:13px 16px;
  border-radius:12px;
  border:1px solid var(--sm-grey-200);
  background:var(--sm-grey-50);
  color:var(--sm-ink);
  transition:border-color .18s var(--ease), background-color .18s var(--ease);
}
.form-group select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px;}
.form-group textarea{resize:vertical;min-height:96px;}
.form-group input:focus,.form-group textarea:focus{
  outline:none;border-color:var(--sm-azul-marino);background:#fff;box-shadow:0 0 0 4px var(--sm-blue-100);
}
.form-group select:focus{
  outline:none;border-color:var(--sm-azul-marino);background-color:#fff;box-shadow:0 0 0 4px var(--sm-blue-100);
}
.form-group.has-error input,.form-group.has-error textarea{
  border-color:#e8453c;background:#fdf1f0;
}
.form-group.has-error select{
  border-color:#e8453c;background-color:#fdf1f0;
}
.form-error-msg{display:none;font-size:12.5px;color:#e8453c;margin-top:6px;}
.form-group.has-error .form-error-msg{display:block;}

.form-check{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px;}
.form-check input{width:18px;height:18px;margin-top:2px;accent-color:var(--sm-azul-marino);flex-shrink:0;}
.form-check label{font-size:12.5px;color:var(--sm-grey-600);line-height:1.5;}
.form-check label a{color:var(--sm-azul-marino);text-decoration:underline;}

.form-habeas{margin-bottom:24px;}
.form-habeas-title{display:block;font-size:13px;font-weight:600;color:var(--sm-azul-noche);margin-bottom:10px;}
.form-habeas-text{font-size:11.5px;line-height:1.6;color:var(--sm-grey-600);margin:0 0 10px;}
.form-habeas-text a{color:var(--sm-azul-marino);text-decoration:underline;}
.form-check a{color:var(--sm-azul-marino);font-weight:600;}

.form-success{
  display:none;
  text-align:center;
  padding:40px 20px;
}
.form-success.is-visible{display:block;}
.form-success .fs-icon{
  width:64px;height:64px;border-radius:50%;background:#e6f8f2;color:#12b886;
  display:flex;align-items:center;justify-content:center;margin:0 auto 20px;
}
.form-success .fs-icon svg{width:30px;height:30px;}
.form-success h4{font-size:20px;color:var(--sm-azul-noche);margin-bottom:8px;}
.form-success p{font-size:14px;color:var(--sm-grey-600);}
#wsForm.is-hidden{display:none;}

@media (max-width:991px){
  .contact-wrap{grid-template-columns:1fr;gap:40px;}
}
@media (max-width:576px){
  .form-row{grid-template-columns:1fr;}
  .contact-form{padding:26px;}
}

/* ---------- Footer ---------- */
.ws-footer{background:#fff;padding:56px 0;}

.footer-card{
  background:#fff;
  border:1px solid #D9D9D9;
  border-radius:50px;
  box-shadow:0 12px 28px rgba(5, 17, 35, .10);
  padding:44px 48px 28px;
}

.footer-grid{
  display:grid;
  grid-template-columns:.85fr 1fr 1fr 1fr;
  gap:36px;
  padding-bottom:28px;
  min-width:0;
}
.footer-grid > *{min-width:0;}

.footer-sm-badge{
  display:inline-flex;align-items:center;
  background:var(--sm-azul-marino);
  border-radius:var(--radius-pill);
  padding:12px 20px;
}
.footer-sm-badge img{height:20px;width:auto;display:block;}

.footer-tagline{
  margin-top:45px;
  font-family:"Poppins", sans-serif;
  font-size:34px;
  font-weight:600;
  line-height:1.08;
  letter-spacing:-.01em;
  color:#06F;
  margin-bottom:90px;
}

.footer-office{display:flex;flex-direction:column;}
.office-info{min-height:280px;}
.footer-office h5{
  display:flex;align-items:center;gap:8px;
  margin-top:0;
  font-size:30px;font-weight:600;
  color:var(--sm-azul-marino);
  margin-bottom:14px;
}
.footer-office h5 .flag{width:24px;height:auto;display:block;}
.footer-office .office-city{font-size:13.5px;font-weight:700;color:var(--footer-text);margin-bottom:8px;}
.footer-office .office-contact{font-size:13px;line-height:1.5;margin-bottom:14px;color:var(--footer-text);}
.footer-office .office-contact a{color:var(--footer-text);}
.footer-office .office-contact a:hover{text-decoration:underline;}
.footer-office address{font-style:normal;font-size:13px;color:var(--footer-text);line-height:1.5;margin-bottom:12px;}
.footer-office .office-phones{font-size:12.5px;color:var(--footer-text);line-height:1.6;margin-bottom:16px;}
.footer-office .office-phones strong{color:var(--footer-text);font-weight:700;}
.office-wa{
  display:inline-flex;align-items:center;gap:8px;
  align-self:flex-start;
  margin-top:auto;
  background:var(--sm-azul-marino);color:#fff;
  font-size:12.5px;font-weight:600;
  padding:9px 16px;border-radius:var(--radius-pill);
  transition:background-color .18s var(--ease);
}
.office-wa:hover{background:var(--sm-azul-noche);}
.office-wa svg{width:16px;height:16px;flex-shrink:0;}

.footer-bottom{
  padding-top:24px;
  border-top:1px solid var(--sm-grey-100);
}
.footer-bottom p{font-size:12px;color:var(--sm-grey-500);}
.footer-office .footer-social{display:flex;gap:10px;margin-top:30px;}
.footer-social a{
  width:34px;height:34px;border-radius:50%;
  background:var(--sm-grey-50);border:1px solid var(--sm-grey-100);
  display:flex;align-items:center;justify-content:center;color:var(--sm-grey-700);
  transition:.18s var(--ease);
}
.footer-social a:hover{background:var(--sm-azul-noche);color:#fff;border-color:var(--sm-azul-noche);}
.footer-social svg{width:15px;height:15px;}
.footer-social--spacer{visibility:hidden;}
.footer-social--spacer span{width:34px;height:34px;display:block;}

@media (max-width:991px){
  .footer-grid{grid-template-columns:1fr 1fr;row-gap:36px;}
}
@media (max-width:576px){
  .footer-card{padding:32px 24px 20px;border-radius:20px;}
  .footer-grid{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
}

/* ---------- WhatsApp float ---------- */
.wa-float{
  position:fixed;right:24px;bottom:24px;z-index:900;
  height:58px;min-width:58px;border-radius:999px;
  background:#25d366;color:#fff;
  display:flex;align-items:center;
  box-shadow:0 12px 28px rgba(37,211,102,.4);
  animation:wa-pulse 2.6s ease-in-out infinite;
  overflow:hidden;
  transition:min-width .38s cubic-bezier(.4,0,.2,1), box-shadow .3s var(--ease), transform .3s var(--ease), background-color .25s var(--ease);
}
.wa-float:hover{
  min-width:190px;
  background:#20bd5a;
  box-shadow:0 16px 36px rgba(37,211,102,.5);
  transform:translateY(-3px);
  animation-play-state:paused;
}
.wa-float:active{transform:translateY(-1px) scale(.97);}
.wa-float__icon{
  width:58px;height:58px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  transition:transform .38s cubic-bezier(.34,1.56,.64,1);
}
.wa-float:hover .wa-float__icon{transform:rotate(-8deg) scale(1.08);}
.wa-float__icon svg{width:28px;height:28px;}
.wa-float__label{
  font-family:"Poppins", sans-serif;
  font-weight:600;font-size:14.5px;
  white-space:nowrap;
  max-width:0;opacity:0;
  overflow:hidden;
  transition:max-width .38s cubic-bezier(.4,0,.2,1) .04s, opacity .28s ease .08s, padding-right .38s cubic-bezier(.4,0,.2,1) .04s;
  padding-right:0;
}
.wa-float:hover .wa-float__label{max-width:130px;opacity:1;padding-right:20px;}
@keyframes wa-pulse{
  0%,100%{box-shadow:0 12px 28px rgba(37,211,102,.4);}
  50%{box-shadow:0 12px 28px rgba(37,211,102,.4),0 0 0 10px rgba(37,211,102,.12);}
}
@media (max-width:576px){
  .wa-float{height:50px;min-width:50px;right:16px;bottom:16px;}
  .wa-float__icon{width:50px;height:50px;}
  .wa-float__icon svg{width:24px;height:24px;}
  .wa-float:hover{min-width:50px;}
  .wa-float:hover .wa-float__label{max-width:0;opacity:0;padding-right:0;}
}

/* AOS handles its own reveal state via its CDN stylesheet — if that
   stylesheet fails to load, elements simply render at full opacity
   instead of staying hidden, so nothing here duplicates that behavior. */

/* Skip link */
.skip-link{
  position:absolute;left:-999px;top:0;background:var(--sm-azul-noche);color:#fff;padding:12px 20px;z-index:2000;border-radius:0 0 10px 0;
}
.skip-link:focus{left:0;}

:focus-visible{outline:2px solid var(--sm-azul-marino);outline-offset:2px;}


@media handheld, only screen and (max-width: 667px) {
  .hero h1{
    min-height: auto;
  }
  .hero-stat{
    min-width: 230px;
  }
}





/* [CAMBIO 2026-10-13] Lead form: honeypot + estados */
.ws-hp{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden;}
.form-status{display:none;font-size:13.5px;color:#e8453c;margin:0 0 14px;}
.form-status.is-visible{display:block;}
#wsForm button[type="submit"][disabled]{opacity:.65;cursor:not-allowed;}
.grecaptcha-badge { right: auto !important; left: 14px !important; width: 70px !important; overflow: hidden !important; transition: width .3s !important; }
.grecaptcha-badge:hover { width: 256px !important; }

/* reCAPTCHA v3: aviso legal visible solo en móvil, donde se oculta el badge flotante
   (Google permite ocultarlo si se muestra este texto) para que no tape el contenido. */
.recaptcha-note{display:none;font-size:11.5px;line-height:1.5;color:var(--sm-grey-500);margin:0 0 14px;}
.recaptcha-note a{color:inherit;text-decoration:underline;}
@media (max-width:576px){
  .grecaptcha-badge{visibility:hidden !important;}
  .recaptcha-note{display:block;}
  .wa-float{height:46px;min-width:46px;right:14px;bottom:14px;}
  .wa-float__icon{width:46px;height:46px;}
  .wa-float__icon svg{width:22px;height:22px;}
  .wa-float:hover{min-width:46px;}
  /* espacio al final de la página para que el botón de WhatsApp no tape el footer */
  .ws-footer{padding-bottom:72px;}
}