/* ================================
   FUENTES
================================ */

@font-face {
  font-family: 'TTInterphases';
  src: url('../fonts/TT_Interphases_Pro_Trial_Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ================================
   RESET
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* RESET UL / LI (CLAVE) */
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ================================
   BASE
================================ */

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0b1c2d;
  color: #ffffff;
  overflow-x: hidden;
}

/* ================================
   HEADER
================================ */

.header {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  padding: 0 80px;
  display: flex;
  align-items: center;
  z-index: 20;
}

.logo {
  height: 60px;
}

/* ================================
   MEN脷 (CSS PURO)
================================ */

.menu {
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 14px 36px;
  backdrop-filter: blur(8px);
}

.menu-list {
  display: flex;
  list-style: none;
  gap: 34px;
}

.menu-list li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.8px;
}

.menu-list li a.active {
  font-weight: 600;
}

/* ================================
   HERO
================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 38%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.95;
}

.hero-unit {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 70%;
  z-index: 2;
}

.hero-text {
  position: absolute;
  left: 120px;
  top: 46%;
  transform: translateY(-50%);
  max-width: 420px;
  z-index: 3;
}

.hero-cta {
  position: absolute;
  left: 120px;
  top: 60%;
  z-index: 3;
}

/* ================================
   HERO BOTTOM
================================ */

.hero-bottom {
  position: relative;
  background-color: #0b1c2d;
  text-align: center;
  padding: 90px 20px;
}

.hero-bottom h2 {
  font-family: 'TTInterphases', sans-serif;
  font-size: 28px;
  margin-bottom: 18px;
  letter-spacing: 0.6px;
}

.hero-bottom p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
}

.middle-bg {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  z-index: -1;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 992px) {

  .header {
    padding: 0 40px;
  }

  .menu-list {
    gap: 20px;
  }

  .menu-list li a {
    font-size: 15px;
  }

  .hero-unit {
    max-width: 85%;
  }

  .hero-text,
  .hero-cta {
    left: 60px;
  }
}

@media (max-width: 768px) {

  .header {
    padding: 15px 20px;
  }

  .logo {
    height: 45px;
  }

  .menu {
    padding: 10px 20px;
  }

  .menu-list {
    gap: 14px;
  }

  .menu-list li a {
    font-size: 13px;
  }

  .hero {
    height: auto;
    padding-bottom: 60px;
  }

  .hero-overlay {
    width: 100%;
    opacity: 0.85;
  }

  .hero-text {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 90px 20px 20px;
    max-width: 100%;
  }

  .hero-cta {
    position: relative;
    left: auto;
    top: auto;
    margin: 20px 20px 0;
  }

  .hero-cta img {
    max-width: 220px;
  }

  .hero-unit {
    position: relative;
    max-width: 100%;
    margin-top: 20px;
  }

  .hero-bottom h2 {
    font-size: 22px;
  }

  .hero-bottom p {
    font-size: 14px;
    padding: 0 15px;
  }
}
/* ================================
   SERVICIOS
================================ */

.servicios-section {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Fondo azul/blanco */
.servicios-middle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  object-fit: cover;
  z-index: -1;
}

/* ICONOS SUPERIORES */
.servicios-top {
  display: flex;
  justify-content: center;
  gap: 90px;
  margin-bottom: 80px;
}

.servicio-item {
  text-align: center;
}

.servicio-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #ffffff;
  margin: 0 auto 15px;
}

.servicio-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.servicio-label-img {
  width: 160px;
}

/* BLOQUE INFERIOR */
.servicios-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Imagen izquierda */
.servicios-img-left img {
  width: 100%;
  max-width: 280px;
}

/* Texto */
.servicios-text h2 {
  font-family: 'TTInterphases', sans-serif;
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 15px;
}

.servicios-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 15px;
}

.servicios-text ul {
  padding-left: 18px;
}

.servicios-text ul li {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 8px;
}

/* Imagen derecha */
.servicios-img-right img {
  width: 100%;
  max-width: 320px;
  margin-left: auto;
}

/* ================================
   RESPONSIVE SERVICIOS
================================ */

@media (max-width: 992px) {

  .servicios-top {
    gap: 40px;
  }

  .servicio-circle {
    width: 160px;
    height: 160px;
  }

  .servicios-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .servicios-img-right img,
  .servicios-img-left img {
    margin: 0 auto;
  }

  .servicios-text ul {
    text-align: left;
    display: inline-block;
  }
}
/* ================================
   LABEL SERVICIOS (TEXTO SOBRE BANNER)
================================ */

.servicio-label {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}

.servicio-label img {
  width: 160px;
  display: block;
}

.servicio-label span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'TTInterphases', sans-serif;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 0.6px;
  white-space: nowrap;
}
/* ================================
   NOSOTROS
================================ */

.nosotros-section {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

/* Fondo azul/blanco */
.nosotros-middle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  object-fit: cover;
  z-index: -1;
}

/* Encabezado */
.nosotros-header {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
  padding: 0 20px;
}

.nosotros-header h2 {
  font-family: 'TTInterphases', sans-serif;
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: 0.6px;
}

.nosotros-header p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #ffffff;
  line-height: 1.6;
}

/* Contenido principal */
.nosotros-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 30px;
}

.nosotros-img img {
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
}

.nosotros-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.nosotros-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Valores */
.nosotros-valores {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 30px;
}

.valores-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-radius: 20px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.valor-item img {
  width: 50px;
  margin-bottom: 12px;
}

.valor-item h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0b1c2d;
  margin-bottom: 6px;
}

.valor-item p {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #555555;
}

/* ================================
   RESPONSIVE NOSOTROS
================================ */

@media (max-width: 992px) {

  .nosotros-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nosotros-img img {
    margin: 0 auto;
  }

  .valores-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================
   CONTACTO – FIX FINAL
================================ */

.contacto-hero {
  position: relative;
  width: 100%;
  height: 620px;
  background: #0b2a45;
  overflow: hidden;
}

/* Imagen base (CONTACTANOS.png) */
.contacto-hero > img {
  width: auto;
  height: 520px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-45%);
  z-index: 1;
  pointer-events: none;
}

/* Contenido encima */
.contacto-contenido {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  padding: 80px 8% 0;     /* 👈 baja todo */
  box-sizing: border-box;
  z-index: 2;
}

/* TEXTO */
.contacto-texto {
  max-width: 420px;
  color: #ffffff;
}

.contacto-texto h2 {
  font-family: 'TTInterphases', sans-serif;
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.contacto-texto p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  opacity: 0.9;
}

/* ================================
   FORMULARIO (FIX ESTÉTICO)
================================ */

.contacto-formulario {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.2);
}

.contacto-formulario form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacto-formulario input,
.contacto-formulario textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  background: #f1f1f1;
  outline: none;
}

.contacto-formulario textarea {
  resize: none;
  min-height: 90px;
}

/* Botón */
.contacto-formulario button {
  margin-top: 10px;
  background: #28c3f5;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  padding: 11px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contacto-formulario button:hover {
  background: #1aa7d8;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 992px) {

  .contacto-hero {
    height: auto;
    padding-bottom: 40px;
  }

  .contacto-hero > img {
    display: none; /* 👈 personaje fuera en móvil */
  }

  .contacto-contenido {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    text-align: center;
  }

  .contacto-formulario {
    max-width: 420px;
    margin: 0 auto;
  }
}
/* ================================
   MENSAJE DE ENVÍO EXITOSO
================================ */

.mensaje-exito {
  background: rgba(40, 195, 245, 0.12);   /* azul suave */
  border-left: 5px solid #28c3f5;         /* azul corporativo */
  color: #0b2a45;
  padding: 14px 18px;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 18px;
}

/* Ícono y texto más armónico */
.mensaje-exito strong {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 576px) {
  .mensaje-exito {
    font-size: 13px;
    padding: 12px 14px;
  }
}
/* =================================================
   AJUSTES FINOS MOBILE (SIN ROMPER DESKTOP)
================================================= */

@media (max-width: 768px) {

  /* Evita que el header flote sobre contenido */
  .header {
    position: relative;
    top: 0;
    padding: 12px 16px;
  }

  /* HERO PRINCIPAL */
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-unit {
    max-width: 100%;
    margin: 40px auto 0;
  }

  .hero-text {
    margin-top: 120px; /* 👈 baja texto debajo del menú */
    text-align: center;
  }

  .hero-cta {
    text-align: center;
  }

  /* SERVICIOS – ICONOS */
  .servicios-top {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
  }

  .servicio-circle {
    width: 150px;
    height: 150px;
  }

  /* SERVICIOS – BLOQUE INFERIOR */
  .servicios-content {
    padding-top: 20px;
  }

  /* NOSOTROS */
  .nosotros-section {
    padding-top: 80px;
  }

  .nosotros-header {
    margin-bottom: 50px;
  }

  /* Evita imágenes gigantes */
  .nosotros-img img {
    max-width: 280px;
  }

  /* CONTACTO */
  .contacto-hero {
    padding-top: 40px;
  }

  .contacto-texto h2 {
    font-size: 22px;
  }

  .contacto-texto p {
    font-size: 13px;
  }
}

/* =================================================
   MOBILE MUY PEQUEÑO
================================================= */

@media (max-width: 480px) {

  .menu {
    padding: 8px 14px;
  }

  .menu-list {
    gap: 10px;
  }

  .menu-list li a {
    font-size: 12px;
  }

  .hero-text h1,
  .hero-text h2 {
    font-size: 24px;
  }

  .hero-bottom {
    padding: 60px 15px;
  }
}
/* ================================
   AJUSTES MENÚ + LOGO SOLO MÓVIL
================================ */

@media (max-width: 768px) {

  /* Header más alto para respirar */
  .header {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 10px;
  }

  /* LOGO CENTRADO */
  .logo {
    margin: 0 auto;
    display: block;
    height: 42px;
  }

  /* MENÚ ABAJO DEL LOGO */
  .menu {
    margin: 0 auto;
    padding: 10px 18px;
  }

  .menu-list {
    gap: 16px;
  }

  .menu-list li a {
    font-size: 13px;
  }
}
/* =====================================
   FIX HERO TEXT – MOVEMOS OPORTUNIDADES
   SOLO MÓVIL
===================================== */

@media (max-width: 768px) {

  .hero-text {
    max-width: 97%;
    left: -14px;
  }

  .hero-text img {
    max-width: 100%;
    height: auto;
  }

}
/*MEJORAS DE PAG PRINCIPAL*/
@media (max-width: 768px) {

  .hero-unit {
    margin-top: -120px;   /* 👈 sube la camioneta */
  }

/*MOV OPO*/
}
@media (max-width: 768px) {

  .hero-text {
    margin-top: 40px;   /* antes estaba más abajo */
  }

  .hero-cta {
    margin-top: 12px;
  }

}
/*SOCIO*/
@media (max-width: 768px) {

  .hero-bottom {
    padding-top: 40px;   /* antes 90px */
    padding-bottom: 50px;
  }

}
/* ================================
   CONTACTO – MOSTRAR PERSONAJE EN MÓVIL
   (CONTACTANOS.png)
================================ */

@media (max-width: 992px) {

  /* Mostrar la imagen del chico en móvil */
  .contacto-hero > img {
    display: block;          /* vuelve a mostrarse */
    position: relative;      /* flujo normal */
    width: 260px;            /* tamaño elegante */
    height: auto;
    margin: 10px auto 25px;  /* centrado y con aire */
    transform: none;         /* evita recortes */
    left: auto;
    bottom: auto;
  }

  /* Ajuste fino del contenido */
  .contacto-contenido {
    padding-top: 10px;
  }
}