/*
Theme Name: Human Consultora Theme
Theme URI: https://example.com/
Author: Ronny Errazuris
Author URI: https://example.com/
Description: Plantilla WordPress informativa con menú superior (Inicio, Servicios, Clientes, Casos, Contacto) y página de contacto basada en el boceto.
Version: 1.0.0
License: GPLv2 or later
Text Domain: human-consultora
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Dancing+Script:wght@500&display=swap');


:root {
  --teal: #ffffff;
  --teal-dark: #34bfb7;
  --purple: #7a4aa6;
  --purple-dark: #5f2d8f;
  --bg: #f7f8fb;
  --text: #34bfb7;
}

/* ===== RESET ===== */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  background: #fff;
}

a { color: black; text-decoration: none; }
 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   HEADER HUMAN CONSULTORA
   ========================= */

/* Header ocupa todo el ancho */
.site-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 0;
  padding: 0;
}

/* Contenedor interno sin márgenes */
.header-container,
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 15px 40px;
  box-sizing: border-box;
}

/* Logo totalmente a la izquierda */
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 8px;     /* pequeño aire visual */
  left: 10px;
  z-index: 20;
}

.brand-logo {
  width: 300px; /* 🔥 más grande */
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.20); /* efecto suave al pasar el mouse */
}

/* Menú a la derecha con letras más grandes */
.primary-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto; /* empuja el menú a la derecha */
}

.primary-menu a {
  color: #009b7d;
  font-weight: 600;
  font-size: 22px; /* 🔥 un poco más grande */
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Efecto hover igual que el logo */
.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: #6c1c8c;     /* morado */
  transform: scale(1.50); /* mismo efecto del logo */
  text-decoration: none;
}

/* Altura equilibrada */
.site-header,
.header-container,
.navbar {
  min-height: 85px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .brand-logo {
    width: 220px;
  }
  .primary-menu a {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .brand {
    position: relative;
    top: 0;
    left: 0;
    justify-content: center;
  }
  .header-container,
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px;
  }
  .brand-logo {
    width: 200px;
  }
  .primary-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }
  .primary-menu a {
    font-size: 16px;
  }
}


/* Mobile */
@media (max-width: 820px) {
  .primary-menu { display:none; flex-direction: column; align-items:flex-start; padding: .5rem 0; }
  .primary-menu.open { display:flex; }
  .menu-toggle { display:inline-block; }
}


/* Sections */
.section { padding: 40px 0; }
.section.alt { background:#fff; }

/* Cards */
.grid { display:grid; gap: 20px; grid-template-columns: repeat(12, 1fr); }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }
@media (max-width: 900px){ .col-4, .col-6 { grid-column: span 12; } }

.card { background:#fff; border: 1px solid #ececec; border-radius: 16px; padding: 20px; box-shadow: 0 6px 16px rgba(0,0,0,.04); }

/* Contact Form */
.form { display:grid; gap:14px; }
.input, .textarea { width:100%; padding:12px 14px; border-radius:10px; border:1px solid #ddd; background:#fafafa; font-size:16px; }
.textarea { min-height: 130px; resize: vertical; }
.btn { display:inline-block; padding: 12px 18px; border-radius: 12px; border: 0; background: var(--purple); color: #fff; font-weight: 700; cursor:pointer; }
.btn:hover { background: var(--purple-dark); }

/* Footer */
.site-footer { background:#fff; border-top: 1px solid #e9e9e9; padding: 36px 0; color:#4d4d4d; }
.site-footer .mini-nav { display:flex; gap: 1rem; flex-wrap: wrap; font-size: 15px; }
.footer-brand { width: 150px; margin-bottom: 10px; }

/* Contact tiles */
.contact-tiles { display:flex; flex-wrap: wrap; gap: 24px; margin-top: 10px; }
.tile { flex:1 1 220px; background:#fff; border:1px solid #eee; border-radius:14px; padding:16px; }
.tile h4 { margin:6px 0; font-size:16px; color:#333; }
.tile small { color:#666; }

.notice { padding:10px 14px; border-radius: 10px; background:#e7f7f6; border:1px solid #cfeeed; color:#0b736c; }
.error { background:#fdeaea; border-color:#f3c5c5; color:#8e1f1f; }
*/

.video-container {
  position: relative;
  width: 10%;
  max-width: 1000px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

.human-intro {
  background-color: #18b4ab;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

.human-intro p {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

/* --- General --- */
section {
  padding: 60px 20px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}
h2 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.icon {
  margin-right: 8px;
}

/*Emcabezado*/
/* ===== ENCABEZADO ===== */
.site-header {
  background-color: #ffffff;
  padding: 15px 50px;
  border-bottom: 1px solid #f1f1f1;
}

.header-container {
  max-width: 300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  max-height: 100;
  height: left;
  display: block;
}

.main-nav .menu {
  display: flex;
  gap: 60px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .menu li a {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #00aab2;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.3s;
}

.main-nav .menu li a:hover {
  color: #6c1c8c; /* el morado del logo */
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav .menu {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .brand-logo {
    max-height: 60px;
  }
}

/* ===== ALIADOS ESTRATÉGICOS ===== */
.aliados {
  background-color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.titulo-aliados {
  color: #009b7d;
  text-transform: uppercase;
  font-size: 35px;
  letter-spacing: 3px;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.titulo-aliados::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #00aab2;
  margin-top: 8px;
}

/* ===== CARRUSEL ===== */
.carrusel-container {
  overflow: hidden;
  width: 200%;
  max-width: 2000px;
  margin: 0 auto;
}

.carrusel-track {
  display: flex;
  width: 300%; /* dos grupos: 2 x 100% */
  transition: transform 1s ease-in-out;
}

.grupo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 110px; /* 🔥 más espacio horizontal entre logos (~3 cm) */
  padding: 20px 0;
}

.carrusel img {
  width: 300px;
  height: 280px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.3s, opacity 0.3s;
}

.carrusel img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .grupo {
    gap: 90px; /* menos espacio en pantallas medianas */
  }
  .carrusel img {
    width: 220px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .grupo {
    flex-wrap: wrap;
    gap: 40px;
  }
  .carrusel img {
    width: 150px;
    height: 90px;
  }
}



/* --- SOBRE NOSOTROS --- */
.sobre-nosotros {
  background: #ffffff;
  padding: 100px 0; /* 🔹 más espacio vertical */
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr; /* 🔹 más espacio para el texto */
  align-items: center;
  gap: 80px; /* 🔹 más separación entre texto e imagen */
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

/* --- Título --- */
.sobre-nosotros h2 {
  color: #7d53a2;
  font-size: 2rem; /* 🔹 un poco más grande */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* --- Subtítulo (intro) --- */
.sobre-nosotros .intro {
  font-style: italic;
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 1.25rem; /* 🔹 más grande */
  color: #333;
  text-align: justify;
}

/* --- Párrafos --- */
.sobre-nosotros p {
  color: #333;
  font-size: 1.1rem; /* 🔹 texto ligeramente más grande */
  line-height: 1.9; /* 🔹 más aire entre líneas */
  text-align: justify;
  margin-bottom: 20px;
}

.sobre-nosotros strong {
  font-weight: 700;
  color: #000;
}

/* --- Imagen circular --- */
.img-circle {
  background-color: #18b4ab;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px; /* 🔹 más espacio interno */
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08); /* 🔹 sutil sombra */
}

.img-circle img {
  border-radius: 12px;
  width: 75%;
  height: auto;
  object-fit: cover;
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .img-circle {
    max-width: 340px;
    width: 80%;
    padding: 30px;
  }

  .sobre-nosotros h2 {
    font-size: 1.7rem;
  }

  .sobre-nosotros p {
    font-size: 1rem;
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .sobre-nosotros {
    padding: 80px 20px;
  }

  .img-circle {
    max-width: 260px;
    padding: 25px;
  }

  .sobre-nosotros .intro {
    font-size: 1.1rem;
  }
}



/* ============================
   SECCIÓN DE VALORES
   ============================ */
.valores {
  background: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.valores h2 {
  color: #009b7d;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

/* Línea turquesa decorativa */
.valores h2::after {
  content: "";
  display: block;
  width: 140%;
  height: 3px;
  background-color: #00aab2;
  margin: 12px auto 0;
}

/* Cuadrícula de valores */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Tarjetas de valor */
.valor {
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 80px 20px;
  transition: all 0.3s ease;
  cursor: default;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* Colores institucionales */
.valor.teal {
  background: #18b4ab;
}

.valor.purple {
  background: #7d53a2;
}

/* Efecto hover sutil */
.valor:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .valor {
    padding: 70px 15px;
  }
}

@media (max-width: 600px) {
  .valores-grid {
    grid-template-columns: 1fr;
  }
  .valor {
    padding: 60px 15px;
  }
}

/* ============================
   PIE DE PÁGINA (FOOTER)
   ============================ */
.site-footer {
  background-color: #18b4ab;
  text-align: center;
  padding: 90px 20px 60px;
  color: #ffffff;
  position: relative;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  margin-top: 0;
}

/* Contenedor general */
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

/* Logo */
.footer-logo {
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

/* Menú inferior */
.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-menu a {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-menu a:hover {
  color: #7d53a2; /* morado del logo */
  transform: scale(1.08);
}

/* Responsivo */
@media (max-width: 600px) {
  .footer-logo {
    max-width: 200px;
  }

  .footer-menu ul {
    gap: 18px;
  }

  .footer-menu a {
    font-size: 0.85rem;
  }
}
/* === ENCABEZADO === */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 10px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === LOGO === */
.brand-logo {
  height: 90px;  /* Tamaño ajustado: puedes subir o bajar */
  width: auto;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

/* === MENÚ === */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
}

.nav-menu li {
  display: inline-block;
}

.nav-menu a {
  text-decoration: none;
  color: #18b4ab;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  font-size: 15px;
}

.nav-menu a:hover {
  color: #6d2c91; /* tono morado del logo */
}

/* Responsivo */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }

  .brand-logo {
    height: 70px;
    margin-bottom: 15px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* ============================
   SERVICIOS (maqueta calcada)
   ============================ */

:root{
  --teal:#18b4ab;           /* turquesa institucional */
  --purple:#7d53a2;         /* morado institucional */
  --teal-dark:#00aab2;      /* acento línea / variante */
  --white:#ffffff;
}

/* --- HERO --- */
.hero-servicios{
  background: var(--teal);
  color: var(--white);
  text-align:center;
  padding: 68px 20px 56px;
}
.hero-servicios h1{
  margin:0;
  line-height:1.15;
  text-transform:uppercase;
  font-weight:700;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
}
.hero-servicios em{
  font-family:'Dancing Script', cursive;
  font-weight:500;
  font-size: 0.8em; /* más pequeño que “ES” como la maqueta */
}

/* --- RESULTADOS: encabezado --- */
.resultados{
  background:#fff;
  padding: 46px 3.5vw 56px;
}
.resultados-head{
  display:flex;
  align-items:center;
  gap: 18px;
  margin: 0 auto 24px;
  max-width: 1200px;
}
.titulo-con-icono{
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
}
.logo-cadena{
  width:28px;
  height:auto;
}
.resultados h2{
  color:#009b7d;                 /* tono del título como en la maqueta */
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing:.5px;
  font-weight:800;
  text-transform:uppercase;
  margin:0;
}

/* Doble línea a la derecha del título (dos finas líneas) */
.doble-linea{
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}
.doble-linea.teal .l1,
.doble-linea.teal .l2{
  display:block;
  height:4px;
  border-radius:2px;
}
.doble-linea.teal .l1{ background: var(--teal-dark); }
.doble-linea.teal .l2{ background: var(--teal); }

/* --- GRID CAJAS (2 columnas x 3 filas, orden como la maqueta) --- */
.grid-cajas{
  max-width:1200px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px; /* vertical / horizontal */
}

/* Caja turquesa */
.caja{
  position:relative;
  background: var(--teal);
  color: var(--white);
  border-radius: 2px;
  padding: 22px 22px 22px 118px; /* dejar canal para el número grande */
  min-height: 140px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; /* borde sutil como en impresión */
}

/* Número grande (mismo porte, color y ubicación) */
.caja .numero{
  position:absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 86px;              /* “porte” grande */
  line-height: .8;
  color: var(--purple);         /* morado exacto */
  letter-spacing: -1px;         /* compactar como en la imagen */
  user-select: none;
  pointer-events: none;
}

/* Título de cada caja */
.caja h3{
  margin: 0 0 6px 0;
  font-weight: 800;
  font-size: 1.02rem;
}

/* Lista en blanco con bullets */
.caja ul{
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  font-size: .98rem;
  line-height: 1.65;
}

/* --- POR QUÉ ELEGIRNOS (sección morada) --- */
.por-que{
  position:relative;
  background: var(--purple);
  color: var(--white);
  padding: 44px 3.5vw 64px;
  overflow:hidden;
}

/* Marca de agua de cadenas suavísima, arriba-izquierda */
.por-que .marca-agua{
  position:absolute;
  left: 18px;
  top: 18px;
  opacity: .08;
  transform: rotate(-10deg);
  pointer-events: none;
}
.por-que .marca-agua img{
  width: 54px;
  height:auto;
  filter: brightness(0) invert(1);
}

/* Título + doble línea blanca */
.por-que-head{
  max-width:1200px;
  margin: 0 auto 26px;
}
.por-que-head h2{
  margin:0 0 10px 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 900;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.doble-linea.blancha,
.doble-linea.blanca{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.doble-linea.blanca .l1,
.doble-linea.blanca .l2{
  display:block;
  height:4px;
  background:#fff;
  border-radius:2px;
  opacity:.95;
}

/* Bloques con asterisco inicial como en el arte */
.por-que-bloques{
  max-width:1200px;
  margin: 0 auto;
}
.por-que .item{
  position:relative;
  padding-left: 36px;
  margin: 18px 0 22px;
  font-size: 1rem;
  line-height: 1.8;
}
.por-que .item .aster{
  position:absolute;
  left:0;
  top:.15rem;
  font-weight:900;
  font-size: 1.2rem;
}
.por-que strong{
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing:.3px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px){
  .grid-cajas{ grid-template-columns: 1fr; }
  .caja{ min-height: 132px; }
  .caja .numero{ font-size: 78px; left:20px; }
  .caja{ padding: 20px 20px 20px 112px; }
}

@media (max-width: 560px){
  .resultados-head{ flex-direction:column; align-items:flex-start; gap:10px; }
  .doble-linea{ width:100%; }
  .por-que .marca-agua img{ width:44px; }
  .caja .numero{ font-size: 70px; left:18px; }
  .caja{ padding-left: 108px; }
}


/* ============================
   NUESTROS CLIENTES
   ============================ */
.nuestros-clientes {
  background: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

.cadena-logo {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
}

.nuestros-clientes h2 {
  font-size: 2rem;
  color: #009b7d;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

.nuestros-clientes h2::after {
  content: "";
  display: block;
  width: 120%;
  height: 3px;
  background-color: #00aab2;
  margin: 10px auto 0;
}

.logos-clientes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.logos-clientes img {
  width: 220px;
  height: 140px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.3s, opacity 0.3s;
}
.logos-clientes img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Responsivo */
@media (max-width: 1024px) {
  .banner-img { max-height: 400px; }
  .logos-clientes img { width: 180px; height: 110px; }
}
@media (max-width: 768px) {
  .banner-img { max-height: 300px; }
  .logos-clientes { gap: 30px; }
  .logos-clientes img { width: 150px; height: 90px; }
}


/* ============================
   BANNER PRINCIPAL CLIENTES - FULL WIDTH
   ============================ */
.clientes-banner {
  position: relative;
  width: 100%;
  margin: 0 0 80px 0;       /* sin márgenes laterales */
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.banner-overlay {
  position: relative;
  width: 100%;
}

.banner-img {
  width: 100%;
  height: 380px;             /* 🔹 menos altura */
  object-fit: cover;         /* se ajusta al ancho sin distorsión */
  display: block;
}

/* Texto centrado sobre la imagen */
.banner-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  background: rgba(0, 0, 0, 0.45); /* fondo translúcido */
  padding: 30px 60px;
  border-radius: 16px;
  backdrop-filter: blur(3px);
}

.banner-texto h1 {
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 2px;
  color: #ffffff;
}

.banner-texto p {
  font-size: 1.1rem;
  font-weight: 400;
  color: #e8e8e8;
  margin: 0;
}

/* ===== Responsivo del banner ===== */
@media (max-width: 1200px) {
  .banner-img { height: 320px; }
  .banner-texto h1 { font-size: 2.4rem; }
  .banner-texto p { font-size: 1rem; }
}

@media (max-width: 992px) {
  .banner-img { height: 280px; }
  .banner-texto h1 { font-size: 2rem; }
  .banner-texto p { font-size: 0.95rem; }
  .banner-texto { padding: 20px 40px; }
}

@media (max-width: 768px) {
  .banner-img { height: 220px; }
  .banner-texto h1 { font-size: 1.6rem; }
  .banner-texto p { font-size: 0.85rem; }
  .banner-texto { padding: 15px 25px; }
}

/* ============================
   NUESTROS CLIENTES
   ============================ */
.nuestros-clientes {
  background: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

.cadena-logo {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
}

.nuestros-clientes h2 {
  font-size: 2rem;
  color: #009b7d;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

.nuestros-clientes h2::after {
  content: "";
  display: block;
  width: 120%;
  height: 3px;
  background-color: #00aab2;
  margin: 10px auto 0;
}

/* Logos de clientes */
.logos-clientes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.logos-clientes img {
  width: 220px;
  height: 140px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logos-clientes img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* ===== Responsivo de clientes ===== */
@media (max-width: 1024px) {
  .logos-clientes img {
    width: 180px;
    height: 110px;
  }
}

@media (max-width: 768px) {
  .logos-clientes {
    gap: 30px;
  }

  .logos-clientes img {
    width: 150px;
    height: 90px;
  }
}


/* CLIENTES Y TESTIMONIOS */
.clientes-section {
  padding: 80px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.clientes-section .titulo-seccion {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #222;
  letter-spacing: 1px;
  font-weight: 600;
}

.testimonios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.testimonio {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 25px 30px;
  text-align: left;
  transition: transform 0.2s ease;
}

.testimonio:hover {
  transform: translateY(-5px);
}

.testimonio .nombre {
  color: #c0392b;
  font-weight: 700;
  margin-bottom: 5px;
}

.testimonio .cargo {
  font-style: italic;
  color: #666;
  margin-bottom: 15px;
}

.testimonio blockquote {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  border-left: 4px solid #c0392b;
  padding-left: 15px;
}

.confianza h3 {
  font-size: 1.5em;
  color: #444;
  margin-bottom: 10px;
}

.confianza .subnav {
  color: #777;
  font-size: 0.95em;
  letter-spacing: 0.5px;
}

/* ============================
   CASOS
   ============================ */

.hero-casos {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-casos .overlay {
  background: rgba(0, 0, 0, 0.35);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-casos h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}
.hero-casos .marca {
  font-weight: 800;
  font-size: 3rem;
}
.hero-casos .marca2 {
  font-weight: 800;
  font-size: 3rem;
}
.hero-casos small {
  font-weight: 400;
  font-size: 1.2rem;
  text-transform: lowercase;
}
.hero-casos .x {
  display: block;
  font-size: 1.8rem;
  margin: 0.6rem 0;
  font-weight: 700;
}

/* --- RESULTADOS EXITOSOS --- */
.resultados-casos {
  background: #fff;
  padding: 80px 40px;
  text-align: center;
}

.resultados-casos h2 {
  color: #7d53a2;
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 700;
}

.logo-cadena {
  width: 32px;
  height: auto;
}

.titulo-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.lineas-moradas {
  width: 200px;
  height: 3px;
  background-color: #7d53a2;
  margin: 20px auto 50px;
  position: relative;
}
.lineas-moradas::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 3px;
  background-color: #c69de0;
  right: -130px;
  top: 0;
}

/* --- GRID CASOS --- */
.grid-casos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.card-caso {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.img-container {
  position: relative;
  width: 100%;
  height: 400px;
}
.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}
.hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* Overlay de texto y botón */
.overlay-caso {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.65) 100%);
  color: #fff;
  padding: 20px;
  text-align: center;
}
.overlay-caso h3 {
  margin: 0;
  font-weight: 700;
  font-size: 1.4rem;
}
.overlay-caso p {
  font-size: 1rem;
  margin: 4px 0 12px;
}

.btn-caso {
  display: inline-block;
  background: #7d53a2;
  color: #fff;
  font-weight: 700;
  border-radius: 40px;
  padding: 10px 26px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-caso:hover {
  background: #18b4ab;
  transform: scale(1.05);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-casos h1 { font-size: 2rem; }
  .img-container { height: 320px; }
  .btn-caso { font-size: 0.85rem; }
}

/* ============================
   CONTACTO – HUMAN CONSULTORA
   ============================ */

/* Banner superior */
.contacto-banner {
  background-color: #18b4ab;
  text-align: center;
  color: #fff;
  padding: 90px 20px;
  border-bottom: 6px solid #7d53a2;
}

.contacto-banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.3;
  text-transform: uppercase;
}

.contacto-banner .sub {
  font-size: 2.2rem;
}

.contacto-banner em {
  font-family: "Pacifico", cursive;
  font-style: normal;
  font-size: 2.4rem;
}

/* Sección principal */
.contacto-principal {
  background: #fff;
  padding: 100px 20px;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Columna izquierda */
.contacto-texto {
  text-align: left;
}

.solo-es {
  font-size: 3rem;
  font-weight: 800;
  color: #009b7d;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-human {
  width: 220px;
  height: auto;
  margin-bottom: 25px;
  display: block;
}

.contacto-texto p {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

/* Columna derecha (formulario) */
.contacto-form {
  background: #e7dcf2;
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.contacto-form h3 {
  color: #6c1c8c;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.contacto-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background-color: #d6c8e9;
  font-size: 0.95rem;
  color: #333;
  font-family: "Segoe UI", Arial, sans-serif;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
  color: #444;
}

.contacto-form button {
  background-color: #7d53a2;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contacto-form button:hover {
  background-color: #009b7d;
  transform: translateY(-3px);
}

.contacto-form small {
  display: block;
  margin-top: 20px;
  font-size: 0.8rem;
  color: #555;
}

/* Responsive */
@media (max-width: 992px) {
  .contacto-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .contacto-texto {
    text-align: center;
  }

  .solo-es {
    font-size: 2.5rem;
  }

  .logo-human {
    margin: 0 auto 25px;
  }

  .contacto-form {
    max-width: 500px;
    margin: 0 auto;
  }
}
/* ============================
   SIGAMOS EN CONTACTO
   ============================ */

.contacto-info {
  background-color: #ffffff;
  text-align: center;
  padding: 100px 20px 80px;
}

/* --- Título con icono y líneas --- */
.titulo-contacto {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.icono-cadena {
  width: 50px;
  height: auto;
  opacity: 0.7;
}

.titulo-contacto h2 {
  color: #7d53a2;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

.lineas-deco {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lineas-deco span {
  display: block;
  width: 180px;
  height: 3px;
  background-color: #7d53a2;
  border-radius: 2px;
}

/* --- Datos de contacto --- */
.contacto-datos {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 100px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.dato {
  text-align: center;
  max-width: 260px;
}

.icono-contacto {
  width: 60px;
  height: auto;
  margin-bottom: 15px;
}

.dato h4 {
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.dato p {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  margin: 0;
}

.dato a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dato a:hover {
  color: #009b7d;
}

/* --- Mapa --- */
.contacto-mapa iframe {
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

/* --- Responsivo --- */
@media (max-width: 992px) {
  .contacto-datos {
    flex-direction: column;
    gap: 40px;
  }

  .titulo-contacto {
    flex-direction: column;
    gap: 10px;
  }

  .lineas-deco span {
    width: 120px;
  }
}

html, body {
  overflow-x: hidden; /* evita desplazamiento horizontal */
}
