/* ========================================
   CONFIGURACIÓN BASE
======================================== */

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

:root {
  --color-primario: #4500A8;
  --color-secundario: #FF0000;
  --color-terciario: #666666;
  --color-cuarto: #222222;
  --color-blanco: #FFFFFF;
  --color-negro: #000000;
  --fuente-principal: 'Century Gothic', 'Montserrat', sans-serif;
  --ancho-maximo: 120rem;
  --sombra-suave: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.1);
  --radio-borde: 0.8rem;
  --transicion-base: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--fuente-principal);
  background-color: var(--color-blanco);
  color: var(--color-negro);
  line-height: 1.6;
  font-size: 1.8rem;
  overflow-x: hidden;
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   CLASES UTILITARIAS
======================================== */

.container {
  max-width: var(--ancho-maximo);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-2 {
  max-width: 118rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.container3 {
  max-width: 140rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.columnas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ocultar {
  display: none;
}

@media (max-width: 768px) {
  .columnas {
    flex-direction: column;
  }
}



.header {
  background-color: var(--color-blanco);
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.header-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-principal img {
  width: 15rem;
  transition: width 0.3s ease;
}

.navegacion {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.navegacion nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navegacion a {
  text-decoration: none;
  color: var(--color-primario);
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.navegacion a:hover {
  color: var(--color-secundario);
}

.boton {
  background-color: var(--color-secundario);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 2rem;
  color: var(--color-blanco);
  cursor: pointer;
  font-weight: 600;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.boton:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.4rem 0.8rem rgba(255, 0, 0, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 3rem;
  height: 3rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  position: relative;
}

.menu-toggle span {
  width: 3rem;
  height: 0.3rem;
  background-color: var(--color-primario);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(1rem);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-2rem);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-1rem);
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .navegacion nav {
    gap: 0;
  }

  .navegacion a {
    font-size: 1.4rem;
    padding: 0.8rem 1rem;
  }

  .boton {
    padding: 0.8rem 1.5rem;
    font-size: 1.3rem;
  }

  .logo-principal img {
    width: 13rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 0;
  }

  .menu-toggle {
    display: flex;
  }

  .navegacion {
    position: fixed;
    top: 0;
    right: 0;
    width: 30rem;
    max-width: 85%;
    height: 100vh;
    background-color: var(--color-primario);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 2rem;
    padding: 8rem 3rem 3rem 3rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1001;
    box-shadow: -0.5rem 0 2rem rgba(0, 0, 0, 0.2);
  }

  .navegacion.active {
    transform: translateX(0);
  }

  .navegacion nav {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    align-items: flex-end;
  }

  .navegacion a {
    color: var(--color-blanco);
    font-size: 1.8rem;
    padding: 1rem 2rem;
    width: auto;
    text-align: right;
    border-radius: 1rem;
    opacity: 0;
    transform: translateX(3rem);
    transition: all 0.15s ease;
  }

  .navegacion.active a {
    opacity: 1;
    transform: translateX(0);
  }

  .navegacion.active a:nth-child(1) {
    transition-delay: 0.05s;
  }

  .navegacion.active a:nth-child(2) {
    transition-delay: 0.08s;
  }

  .navegacion.active a:nth-child(3) {
    transition-delay: 0.11s;
  }

  .navegacion.active a:nth-child(4) {
    transition-delay: 0.14s;
  }

  .navegacion.active a:nth-child(5) {
    transition-delay: 0.17s;
  }

  .navegacion a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-blanco);
    transform: translateX(-0.5rem);
  }

  .boton {
    width: auto;
    max-width: 21rem;
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
    transform: translateY(2rem);
    transition: all 0.15s ease;
  }

  .navegacion.active .boton {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
  }

  .logo-principal img {
    width: 12rem;
  }
}

@media (max-width: 480px) {
  .navegacion {
    width: 28rem;
  }

  .logo-principal img {
    width: 11rem;
  }

  .navegacion a {
    font-size: 1.6rem;
    padding: 1rem 1.5rem;
  }

  .boton {
    font-size: 1.5rem;
  }
}


.linea-horizontal {
  height: 5rem;
  background-color: var(--color-primario);
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
}

.linea-horizontal p {
  color: var(--color-blanco);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 2.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ========================================
   HERO
======================================== */

.hero {
  background-color: var(--color-blanco);
  height: 60rem;
  background-image: url(../img/fondos.svg);
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 10rem;
  padding-bottom: 3rem;
}


.hero-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  height: 100%;
}

.hero-col-1 {
  flex: 1;
}

.hero-col-2 {
  flex: 0 0 auto;
}

.hero-col-2 img {
  max-width: 45rem;
}

.hero-titulo {
  font-size: 5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.hero-titulo span {
  font-size: 3rem;
  display: block;
}

.hero-col-1 p {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.hero-boton {
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    padding-top: 10rem;
  }

  .hero-contenido {
    flex-direction: column;
    text-align: center;
  }

  .hero-col-1 {
    order: 2;
  }

  .hero-col-2 {
    order: 1;
  }

  .hero-col-2 img {
    max-width: 35rem;
  }

  .hero-titulo {
    font-size: 4rem;
  }

  .hero-titulo span {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 10rem;

  }

  .hero-col-2 img {
    max-width: 28rem;
  }

  .hero-titulo {
    font-size: 3.5rem;
  }

  .hero-titulo span {
    font-size: 2.2rem;
  }

  .hero-col-1 p {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 10rem 0;

  }

  .hero-col-2 img {
    max-width: 22rem;
  }

  .hero-titulo {
    font-size: 2.8rem;
  }

  .hero-titulo span {
    font-size: 1.8rem;
  }

  .hero-col-1 p {
    font-size: 1.5rem;
  }

  .boton {
    width: 100%;
  }
}



.iconos-orbita {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Estilo base de los íconos */
.icono {
  position: absolute;
  width: 4rem;
  transition: transform 180ms ease, opacity 180ms ease;
  z-index: 3;
  will-change: transform;
}


.icono3 {
  scale: 1.5;
}


.icono1 {
  top: -5%;
  left: 50%;
  transform: translate(-50%, 0);
}

.icono2 {
  top: 25%;
  right: 5%;
}

.icono3 {
  bottom: 25%;
  right: 10%;
}

.icono4 {
  bottom: 6%;
  left: 50%;
  transform: translate(-50%, 0);
}

.icono5 {
  bottom: 25%;
  left: 1%;
}

.icono6 {
  top: 25%;
  left: 0;
}


@media (max-width: 1024px) {
  .icono {
    width: 3.6rem;
  }
}

@media (max-width: 768px) {
  .icono {
    width: 3.2rem;
  }
}

@media (max-width: 480px) {
  .icono {
    width: 2.6rem;
  }
}



.astronauta-wrapper {
  position: relative;
  display: inline-block;
  width: max-content;
  margin: 0 auto;
}


.circulo-atras {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;

  width: calc(100% + 4rem);
  max-width: none;
  height: auto;
  will-change: transform, opacity;
}


.imagen-banner {
  position: relative;
  z-index: 2;
  display: block;
  pointer-events: none;
}

.tiroalblanco {
  scale: 0.8;
}


.iconos-orbita {
  z-index: 3;
}


/* ========================================
   PROPUESTA
======================================== */

.propuesta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8rem;
  margin-top: 5rem;
}

.propuesta-icono img {
  width: 12rem;
  margin-bottom: 2rem;
}

.propuesta-texto {
  text-align: center;
  font-size: 2.6rem;
}

.propuesta-texto span {
  display: inline-block;
  color: var(--color-blanco);
  width: 64rem;
  height: 7rem;
  line-height: 7rem;
  font-size: 5.2rem;
  font-weight: 700;
  background-color: var(--color-primario);
  border-radius: 2rem;
}

/* Pantallas medianas (1024px) */
@media (max-width: 1024px) {
  .propuesta {
    margin-bottom: 6rem;
  }

  .propuesta-texto {
    font-size: 2.2rem;
  }

  .propuesta-texto span {
    width: 55rem;
    height: 6.5rem;
    line-height: 6.5rem;
    font-size: 4rem;
  }
}

/* Tablets (768px) */
@media (max-width: 768px) {
  .propuesta {
    margin-bottom: 5rem;
  }

  .propuesta-icono img {
    width: 10rem;
  }

  .propuesta-texto {
    font-size: 2rem;
  }

  .propuesta-texto span {
    width: 40rem;
    height: 6rem;
    line-height: 6rem;
    font-size: 3.2rem;
  }
}

/* Móviles (480px) */
@media (max-width: 480px) {
  .propuesta {
    margin-bottom: 4rem;
  }

  .propuesta-icono img {
    width: 8rem;
  }

  .propuesta-texto {
    font-size: 1.7rem;
  }

  .propuesta-texto span {
    width: 28rem;
    height: 5.5rem;
    line-height: 5.5rem;
    font-size: 2.5rem;
  }
}

/* ========================================
   EXPERIENCIA
======================================== */

.experiencia {
  margin-bottom: 8rem;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 2fr 2fr;
  align-items: center;
}

.experiencia-anios {
  font-size: 15rem;
  font-weight: 700;
  color: var(--color-primario);
}



.experiencia-caja {
  height: 10rem;
  max-width: 45rem;
  background-color: var(--color-primario);
  border-radius: 2rem;
  color: var(--color-blanco);
  font-size: 3rem;
  font-weight: 700;
  padding: 0 1.3rem;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.experiencia-texto p:nth-of-type(2) {
  margin-top: 1rem;
  text-align: justify;
}

.caja2 {
  width: 17rem;
  height: 10rem;
  font-size: 5rem;
}

.numeracion {
  display: flex;
  gap: 3rem;
  margin: 0 auto;
}

.item {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}



.item img {
  height: 8.8rem;
}

.item p:nth-of-type(2) {
  margin-top: 0.5rem;
  font-size: 1.6rem;
}

@media (max-width: 1024px) {
  .experiencia {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
    justify-content: center;
    align-items: center;
  }

  .experiencia-anios {
    grid-column: 1 / -1;
    font-size: 12rem;
    text-align: center;
  }

  .experiencia-anios>p {
    top: 50%;
  }

  .experiencia-texto {
    grid-column: 1 / -1;
  }

  .experiencia-texto p:nth-of-type(2) {
    text-align: center;
  }

  /* La numeración ocupa todo el ancho y centra su contenido */
  .numeracion {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
  }

  .item img {
    height: 7rem;
  }

  .caja2 {
    width: 17rem;
    height: 10rem;
    font-size: 4.5rem;
  }
}

@media (max-width: 768px) {
  .experiencia {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
    justify-content: center;


  }

  .experiencia-anios {
    grid-column: 1 / -1;
    font-size: 10rem;
  }

  .experiencia-texto {
    grid-column: 1 / -1;

  }

  .experiencia-texto p:nth-of-type(2) {

    text-align: center;
  }

  .experiencia-caja {
    height: auto;
    padding: 2rem 1.5rem;
    font-size: 2.5rem;
  }

  .caja2 {
    width: 15rem;
    height: auto;
    font-size: 3.5rem;
    padding: 1.5rem;
  }

  .item img {
    height: 6rem;
  }

  .item p:nth-of-type(2) {
    font-size: 1.4rem;
  }


}

@media (max-width: 480px) {
  .experiencia {
    margin-bottom: 4rem;
    gap: 2rem;
  }

  .experiencia-anios {
    font-size: 6rem;
  }

  .experiencia-caja {
    font-size: 2.2rem;
    padding: 1.5rem;
  }

  .caja2 {
    width: 13rem;
    font-size: 3rem;
    padding: 1.2rem;
  }

  .item img {
    height: 5rem;
  }

  .item p:nth-of-type(2) {
    font-size: 1.3rem;
  }
}


/* === Estrella con número centrado encima === */

.experiencia-anios {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.experiencia-anios img.estrella {
  width: 23rem;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* Las tres estrellas pequeñas - posicionadas absolutamente arriba */
.experiencia-anios img:nth-child(1),
.experiencia-anios img:nth-child(2),
.experiencia-anios img:nth-child(3) {
  position: absolute;
  width: 6rem;
  height: auto;
  z-index: 3;
}

/* Primera estrella - izquierda arriba */
.experiencia-anios img:nth-child(1) {
  top: -2rem;
  left: 2rem;
}

/* Segunda estrella - centro arriba */
.experiencia-anios img:nth-child(2) {
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
}

/* Tercera estrella - derecha arriba */
.experiencia-anios img:nth-child(3) {
  top: -2rem;
  right: 2rem;
}

/* Posicionar el número encima (centrado) */
.experiencia-anios>p {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 2;
  font-size: 10rem;
  font-weight: 700;
  color: var(--color-primario);
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.12);
}

/* Ajustes responsivos */
@media (max-width: 1024px) {
  .experiencia-anios>p {
    font-size: 10rem;
  }

  .experiencia-anios img:nth-child(1),
  .experiencia-anios img:nth-child(2),
  .experiencia-anios img:nth-child(3) {
    width: 7rem;
  }
}

@media (max-width: 768px) {
  .experiencia-anios>p {
    font-size: 10rem;
  }

  .experiencia-anios img:nth-child(1),
  .experiencia-anios img:nth-child(2),
  .experiencia-anios img:nth-child(3) {
    width: 6rem;
  }

  .experiencia-anios img:nth-child(1) {
    top: -1.5rem;
    left: 1.5rem;
  }

  .experiencia-anios img:nth-child(2) {
    top: -3rem;
  }

  .experiencia-anios img:nth-child(3) {
    top: -1.5rem;
    right: 1.5rem;
  }
}


.elementos {
  text-align: center;
  margin-top: 6rem;
  margin-bottom: 8rem;
}

.elementos-titulo {
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--color-cuarto);
  margin-bottom: 4rem;
  line-height: 1.2;
}

.elementos-titulo span {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-cuarto);
  display: block;
}

.elementos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
  justify-items: center;
  gap: 3rem;
  width: 100%;
}

.elem {
  width: 100%;
  max-width: 15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.elem img {
  width: 100%;
  max-width: 10rem;
  height: auto;
  margin: 0 auto 1rem auto;
  display: block;
}

.elem figcaption {
  text-align: center;
  width: 100%;
}

.elem strong {
  display: block;
  font-size: 1.6rem;
  color: var(--color-primario);
  font-weight: 700;
  word-wrap: break-word;
}

.elem .sub {
  font-size: 1.4rem;
  color: var(--color-terciario);
  margin-top: 0.5rem;
}

.elementos-toggle {
  text-align: center;
  margin-top: 3rem;
  display: none;
}

.btn-toggle-elementos {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--color-primario);
  color: var(--color-blanco);
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.btn-toggle-elementos:hover {
  background-color: var(--color-secundario);
  transform: translateY(-0.3rem);
}

.btn-toggle-elementos i {
  font-size: 1.6rem;
}

@media (min-width: 601px) and (max-width: 1024px) {
  .elementos {
    margin-bottom: 6rem;
  }

  .elementos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .elem {
    max-width: 100%;
  }

  .elem img {
    max-width: 9rem;
  }

  .elem strong {
    font-size: 1.5rem;
  }

  .elem .sub {
    font-size: 1.3rem;
  }

  .elementos-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .elementos {
    margin-bottom: 5rem;
  }

  .elementos-titulo {
    font-size: 2.2rem;
  }

  .elementos-titulo span {
    font-size: 3.2rem;
  }

  .elementos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .elem {
    max-width: 100%;
  }

  .elem img {
    max-width: 8rem;
  }

  .elementos-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .elementos {
    margin-bottom: 4rem;
  }

  .elementos-titulo {
    font-size: 2rem;
  }

  .elementos-titulo span {
    font-size: 2.8rem;
  }

  .elementos-grid {
    gap: 1.5rem;
  }

  .elem img {
    max-width: 7.5rem;
  }

  .elem strong {
    font-size: 1.4rem;
  }

  .elem .sub {
    font-size: 1.2rem;
  }

  .btn-toggle-elementos {
    font-size: 1.4rem;
    padding: 1rem 2.5rem;
  }
}

/* ========================================
   SEPARADOR
======================================== */

.separador-footer {
  max-width: var(--ancho-maximo);
  margin: 4rem auto;
  padding: 0 2rem;
  border-bottom: 0.3rem solid #ff0000;
}

@media (max-width: 768px) {
  .separador-footer {
    margin: 3rem auto;
    border-bottom-width: 0.2rem;
  }
}

/* ========================================
   MARQUEE DE MARCAS
======================================== */

.marcas-strip {
  background-color: var(--color-blanco);
  padding: 3rem 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  margin-bottom: 4rem;
}

.marcas-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.marca-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.marca-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3rem;
}

.marca-item img {
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
}

.marca-item img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.marca-sep {
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0 2rem;
}

@media (max-width: 768px) {
  .marcas-strip {
    padding: 2rem 0;
    margin-bottom: 3rem;
  }

  .marca-item {
    padding: 0 2rem;
  }
}

/* ========================================
   FOOTER
======================================== */

.footer-contacto {
  background-color: var(--color-primario);
  color: var(--color-blanco);
  padding: 4rem 0;
  overflow: hidden;
  min-height: auto;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.footer-info {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 48rem;
}

.footer-contacto-info-padre {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  height: 100%;
}

.footer-contacto-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-contacto-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--color-blanco);
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-contacto-item:hover {
  opacity: 0.8;
}

.footer-contacto-item .icono-pequeno {
  width: 2.8rem;
  height: 2.8rem;
  filter: brightness(0) invert(1);
}

.footer-social-and-legal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: auto;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-social img {
  width: 2.8rem;
  height: 2.8rem;
  filter: brightness(0) invert(1);
}

.footer-legal {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-legal p {
  margin: 0;
}

.footer-logo-padre {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-formulario {
  grid-column: span 6;
  position: relative;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.8rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem 0;
  border: none;
  border-bottom: 0.2rem solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  font-size: 1.6rem;
  background-color: transparent;
  color: var(--color-blanco);
  font-family: var(--fuente-principal);
  width: 100%;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--color-blanco);
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group-full textarea {
  height: 14rem;
  resize: none;
}

.form-checkbox {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.4rem;
}

.form-checkbox input[type="checkbox"] {
  width: 1.8rem;
  height: 1.8rem;
  accent-color: var(--color-secundario);
  margin-top: 0.2rem;
  cursor: pointer;
}

.form-checkbox label {
  cursor: pointer;
}

.form-checkbox a {
  color: var(--color-blanco);
  text-decoration: underline;
}

.form-checkbox a:hover {
  opacity: 0.8;
}

.btn-enviar {
  position: absolute;
  right: 2rem;
  bottom: 0;
  padding: 1.2rem 3.5rem;
  border-radius: 4rem;
  font-weight: 700;
  background-color: var(--color-secundario);
  border: none;
  color: var(--color-blanco);
  cursor: pointer;
  font-size: 1.8rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-enviar:hover {
  transform: translateY(-0.3rem);
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer-info,
  .footer-logo-padre,
  .footer-formulario {
    grid-column: 1 / -1;
  }

  .footer-logo-padre {
    order: -1;
  }

  .footer-info {
    flex-direction: row;
    min-height: auto;
    gap: 4rem;
  }

  .footer-contacto-info-padre {
    flex-direction: row;
    gap: 4rem;
    justify-content: space-between;
    align-items: center;
  }

  .footer-formulario {
    padding-bottom: 0;
  }

  .btn-enviar {
    position: static;
    margin-top: 2rem;
    align-self: flex-start;
  }
}

@media (max-width: 768px) {
  .footer-contacto {
    padding: 3rem 0;
  }

  .footer-info {
    gap: 3rem;
  }

  .footer-contacto-info-padre {
    gap: 3rem;
  }

  .footer-contacto-item {
    font-size: 1.7rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-enviar {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-contacto {
    padding: 2.5rem 0;
  }

  .footer-info {
    gap: 2rem;
  }

  .footer-contacto-info-padre {
    gap: 2rem;
  }

  .footer-contacto-item {
    font-size: 1.5rem;
  }

  .footer-contacto-item .icono-pequeno {
    width: 2.2rem;
    height: 2.2rem;
  }

  .footer-social img {
    width: 2.2rem;
    height: 2.2rem;
  }

  .footer-legal {
    font-size: 1.2rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1.5rem;
  }

  .form-group-full textarea {
    height: 12rem;
  }

  .btn-enviar {
    font-size: 1.7rem;
    padding: 1.1rem 3rem;
  }
}




/* ========================================
   CLASES REUTILIZABLES - EFECTO FLOTANTE
======================================== */

/* Efecto flotante básico */
.floating {
  animation: floating 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes floating {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2.5rem);
  }
}

/* Efecto flotante suave (más lento) */
.floating-smooth {
  animation: floating-smooth 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes floating-smooth {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2rem);
  }
}

/* Efecto flotante rápido */
.floating-fast {
  animation: floating-fast 2s ease-in-out infinite;
  will-change: transform;
}

@keyframes floating-fast {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1.5rem);
  }
}

/* Efecto burbuja (con rotación ligera) */
.floating-bubble {
  animation: floating-bubble 3.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes floating-bubble {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-1.5rem) rotate(2deg);
  }

  50% {
    transform: translateY(-3rem) rotate(0deg);
  }

  75% {
    transform: translateY(-1.5rem) rotate(-2deg);
  }
}

/* Efecto burbuja con escala */
.floating-scale {
  animation: floating-scale 3.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes floating-scale {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(-1.5rem) scale(1.02);
  }

  50% {
    transform: translateY(-3rem) scale(1.05);
  }

  75% {
    transform: translateY(-1.5rem) scale(1.02);
  }
}

/* Efecto onda (movimiento horizontal también) */
.floating-wave {
  animation: floating-wave 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes floating-wave {

  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(1rem, -2rem);
  }

  50% {
    transform: translate(0, -3rem);
  }

  75% {
    transform: translate(-1rem, -2rem);
  }
}

/* Efecto sutil (muy ligero) */
.floating-subtle {
  animation: floating-subtle 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes floating-subtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1rem);
  }
}

/* Responsive - reduce la animación en móviles */
@media (max-width: 768px) {

  .floating,
  .floating-smooth,
  .floating-fast,
  .floating-bubble,
  .floating-scale,
  .floating-wave,
  .floating-subtle {
    animation-duration: 2.5s;
  }
}

@media (max-width: 480px) {

  .floating,
  .floating-smooth,
  .floating-fast,
  .floating-bubble,
  .floating-scale,
  .floating-wave,
  .floating-subtle {
    animation-duration: 2s;
  }
}










.que-hacemos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 3rem;
  padding: 4rem 2;
  margin-bottom: 2rem;
}


.imagen-col img {
  width: 100%;
  max-width: 40rem;
  height: auto;
  display: block;
}

.imagen-col-2 {
  width: 20rem;
}


.que-hacemos p {
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: justify;

}


@media (max-width: 768px) {
  .que-hacemos {
    grid-template-columns: 1fr;

  }

  .que-hacemos p {
    text-align: center;
  }

  .imagen-col img {
    margin: 0 auto;
  }
}

.que-hacemos h2 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-cuarto);
  text-align: center;
}

@media (max-width: 768px) {
  .que-hacemos h2 {
    font-size: 2.8rem;
    text-align: center;
  }
}




/* Clase reutilizable para fondo de color */
.bg-destacado {
  background-color: var(--color-primario);
  color: var(--color-blanco);
  padding: 0.3rem 1rem;
  border-radius: 0.5rem;
  display: inline-block;
  font-weight: 700;
  line-height: 1.4;
}

/* Contenedor de texto */
.texto-destacado {
  text-align: center;
  margin: 2rem auto;
  max-width: 85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Icono centrado arriba */
.icono-centro {
  margin-bottom: 2rem;
}

.icono-centro img {
  width: 10rem;
  height: auto;
}

/* Texto principal */
.texto-principal {
  font-size: 2.8rem;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  font-weight: 400;

}

/* Texto secundario */
.texto-secundario {
  font-size: 1.6rem;
  color: var(--color-terciario);
  line-height: 1.6;
  font-weight: 400;
}

.texto-secundario strong {
  font-weight: 700;
  color: var(--color-cuarto);
}

/* Responsivo */
@media (max-width: 768px) {
  .texto-destacado {
    margin: 4rem auto;
  }

  .icono-centro img {
    width: 8rem;
  }

  .texto-principal {
    font-size: 2.2rem;
  }

  .texto-secundario {
    font-size: 1.5rem;
  }

  .bg-destacado {
    padding: 0.2rem 0.8rem;
  }

  .texto-principal br,
  .texto-secundario br {
    display: none;
  }
}

@media (max-width: 480px) {
  .icono-centro img {
    width: 8rem;
  }

  .texto-principal {
    font-size: 1.9rem;
  }

  .texto-secundario {
    font-size: 1.4rem;
  }
}


.huella-centro img {
  width: 18rem;
}








/* ========================================
   CARDS REUTILIZABLES
======================================== */

.cards-section {
  padding: 6rem 0;
  margin-bottom: 2rem;
  background-color: #f1f1f1;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}

.card-item {
  position: relative;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--sombra-suave);
  transition: transform var(--transicion-base);
}

.card-item:hover {
  transform: translateY(-0.5rem);
}

/* Imagen de fondo */
.card-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pie del card - contiene título y descripción */
.card-pie {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primario);
  padding: 1.2rem 1rem;
  height: 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: height 0.4s ease, padding 0.4s ease;
  overflow: hidden;
}

.card-titulo {
  color: var(--color-blanco);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
  flex-shrink: 0;
  max-width: 100%;
  word-wrap: break-word;
  hyphens: auto;
  opacity: 1;
}

.card-descripcion {
  color: var(--color-blanco);
  font-size: 1.3rem;
  line-height: 1.5;
  margin-top: 1.2rem;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.3s ease 0.1s, max-height 0.3s ease;
  max-width: 100%;
}

/* Hover effect - Funciona SIEMPRE en todos los dispositivos */
.card-item:hover .card-pie {
  height: 100%;
  padding: 2rem 1.5rem;
}

.card-item:hover .card-descripcion {
  opacity: 1;
  max-height: 100%;
}

/* Click effect - También funciona en todos los dispositivos */
.card-item.active .card-pie {
  height: 100%;
  padding: 2rem 1.5rem;
}

.card-item.active .card-descripcion {
  opacity: 1;
  max-height: 100%;
}

/* Responsivo - Tablets */
@media (max-width: 1024px) {
  .cards-section {
    padding: 5rem 0;
    margin-bottom: 6rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .card-item {
    max-width: 30rem;
  }

  .card-titulo {
    font-size: 1.35rem;
  }

  .card-descripcion {
    font-size: 1.25rem;
  }
}

/* Responsivo - Móviles (MÍNIMO 2 COLUMNAS) */
@media (max-width: 768px) {
  .cards-section {
    padding: 4rem 0;
    margin-bottom: 5rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .card-item {
    max-width: 100%;
  }

  .card-pie {
    height: 6rem;
    padding: 1rem 0.8rem;
  }

  .card-titulo {
    font-size: 1.2rem;
  }

  .card-descripcion {
    font-size: 1.15rem;
    margin-top: 1rem;
    line-height: 1.4;
  }

  .card-item.active .card-pie,
  .card-item:hover .card-pie {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .cards-section {
    padding: 3rem 0;
    margin-bottom: 4rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .card-item {
    max-width: 100%;
  }

  .card-pie {
    height: 5.8rem;
    padding: 0.8rem 0.6rem;
  }

  .card-titulo {
    font-size: 1.1rem;
    line-height: 1.15;
  }

  .card-descripcion {
    font-size: 1.1rem;
    margin-top: 0.8rem;
    line-height: 1.4;
  }

  .card-item.active .card-pie,
  .card-item:hover .card-pie {
    padding: 1.5rem 1rem;
  }
}

/* Extra pequeño - menos de 400px */
@media (max-width: 400px) {
  .cards-grid {
    gap: 1rem;
  }

  .card-titulo {
    font-size: 1rem;
  }

  .card-descripcion {
    font-size: 1.05rem;
  }
}


/* ========================================
   PRODUCTOS - Estilos adicionales
======================================== */

.seccion-header {
  text-align: center;
  margin-bottom: 4rem;
}

.actual {
  color: var(--color-secundario) !important;
}