/* FUENTE */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;600;700;800;900&display=swap');


@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito Sans', sans-serif;
}

/* CONTENEDOR GLOBAL */
.container-global {
 padding-left: clamp(20px, 5vw, 70px);
  padding-right: clamp(20px, 5vw, 70px);
  width: 100%;
}



body {
  overflow-x: hidden;
  background-image: url('fondo.jpg'); /* o el nombre de tu imagen */
  background-size: cover;
  background-position: center;
}



/* 🎥 VIDEO FONDO */

.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.video-bg.loaded {
  opacity: 1;
}

.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: -1;
}

.video-box .video-overlay {
  background: transparent;
}
/* HEADER */

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: -1;
  transition: all 0.4s ease;
}


.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  mask: linear-gradient(black, black, transparent);
  background: #000;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 100%, rgba(0, 0, 0, 0) 0%);
}
header.header.scrolled nav.menu a {
  color: #666;
  letter-spacing: 0px;
  font-weight: 600;
  mix-blend-mode: exclusion;
  text-shadow: 0 0 15px #E6D6BF;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px clamp(20px, 4vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1000;
  transition: all 0.4s ease;
  mix-blend-mode: normal;
}

.menu a {
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.header.scrolled .logo,
.header.scrolled .menu {
  mix-blend-mode: multiply;
}

/* DESPUÉS - NUEVO CÓDIGO */
.logo {
  position: relative;
}

.logo img {
  width: 220px;
  height: auto;
  display: block;
  transition: opacity 0.4s ease;
}

/* Logo gris - visible por defecto */
.logo .logo-gray {
  opacity: 1;
   width: 220px;
  height: auto;
  display: block;
}

/* Logo color - oculto por defecto */
.logo .logo-color {
  position: absolute;
  top: -87%;
  left: -23%;
  opacity: 0;
   width: 345px;
  height: auto;
  display: none;
}

/* Cuando hace scroll, intercambia */
.header.scrolled .logo .logo-gray {
  opacity: 0;
}

.header.scrolled .logo .logo-color {
  opacity: 1;
  display: block;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.menu a {
  text-decoration: none;
  color: white;
  font-size: 0.75rem;
  letter-spacing: .05em;
  opacity: 0.5;
  font-weight: 200;
}

.menu a.active {
  text-decoration: underline;
  opacity: 1;
}

/* HERO */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 0 10%;
}

.hero-text {
  color: white;
  font-size: 1rem;
  letter-spacing: 0px;
  max-width: 1100px;
  white-space: nowrap;
  opacity: .5;
   white-space: nowrap;
}


 
.hero-bold {
  font-weight: 700;
}

.hero-light {
  font-weight: 200;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 0.7;
}

/* SECCIÓN 2 ////////////////////////////////////////////*/
/* 🔥 ESTADO SCROLLED */



.header.scrolled .menu {
  flex-direction: row;
  margin-top: 25px;
  gap: 40px;
}

.header.scrolled .menu a {
  color: #3a3a3a;
  mix-blend-mode: exclusion;
}

.header.scrolled .logo {
  color: #444;
}

.seccion2 {
  min-height: 100vh;
  background: #E6D6BF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 300px 8%;
}

.contenido-seccion2 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.texto-izq h2 {
  font-size: clamp(2rem, 4vw, 200px);
  color: #7F6647;
  line-height: .9;
 margin-top: clamp(30px, 5vh, 150px);
 font-weight: 800;
 margin-left: -45px;
}

.texto-der {
  max-width: 350px;
  color: #3a3a3a;
  font-size: 1rem;
  line-height: 1.6;
 margin-top: 50vh;
 margin-left: auto;
 margin-right: -40px;
 text-align: left;
 font-weight: 300;
}

.figura-video {
  position: relative;
   width: clamp(400px, 45vw, 700px); /* ← más grande */
  height: clamp(400px, 45vw, 700px);
  z-index: 10;
  background: transparent;
  margin: auto;
}

.mask-wrapper {
  width: 100%;
  height: 100%;
  -webkit-mask-image: url('loop.png');
  mask-image: url('loop.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.mask-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*///////////////////////////////////////////////////////////*/
.filosofia {
  min-height: 100vh;
  background: url("conocenos.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 0 100px;
}

.filosofia-inner {
  text-align: center;
  width: clamp(300px, 40vw, 600px);
  height: 700px; /* ← altura total fija: slides + nav + padding */
  position: relative;
  background: rgba(115, 96, 74, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: clamp(20px, 4vh, 40px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.filosofia-slides {
  position: relative;
  width: 100%;
 flex: 1;
}

.filosofia-slide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.filosofia-slide.active {
  opacity: 1;
  visibility: visible;
  position: absolute;
}

.video-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 40px;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filosofia-slide h2 {
  color: #E6D6BF;        /* ← cambia de #E8DFD4 a #E6D6BF */
  font-size: 30px;       /* o clamp(1.2rem, 2.5vw, 30px) */
  font-weight: 800;      /* ExtraBold ✓ ya lo tienes */
  line-height: 35px;     /* altura de línea */
  letter-spacing: -0.06em;   /* en CSS se usa em: -0.06em */
  margin-bottom: 20px;
}

.filosofia-slide p {
  color: #E6D6BF;
  font-size: 18px;
  font-weight: 500;        /* Medium */
  line-height: 20px;
  letter-spacing: -0.02em; /* -2% */
  max-width: 700px;
  margin: 0 auto;
}

.filosofia-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px; /* ← menos espacio entre líneas */
  margin-top: 20px;
  padding: 0 20px; /* ← evita que toquen los bordes */
  box-sizing: border-box;
}

.filosofia-nav .nav-line {
  flex-grow: 1;
  min-width: 0 !important; /* ← anula el 130px de huella */
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.filosofia-nav .nav-line.active {
  background: #fff;
}

.filosofia-nav .nav-line:hover {
  background: rgba(255, 255, 255, 0.5);
}

.video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*////////////////////////////////////////////////*/
.newsletter-section {
  background: #DACCBB;
  padding: clamp(80px, 15vh, 200px) 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden; /* evita scroll horizontal */
  position: relative; /* ← los videos se posicionan respecto a la sección */
}

.newsletter-wrapper {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Sin padding extra — el centro queda intacto */
}

/* IMAGEN CENTRAL */
.newsletter-center {
  background: url("conocenos4.jpg") center/cover no-repeat;
  color: white;
  padding: clamp(40px, 8vw, 100px) clamp(30px, 6vw, 80px);
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(400px, 80vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-content {
  max-width: 600px;
  text-align: left;
}

.newsletter-content h2 {
  font-size: clamp(24px, 2.5vw, 35px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.06em;
  color: #CFC7BD;
  margin-bottom: 20px;
}

.newsletter-content p {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: #CFC7BD;
  margin-bottom: 5px;
}

.newsletter-input {
  display: flex;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0;
}

.newsletter-input input {
  padding: 15px 20px;
  flex: 1;
  min-width: 0; /* evita desborde en flex */
  border: none;
  outline: none;
  background: transparent;
  color: #CFC7BD;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 200;
  line-height: 30px;
  letter-spacing: -0.02em;
}

.newsletter-input input::placeholder {
  color: #CFC7BD;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 200;
  letter-spacing: -0.02em;
}

.newsletter-input button {
  padding: 15px 25px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
}

.newsletter-input button:hover {
  opacity: 0.7;
}

/* VIDEOS FLOTANTES — posicionados respecto a .newsletter-section */
.side-video {
  position: absolute;
  width: 280px;
  height: 500px;
  overflow: hidden;
  z-index: 3;
  padding: 30px;
  box-sizing: border-box;
  background: rgba(218, 204, 187, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.side-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*
  En lugar de usar clamp con negativos (que era el problema),
  calculamos la posición como: centro de la pantalla - mitad del wrapper - ancho del video
  Usamos calc() con vw para que escale fluidamente en cualquier resolución
*/
.side-video.left {
  /* 50vw = centro, 45vw = mitad del wrapper (90% / 2), 280px = ancho video */
  left: calc(50vw - 45vw - 280px + 30px);
  top: 50%;
  transform: translateY(-50%);
}

.side-video.right {
  right: calc(50vw - 45vw - 280px + 30px);
  top: 50%;
  transform: translateY(-50%);
}



/*//////////////////////////////////////////////////////////*/
.footer {
  background: #CFBEA5;
  padding: 0;
  padding-top: clamp(50px, 8vh, 100px);
}

.footer-grid {
  display: grid;
  grid-template-columns: clamp(180px, 20vw, 280px) 1.1fr 0.8fr 1.1fr clamp(180px, 20vw, 280px);
  grid-template-rows: clamp(120px, 15vw, 200px) clamp(60px, 8vw, 100px);
}

/* Todos los bloques */
.footer-grid > div,
.footer-grid > a {
  border: 1px solid rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito Sans', sans-serif;
  color: #9E8C70;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Logo - toda la columna izquierda */
.footer-logo {
  grid-column: 1;
  grid-row: 1 / 3;
}

.footer-logo img {
  width: 100%;
  max-width: 180px;
  height: auto;
  opacity: 0.7;
}

/* Título */
.footer-title {
  grid-column: 2 / 5;
  grid-row: 1;
}

.footer-title h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 200;
  line-height: .9;
  letter-spacing: -0.06em;
  color: #A8977E; /* ← & ASOCIADOS más claro */
}

.footer-title .title-dark {
  color: #9E8C70; /* ← DE ANDA más oscuro */
  font-weight: 800;
}

/* IG */
.footer-ig {
  grid-column: 5;
  grid-row: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Copyright */
.footer-copy {
  grid-column: 2;
  grid-row: 2;
}

/* Aviso Legal */
.footer-link:nth-of-type(1) {
  grid-column: 3;
  grid-row: 2;
}

/* Términos */
.footer-link:nth-of-type(2) {
  grid-column: 4;
  grid-row: 2;
}

/* LI */
.footer-li {
   grid-column: 5;
  grid-row: 2;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Mail */
.footer-mail {
  grid-column: 5;
  grid-row: 2;
  transition: all 0.3s ease;
  cursor: pointer;
}


.footer-link {
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer-link:hover {
  background: rgba(0,0,0,0.05);
}

.footer-links-right {
  grid-column: 5;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
   border: none!important;
}

.footer-right-item {
  flex: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #8f7f67;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.footer-ig:hover,
.footer-li:hover,
.footer-mail:hover,
.footer-right-item:hover {
  background: rgba(0,0,0,0.05);
}

.footer-right-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.2);
}


/*////////////////////////////////////////*/
/* HERO SERVICIOS */
.servicios-hero {
  height: 60vh;
  background: #E6D6BF;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
}

.servicios-hero .hero-text {
  font-size: 3rem;
  font-weight: 600;
  color: #7F6647;
}

/* SECCIÓN SERVICIOS */
.servicios-section {
  background: #E6D6BF;
  padding: clamp(80px, 15vh, 200px) 70px clamp(60px, 10vh, 120px) 0;
}

.servicios-container {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding-left: 0;
 padding-right: clamp(20px, 5vw, 70px);
}

.servicios-img {
  flex: 1.9;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4;
  margin-left: 0;
}

.servicios-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* o 'contain' si quieres ver la imagen completa */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.servicios-slide.active {
  opacity: 1;
}

.servicios-content {
  flex: 2;
  padding-left: clamp(20px, 5vw, 70px);
}

.servicios-listas {
  margin-bottom: 60px;
}

.servicios-title {
  font-size: clamp(2rem, 4vw, 60px);
  font-weight: 800;        /* ExtraBold */
  line-height: 50px;
  letter-spacing: -0.06em; /* -6% */
  color: #7F6647;
  margin-bottom: clamp(30px, 5vh, 60px);
  padding-left: clamp(20px, 5vw, 70px);
  margin-top: 20px;
  text-align: left;
}

.servicios-listas h3 {
  margin-bottom: 30px;
  color: #3A3A3A;
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
}

.servicios-cols {
  display: flex;
 gap: clamp(20px, 4vw, 60px);
}

.servicios-col ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 2;
  color: #3A3A3A;
}

.modelo-section h3 {
  margin-bottom: 20px;
  color: #3A3A3A;
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
}

.modelo-section p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #3A3A3A;
}

/* ZOOM VIDEO BACKGROUND SERVICIOS */
.hero .video-bg {
  transform: scale(1);
  transform-origin: right;
  background: rgba(0, 0, 0, 0.4);
}

/* VIDEO CENTRO HERO */
.hero-center-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: transparent;
  mix-blend-mode: screen;
}

.hero-center-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-center-video video.loaded {
  opacity: 1;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  cursor: pointer;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}
/*experiencia.html/////////////////////////////////////*/
/* SECCIÓN NUESTRA HUELLA */
/* HERO TEXT EXPERIENCIA */
.hero-highlight {
  opacity: 1;
  font-weight: 200;
}

.hero-fade {
  opacity: 1;
  font-weight: 700;
}

/* SECCIÓN NUESTRA HUELLA */
.huella-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #d4c4b0;
  padding-top: clamp(80px, 12vh, 350px);
  padding-bottom: clamp(80px, 10vh, 250px);
}

.huella-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.huella-bg.active {
  opacity: 1;
}

/* Overlay para legibilidad — igual que tenías antes */
.huella-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(212, 196, 176, 0.95) 0%,
    rgba(212, 196, 176, 0.85) 30%,
    rgba(212, 196, 176, 0.5) 50%,
    transparent 60%
  );
}

/* Una línea por slide — pon aquí tus imágenes */
.huella-bg[data-index="0"] { background-image: url('exp_bg1.png'); }
.huella-bg[data-index="1"] { background-image: url('exp_bg2.png'); }
.huella-bg[data-index="2"] { background-image: url('exp_bg3.png'); }
.huella-bg[data-index="3"] { background-image: url('exp_bg4.png'); }
.huella-bg[data-index="4"] { background-image: url('exp_bg5.png'); }
.huella-bg[data-index="5"] { background-image: url('exp_bg6.png'); }
.huella-bg[data-index="6"] { background-image: url('exp_bg7.png'); }
.huella-bg[data-index="7"] { background-image: url('exp_bg8.png');}

/* Título fijo */
.huella-title {
  position: absolute;
  text-align: center;
  width: 100%;
  height: 40px;
  transform: none;
  font-weight: 800;
  color: #7F6647;
  z-index: 1;
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  line-height: 10px;
  letter-spacing: -0.06em;
  top: clamp(150px, 25vh, 300px);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.huella-container {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 20vh, 250px) clamp(20px, 5vw, 70px) clamp(30px, 4vh, 50px);
}

.huella-content {
  position: relative;
  min-height: 400px;
}

.huella-item {
  display: none;
  grid-template-columns: 1fr 0.8fr;
  grid-template-rows: auto 1fr;
  gap: 30px 180px;
  align-items: start;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
}

.huella-item.active {
  display: grid;
  animation: slideInFromRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.huella-item.exiting {
  animation: slideOutToLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideOutToLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-30px);
  }
}

/* Logo - arriba del texto */
.huella-logo {
  grid-column: 1;
  grid-row: 1;
  width: 200px;
   margin-bottom: 18px;
  margin-top: 0px; 
}

.huella-logo img {
  width: 70%; /* más chico, era 80% */
  height: auto;
  opacity: 0.9;
}
/* Texto - abajo del logo */
.huella-texto {
  grid-column: 1;
  grid-row: 2;
  color: #3A3A3A;
}

.huella-nombre {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: #3A3A3A;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.huella-nombre span {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 2px;
}

.huella-descripcion {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 30px;
  letter-spacing: -0.02em;
  color: #3A3A3A;
   margin-bottom: 25px;
}

.huella-bullets {
  list-style: none;
  padding: 0;
}

.huella-bullets li {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 30px;
  letter-spacing: -0.02em;
  color: #3A3A3A;
  padding-left: 16px;
}


.huella-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3A3A3A;
  font-weight: bold;
}

/* Video - ocupa ambas filas */
.huella-video {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 120%;
  overflow: hidden;
  padding: 30px; /* espacio para el marco */
  background: rgba(0, 0, 0, .05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 375px; /* ← vuelve al fijo */
  margin-left: -60px;
}

 .huella-video video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* muestra el video completo sin recortar */
    object-position: center;
  }

/* Navegación */
/* Navegación - ALINEADA CON PADDING Y OCUPA TODO EL ANCHO */
/* Navegación - DISTRIBUCIÓN UNIFORME DE LÍNEAS */
.huella-nav {
  display: flex;
  gap: 0;
  margin-top: clamp(30px, 5vh, 70px);
  justify-content: space-between;
  padding-left: 0;
  padding-right: 0;
  align-items: center;
  width: 100%;
}

.huella-nav-item {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 0 0 auto;  /* NO se estiran */
}

.nav-number {
  font-size: 0.85rem;
  color: rgba(61, 61, 61, 0.4);
  font-weight: 400;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  order: 1;
  flex-shrink: 0;  /* Número no se encoge */
}

.nav-line {
  flex-grow: 1;  /* LAS LÍNEAS se expanden para llenar el espacio */
  min-width: 130px;  /* Ancho mínimo */
  height: 2px;
  background: rgba(61, 61, 61, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  order: 2;
  transform-origin: left;
}

.huella-nav-item.active .nav-line {
  background: #000000;
  height: 3px;
}

.huella-nav-item.active .nav-number {
  color: #3A3A3A;
  font-weight: 600;
}

.huella-nav-item:hover .nav-number {
  color: #3A3A3A;
}

.huella-nav-item:hover .nav-line {
  background:#000000;
}

/* Responsive */

/* Slide entrando desde la derecha */
.huella-item.enter-from-right {
  animation: slideFromRight 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Slide entrando desde la izquierda */
.huella-item.enter-from-left {
  animation: slideFromLeft 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Slide saliendo hacia la izquierda */
.huella-item.exit-to-left {
  animation: exitToLeft 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Slide saliendo hacia la derecha */
.huella-item.exit-to-right {
  animation: exitToRight 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideFromRight {
  from { transform: translateX(100%); opacity: 1; }
  to   { transform: translateX(0);    opacity: 1; }
}

@keyframes slideFromLeft {
  from { transform: translateX(-100%); opacity: 1; }
  to   { transform: translateX(0);     opacity: 1; }
}

@keyframes exitToLeft {
  from { transform: translateX(0);     opacity: 1; }
  to   { transform: translateX(-100%); opacity: 1; }
}

@keyframes exitToRight {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(100%); opacity: 1; }
}
/* Lo mismo para los fondos */
.huella-bg.enter-from-right {
  animation: bgFromRight 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.huella-bg.enter-from-left {
  animation: bgFromLeft 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.huella-bg.exit-to-left {
  animation: bgExitLeft 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.huella-bg.exit-to-right {
  animation: bgExitRight 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes bgFromRight {
  from { transform: translateX(40%); opacity: 0.4; }
  to   { transform: translateX(0);   opacity: 1;   }
}

@keyframes bgFromLeft {
  from { transform: translateX(-40%); opacity: 0.4; }
  to   { transform: translateX(0);    opacity: 1;   }
}

@keyframes bgExitLeft {
  from { transform: translateX(0);    opacity: 1;   }
  to   { transform: translateX(-40%); opacity: 0.4; }
}

@keyframes bgExitRight {
  from { transform: translateX(0);   opacity: 1;   }
  to   { transform: translateX(40%); opacity: 0.4; }
}
/* SECCIÓN LOGOS EXPERIENCIA */
.experiencia-section {
  background: #E6D6BF;
  padding: clamp(60px, 10vh, 120px) 8% clamp(40px, 6vh, 80px);
}

.experiencia-categoria {
  margin-bottom: clamp(50px, 8vh, 100px);
}

.experiencia-categoria:last-child {
  margin-bottom: 0;
}

.experiencia-categoria h2 {
  color: #7F6647;
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: clamp(25px, 4vh, 50px);
  margin-top: 0;
  letter-spacing: -1px;
  font-weight: 800;
}

.marcas-grid.servicios {
  grid-template-columns: repeat(6, 1fr);
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: flex-start;
}

.marca-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 12px;
 min-height: clamp(120px, 15vw, 180px);
}


/* Contenedor del logo con altura fija para alinear todos */
.marca-item .logo-container {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen del logo */
.marca-item .logo-container img {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.marca-item:hover .logo-container img {
  opacity: 1;
}

/* Número (ahora como texto, no imagen) */
.marca-item .numero {
  font-size: 2rem;
  color: #3A3A3A; /* ← cambia de #6b5a45 a #3A3A3A */
  font-weight: 700;
  line-height: 15px;
  margin: 0;
  letter-spacing: -0.06em;
}


/* Texto "Llaves" */
.marca-item .llaves {
  font-size: 0.85rem;
  color: #3A3A3A; /* ← cambia de #7F6647 a #3A3A3A */
  margin: 0;
  font-weight: 400;
  line-height: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/*contacto.html////////////////////////////////////*/
.contacto-section {
  min-height: 100vh;
  background:#E6D6BF;
  padding: clamp(350px, 15vh, 200px) 8% clamp(60px, 8vh, 100px); /* ← sube el primer valor */
  position: relative;
}

.contacto-container {
  display: flex;
  gap: clamp(40px, 7vw, 100px);
  margin-bottom: clamp(40px, 6vh, 80px);
}

.contacto-left {
  flex: 1.5;
}

/* DESPUÉS */
.contacto-left h1 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  color: #7F6647;
  font-weight: 800;
  margin-bottom: 0px;
  letter-spacing: -1px;
  max-width: none;
  white-space: normal;
}
/* DESPUÉS */
.contacto-info {
  color: #3A3A3A;
  position: relative;
  margin-top: 45%; /* ← lo empuja hacia abajo */
  padding-top: 40px;
  text-align: left;
}

.contacto-info p:first-child {
  font-weight: 700;
  margin-bottom: 5px;
}

.contacto-right {
  flex: 1.5;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: flex;
  gap: 30px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.form-group.full {
  width: 100%;
}

/* DESPUÉS */
.form-group label {
  color: #3A3A3A;
  font-size: 1rem;  /* Más grande (antes 0.95rem) */
  font-weight: 700;  /* Más bold (antes 500) */
  margin-bottom: 6px;  /* Más espacio con el campo */
}

.form-group input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #3A3A3A;
  padding: 10px 0;
  color: #3A3A3A;
  font-size: 0.95rem;
  outline: none;
  padding-top: 0;
}

.form-group input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

/* Checkbox de aviso de privacidad */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 2px solid #7F6647;  /* Más oscuro */
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 2px;
}

.form-checkbox input[type="checkbox"]:checked {
  background: #7F6647;
  border-color: #7F6647;
}

.form-checkbox label {
  color: #7F6647;  /* Más oscuro (antes #a89372) */
  font-size: 0.8rem;
  cursor: pointer;
  font-weight: 300;
}


/* Botón confirmar con flecha estilizada */
.form-submit {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: #7F6647;
  font-size: 1rem;
  font-weight: 700;
  padding: 0px 0;
  cursor: pointer;
  letter-spacing: 0px;
  margin-top: 0px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.form-submit::after {
  content: '›';  /* Flecha estilizada */
  font-size: 3rem;
  margin-top: -3px;
  font-weight: 200;
  transition: transform 0.3s ease;
}

.form-submit:hover {
  opacity: 0.7;
}

.form-submit:hover::after {
  transform: translateX(4px);
}
.contacto-locations {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: clamp(80px, 15vh, 200px);
  padding-bottom: clamp(50px, 8vh, 100px);
  opacity: .2;
}

.contacto-locations span {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(3rem, 8vw, 120px);
  letter-spacing: -0.06em;
  line-height: 0.8;
  text-align: center;
  text-transform: uppercase;
  color: #7F6647;
}

/* MÉXICO */
.contacto-locations .loc-dark:nth-child(1) {
  font-weight: 800;
}

/* LATINOAMÉRICA */
.contacto-locations span:nth-child(2) {
  font-weight: 200;
}

/* ESTADOS UNIDOS */
.contacto-locations .loc-dark:nth-child(3) {
  font-weight: 800;
}
/*///////////////////////////////////////////////////////////////////*/
.terminos-section {
  min-height: 60vh;
  background: #d4c4b0;
  display: flex;
  align-items: center;
  justify-content: center;
   padding: clamp(80px, 15vh, 200px) clamp(20px, 5vw, 70px) clamp(50px, 8vh, 100px);
}

.terminos-content {
  max-width: 1400px;
  color: #7F6647;
}

.terminos-content h1 {
  font-size: clamp(2rem, 4vw, 60px);
  font-weight: 800;        /* ExtraBold */
  line-height: 50px;
  letter-spacing: -0.06em; /* -6% */
  color: #7F6647;
  margin-bottom: clamp(30px, 5vh, 60px);
  text-align: left;
}

.terminos-content p,
.terminos-content li {
  font-size: 18px;
  font-weight: 300;        /* Light */
  line-height: 30px;
  letter-spacing: -0.02em; /* -2% */
  color: #3A3A3A;
  margin-bottom: 30px;
}

.terminos-content ul {
  list-style: disc;
  margin: 0;
  padding-left: 20px;
  margin-bottom: 30px;
}

.terminos-content li {
  font-size: 1rem;
  line-height: 1.1;
  color: #3A3A3A;
  margin-bottom: 10px;
  text-align: justify;
}

.hero-terminos .video-bg {
  transform: scale(1.25);
  transform-origin: center center;
  
}


/* DESPUÉS */
.terminos-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: transparent;
  mix-blend-mode: screen;
}

.terminos-hero-video video {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.terminos-hero-video video.loaded {
  opacity: 1;
}

@media (max-width: 1536px) {
  .filosofia-inner { height: 625px; }

  .newsletter-center {
    min-height: clamp(550px, 55vh, 700px);
    padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 50px);
    max-width: 1000px;
    margin: 0 auto;
  }

  .side-video {
    width: clamp(160px, 18vw, 220px);
    height: clamp(300px, 28vw, 400px);
    top: 50%;
    transform: translateY(-50%);
  }

  .side-video.left { left: -40px; }
  .side-video.right { right: -40px; }

  /* Huella recientes */
  .huella-descripcion { font-size: 15px; }

  .huella-item { gap: 30px 60px; }

  .huella-video {
    width: 115%;
    margin-left: -30px;
    padding: 20px;
    height: 320px;
  }

  .huella-bullets { margin-top: 20px; }
  .huella-bullets li { font-size: 15px; }
  .huella-nav { margin-top: clamp(50px, 10vh, 100px); }
}

@media (max-width: 1280px) {
  .huella-video { height: 280px; margin-left: -30px; }

  .newsletter-center {
    max-width: 850px;
    min-height: clamp(450px, 50vh, 600px);
  }

  .side-video {
    width: clamp(140px, 15vw, 190px);
    height: clamp(260px, 25vw, 360px);
    top: 50%;
    transform: translateY(-50%);
  }

  .side-video.left { left: -30px; }
  .side-video.right { right: -30px; }
}

@media (max-width: 1024px) {
  /* huella */
  .huella-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 30px;
  }
  .huella-logo { grid-column: 1; grid-row: 1; }
  .huella-texto { grid-column: 1; grid-row: 2; }
  .huella-video {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    height: 260px;
  }
  .huella-descripcion { font-size: 14px; }
  .huella-bullets li { font-size: 14px; }
  .huella-nav { margin-top: clamp(30px, 5vh, 60px); }
  .nav-line { width: 50px; }

  /* footer — tablet 1024px */
  .footer-grid {
    grid-template-columns: clamp(100px, 14vw, 160px) 1fr 1fr 1fr !important;
    grid-template-rows: clamp(50px, 7vw, 90px) clamp(45px, 5vw, 65px) clamp(45px, 5vw, 65px) !important;
    row-gap: 0 !important;
    gap: 0 !important;
  }

  .footer-logo {
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
    align-self: stretch;
  }

  .footer-logo img { max-width: 80px; }

  .footer-title {
    grid-column: 2 / 5 !important;
    grid-row: 1 !important;
    min-height: 0;
  }

  .footer-title h2 {
    font-size: clamp(0.9rem, 2vw, 1.6rem);
    line-height: 1;
  }

  .footer-copy {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 0.65rem;
  }

  .footer-link:nth-of-type(1) {
    grid-column: 3 !important;
    grid-row: 2 !important;
    font-size: 0.65rem;
  }

  .footer-link:nth-of-type(2) {
    grid-column: 4 !important;
    grid-row: 2 !important;
    font-size: 0.65rem;
  }

  .footer-links-right {
    display: flex !important;
    grid-column: 2 / 5 !important;
    grid-row: 3 !important;
    flex-direction: row !important;
    border: none !important;
    border-top: 1px solid rgba(0,0,0,0.15) !important;
  }

  .footer-right-item {
    flex: 1;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: 1px solid rgba(0,0,0,0.15) !important;
    font-size: 0.65rem;
  }

  .footer-right-item:last-child {
    border-right: none !important;
  }

  /* newsletter */
  .newsletter-center {
    max-width: 700px;
    min-height: clamp(380px, 45vh, 520px);
  }

  .side-video {
    width: clamp(110px, 28vw, 160px);
    height: clamp(220px, 38vw, 300px);
    top: 50%;
    transform: translateY(-50%);
  }

  .side-video.left { left: 40px; }
  .side-video.right { right: 40px; }
}

@media (max-width: 768px) {

  /* ── HEADER ── */
  .header {
    padding: 20px 20px 28px 20px;
    align-items: center;
  }

  .header.scrolled {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }

  .header.scrolled .menu {
    flex-direction: column;
    margin-top: 0;
    gap: 4px;
  }

  .logo .logo-color {
    width: 180px;
    position: absolute;
    top: -48%;
    left: -12%;
  }

  .menu {
    flex-direction: column;
    gap: 4px;
    text-align: right;
  }

  .menu a {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }


  /* ── HERO ── */
  .hero {
    padding: 0 8%;
    height: 100svh;
    min-height: -webkit-fill-available;
  }

  .hero-text {
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
    line-height: 1.8;
    max-width: 100%;
  }

  .scroll-indicator {
    bottom: 24px;
  }


  /* ════════════════════════════════════════
     CONOCENOS.HTML
  ════════════════════════════════════════ */

  .seccion2 {
    padding: 80px 6% 60px;
    min-height: auto;
  }

  .contenido-seccion2 {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .texto-izq {
    text-align: center;
    width: 100%;
  }

  .texto-izq h2 {
    font-size: clamp(2.8rem, 14vw, 5rem);
    margin-left: 0;
    margin-top: 0;
    text-align: center;
  }

  .figura-video {
    width: clamp(240px, 78vw, 380px);
    height: clamp(240px, 78vw, 380px);
  }

  .texto-der {
    max-width: 100%;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-right: 0;
  }

  .filosofia {
    padding: 60px 0 50px;
  }

  .filosofia-inner {
    width: 92%;
    height: auto;
    min-height: 500px;
    padding: 20px 18px;
  }

  .video-box {
    margin-bottom: 20px;
  }

  .filosofia-slide h2 {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 12px;
  }

  .filosofia-slide p {
    font-size: 14px;
    line-height: 20px;
  }

  .filosofia-nav {
    margin-top: 20px;
    gap: 8px;
    padding: 0 8px;
  }


  /* ════════════════════════════════════════
     SERVICIOS.HTML
  ════════════════════════════════════════ */

  .hero-center-video {
    width: clamp(180px, 60vw, 280px);
    height: clamp(180px, 60vw, 280px);
  }

  .servicios-section {
    padding: 60px 0 50px;
  }

  .servicios-title {
    padding-left: 6%;
    font-size: clamp(1.8rem, 7vw, 3rem);
    line-height: 1.1;
    margin-bottom: 30px;
  }

  .servicios-container {
    flex-direction: column;
    padding-left: 6%;
    padding-right: 6%;
  }

  .servicios-img {
    width: 100%;
    flex: none;
    aspect-ratio: 4 / 3;
  }

  .servicios-content {
    padding-left: 0;
    width: 100%;
  }

  .servicios-listas h3,
  .modelo-section h3 {
    font-size: clamp(1rem, 4vw, 1.4rem);
    margin-bottom: 16px;
  }

  .servicios-cols {
    flex-direction: column;
    gap: 0;
  }

  .servicios-col ul {
    line-height: 1.8;
    font-size: 0.9rem;
  }

  .modelo-section p {
    font-size: 0.9rem;
    line-height: 1.6;
  }


  /* ════════════════════════════════════════
     EXPERIENCIA.HTML
  ════════════════════════════════════════ */

  .huella-section {
    padding-top: clamp(60px, 10vh, 120px);
    padding-bottom: clamp(40px, 6vh, 80px);
  }

  .huella-title {
    top: clamp(70px, 10vh, 120px);
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .huella-container {
    padding: clamp(80px, 14vh, 150px) 5% 20px;
  }

  .huella-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }

  .huella-logo { grid-column: 1; grid-row: 1; }
  .huella-texto { grid-column: 1; grid-row: 2; }

  .huella-video {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    max-width: 100%;
    height: 220px;
    margin: 0;
    padding: 16px;
  }

  .huella-logo img { width: 55%; }

  .huella-descripcion {
    font-size: 13px;
    line-height: 22px;
  }

  .huella-bullets li {
    font-size: 13px;
    line-height: 22px;
  }

.huella-nav {
  margin-top: 30px;
  flex-wrap: nowrap;
   overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
  gap: 0;
  width: 100%;
}

.huella-nav-item {
  flex: 1;
  min-width: 0;
  gap: 2px;
}

.huella-nav::-webkit-scrollbar {
  display: none; /* oculta scrollbar en Chrome/Safari */
}

.nav-line {
  min-width: 0 !important;
  flex-grow: 1;
  height: 1.5px;
}

.nav-number {
  font-size: 0.55rem;
  flex-shrink: 0;
}

  .experiencia-section {
    padding: clamp(40px, 6vh, 80px) 6% clamp(30px, 5vh, 60px);
  }

  .experiencia-categoria h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
    margin-bottom: clamp(16px, 3vh, 30px);
  }

  .marcas-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 24px);
  }

  .marcas-grid.servicios {
    grid-template-columns: repeat(3, 1fr);
  }

  .marca-item .logo-container img {
    max-width: 100px;
    max-height: 60px;
  }

  .marca-item .numero { font-size: 1.4rem; }
  .marca-item .llaves { font-size: 0.75rem; }


  /* ════════════════════════════════════════
     CONTACTO.HTML
  ════════════════════════════════════════ */

  .contacto-section {
    padding: 100px 6% 50px;
  }

  .contacto-container {
    flex-direction: column;
    gap: 40px;
  }

  .contacto-left,
  .contacto-right {
    flex: none;
    width: 100%;
  }

  .contacto-left h1 {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .contacto-info {
    margin-top: 24px;
    padding-top: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-group label { font-size: 0.9rem; }

  .form-submit { margin-top: 10px; }

  .contacto-locations {
    padding-top: clamp(40px, 8vh, 80px);
    padding-bottom: clamp(30px, 5vh, 60px);
  }

  .contacto-locations span {
    font-size: clamp(2rem, 11vw, 5rem);
    line-height: 0.85;
  }

  .contacto-form input,
  .newsletter-input input {
    font-size: 16px; /* evita que iOS haga zoom automático al enfocar */
  }


  /* ════════════════════════════════════════
     TERMINOS.HTML + AVISO.HTML
  ════════════════════════════════════════ */

  .terminos-hero-video {
    width: clamp(160px, 55vw, 260px);
    height: clamp(160px, 55vw, 260px);
  }

  .terminos-hero-video video {
    width: 100%;
    height: 100%;
  }

  .terminos-section {
    padding: clamp(60px, 10vh, 100px) 6% clamp(40px, 6vh, 70px);
  }

  .terminos-content h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .terminos-content p,
  .terminos-content li {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 20px;
  }


  /* ════════════════════════════════════════
     NEWSLETTER (todas las páginas)
  ════════════════════════════════════════ */

  .newsletter-section {
    padding: 40px 0;
    min-height: auto;
  }

  .newsletter-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .side-video {
    display: block;
    width: 75px;
    height: 160px;
    padding: 8px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  .side-video.left { left: 0; }
  .side-video.right { right: 0; }

  .newsletter-center {
   width: calc(100% - 20px);
    min-height: clamp(220px, 50vw, 340px);
    padding: 30px 20px;
    margin: 0 70px;
  }

  .newsletter-content {
    max-width: 100%;
  }

  .newsletter-content h2 {
    font-size: clamp(18px, 5vw, 24px);
    margin-bottom: 10px;
  }

  .newsletter-content p {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .newsletter-input input {
    font-size: 13px;
    padding: 10px 12px;
  }

  .newsletter-input button {
    padding: 10px 16px;
    font-size: 1.2rem;
  }


  /* ════════════════════════════════════════
     FOOTER (todas las páginas)
  ════════════════════════════════════════ */

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto auto auto !important;
    row-gap: 0 !important;
    gap: 0 !important;
  }

  .footer-logo {
    grid-column: 1 / 3 !important;
    grid-row: 1 !important;
    padding: 28px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    justify-content: flex-start;
  }

  .footer-logo img { max-width: 120px; }

  .footer-title {
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    justify-content: flex-start;
  }

  .footer-title h2 {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  .footer-copy {
    grid-column: 1 !important;
    grid-row: 3 !important;
    padding: 14px 16px;
    font-size: 0.68rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    justify-content: flex-start;
  }

  .footer-link:nth-of-type(1) {
    grid-column: 1 !important;
    grid-row: 4 !important;
    padding: 14px 16px;
    font-size: 0.68rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    justify-content: flex-start;
  }

  .footer-link:nth-of-type(2) {
    grid-column: 1 !important;
    grid-row: 5 !important;
    padding: 14px 16px;
    font-size: 0.68rem;
    border-bottom: 1px solid rgba(0,0,0,0.18);
    justify-content: flex-start;
  }

  .footer-links-right {
    display: flex !important;
    flex-direction: column !important;
    grid-column: 2 !important;
    grid-row: 3 / 6 !important;
    border-left: 1px solid rgba(0,0,0,0.12) !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }

  .footer-right-item {
    flex: 1;
    padding: 14px 16px;
    font-size: 0.68rem;
    justify-content: flex-start;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.18) !important;
  }

  .footer-right-item:last-child {
    border-bottom: none !important;
  }
}

@media (max-width: 600px) {
  .newsletter-section { padding: 60px 0; }
  .newsletter-content { max-width: 100%; }

  /* huella */
  .huella-video { height: 200px; }
  .huella-descripcion { font-size: 12px; line-height: 20px; }
  .huella-bullets li { font-size: 12px; line-height: 20px; }
  .nav-line { min-width: 25px; }
  .nav-number { font-size: 0.7rem; }
}

/* ============================================================
   CONOCENOS.CSS — agregar al final, después del @media (max-width: 600px)
   ============================================================ */

/* ============================================================
   MOBILE — conocenos.html
   Pegar al final de conocenos.css (después del último @media)
   ============================================================ */

/* ============================================================
   MOBILE MEDIA QUERIES — PROYECTO COMPLETO
   Todas las páginas usan conocenos.css, así que esto va
   al final de ese archivo, después del @media (max-width: 600px)
   ============================================================ */


/* ====================================================
   768px — tablets y móviles landscape
   ==================================================== */



/* ====================================================
   430px — móvil pequeño (iPhone SE, etc.)
   ==================================================== */
@media (max-width: 430px) {

  /* HEADER */
  .header { padding: 14px 16px; }

  .logo img,
  .logo .logo-gray { width: 120px; }

  .menu a { font-size: 0.55rem; }

  /* HERO */
  .hero-text { font-size: 0.72rem; }

  /* CONOCENOS — sección 2 */
  .texto-izq h2 { font-size: clamp(2.4rem, 16vw, 4rem); }

  .figura-video {
    width: clamp(200px, 86vw, 320px);
    height: clamp(200px, 86vw, 320px);
  }

  .texto-der { font-size: 0.85rem; }

  /* CONOCENOS — filosofía */
  .filosofia-inner {
    width: 95%;
    padding: 16px 14px;
  }

  .filosofia-slide h2 { font-size: 18px; line-height: 24px; }
  .filosofia-slide p  { font-size: 13px; }

  /* SERVICIOS */
  .servicios-title { font-size: clamp(1.5rem, 8vw, 2.2rem); }

  .hero-center-video {
    width: clamp(150px, 55vw, 220px);
    height: clamp(150px, 55vw, 220px);
  }

  /* EXPERIENCIA — huella */
  .huella-logo {
  display: flex;
  justify-content: center;
  width: 100%;
}
  .huella-logo img { width: 35%; }
  .huella-video    { height: auto; 
  background: rgba(0, 0, 0, .1);
aspect-ratio: 16 / 9;}

  .huella-descripcion,
  .huella-bullets li {
    font-size: 12px;
    line-height: 20px;
  }

  /* EXPERIENCIA — marcas */
  .marcas-grid,
  .marcas-grid.servicios {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CONTACTO */
  .contacto-left h1 { font-size: clamp(1.5rem, 8vw, 2.2rem); }

  .contacto-locations span { font-size: clamp(1.6rem, 10vw, 3rem); }

  /* TERMINOS / AVISO */
  .terminos-hero-video {
    width: clamp(130px, 50vw, 200px);
    height: clamp(130px, 50vw, 200px);
  }

  .terminos-content h1 { font-size: clamp(1.5rem, 7vw, 2.4rem); }

  /* NEWSLETTER */
  .newsletter-center { padding: 40px 16px; }

  /* FOOTER */
  .footer-title h2 { font-size: clamp(1.1rem, 7vw, 1.6rem); }
  .footer-copy,
  .footer-link,
  .footer-right-item { font-size: 0.65rem; padding: 12px 18px; }
}