/* =========================================================
   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;
}








/* ===============================
   NAV DOBLE — VISITIA
=============================== */

.double-nav {
  width: 100%;
  position: relative;
  z-index: 1200;
}

/* ===============================
   PISO SUPERIOR (YA EXISTENTE)
=============================== */

.top-nav {
  /*background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);*/
  border-radius: 999px;
  margin: 18px auto 6px auto;
  width: 96%;
  /*box-shadow:
    0 10px 26px rgba(0,0,0,0.10);*/
}

/* ===============================
   PISO INFERIOR (SUBNAV)
=============================== */

.bottom-subnav {
  width: 100%;
  margin-top: 18px;
  margin-left: 50px;
  display: flex;
  justify-content: center;
}

.subnav-wrapper {
  /*backdrop-filter: blur(12px);*/
  border-radius: 999px;
  padding: 10px 28px;
  display: flex;
  gap: 22px;
}

/* Links inferior */
.subnav-link {
  font-size: 15px;
  font-weight: 600;
  color: #2b3f3a;
  text-decoration: none;
  position: relative;
  transition: 0.25s ease;
}

/* Hover underline */
.subnav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #1d7a67, #6fdac0);
  border-radius: 99px;
  transition: 0.25s ease;
}

.subnav-link:hover::after {
  width: 100%;
}

.subnav-link:hover {
  color: #0f2f28;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {

  .bottom-subnav {
    display: none; /* ocultamos el subnav en móvil */
  }

  .top-nav {
    border-radius: 0;
    width: 100%;
  }
}









/* ============================
   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: 32px;
}

/* 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);
}







/* ================================
   BOTONERA SUPERIOR
================================ */
.top-buttons {
    display: flex;
    justify-content: center;
    margin: 150px 0 20px 0;
    gap: 20px;
}

.top-btn {
    background: #007C5A;
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.top-btn:hover {
    background: #005E44;
}























/* ================================
   HERO SECTION
================================ */
.hero-others {
    text-align: center;
    margin-top: 180px;
}

.hero-others .hero-sub {
    color: #333;
    margin-top: 15px;
    font-size: 19px;
}

/* ================================
   BOTONES GENERALES
================================ */
.btn-green {
    background: #007C5A;
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-green.big {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-yellow {
    background: #FFC557;
    color: #222;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

.btn-yellow.big {
    padding: 15px 40px;
    font-size: 18px;
}

.center {
    text-align: center;
    margin-top: 40px;
}

/* ================================
   TARJETAS SECTOR (idénticas a la imagen)
================================ */
.three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.sector-card {
    background: #E9F3EF;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.06);
}

.section-title.small {
    background: #007C5A;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    display: inline-block;
    font-size: 19px;
    margin-bottom: 22px;
}

.sector-card ul {
    padding-left: 20px;
}

.sector-card li {
    margin-bottom: 14px;
    font-size: 15.5px;
}

.orange-link {
    color: #FF7A00;
    font-weight: 600;
    cursor: pointer;
}

.link-blue {
    color: #2B79E6;
    text-decoration: none;
    font-size: 14px;
}

.link-blue:hover {
    text-decoration: underline;
}

/* Botón grande */
.btn-yellow.big {
    background: #FFC557;
    padding: 16px 48px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
}


























/* ================================
   VIDEO BOX
================================ */
.video-section {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.video-box.large {
    width: 100%;
    background: #CFE0F5;
    border-radius: 22px;
    padding: 25px;
    height: 260px;
}

.video-label {
    font-size: 14px;
    color: #5A86B4;
}

.play-circle {
    width: 70px;
    height: 70px;
    background: #80A9FF;
    border-radius: 50%;
    margin: 22px auto;
}

/* ================================
   MÓDULOS PEQUEÑOS: PROYECTO A MEDIDA / FAQ
================================ */
.section-mini {
    margin-top: 50px;
    padding-bottom: 20px;
}

.section-mini h3 {
    background: #007C5A;
    color: white;
    padding: 10px 25px;
    display: inline-block;
    border-radius: 12px;
    margin-bottom: 20px;
}

.section-mini ul {
    padding-left: 20px;
}

.section-mini li {
    margin-bottom: 10px;
}







/* =========================================================
   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
================================ */
@media (max-width: 900px) {
    .three-column {
        grid-template-columns: 1fr;
    }
}










/* =========================================================
   RESET GENERAL
========================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica", "Arial", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(to bottom, #f5f3ef, #ece9e4);
  color: #1e2926;
}

.container {
  width: min(1150px, 100% - 3rem);
  margin: 0 auto;
  padding: 0 25px;
}





/* =========================================================
   NAVBAR — SE RESPETA
========================================================= */
/* (NO SE MODIFICA NADA DEL NAVBAR) */





/* =========================================================
   BOTONERA SUPERIOR
========================================================= */
.top-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 150px 0 40px;
}

.top-btn {
  padding: 12px 28px;
  background: #1d7a67;
  color: white;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
  text-decoration: none;
}

.top-btn:hover {
  background: #166353;
  transform: translateY(-2px);
}



/* =========================================================
   HERO SECUNDARIO
========================================================= */
.hero-others {
  text-align: center;
  margin-bottom: 40px;
}

.hero-others .hero-sub {
  margin-top: 16px;
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.85;
}



/* =========================================================
   BOTONES GENERALES
========================================================= */
.btn-green {
  padding: 12px 32px;
  background: #1d7a67;
  color: white;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
  display: inline-block;
}

.btn-green:hover {
  background: #166353;
  transform: translateY(-2px);
}

.btn-green.big {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-yellow {
  padding: 12px 32px;
  background: #f8c242;
  color: #1b1b1b;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-yellow:hover {
  transform: translateY(-2px);
}

.btn-yellow.big {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.center {
  text-align: center;
  margin: 40px 0 60px;
}



/* =========================================================
   TARJETAS — 3 COLUMNAS
========================================================= */
.three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin: 40px 0 60px;
}

.sector-card {
  background: white;
  padding: 28px;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}

.section-title.small {
  background: #1d7a67;
  color: white;
  padding: 10px 22px;
  border-radius: 14px;
  width: fit-content;
  margin-bottom: 20px;
  font-size: 19px;
  font-weight: 700;
}

.sector-card ul {
  padding-left: 20px;
}

.sector-card li {
  margin-bottom: 14px;
  font-size: 0.96rem;
  line-height: 1.55;
}

.orange-link {
  color: #d67a00;
  font-weight: 700;
  cursor: pointer;
}

.link-blue {
  color: #1a5ed8;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}



/* =========================================================
   VIDEO SHOWCASE — PREMIUM
========================================================= */

.video-section {
  margin: 100px 0;
  display: flex;
  justify-content: center;
}

/* CONTENEDOR PRINCIPAL */
.video-frame {
  width: 100%;
  max-width: 1180px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: #111;
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* CONTENEDOR DEL IFRAME */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #0e0e0e;
}

/* IFRAME */
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* TEXTO INFERIOR */
.video-overlay {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20,20,20,0.65);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
  letter-spacing: 0.4px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {

  .video-section {
    margin: 70px 0;
  }

  .video-frame {
    border-radius: 22px;
  }

  .video-overlay {
    font-size: 0.78rem;
    padding: 8px 14px;
  }
}










/* =========================================================
   PROYECTO A MEDIDA / FAQ — CLON PREMIUM DEL INDEX
========================================================= */

.custom-project-section {
  margin: 140px auto;
  max-width: 1100px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* ===== BLOQUE PROYECTO A MEDIDA (NEGRO PREMIUM) ===== */

.custom-block.featured {
  background: #1a4d42;
  border-radius: 32px;
  padding: 90px 60px;
  box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.6);
}

/* Contenedor interno tipo index */
.custom-block.featured .custom-card {
  background: none;
  box-shadow: none;
  padding: 0;
  max-width: 820px;
  text-align: left;
}

/* ===== TÍTULO tipo barra verde ===== */

.custom-block.featured .pill-title {
  background: none;
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 700;
  padding: 0;
  margin-bottom: 36px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Quitar estilo tipo cápsula del título "Proyecto a medida" */
.custom-block.featured .pill-title {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;

  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 28px;
  display: inline-block;
}

/* Eliminar cualquier pseudo-elemento decorativo si existiera */
.custom-block.featured .pill-title::before,
.custom-block.featured .pill-title::after {
  display: none !important;
}


/* ===== TEXTO BLANCO SUAVE ===== */

.custom-block.featured p {
  font-size: 1.17rem;
  line-height: 1.75;
  color: #e9f3ef;
  margin-bottom: 40px;
  max-width: 820px;
}

/* ===== BOTÓN BLANCO INVERTIDO ===== */

.custom-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 44px;
  border-radius: 999px;

  background: #ffffff;
  color: #0f0f0f;
  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;
}

.custom-cta:hover {
  background: #eaeaea;
  transform: translateY(-3px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   BLOQUE FAQ — LIMPIO, CLEAR, DE SOPORTE
========================================================= */

.custom-block:not(.featured) {
  text-align: center;
}

.custom-block:not(.featured) .pill-title {
  background: linear-gradient(135deg, #1d7a67, #6fdac0);
  color: white;
  padding: 8px 22px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow:
    0 10px 28px rgba(29,122,103,0.45);
}

.custom-card.simple {
  background: linear-gradient(180deg, #ffffff, #f6fbf9);
  border-radius: 22px;
  padding: 34px 36px;
  margin-top: 22px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;

  box-shadow:
    0 18px 50px rgba(0,0,0,0.10),
    inset 0 0 0 1px rgba(0,0,0,0.04);
}

/* ===== FAQ LINK ===== */

.faq-link {
  font-size: 16px;
  color: #2f9f8a;
  font-weight: 800;
  text-decoration: none;
  transition: 0.3s ease;
  border-bottom: 2px solid rgba(47,159,138,0.4);
  padding-bottom: 2px;
}

.faq-link:hover {
  color: #186b5a;
  border-bottom-color: #186b5a;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .custom-project-section {
    margin: 100px auto;
    gap: 80px;
  }

  .custom-block.featured {
    padding: 60px 26px;
  }

  .custom-block.featured .pill-title {
    font-size: 1.6rem;
  }

  .custom-block.featured p {
    font-size: 15.5px;
  }
}








/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {

  .three-column {
    grid-template-columns: 1fr;
  }

  .video-box.large {
    padding: 25px;
  }

  .play-circle {
    width: 65px;
    height: 65px;
  }

  .play-circle::before {
    top: 20px;
    left: 26px;
    border-width: 12px 0 12px 18px;
  }
}






















