/* =========================================================
   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: linear-gradient(to bottom, #f5f3ef, #f0ede8);
  color: #3f5146;
}

/* Contenedor central */
.container {
  width: min(1150px, 100% - 3rem);
  margin: 0 auto;
}














/* ===============================
   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;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {
  .single-visual-frame {
    min-height: 260px;
    border-radius: 26px;
  }

  .single-visual-overlay h3 {
    font-size: 22px;
  }

  .single-visual-overlay p {
    font-size: 14px;
  }
}


















/* =========================================================
   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 20px;
  border-radius: 50px;
  box-shadow: 0px 4px 12px rgba(47, 82, 72, 0.15);
}

/* BLOQUE IZQUIERDO */
.nav-left {
  padding-right: 26px;
}

.logo-img {
  height: 25px;
  margin-bottom: 5px;
}

/* 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);
}



































/* =========================================================
   HERO PRINCIPAL
========================================================= */

.hero-glow {
  padding: 160px 0 120px;
  /*padding: 80px 0 120px;*/
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  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;
}

/* 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: transparent;
  color: #2e7a69;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid #2e7a69;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-secondary-glow:hover {
  background: #e3f0ec;
}

/* 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;
}



























/* =========================================================
   SECCIONES BASE
========================================================= */
.section {
  padding: 90px 0 50px;
}

.pill-title {
  display: inline-block;
  padding: 10px 26px;
  background: #2e7a69;
  color: #f5f3f0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.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: 120px 0;
  background: transparent;
  text-align: center;
}

.sector-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #1f3d32;
  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;
}

.sector-mini {
  background: #1e2926;
  padding: 22px 10px;
  border-radius: 18px;
  box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
  cursor: default;
}

.mini-icon-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

.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: 80px 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: 60px;
  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: 90px 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-style: italic;
  color: #496356;
}

/* =====================
   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: #ffe7b8;
  border: 1px solid rgba(210, 150, 60, 0.4);
}

.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;
}

/* =====================
   CTA
===================== */

.cta-pill {
  margin-top: 25px;
  display: inline-block;
  background: #2e7a69;
  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 {
  background: #256556;
  transform: translateY(-3px);
}

/* =====================
   VIDEO
===================== */

.video-card {
  width: 100%;
  min-height: 260px;
  border-radius: 26px;
  padding-top: 85px;
  margin-top: 20px;
  text-align: center;

  background: radial-gradient(circle at top left,
      rgba(180, 225, 219, 0.9),
      rgba(120, 160, 150, 0.9));
  box-shadow: 0 16px 38px rgba(40, 60, 50, 0.25);
}

.video-label {
  color: white;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1rem;
}

.video-circle {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}


































/* =========================================================
   FAQ — Estilo Visitia (Glow Up)
========================================================= */

.faq-section {
  background: transparent;
  padding: 70px 30px;
  border-radius: 22px;
  margin: 80px 20px;
  /*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);
}






























/* =========================================================
   FOOTER VISITIA — Premium
========================================================= */

.visitia-footer {
  background: #1e2926;
  /* Verde oscuro Visitia */
  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 !important;
  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;
}
























/* =========================================================
   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;
  }
}