:root{
  --navy:#050816;
  --navy-2:#0a1022;
  --navy-3:#111a31;
  --purple:#291755;
  --purple-2:#4a2b87;
  --orange:#f58634;
  --yellow:#ffd23f;
  --cyan:#19c8e6;
  --green:#18d49a;
  --white:#ffffff;
  --ink:#172033;
  --muted:#667085;
  --line:#e5e7eb;
  --max:1180px;
  --radius:24px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--navy);
  color:#fff;
  line-height:1.6;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

button,
a{
  -webkit-tap-highlight-color:transparent;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  background:rgba(5,8,22,.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.header-inner{
  max-width:var(--max);
  margin:auto;
  min-height:78px;
  padding:12px 24px;
  display:flex;
  align-items:center;
  gap:28px;
}

.brand{
  width:165px;
  flex:0 0 165px;
}

.brand img{
  max-height:54px;
  width:auto;
  object-fit:contain;
}

.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  flex:1;
}

.main-nav a{
  color:#aeb7ca;
  font-size:14px;
  font-weight:600;
  padding:7px 0;
  border-bottom:2px solid transparent;
  transition:.2s;
}

.main-nav a:hover,
.main-nav a.active{
  color:#fff;
  border-color:var(--orange);
}

.header-cta{
  padding:10px 17px;
  border-radius:999px;
  background:linear-gradient(100deg,var(--orange),var(--yellow));
  color:#111827;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  min-height:800px;
  padding:150px 24px 80px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 30%,rgba(74,43,135,.35),transparent 32%),
    radial-gradient(circle at 20% 70%,rgba(25,200,230,.10),transparent 28%),
    linear-gradient(135deg,#02040c,#071026 65%,#090616);
}

.hero-inner{
  max-width:var(--max);
  margin:auto;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:65px;
  align-items:center;
  position:relative;
  z-index:2;
}

.hero-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(10px);
  pointer-events:none;
}

.hero-glow-1{
  width:300px;
  height:300px;
  background:rgba(245,134,52,.08);
  right:-100px;
  top:160px;
}

.hero-glow-2{
  width:250px;
  height:250px;
  background:rgba(25,200,230,.06);
  left:-100px;
  bottom:30px;
}

.eyebrow{
  display:flex;
  align-items:center;
  gap:9px;
  color:#9da8bc;
  font-size:12px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  margin-bottom:18px;
}

.eyebrow span{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 16px rgba(24,212,154,.6);
}

.eyebrow.dark{
  color:#7c8494;
}

.hero h1{
  font-size:clamp(48px,6vw,78px);
  line-height:1.01;
  letter-spacing:-.055em;
  margin-bottom:28px;
}

.hero h1 strong{
  background:linear-gradient(
    100deg,
    #fff 5%,
    #aeeef6 48%,
    #f9a34d 100%
  );
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-lead{
  max-width:650px;
  color:#aeb7ca;
  font-size:18px;
  line-height:1.75;
}

.hero-lead b{
  color:#f5f7fb;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:34px 0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 20px;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  transition:.2s;
  cursor:pointer;
}

.btn-primary{
  background:linear-gradient(100deg,var(--orange),var(--yellow));
  color:#111827;
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(245,134,52,.25);
}

.btn-ghost{
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  background:rgba(255,255,255,.04);
}

.btn-ghost:hover{
  background:rgba(255,255,255,.09);
}

.hero-trust{
  display:flex;
  align-items:center;
  gap:16px;
  color:#7e899d;
  font-size:11px;
}

.hero-trust b{
  display:block;
  color:#e8edf7;
  font-size:13px;
}

.hero-trust span{
  display:block;
  max-width:240px;
}

.trust-line{
  height:35px;
  width:1px;
  background:rgba(255,255,255,.15);
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual{
  position:relative;
}

.visual-frame{
  position:relative;
  aspect-ratio:4/4.5;
  border-radius:34px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(145deg,#17233f,#080c19);
  box-shadow:0 30px 80px rgba(0,0,0,.45);
}

.visual-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.visual-frame:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(3,5,12,.68),
    transparent 55%
  );
  pointer-events:none;
}

.visual-badge{
  position:absolute;
  z-index:2;
  background:rgba(5,8,22,.72);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.17);
  border-radius:999px;
  padding:9px 13px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.badge-top{
  top:22px;
  right:22px;
  color:#b8f7e6;
}

.badge-bottom{
  bottom:22px;
  left:22px;
  color:#fff;
}

.scroll-cue{
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  color:#68748a;
  font-size:12px;
  z-index:3;
}

.scroll-cue span{
  margin-left:6px;
}


/* =========================================================
   SECCIONES GENERALES
   ========================================================= */

.section{
  padding:105px 24px;
}

.section-inner{
  max-width:var(--max);
  margin:auto;
}

.light-section,
.projects-section,
.contact-section{
  background:#fff;
  color:var(--ink);
}

.dark-section{
  background:linear-gradient(180deg,#080d1b,#050816);
}

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:start;
}

.section h2{
  font-size:clamp(36px,4vw,56px);
  line-height:1.05;
  letter-spacing:-.045em;
}

.section h2 em{
  font-style:normal;
  color:var(--orange);
}

.section h2 strong{
  color:var(--cyan);
}

.text-large{
  font-size:17px;
  color:#4d586b;
}

.text-large p{
  margin-bottom:20px;
}

.text-large b{
  color:#172033;
}

.text-link{
  font-weight:800;
  color:var(--purple);
}


/* =========================================================
   PRINCIPIOS
   ========================================================= */

.principles{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:75px;
}

.principles article{
  border-top:1px solid #d9dde5;
  padding-top:18px;
}

.principles span{
  color:var(--orange);
  font-size:12px;
  font-weight:900;
}

.principles b{
  display:block;
  font-size:19px;
  margin:8px 0;
}

.principles p{
  font-size:13px;
  color:#697386;
}


/* =========================================================
   QUÉ HACEMOS
   ========================================================= */

.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:50px;
  margin-bottom:45px;
}

.section-heading > p{
  max-width:380px;
  color:#8792a6;
}

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

.area-card{
  min-height:220px;
  padding:26px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.018)
    );
  transition:.25s;
}

.area-card:hover{
  transform:translateY(-5px);
  border-color:rgba(25,200,230,.4);
}

.area-card2{
  min-height:100px;
  padding:0px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.018)
    );
  transition:.25s;
}

.area-card2:hover{
  transform:translateY(-5px);
  border-color:rgba(25,200,230,.4);
}

.area-icon{
  font-size:29px;
  margin-bottom:28px;
}

.area-card h3{
  font-size:21px;
  margin-bottom:8px;
}

.area-card p{
  color:#8994a9;
  font-size:14px;
}


/* =========================================================
   PROYECTOS
   ========================================================= */

.projects-section{
  background:#f7f8fb;
}

.projects-heading p{
  color:#697386;
}

.projects-grid{
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:16px;
}

.project-card{
  position:relative;
  min-height:430px;
  border-radius:26px;
  overflow:hidden;
  background:#10182a;
  color:#fff;
}

/* PASE-GOL — TARJETA GRANDE */

.project-card.project-main{
  grid-row:span 2;
  min-height:650px;
}

/* IMÁGENES DE PROYECTOS */

.project-card img{
  width:100%;
  height:100%;
  position:absolute;
  inset:0;
  transition:.5s;
  object-fit:contain;
  object-position:center;
}

/* PASE-GOL MANTIENE EL RECORTE ORIGINAL,
   PORQUE ESTÁ PREPARADO PARA LA TARJETA GRANDE */

.project-card.project-main img{
  object-fit:cover;
  object-position:center;
}

/* EFECTO HOVER */

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


/* CAPA OSCURA */

.project-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      to top,
      rgba(4,7,16,.95),
      rgba(4,7,16,.10) 70%
    );
}


/* CONTENIDO */

.project-content{
  position:absolute;
  left:28px;
  right:28px;
  bottom:28px;
  z-index:2;
}

.project-number{
  font-size:10px;
  font-weight:900;
  letter-spacing:.15em;
  color:#aeb8ca;
}

.project-content h3{
  font-size:40px;
  letter-spacing:-.04em;
  margin:5px 0;
}

.project-content p{
  color:#c2cad8;
  margin-bottom:16px;
}

.project-content a{
  font-weight:900;
  color:#fff;
}

.project-content a span{
  color:var(--yellow);
  margin-left:5px;
}

.coming-soon .project-content h3{
  font-size:30px;
}


/* =========================================================
   LA IDEA DETRÁS DE SHAPA
   ========================================================= */

.shapa-story{
  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(25,200,230,.08),
      transparent 30%
    ),
    #050816;
  color:#fff;
}

.shapa-story .section-inner{
  max-width:var(--max);
}

.shapa-story-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.6fr);
  gap:60px;
  align-items:end;
  margin-bottom:55px;
}

.shapa-story-heading h2{
  color:#fff;
  font-size:clamp(40px,5vw,64px);
  line-height:1;
  letter-spacing:-.05em;
}

.shapa-story-heading h2 strong{
  color:var(--cyan);
}

.shapa-story-heading > p{
  color:#94a3b8;
  font-size:16px;
  line-height:1.7;
  margin-bottom:5px;
}


/* CONTENEDOR */

.shapa-story-grid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}


/* TARJETAS */

.shapa-story-card{
  width:100%;
  min-width:0;
  min-height:230px;
  padding:30px;
  border-radius:22px;
  border:1px solid rgba(148,163,184,.16);
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.018)
    );
}

.shapa-story-card:hover{
  border-color:rgba(25,200,230,.28);
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.07),
      rgba(255,255,255,.025)
    );
}


/* ORIGEN A TODO EL ANCHO */

.shapa-story-origin{
  grid-column:1 / -1;
}


/* ETIQUETAS */

.shapa-origin-label{
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--green);
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:16px;
}

.shapa-origin-label::before{
  content:"";
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 14px rgba(24,212,154,.55);
}


/* TÍTULOS */

.shapa-story-card h3{
  color:#fff;
  font-size:25px;
  line-height:1.15;
  letter-spacing:-.025em;
  margin-bottom:16px;
}

.shapa-story-card p{
  color:#aeb9cc;
  font-size:15px;
  line-height:1.7;
  margin-bottom:14px;
}

.shapa-story-card p:last-child{
  margin-bottom:0;
}

.shapa-story-card strong{
  color:#fff;
}

.shapa-story-card em{
  color:#cbd5e1;
}


/* FRASE PRINCIPAL */

.shapa-story-card .shapa-concept{
  color:#fff;
  font-size:20px;
  line-height:1.45;
  margin-bottom:16px;
}

.shapa-story-card .shapa-concept strong{
  color:var(--cyan);
}


/* =========================================================
   COLABORA
   ========================================================= */

.collaborate-section{
  background:
    radial-gradient(
      circle at 75% 50%,
      rgba(245,134,52,.22),
      transparent 30%
    ),
    linear-gradient(120deg,#15102a,#081425);
}

.collaborate-box{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:50px;
  padding:55px 60px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
}

.collaborate-box h2{
  color:#fff;
}

.collaborate-box h2 strong{
  color:#f7a65b;
}

.collaborate-box p{
  color:#aeb8ca;
  max-width:620px;
  margin-top:18px;
}

.collab-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:220px;
}


/* =========================================================
   CONTACTO
   ========================================================= */

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.contact-section h2{
  color:var(--purple);
}

.contact-section p{
  color:#687386;
  margin-top:16px;
  font-size:17px;
  max-width:500px;
}

.contact-card{
  border:1px solid #e2e5eb;
  border-radius:22px;
  padding:8px 25px;
  background:#fbfbfc;
}

.contact-row{
  padding:20px 0;
  border-bottom:1px solid #e6e8ed;
}

.contact-row:last-child{
  border-bottom:0;
}

.contact-row span{
  display:block;
  font-size:10px;
  letter-spacing:.13em;
  font-weight:900;
  color:#9099a8;
  margin-bottom:4px;
}

.contact-row a,
.contact-row b{
  font-size:16px;
  color:var(--purple);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
  background:#03050d;
  color:#fff;
  padding:55px 24px 20px;
}

.footer-inner{
  max-width:var(--max);
  margin:auto;
  display:grid;
  grid-template-columns:1.2fr 1fr 1.2fr;
  gap:50px;
}

.footer-brand img{
  width:150px;
  max-height:55px;
  object-fit:contain;
  object-position:left;
}

.footer-brand p{
  color:#758095;
  font-size:12px;
  margin-top:8px;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:9px;
  font-size:13px;
  color:#9aa5b9;
}

.footer-links a:hover{
  color:#fff;
}

.footer-legal{
  display:flex;
  flex-direction:column;
  gap:5px;
  color:#778196;
  font-size:11px;
}

.footer-legal b{
  color:#fff;
  font-size:13px;
}

.footer-bottom{
  max-width:var(--max);
  margin:40px auto 0;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#586277;
  font-size:10px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:980px){

  .main-nav{
    gap:13px;
  }

  .main-nav a{
    font-size:12px;
  }

  .hero-inner{
    grid-template-columns:1fr;
    gap:45px;
  }

  .hero{
    padding-top:135px;
  }

  .hero-visual{
    max-width:650px;
    width:100%;
    margin:auto;
  }

  .two-col,
  .contact-grid{
    grid-template-columns:1fr;
    gap:35px;
  }

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

  .footer-inner{
    grid-template-columns:1fr 1fr;
  }

  .footer-legal{
    grid-column:span 2;
  }

  .shapa-story-heading{
    grid-template-columns:1fr;
    gap:20px;
  }

  .shapa-story-heading > p{
    max-width:500px;
  }
}


/* =========================================================
   MÓVIL / TABLET
   ========================================================= */

@media(max-width:820px){

  .shapa-story-grid{
    grid-template-columns:1fr;
  }

  .shapa-story-origin{
    grid-column:auto;
  }

  .shapa-story-heading{
    display:block;
  }

  .shapa-story-heading > p{
    margin-top:20px;
  }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media(max-width:760px){

  .header-inner{
    min-height:70px;
    padding:10px 16px;
    flex-wrap:wrap;
    justify-content:center;
  }

  .brand{
    width:145px;
    flex-basis:145px;
  }

  .brand img{
    max-height:45px;
  }

  .main-nav{
    order:3;
    flex-basis:100%;
    overflow-x:auto;
    justify-content:flex-start;
    padding-bottom:3px;
  }

  .main-nav a{
    white-space:nowrap;
  }

  .header-cta{
    display:none;
  }

  .hero{
    padding:150px 18px 70px;
    min-height:auto;
  }

  .hero h1{
    font-size:48px;
  }

  .hero-lead{
    font-size:16px;
  }

  .hero-trust{
    align-items:flex-start;
  }

  .section{
    padding:75px 18px;
  }

  .section-heading{
    display:block;
  }

  .section-heading > p{
    margin-top:18px;
  }

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

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

  .project-card.project-main{
    grid-row:auto;
    min-height:500px;
  }

  .project-card{
    min-height:360px;
  }

  .collaborate-box{
    padding:35px 25px;
    display:block;
  }

  .collab-actions{
    margin-top:25px;
  }

  .footer-inner{
    grid-template-columns:1fr;
  }

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

  .footer-bottom{
    display:block;
  }

  .footer-bottom span{
    display:block;
    margin-top:6px;
  }

  .shapa-story{
    padding:75px 18px;
  }

  .shapa-story-heading{
    margin-bottom:35px;
  }

  .shapa-story-heading h2{
    font-size:48px;
  }

  .shapa-story-card{
    padding:25px;
  }
}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media(max-width:500px){

  .areas-grid,
  .principles{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:42px;
  }

  .hero-trust{
    display:block;
  }

  .trust-line{
    display:none;
  }

  .hero-trust > div{
    margin-top:12px;
  }

  .visual-frame{
    border-radius:24px;
  }

  .shapa-story-heading h2{
    font-size:42px;
  }

  .shapa-story-card h3{
    font-size:22px;
  }

  .shapa-story-card p{
    font-size:14px;
  }

  .shapa-story-card .shapa-concept{
    font-size:18px;
  }
}


/* =========================================================
   HEADER + REDES SOCIALES
   ========================================================= */

.site-header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  height:86px !important;
  min-height:86px !important;
  max-height:86px !important;
  z-index:1000 !important;
  overflow:visible !important;
}

.site-header .header-inner{
  width:100% !important;
  max-width:var(--max) !important;
  height:86px !important;
  min-height:86px !important;
  max-height:86px !important;
  margin:0 auto !important;
  padding:12px 0px !important;
  display:flex !important;
  align-items:center !important;
  gap:28px !important;
}


/* LOGO */

/* LOGO */

.site-header .brand{
  width:185px !important;
  min-width:185px !important;
  max-width:185px !important;
  height:60px !important;
  flex:0 0 185px !important;
  display:flex !important;
  align-items:center !important;
}

.site-header .brand img{
  display:block !important;
  width:185px !important;
  height:auto !important;
  max-width:185px !important;
  max-height:60px !important;
}


/* NAVEGACIÓN */

.site-header .main-nav{
  flex:1 1 auto !important;
  min-width:0 !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:22px !important;
}


/* ZONA DERECHA */

.site-header .header-right{
  flex:0 0 auto !important;
  width:auto !important;
  height:86px !important;
  min-height:86px !important;
  max-height:86px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:14px !important;
}


/* CONTENEDOR REDES */

.site-header .social-links,
.site-header .social-icons,
.site-header .socials{
  flex:0 0 auto !important;
  width:auto !important;
  height:54px !important;
  min-height:54px !important;
  max-height:54px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
}


/* BOTONES DE REDES */

.site-header .social-links a,
.site-header .social-icons a,
.site-header .socials a{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 54px !important;
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
  max-width:54px !important;
  min-height:54px !important;
  max-height:54px !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:50% !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  line-height:1 !important;
}


/* IMÁGENES DE REDES */

.site-header .social-links a img,
.site-header .social-icons a img,
.site-header .socials a img{
  position:static !important;
  display:block !important;
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
  max-width:54px !important;
  min-height:54px !important;
  max-height:54px !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  transform:none !important;
}


/* SVG / ICONOS */

.site-header .social-links a svg,
.site-header .social-icons a svg,
.site-header .socials a svg,
.site-header .social-links a i,
.site-header .social-icons a i,
.site-header .socials a i{
  position:static !important;
  display:block !important;
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
  max-width:54px !important;
  min-height:54px !important;
  max-height:54px !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
}

.site-header .social-links > svg,
.site-header .social-icons > svg,
.site-header .socials > svg{
  display:block !important;
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
  max-width:54px !important;
  min-height:54px !important;
  max-height:54px !important;
}


/* INSTAGRAM */

.site-header .social-links a[aria-label="Instagram"],
.site-header .social-icons a[aria-label="Instagram"],
.site-header .socials a[aria-label="Instagram"]{
  background:linear-gradient(135deg,#833ab4,#fd1d1d 55%,#fcb045) !important;
  border:0 !important;
}

.site-header .social-links a[aria-label="Instagram"] svg,
.site-header .social-icons a[aria-label="Instagram"] svg,
.site-header .socials a[aria-label="Instagram"] svg{
  fill:none !important;
  stroke:#fff !important;
  stroke-width:1.8 !important;
}


/* TIKTOK */

.site-header .social-links a[aria-label="TikTok"],
.site-header .social-icons a[aria-label="TikTok"],
.site-header .socials a[aria-label="TikTok"]{
  background:#050505 !important;
  border:1px solid rgba(255,255,255,.15) !important;
}

.site-header .social-links a[aria-label="TikTok"] svg,
.site-header .social-icons a[aria-label="TikTok"] svg,
.site-header .socials a[aria-label="TikTok"] svg{
  fill:#fff !important;
  stroke:none !important;
}


/* YOUTUBE */

.site-header .social-links a[aria-label="YouTube"],
.site-header .social-icons a[aria-label="YouTube"],
.site-header .socials a[aria-label="YouTube"]{
  background:#ff0000 !important;
  border:0 !important;
}

.site-header .social-links a[aria-label="YouTube"] svg,
.site-header .social-icons a[aria-label="YouTube"] svg,
.site-header .socials a[aria-label="YouTube"] svg{
  fill:#fff !important;
  stroke:none !important;
}


/* BOTÓN VER PROYECTOS */

.site-header .header-cta{
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  min-height:40px !important;
  max-height:46px !important;
  white-space:nowrap !important;
  padding:10px 17px !important;
}


/* TABLET */

@media(max-width:1000px){

  .site-header .header-inner{
    gap:16px !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .site-header .brand{
    width:145px !important;
    min-width:145px !important;
    max-width:145px !important;
    flex-basis:145px !important;
  }

  .site-header .brand img{
    max-width:145px !important;
    max-height:48px !important;
  }

  .site-header .main-nav{
    gap:13px !important;
  }

  .site-header .main-nav a{
    font-size:12px !important;
  }

  .site-header .social-links,
  .site-header .social-icons,
  .site-header .socials{
    height:54px !important;
    min-height:54px !important;
    max-height:54px !important;
  }

  .site-header .social-links a,
  .site-header .social-icons a,
  .site-header .socials a{
    flex-basis:54px !important;
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
    max-width:54px !important;
    min-height:54px !important;
    max-height:54px !important;
  }

  .site-header .social-links a svg,
  .site-header .social-icons a svg,
  .site-header .socials a svg,
  .site-header .social-links a img,
  .site-header .social-icons a img,
  .site-header .socials a img,
  .site-header .social-links a i,
  .site-header .social-icons a i,
  .site-header .socials a i{
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
    max-width:54px !important;
    min-height:54px !important;
    max-height:54px !important;
  }
}


/* MÓVIL */

@media(max-width:820px){

  .site-header{
    height:86px !important;
    min-height:86px !important;
    max-height:none !important;
  }

  .site-header .header-inner{
    height:86px !important;
    min-height:86px !important;
    max-height:none !important;
    flex-wrap:wrap !important;
  }

  .site-header .header-right{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }

  .site-header .main-nav{
    order:3 !important;
    flex-basis:100% !important;
    height:auto !important;
    overflow-x:auto !important;
    justify-content:flex-start !important;
    padding-bottom:3px !important;
  }
}


/* =========================================================
   SHAPA EN OTROS IDIOMAS
   ========================================================= */

.languages-section{
  background:#050816;
  color:#ffffff;
}

.languages-section .section-heading{
  margin-bottom:45px;
}

.languages-section .section-heading h2{
  color:#ffffff;
}

.languages-section .section-heading h2 strong{
  color:var(--cyan);
}

.languages-section .section-heading > p{
  color:#94a3b8;
  font-size:16px;
  line-height:1.7;
}

.languages-grid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.language-card{
  width:100%;
  min-height:66px;
  padding:16px 20px;
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:14px;
  background:rgba(255,255,255,.035);
  color:#ffffff;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}

.language-card:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.06);
  border-color:rgba(148,163,184,.30);
}

.language-flag{
  flex:0 0 auto;
  font-size:20px;
  line-height:1;
}

.language-card strong{
  display:block;
  color:#ffffff;
  font-size:15px;
  line-height:1.35;
  font-weight:750;
}

.languages-note{
  margin-top:18px;
  color:#718096;
  font-size:13px;
  line-height:1.6;
}

@media(max-width:820px){

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

}

@media(max-width:600px){

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

  .language-card{
    min-height:60px;
    padding:14px 16px;
  }

  .language-card strong{
    font-size:14px;
  }

}

/* CORRECCIONES DE ESTRUCTURA: IDEA DE SHAPA + EQUIPO */
.shapa-origin{display:grid;gap:16px}
.shapa-origin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.shapa-origin-block{min-width:0;padding:30px;border:1px solid rgba(148,163,184,.16);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018))}
.shapa-origin-block:hover{border-color:rgba(25,200,230,.28);background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025))}
.shapa-origin-block h3{color:#fff;font-size:25px;line-height:1.15;letter-spacing:-.025em;margin-bottom:16px}
.shapa-origin-block p{color:#aeb9cc;font-size:15px;line-height:1.7;margin-bottom:14px}
.shapa-origin-block p:last-child{margin-bottom:0}
.shapa-origin-block strong{color:#fff}
.shapa-origin-block em{color:#cbd5e1}
.shapa-concept-block .shapa-concept{color:#fff;font-size:20px;line-height:1.45;margin-bottom:16px}
.shapa-concept-block .shapa-concept strong{color:var(--cyan)}

.people-section{background:#fff;color:var(--ink)}
.people-section .section-heading>p{color:#697386}
.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.person-card{min-height:230px;padding:30px;border:1px solid #e3e7ee;border-radius:22px;background:#fff;box-shadow:0 14px 35px rgba(23,32,51,.06);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.person-card:hover{transform:translateY(-5px);border-color:rgba(25,200,230,.45);box-shadow:0 18px 40px rgba(23,32,51,.10)}

.person-initial{
  width:100%;
  height:110px;

  display:flex;
  align-items:center;
  justify-content:center;

  overflow:hidden;
}

.person-initial img{
  display:block;

  width:110px;
  height:110px;

  max-width:100%;
  max-height:100%;

  object-fit:contain;
}

.person-card h3{font-size:24px;line-height:1.15;margin-bottom:10px}
.person-card p{color:#697386;font-size:14px;line-height:1.7}

@media(max-width:820px){.shapa-origin-grid{grid-template-columns:1fr}.people-grid{grid-template-columns:1fr}}
@media(max-width:760px){.shapa-origin-block{padding:25px}}
@media(max-width:500px){.shapa-origin-block h3{font-size:22px}.shapa-origin-block p{font-size:14px}.shapa-concept-block .shapa-concept{font-size:18px}}

/* LOGO SHAPA — TAMAÑO AUMENTADO */
.site-header .brand{
  width:280px !important;
  min-width:280px !important;
  max-width:280px !important;
  height:78px !important;
  flex:0 0 280px !important;
}
.site-header .brand img{
  width:280px !important;
  max-width:280px !important;
  height:auto !important;
  max-height:78px !important;
  object-fit:contain !important;
}

/* MENÚ: EVITAR QUE LOS TEXTOS SALTEN A DOS LÍNEAS */

.site-header nav a{
  white-space:nowrap !important;
}

.site-header .social-links{
  margin-left:20px !important;
}

/* TAMAÑO DE LOS LOGOS DEL EQUIPO */

.area-card .person-initial {
  width: 120px !important;
  height: 120px !important;
}

.area-card .person-initial img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* =========================================================
   FIX FINAL — QUIÉNES ESTAMOS DETRÁS
   Se deja al final y con !important para evitar que reglas
   anteriores o una versión antigua del CSS anulen el grid.
   ========================================================= */
.people-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  width:100% !important;
}
.people-grid > .person-card{
  min-width:0 !important;
  width:auto !important;
}
.people-grid .person-initial{
  width:100% !important;
  height:110px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
.people-grid .person-initial img{
  display:block !important;
  width:110px !important;
  height:110px !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
}
@media(max-width:820px){
  .people-grid{grid-template-columns:1fr !important;}
}
