/* =========================================================
   RESET GENERAL
========================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica", "Arial", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #eae7e4;
  background: white;
  color: #3f5146;
}

/* Contenedor central */
.container {
  width: min(1750px, 100% - 3rem);
  margin: 0 auto;
}

.logo-inline {
  display: inline-block;
  width: 75px; /* ajusta el tamaño a gusto */
  height: 20px;
  background-image: url('../images/logo-visitia.png'); /* TU LOGO */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: 0px;
  margin-left: -6px;
}













/* ===============================
   VISOR ÚNICO — IMAGEN PREMIUM
=============================== */

.single-visual-section {
  margin: 60px 0;
  display: flex;
  justify-content: center;
}

.single-visual-wrapper {
  width: 100%;
  max-width: 1250px;
  padding: 0 24px;
}

/* Marco principal */
.single-visual-frame {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: 34px;
  overflow: hidden;

  background: #111;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* Imagen dentro */
.single-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay degradado */
.single-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 1;
}

/* ===============================
   TEXTO INTERNO
=============================== */

.single-visual-overlay {
  position: absolute;
  bottom: 26px;
  left: 32px;
  z-index: 2;
  color: white;
  max-width: 600px;
}

.single-visual-overlay h3 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.single-visual-overlay p {
  font-size: 16px;
  color: #bff3e8;
  line-height: 1.6;
}



















/* =========================================================
   SCROLL REVEAL / LOW CHARGING
========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
  will-change: opacity, transform;
}

/* Puedes extender según el tipo si quieres en un futuro:
   [data-reveal="fade-left"] { transform: translateX(-24px); }
   [data-reveal="fade-right"] { transform: translateX(24px); }
*/

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}















/* ============================
   NAVBAR — DOS BLOQUES
============================ */

.site-header {
  position: fixed;
  top: 20px;
  width: 100%;
  z-index: 1000;
}

/* LOS DOS BLOQUES EN UNA SOLA LÍNEA */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BLOQUES REDONDEADOS */
.nav-block {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f3f2f0;
  padding: 10px 10px;
  border-radius: 50px;
  box-shadow: 0px 4px 12px rgba(47, 82, 72, 0.15);
}

/* BLOQUE IZQUIERDO */
.nav-left {
  padding-right: 10px;
}

.logo-img {
  height: 100px;
}

/* MENÚ */
.main-nav {
  display: flex;
  gap: 6px;
}

.nav-btn {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  color: #3f5146;
  font-weight: 600;
  font-size: 0.88rem;
  transition: 0.25s ease;
}

.nav-btn:hover {
  background: #2e7a69;
  color: white;
}

.nav-btn--active {
  background: #5f9f8e;
  color: white;
}

/* BLOQUE DERECHO */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* SELECTOR IDIOMA */
.lang-wrapper {
  position: relative;
}

.lang-select {
  background: transparent;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: #3f5146;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.25s ease;
}

.lang-select:hover {
  background: #2e7a69;
  color: white;
}

.lang-dropdown {
  position: absolute;
  top: 46px;
  left: 0;
  background: #f3f2f0;
  width: 110%;
  border-radius: 14px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: 0.25s ease;
  z-index: 1000;
}

.lang-wrapper.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  padding: 10px 14px;
  font-weight: 600;
  color: #3f5146;
  cursor: pointer;
}

.lang-dropdown li:hover {
  background: #2e7a69;
  color: white;
}

/* ENTRAR */
.login-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  color: #3f5146;
  transition: 0.25s ease;
  text-decoration: none;
}

.login-btn:hover {
  background: #2e7a69;
  color: white;
}

/* CTA */
.cta-btn {
  padding: 10px 20px;
  background: #2e7a69;
  color: white;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0px 4px 10px rgba(46, 122, 105, 0.25);
  transition: 0.25s ease;
}

.cta-btn:hover {
  background: #266a5b;
  transform: translateY(-2px);
}

/* ==============================
   DROPDOWNS DEL NAV
============================== */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: 46px;
  left: 0;
  background: #f3f2f0;
  border-radius: 16px;
  padding: 10px 0;
  min-width: 210px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s ease;
  z-index: 2000;
  border: 1px solid rgba(0,0,0,0.08);
}

.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-weight: 600;
  color: #3f5146;
  text-decoration: none;
  transition: 0.2s ease;
  font-size: 0.9rem;
}

.nav-dropdown a:hover {
  background: #2e7a69;
  color: white;
}

/* Mostrar dropdown al hover */
.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}








/* NAV OCULTO EN SCROLL */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: transform .35s ease, opacity .35s ease;
}

/* Oculto (scroll down) */
.site-header.hide-nav {
  transform: translateY(-100%);
  opacity: 0;
}

/* Visible (scroll up o top) */
.site-header.show-nav {
  transform: translateY(0);
  opacity: 1;
}


































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

.hero-glow {
  padding: 140px 0 60px; /* un poco menos de aire arriba */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* ✅ 50 / 50 exacto */
  gap: 40px;                       /* ✅ separación real y controlada */
  align-items: center;
}

/* Badge VISITIA */
.badge-pill-green {
  display: inline-block;
  background: #2e7a69;
  color: white;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

/* Título */
.hero-title-glow {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1f3d32;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title-glow span {
  color: #2e7a69;
}

/* Descripción */
.hero-lead {
  font-size: 1.1rem;
  color: #4c5c52;
  line-height: 1.7;
  max-width: 550px;
}

.hero-highlight {
  color: #4b9988;
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 28px;
  font-size: 1.6rem;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.btn-primary-glow {
  padding: 12px 24px;
  background: #2e7a69;
  color: white;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0px 6px 18px rgba(46, 122, 105, 0.25);
  transition: 0.25s ease;
}

.btn-primary-glow:hover {
  background: #25695a;
  transform: translateY(-2px);
}

.btn-secondary-glow {
  padding: 12px 22px;
  background: linear-gradient(135deg, #f2b646, #ffd27a);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-secondary-glow:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

/* Mini Features */
.hero-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  color: #2e4d40;
}

/* Imagen derecha */
.hero-right .hero-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0px 12px 26px rgba(0, 0, 0, 0.1);
}

.hero-right img {
  width: 100%;
  border-radius: 16px;
  display: block;
}






/* ============================
   HERO PRINCIPAL — FULL 50/50
============================ */

.hero-glow {
  padding: 150px 0 70px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* ✅ 50 / 50 real */
  align-items: center;
  gap: clamp(24px, 4vw, 80px);

  max-width: 1750px;   /* ✅ MISMO LÍMITE QUE TU WEB */
  margin: 0 auto;     /* ✅ LO CENTRA */
  padding: 0 clamp(24px, 4vw, 90px); /* ✅ AIRE LATERAL RESPONSIVE */
}

/* ============================
   COLUMNA IZQUIERDA (TEXTO)
============================ */

.hero-left {
  width: 100%;
}

.hero-title-glow {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1f3d32;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title-glow span {
  color: #2e7a69;
}

.hero-lead {
  font-size: 1.1rem;
  color: #4c5c52;
  line-height: 1.7;
  max-width: none; /* ✅ CLAVE: esto elimina el hueco */
}

.hero-highlight {
  color: #4b9988;
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 28px;
  font-size: 1.6rem;
}

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

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.btn-secondary-glow {
  padding: 12px 28px;
  background: linear-gradient(135deg, #f2b646, #ffd27a);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-secondary-glow:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

/* ============================
   COLUMNA DERECHA (IMAGEN)
============================ */

.hero-right {
  width: 100%;
}

.hero-right .hero-card {
  width: 100%;
  background: white;
  border-radius: 24px;
  box-shadow: 0px 12px 26px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  position: relative;
}

/* Carrusel */
.hero-carousel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  object-fit: cover;

  position: absolute;
  inset: 0;

  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-carousel img.active {
  opacity: 1;
  position: relative;
}






















/* =========================================================
   SECCIONES BASE
========================================================= */
.section {
  padding: 40px 0 50px;
}

.pill-title {
  /*display: inline-block;
  padding: 10px 26px;
  background: #2e7a69;
  color: #f5f3f0;
  border-radius: 999px;
  */
  font-weight: 800;
  font-size: 35px;
  letter-spacing: 0.05em;
  margin-bottom: 0px;
  margin-top: px;
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 700px;
  margin-top: 18px;
}

.inline-link {
  color: #1a4bd8;
  font-style: italic;
  cursor: pointer;
}






/* ===========================
   SECCIÓN: SOLUCIONES (GENERAL)
=========================== */

.sector-section {
  padding: 0px 0;
  background: transparent;
  text-align: center;
}

.sector-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #2f3131;
  margin-top: 14px;
}

.sector-desc {
  max-width: 620px;
  margin: 15px auto 50px;
  color: #4c5c52;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Mini grid */
.sector-mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  margin-bottom: 50px;
}

/* Tarjetas mini con efecto premium */
.sector-mini {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f2f2f2);
  padding: 28px 12px;
  border-radius: 26px;
  box-shadow:
    0 16px 45px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(0,0,0,0.05);
  transition: 0.35s ease;
  overflow: hidden;
  cursor: pointer;
}

/* Glow mint lateral */
.sector-mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(143,227,214,0.45), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* Hover con glow y elevación */
.sector-mini:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.16),
    inset 0 0 0 1px rgba(79,182,165,0.25);
}

.sector-mini:hover::before {
  opacity: 1;
}

/* Animación del icono */
.sector-mini:hover .mini-icon-img {
  transform: scale(1.08);
  transition: 0.35s ease;
}

.mini-icon-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
  filter: brightness(0) saturate(100%) invert(17%) sepia(8%) saturate(894%) hue-rotate(112deg) brightness(92%) contrast(88%);
}

.sector-mini:hover {
  transform: translateY(-5px);
  box-shadow: 0px 14px 24px rgba(0, 0, 0, 0.10);
}

.mini-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 6px;
}

.mini-text {
  font-weight: 600;
  color: #1f3d32;
  font-size: 0.95rem;
}

/* Botón */
.sector-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: #2e7a69;
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0px 6px 14px rgba(46, 122, 105, 0.25);
  transition: 0.25s ease;
}

.sector-btn:hover {
  background: #266a5b;
  transform: translateY(-2px);
}

/* =========================================================
   PROYECTOS A MEDIDA — Versión Premium Fondo Negro
========================================================= */

.glowup-proyectos {
  background: #1a4d42;
  /* negro premium */
  padding: 100px 0;
  border-radius: 32px;

  margin: 40px auto;
  width: 90%;
  max-width: 1100px;

  box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.6);
}

.proyectos-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}


/* ===============================
   TÍTULO — blanco con barra verde
================================ */
.proyectos-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  /* blanco */
  margin-bottom: 35px;
  position: relative;
  padding-left: 22px;
}

.proyectos-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 26px;

  background: #1d7a67;
  /* verde Visitia */
  border-radius: 6px;
}


/* ===============================
   Párrafos en blanco suave
================================ */
.proyectos-text {
  font-size: 1.17rem;
  line-height: 1.75;
  color: #e9f3ef;
  /* blanco suave */
  margin-bottom: 28px;
  max-width: 820px;
}


/* ===============================
   CTA — Botón blanco invertido
================================ */
.proyectos-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.btn-contacto {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 44px;
  border-radius: 999px;

  background: #ffffff;
  /* botón blanco */
  color: #0f0f0f;
  /* negro elegante */
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;

  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.btn-contacto:hover {
  background: #eaeaea;
  transform: translateY(-3px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.45);
}























/* =========================================================
   HERRAMIENTAS — Glow Up suave sin romper estilo
========================================================= */

.section--tools {
  background: transparent;
  /*border-top: 1px solid rgba(63, 81, 70, 0.12);
  border-bottom: 1px solid rgba(63, 81, 70, 0.12);*/
  padding-top: 40px;
  padding-bottom: 80px;
}

/* Header igual que lo tenías */
.tools-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.tools-note {
  max-width: 380px;
  font-size: 0.95rem;
  font-style: italic;
  color: #3f5146;
}

/* Íconos arriba: suavizo sombras y spacing */
.tools-icons {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.tools-icons img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  margin: auto;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
  transition: 0.2s ease;
}

.tools-icons img:hover {
  transform: translateY(-3px);
}

/* ======================================================
   GRID DE HERRAMIENTAS — Glow up real
====================================================== */

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

/* Card con glow premium */
.tool-card {
  background: #ffffff;
  padding: 1.6rem 1.5rem;
  border-radius: 20px;

  /* Glow premium Visitia */
  box-shadow:
    0px 3px 8px rgba(47, 82, 72, 0.10),
    0px 12px 24px rgba(47, 82, 72, 0.14);

  border: 1px solid rgba(200, 190, 180, 0.45);
  transition: all 0.25s ease;
}

/* Hover suave */
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0px 6px 12px rgba(47, 82, 72, 0.18),
    0px 14px 32px rgba(47, 82, 72, 0.22);
}

/* Título */
.tool-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #2e7a69;
  margin-top: 10px;
  margin-bottom: 8px;
}

/* Texto */
.tool-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #2f3e38;
}

/* ======================================================
   IMAGEN DENTRO DE LA CARD
====================================================== */

.tool-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 12px;

  filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.1));
  transition: 0.25s ease;
}

.tool-card:hover img {
  transform: scale(1.07);
}

























/* ============================================
   PLANES — Glow Up Visitia Premium
============================================ */

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #2e7a69;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section--plans {
  padding: 40px 0;
  background: transparent;
}

.plans-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

/* SUBTÍTULO */
.plans-subtitle {
  margin-top: 8px;
  margin-bottom: 25px;
  font-weight: 600;
  color: #496356;
  font-size: 20px;
}

/* =====================
   CARDS DE PLANES
===================== */

.plans-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-card {
  background: #ffffff;
  padding: 18px 22px;
  border-radius: 22px;
  border: 1px solid rgba(30, 122, 104, 0.12);
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  cursor: pointer;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 22px rgba(0, 0, 0, 0.12);
}

.plan-card--highlight {
  background: linear-gradient(135deg, #fff3e2, #ffe1b0);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.plan-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #2e7a69;
}

.plan-card--highlight h3 {
  color: #3e3c35;
}

.plan-desc {
  font-size: 0.92rem;
  color: #425348;
}

.plan-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.plan-link:hover .plan-card {
  transform: translateY(-4px);
  box-shadow: 0px 10px 22px rgba(0, 0, 0, 0.12);
}

/* =====================
   CTA
===================== */

.cta-pill {
  margin-top: 25px;
  display: inline-block;
  background: linear-gradient(135deg, #f2b646, #ffd27a);
  color: #fff;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0px 12px 26px rgba(47, 82, 72, 0.35);
  text-decoration: none;
  transition: 0.25s ease;
}

.cta-pill:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

/* ========================================
   BLOQUE VIDEO PLANES — PREMIUM
======================================== */

.columna-video-escoge {
  margin-top: 150px;
}

.plans-video-frame {
  width: 100%;
  background: linear-gradient(145deg, #1e2926, #14201d);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 
    0 18px 45px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: 0.4s ease;
}

.plans-video-frame:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 26px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* CONTENEDOR DEL IFRAME */
.plans-video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

/* IFRAME RESPONSIVE */
.plans-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

/* TEXTO BAJO EL VÍDEO */
.plans-video-caption {
  text-align: center;
  font-size: 0.92rem;
  opacity: 0.75;
  font-style: italic;
  color: #e9f3ef;
  letter-spacing: 0.4px;
}

/* ========================================
   AJUSTES RESPONSIVE
======================================== */

@media (max-width: 900px) {
  .plans-video-frame {
    padding: 20px;
    border-radius: 22px;
  }

  .plans-video-caption {
    font-size: 0.9rem;
  }
}

/* ========================================
   TITULAR EDITORIAL PLANES
======================================== */

.plans-copy {
  font-size: clamp(1.4rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #1e2926;
  padding-top: 20px;
  text-align: center;
}

.plans-copy span {
  color: #1d7a67; /* Verde Visitia */
  display: inline-block;
}


/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 900px) {
  .plans-headline {
    font-size: 2.2rem;
    text-align: center;
  }
}
















/* =========================================================
   SECCIÓN DE CONTACTO — ESTILO VISITIA PREMIUM
========================================================= */

.contact-section {
  padding: 60px 0 60px;
  position: relative;
}

.contact-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  padding: 60px 50px;
  border-radius: 34px;

  box-shadow:
    0 45px 95px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.38);
  position: relative;
  overflow: hidden;
}

/* Glow mint premium */
.contact-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(143,227,214,0.32),
    transparent 70%
  );
  pointer-events: none;
}

/* TÍTULO */
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 34px;
  font-weight: 900;
  color: #1d7a67;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.contact-header p {
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
  color: #203732;
}

/* FORMULARIO */
.contact-form {
  display: grid;
  gap: 22px;
}

/* CAMPOS */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 800;
  color: #1d7a67;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #ffffff;
  color: #203732;

  box-shadow:
    0 6px 15px rgba(0,0,0,0.07),
    inset 0 0 0 1px rgba(255,255,255,0.4);

  transition: 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1d7a67;
  box-shadow: 0 0 0 4px rgba(29,122,103,0.28);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* CHECK RGPD */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #203732;
}

.form-check a {
  color: #1d7a67;
  font-weight: 700;
  text-decoration: underline;
}

/* BOTÓN */
.contact-btn {
  width: fit-content;
  margin-top: 20px;
  padding: 16px 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d7a67, #3fc7ad);
  color: white;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: 1px;

  box-shadow: 0 16px 40px rgba(29,122,103,0.45);
  transition: 0.28s ease;
  border: transparent;
}

.contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(29,122,103,0.55);
}

/* Éxito del formulario */
.form-success {
  margin-top: 10px;
  color: #1d7a67;
  font-weight: 600;
  opacity: 0;
  transition: opacity .4s ease;
}

.form-success.show {
  opacity: 1;
}

.hidden {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-wrapper {
    padding: 40px 30px;
  }
  .contact-header h2 {
    font-size: 28px;
  }
  .contact-btn {
    width: 100%;
    text-align: center;
  }
}

















/* =========================================================
   FAQ — Estilo Visitia (Glow Up)
========================================================= */

.faq-section {
  background: transparent;
  border-radius: 22px;
  /*box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);*/
}

.faq-section h2 {
  font-size: 28px;
  font-weight: 800;
  color: #2e7a69;
  margin-bottom: 35px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contenedor */
.faq-container,
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cada FAQ */
.faq-item {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(47, 82, 72, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 12px 28px rgba(47, 82, 72, 0.20);
}

/* Pregunta (botón) */
.faq-question {
  width: 100%;
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 700;
  color: #2e7a69;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;

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

  transition: background 0.25s ease;
}

.faq-question:hover {
  background: #f2f7f7;
}

.faq-question .arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Respuesta */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  background: #ffffff;
  border-left: 4px solid #2e7a69;

  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
  padding: 18px 24px 24px;
  max-height: 600px;
}

.faq-answer p {
  font-size: 15.5px;
  margin: 12px 0;
  color: #3f5146;
  line-height: 1.65;
}

.faq-answer ul {
  margin-left: 18px;
  margin-bottom: 12px;
  color: #3f5146;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}



















/* =========================================================
   TRUST LOGOS — limpio, editorial, sin card
========================================================= */

.trust-logos {
  margin-top: 70px;
  background: transparent;
}

.trust-logos-inner {
  text-align: center;
}

/* Texto: mismo tono que tus subtítulos */
.trust-logos-title {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #496356;
  font-weight: 800;
  margin-bottom: 32px;
}

/* Grid de logos */
.trust-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

/* Logos: tamaño apreciable pero sobrio */
.trust-logos-grid img {
  height: 62px;
  width: auto;
  opacity: 0.85;
  transition: 
    transform 0.28s ease,
    opacity 0.28s ease,
    filter 0.28s ease;
  filter: saturate(0.9);
}

/* Hover elegante (no agresivo) */
.trust-logos-grid img:hover {
  opacity: 1;
  transform: scale(1.08);
  filter: saturate(1);
}

/* Ajuste fino si un logo es más alto */
.trust-logos-grid img:nth-child(2) {
  height: 66px;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 768px) {
  .trust-logos {
    padding: 40px 0 30px;
  }

  .trust-logos-title {
    font-size: 0.9rem;
    margin-bottom: 26px;
  }

  .trust-logos-grid {
    gap: 36px;
  }

  .trust-logos-grid img {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .trust-logos-grid {
    gap: 28px;
  }

  .trust-logos-grid img {
    height: 46px;
  }
}































/* =========================================================
   FOOTER VISITIA — Premium
========================================================= */

.visitia-footer {
  background: #1e2926;
  color: #f5f3f0;
  padding: 60px 0 30px;
  margin-top: 90px;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-col {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
  opacity: 0.9;
  font-size: 0.95rem;
}

.footer-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  font-size: 1rem;
  opacity: 1;
}

/* Hover elegante */
.footer-col li:hover {
  color: #ffffff;
  cursor: pointer;
  opacity: 1;
}

/* Línea inferior */
.footer-bottom {
  margin-top: 50px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}

.footer-link-clean {
  color: inherit;
  text-decoration: none;
}

/* Imagen del footer */
.footer-image {
  margin-top: 14px;
  opacity: 0.9;
}

.footer-image img {
  max-width: 160px;
  width: 100%;
  height: auto;
  display: block;
  transition: 0.3s ease;
}

.footer-image img:hover {
  transform: translateY(-2px);
}







/* ===== MODAL PRIVACIDAD ===== */
.privacy-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px;
  z-index: 9999;
  backdrop-filter: blur(4px);
  animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.privacy-modal-content {
  background: #fff;
  width: min(600px, 90%);
  padding: 35px 40px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.20);
  position: relative;
  animation: popIn .28s ease;
  max-height: 80vh;
  overflow-y: auto;
}

@keyframes popIn {
  from { transform: scale(.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* BOTÓN CLOSE */
.privacy-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  transition: .2s ease;
}

.privacy-close:hover {
  transform: scale(1.15);
  color: #1d7a67;
}

/* TEXTO */
.privacy-modal-content h2 {
  margin-bottom: 20px;
  color: #1d7a67;
  font-size: 26px;
  font-weight: 800;
}

.privacy-text p {
  margin-bottom: 14px;
  line-height: 1.6;
  color: #333;
}



































































/* =========================================================
   RESPONSIVE
========================================================= */

/* ================================
   960px — Ajustes generales
================================ */
@media (max-width: 960px) {
  .tools-icons {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .plans-layout {
    grid-template-columns: 1fr;
  }
}


/* ================================
   900px — Grid y footer
================================ */
@media (max-width: 900px) {

  /* Tools */
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Plans */
  .plans-layout {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
}


/* ================================
   768px — Proyectos + FAQ
================================ */
@media (max-width: 768px) {

  /* Proyectos */
  .proyectos-title {
    font-size: 1.8rem;
    padding-left: 18px;
  }

  .proyectos-title::before {
    height: 22px;
    top: 4px;
  }

  .green-pill {
    font-size: 0.9rem;
    padding: 12px 26px;
  }

  .proyectos-text {
    font-size: 1.05rem;
  }

  .btn-contacto {
    width: 100%;
    text-align: center;
  }

  /* FAQ */
  .faq-section {
    padding: 50px 18px;
    margin: 60px 12px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer p {
    font-size: 14.5px;
  }
}


/* ================================
   640px — Header + Nav + Tools
================================ */
@media (max-width: 640px) {

  .header-inner {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .tools-icons {
    grid-template-columns: repeat(3, 1fr);
  }

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


/* ================================
   600px — Ajustes finales mobile
================================ */
@media (max-width: 600px) {

  .tools-icons {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

/* =========================================================
   NAV RESPONSIVE VISITIA
========================================================= */

/* BOTÓN HAMBURGUESA (oculto en desktop) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1200;
}

.mobile-menu-btn span {
  width: 26px;
  height: 3px;
  background: #2e7a69;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* ESTADO DE MENÚ ABIERTO ANIMADO */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ================================
   BREAKPOINT: MÓVIL
================================ */
@media (max-width: 820px) {

  /* NAV: estructura móvil */
  .nav-wrapper {
    position: relative;
  }

  /* Mostrar botón hamburguesa */
  .mobile-menu-btn {
    display: flex;
  }

  /* Bloque izquierdo + derecho ya no lado a lado */
  .nav-left,
  .nav-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  /* Convertimos el NAV en overlay vertical */
  .main-nav,
  #navRight {
    position: absolute;
    top: 70px;
    right: 0;
    width: 85%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 14px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: 0.3s ease;
  }

  /* Cuando el menú está activo */
  .main-nav.active,
  #navRight.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    text-align: left;
  }

  /* Botón CTA más grande en móvil */
  .cta-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1rem;
  }

  /* Login igual */
  .login-btn {
    padding: 12px 16px;
    width: 100%;
  }

  /* LANG SELECT en bloque */
  .lang-wrapper {
    width: 100%;
  }
}

/* ============================
   MOBILE MENU VISITIA STYLE
============================ */

.hamburger {
  display: none;
  font-size: 28px;
  background: #f3f2f0;
  border: none;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(47, 82, 72, 0.12);
}

.mobile-menu {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: #f5f3ef;
  border-radius: 26px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 25px 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-section {
  text-align: center;
  margin-bottom: 28px;
}

.mobile-menu-section a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #2f3e38;
}

/* Segundo bloque (idioma/login/cta) */
.mobile-menu-section.secondary {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu-section .cta-mobile {
  margin-top: 12px;
  display: inline-block;
  padding: 12px 20px;
  background: #2e7a69;
  color: #fff;
  font-weight: 700;
  border-radius: 16px;
  text-decoration: none;
}

/* ============================
   MOBILE BREAKPOINT
============================ */

@media (max-width: 820px) {

  .nav-left,
  .nav-right {
    padding: 6px 12px;
  }

  /* Esconde lo que no va en móvil */
  .nav-desktop {
    display: none;
  }

  /* Muestra el menú hamburguesa */
  .hamburger {
    display: block;
  }

  /* NAV IZQUIERDO COMPACTO */
  .main-nav {
    display: none;
  }

  .nav-left {
    padding-right: 0;
  }
}








/* =======================
    COOKIE BANNER VISITIA
   ======================= */
.cookie-banner {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, 92%);
  background: #f3f2f0;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
}

.cookie-content h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.cookie-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: .25s ease;
}

.cookie-btn.accept {
  background: #00a18a;
  color: #fff;
}

.cookie-btn.accept:hover {
  background: #00826f;
}

.cookie-btn.reject {
  background: #e4e4e4;
  color: #222;
}

.cookie-btn.settings {
  background: transparent;
  color: #00a18a;
  border: 2px solid #00a18a;
}

/* ================= MODAL ================= */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  width: min(520px, 92%);
  box-shadow: 0 25px 70px rgba(0,0,0,0.25);
}

.cookie-modal-content h3 {
  margin-top: 0;
  font-size: 22px;
  color: #1d7a67;
}

.cookie-desc {
  font-size: 14px;
  margin-bottom: 22px;
  color: #444;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-option {
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 14px;
}

.cookie-option.disabled {
  opacity: 0.6;
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.cookie-option small {
  display: block;
  font-size: 13px;
  margin-top: 6px;
  color: #555;
}

.cookie-modal-actions {
  margin-top: 26px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* MODAL CONFIGURACIÓN COOKIES */
.cookie-settings-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.cookie-settings-content {
  background: #fff;
  width: min(420px, 90%);
  padding: 26px 28px;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.cookie-settings-content h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.cookie-settings-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.cookie-settings-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.cookie-option input {
  transform: scale(1.2);
}

.cookie-settings-actions {
  margin-top: 24px;
  text-align: right;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .cookie-actions,
  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}











/* =========================================================
   RESPONSIVE DEFINITIVO VISITIA
========================================================= */

/* =============================
   1200px — Ajustes grandes
============================= */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-right {
    order: -1;
  }

  .sector-mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tools-icons {
    grid-template-columns: repeat(6, 1fr);
  }
}


/* =============================
   960px — Tablets horizontales
============================= */
@media (max-width: 960px) {
  .plans-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }

  .sector-title {
    font-size: 2rem;
  }
}


/* =============================
   820px — NAV MÓVIL REAL
============================= */
@media (max-width: 820px) {

  .site-header {
    top: 10px;
  }

  .nav-wrapper {
    align-items: center;
  }

  .nav-block {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .main-nav,
  .nav-right {
    position: fixed;
    top: 90px;
    right: 50%;
    transform: translateX(50%) translateY(-20px);
    width: 92%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    padding: 22px;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .main-nav.active,
  .nav-right.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(50%) translateY(0);
  }

  .nav-btn {
    width: 100%;
    text-align: left;
    font-size: 1rem;
    padding: 14px 18px;
  }

  .cta-btn,
  .login-btn {
    width: 100%;
    text-align: center;
  }

  .lang-wrapper {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    margin-left: 10px;
    display: none;
  }

  .nav-item-dropdown.active .nav-dropdown {
    display: block;
  }

  .nav-item-dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
}


/* =============================
   768px — Tablets verticales
============================= */
@media (max-width: 768px) {
  .hero-title-glow {
    font-size: 2.1rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-features {
    flex-direction: column;
  }

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

  .tools-icons {
    grid-template-columns: repeat(4, 1fr);
  }

  .proyectos-title {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .plans-copy {
    text-align: center;
  }
}


/* =============================
   640px — MÓVIL GRANDE
============================= */
@media (max-width: 640px) {

  .hero-glow {
    padding-top: 120px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .sector-mini-grid {
    grid-template-columns: 1fr;
  }

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

  .tools-icons {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .plans-subtitle {
    font-size: 1rem;
  }
}


/* =============================
   480px — MÓVIL PEQUEÑO
============================= */
@media (max-width: 480px) {

  .hero-title-glow {
    font-size: 1.7rem;
  }

  .hero-highlight {
    font-size: 1.2rem;
  }

  .plans-copy {
    font-size: 1.6rem;
  }

  .proyectos-text {
    font-size: 0.98rem;
  }

  .faq-question {
    font-size: 15px;
  }

  .cta-pill {
    width: 100%;
    text-align: center;
  }
}


@media (max-width: 820px) {

  .nav-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-left,
  .nav-right {
    width: 100%;
  }

  .main-nav,
  #navRight {
    position: static;
    width: 100%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    margin-top: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: 0.3s ease;
  }

  .main-nav.active,
  #navRight.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-btn {
    width: 100%;
    text-align: left;
    font-size: 1rem;
  }

  .cta-btn,
  .login-btn {
    width: 100%;
    text-align: center;
  }

  .logo-img {
    height: 48px;
  }

  .nav-block {
    background: transparent;
    box-shadow: none;
  }

  .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 6px;
    background: transparent;
    min-width: auto;

    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.3s ease;
  }

  .nav-item-dropdown.open .nav-dropdown {
    max-height: 500px;
  }

  .nav-dropdown a {
    padding: 10px 0 10px 16px;
    font-size: 0.95rem;
    opacity: 0.85;
  }
}









































/*--------------------------------------------------------
----------------------------------------------------------
--------------------------------------------------------*/
/* =========================================================
   iPHONE 16 (y móviles 430px o menos) — FIX CONTENIDO
   Pegar AL FINAL del CSS
========================================================= */

/* Asegura que no haya overflow lateral por sombras/grids */
html, body {
  overflow-x: hidden;
}

/* Safe area notch (iPhone) */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Container: reduce padding lateral en móvil */
@media (max-width: 430px) {
  .container {
    width: calc(100% - 2rem);
  }

  /* =========================
     HERO
  ========================= */
  .hero-glow {
    padding: calc(110px + var(--safe-top)) 0 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 0 16px !important;
  }

  .badge-pill-green {
    font-size: 0.8rem;
    padding: 7px 14px;
    margin-bottom: 14px;
  }

  .hero-title-glow {
    font-size: 1.85rem;
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-highlight {
    font-size: 1.15rem;
    margin-bottom: 18px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary-glow,
  .btn-secondary-glow {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }

  .hero-features {
    gap: 10px;
  }

  .feature-item {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
  }

  .hero-right .hero-card {
    border-radius: 22px;
  }

  /* =========================
     VISOR ÚNICO (single visual)
  ========================= */
  .single-visual-section {
    margin: 34px 0;
  }

  .single-visual-wrapper {
    padding: 0 16px;
  }

  .single-visual-frame {
    min-height: 300px;
    border-radius: 24px;
  }

  .single-visual-overlay {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }

  .single-visual-overlay h3 {
    font-size: 20px;
    letter-spacing: 0.2px;
  }

  .single-visual-overlay p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* =========================
     SECCIONES BASE
  ========================= */
  .section {
    padding: 28px 0 34px;
  }

  .pill-title {
    font-size: 26px;
    line-height: 1.1;
  }

  .section-text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
  }

  /* =========================
     SOLUCIONES (sector-mini-grid)
  ========================= */
  .sector-section {
    padding: 10px 0;
  }

  .sector-title {
    font-size: 1.6rem;
  }

  .sector-desc {
    font-size: 1rem;
    margin: 12px auto 26px;
    padding: 0 10px;
  }

  .sector-mini-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin-bottom: 28px;
  }

  .sector-mini {
    padding: 18px 10px;
    border-radius: 20px;
  }

  .mini-icon-img {
    width: 72px;
    height: 72px;
  }

  .mini-text {
    font-size: 0.92rem;
  }

  .sector-btn {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }

  /* =========================
     PROYECTOS A MEDIDA (bloque oscuro)
  ========================= */
  .glowup-proyectos {
    width: calc(100% - 2rem);
    padding: 52px 18px;
    border-radius: 24px;
  }

  .proyectos-wrapper {
    padding: 0;
  }

  .proyectos-title {
    font-size: 1.55rem;
    padding-left: 16px;
    margin-bottom: 20px;
  }

  .proyectos-title::before {
    height: 20px;
    top: 4px;
  }

  .proyectos-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .btn-contacto {
    width: 100%;
    padding: 14px 18px;
  }

  /* =========================
     TOOLS
  ========================= */
  .tools-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tools-note {
    max-width: 100%;
  }

  .tools-icons {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
  }

  .tools-icons img {
    width: 56px;
    height: 56px;
  }

  .tools-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .tool-card {
    padding: 18px 16px;
    border-radius: 18px;
  }

  /* =========================
     PLANES
  ========================= */
  .section--plans {
    padding: 30px 0;
  }

  .plans-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .plans-subtitle {
    font-size: 1rem;
  }

  .plan-card {
    padding: 16px 16px;
    border-radius: 18px;
  }

  .cta-pill {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }

  .plans-video-frame {
    padding: 18px;
    border-radius: 22px;
  }

  .plans-video-embed {
    border-radius: 16px;
  }

  .plans-video-embed iframe {
    border-radius: 16px;
  }

  /* =========================
     CONTACTO
  ========================= */
  .contact-section {
    padding: 40px 0 40px;
  }

  .contact-wrapper {
    width: calc(100% - 2rem);
    padding: 30px 18px;
    border-radius: 24px;
  }

  .contact-header h2 {
    font-size: 22px;
    letter-spacing: 0.8px;
  }

  .contact-header p {
    font-size: 14px;
  }

  .contact-btn {
    width: 100%;
    padding: 15px 18px;
  }

  /* =========================
     FAQ
  ========================= */
  .faq-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .faq-question {
    padding: 16px 16px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-answer.open {
    padding: 14px 16px 18px;
  }

  /* =========================
     TRUST LOGOS
  ========================= */
  .trust-logos {
    margin-top: 40px;
  }

  .trust-logos-title {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }

  .trust-logos-grid {
    gap: 22px;
  }

  .trust-logos-grid img {
    height: 44px;
  }

  /* =========================
     FOOTER
  ========================= */
  .visitia-footer {
    padding: 44px 0 calc(24px + var(--safe-bottom));
    border-radius: 24px 24px 0 0;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 0 16px;
    text-align: left;
  }

  .footer-bottom {
    padding: 18px 16px 0;
  }
}

/* Extra: ultra pequeño (<= 360px) por si acaso */
@media (max-width: 360px) {
  .sector-mini-grid {
    grid-template-columns: 1fr !important;
  }
}
