@charset "utf-8";

/* ==========================================================
   GLOBAL CSS – PixelDot (BASE REAL)
   ========================================================== */

/* ---------------------------
   VARIABLES
--------------------------- */
:root {
  --primary: #14438f;
  --secondary: #149bd7;
  --dark: #0d2f63;
  --text: #333;
  --light-bg: #f5f7fa;
  --nav-height: 96px;
}

/* ---------------------------
   RESET
--------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: #fff;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------------------------
   TIPOGRAFÍA
--------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 800;
}

p {
  font-size: 1rem;
  line-height: 1.55;
}


/* ---------------------------
   BOTONES GLOBALES
--------------------------- */
.btn-primary {
  background: var(--secondary);
  border: none;
  color: #fff;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: .25s ease;
}

.btn-primary:hover {
  background: #127cae;
  transform: translateY(-2px);
}

/* CTA reutilizable */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: var(--secondary);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,144,219,.25);
  transition: .3s ease;
}

.btn-cta:hover {
  background: #0f7fb3;
  transform: translateY(-3px);
}

/* ---------------------------
   NAVBAR (UNA SOLA DEFINITIVA)
--------------------------- */
.nav-main {
  background: #fff;
  height: var(--nav-height);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.nav-main .nav-link {
  font-weight: 500;
  color: var(--primary) !important;
  position: relative;
}

.nav-main .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width .25s ease;
}

.nav-main .nav-link:hover::after,
.nav-main .nav-link.active::after {
  width: 100%;
}

.btn-cta-nav {
  background: var(--secondary);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
}

/* MOBILE NAV */
@media (max-width: 992px) {
  .nav-main {
    background: #000;
  }

  .logo-desktop { display: none !important; }
  .logo-mobile { display: block !important; height: 52px; }

  .navbar-collapse {
    background: #000;
    padding: 20px;
  }

  .navbar-nav .nav-link {
    color: rgba(255,255,255,.85) !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}

/* ---------------------------
   FOOTER GLOBAL
--------------------------- */
.footer-new {
  background: linear-gradient(180deg, var(--primary), var(--dark));
  color: #fff;
  padding: 80px 0 40px;
}

.footer-card {
  background: rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
}

.footer-links a {
  color: rgba(255,255,255,.85);
}

.footer-links a:hover {
  color: #fff;
}

/* ---------------------------
   WHATSAPP + TOP
--------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #0dc143;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 999;
}



/* ==========================================================
   BOTÓN SUBIR
   ========================================================== */

.btn-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: 
    opacity .3s ease,
    transform .3s ease,
    background .3s ease,
    color .3s ease;
}

/* Visible */
.btn-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hover */
.btn-top:hover {
  transform: translateY(-4px);
}

/* ===============================
   ESTADO SOBRE FOOTER
================================ */

.btn-top.btn-top--on-footer {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Hover en footer */
.btn-top.btn-top--on-footer:hover {
  background: var(--secondary);
  color: #ffffff;
}

/* ---------------------------
   SWIPER GLOBAL
--------------------------- */
.swiper-button-prev,
.swiper-button-next {
  color: var(--secondary);
}

/* ---------------------------
   UTILIDADES
--------------------------- */
.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   FOOTER PIXELDOT – GLOBAL
   ========================================================== */

.footer-new {
  background: linear-gradient(180deg, var(--primary), #0d2f63);
  color: #ffffff;
  padding: 90px 0 30px;
  position: relative;
}

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

#cta-hablemos {
  margin-bottom: 70px;
}

.cta-footer-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

#cta-hablemos a {
  transition: opacity .25s ease;
}

#cta-hablemos a:hover {
  opacity: 0.85;
}

/* ==========================================================
   LAYOUT GENERAL
   ========================================================== */

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* LOGO */
.footer-logo-left {
  flex: 0 0 220px;
}

.footer-logo {
  max-width: 200px;
}

/* ==========================================================
   CARDS
   ========================================================== */

.footer-cards {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  flex: 1;
}

.footer-card {
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 26px 24px;
  border: 1px solid rgba(255,255,255,0.18);
  min-width: 220px;
}

/* Títulos */
.footer-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

/* Links */
.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  transition: color .25s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Texto */
.footer-card p {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.85);
}

.footer-card i {
  color: var(--secondary);
  margin-right: 6px;
}

/* ==========================================================
   SOCIAL
   ========================================================== */

.footer-card a i {
  transition: transform .25s ease, opacity .25s ease;
}

.footer-card a:hover i {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* ==========================================================
   CERTIFICACIONES
   ========================================================== */

.cert-logo {
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  padding: 4px;
}

/* ==========================================================
   COPYRIGHT
   ========================================================== */

.footer-new .small {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 50px;
  opacity: 0.85;
}

/* ==========================================================
   FOOTER – MOBILE
   ========================================================== */

@media (max-width: 992px) {

  .cta-footer-title {
    font-size: 1.7rem;
  }

  .footer-layout {
    flex-direction: column;
    gap: 40px;
  }

  .footer-logo-left {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-cards {
    flex-direction: column;
  }

  .footer-card {
    width: 100%;
  }
}
/* ==========================================================
   BANNER DE COOKIES – PIXELDOT (GLOBAL)
   ========================================================== */

/* Overlay oscuro */
#cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
  display: none;
}

/* Modal */
#cookie-modal {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 820px;
  width: calc(100% - 40px);
  background: #ffffff;
  padding: 28px 32px;
  border-radius: 22px;
  z-index: 9999;
  display: none;
}

/* Texto */
#cookie-modal p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #444;
}

#cookie-modal a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
}

#cookie-modal a:hover {
  text-decoration: underline;
}

/* Botones */
#cookie-modal .btn-primary {
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(20,155,215,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

#cookie-modal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20,155,215,0.45);
}

#cookie-modal .btn-outline-primary {
  border-radius: 14px;
  font-weight: 600;
}

#cookie-modal .btn-link {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-decoration: none;
}

#cookie-modal .btn-link:hover {
  text-decoration: underline;
}

/* ==========================================================
   COOKIES – MOBILE
   ========================================================== */

@media (max-width: 768px) {

  #cookie-modal {
    bottom: 20px;
    padding: 22px 20px;
  }

  #cookie-modal p {
    font-size: 0.9rem;
  }

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

/* ==========================================================
   MODAL CONFIGURACIÓN DE COOKIES – PIXELDOT (GLOBAL)
   ========================================================== */

.cookie-settings {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
}

/* Caja interna */
.cookie-settings > .bg-white {
  max-width: 680px;
  width: calc(100% - 40px);
  border-radius: 22px;
  padding: 32px 34px;
}

/* Título */
.cookie-settings h5 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

/* Texto */
.cookie-settings p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}

/* ==========================================================
   GRUPOS DE COOKIES
   ========================================================== */

.cookie-group {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 18px 16px;
  background: #fafafa;
}

/* Switch */
.cookie-group .form-check-input {
  width: 44px;
  height: 22px;
  cursor: pointer;
}

.cookie-group .form-check-input:checked {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

/* Badge */
.cookie-group .badge {
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 12px;
}

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

.cookie-settings .btn-primary {
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(20,155,215,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cookie-settings .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20,155,215,0.45);
}

.cookie-settings .btn-outline-primary {
  border-radius: 14px;
  font-weight: 600;
}

/* ==========================================================
   COOKIE SETTINGS – MOBILE
   ========================================================== */

@media (max-width: 768px) {

  .cookie-settings > .bg-white {
    padding: 24px 22px;
  }

  .cookie-settings h5 {
    font-size: 1.25rem;
  }

  .cookie-group {
    padding: 16px;
  }

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

  .cookie-settings .d-flex {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================================
   BOTÓN IR ARRIBA – GLOBAL
   ========================================================== */

.btn-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: #ffffff;

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

  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transition: 
    opacity .3s ease,
    transform .3s ease,
    background .25s ease,
    color .25s ease;
  z-index: 900;
}

/* Visible */
.btn-top.show {
  opacity: 1;
  visibility: visible;
}

/* Hover */
.btn-top:hover {
  transform: translateY(-3px);
}

/* =========================================
   BTN TOP COLOR CUANDO TOCA FOOTER
========================================= */

.btn-top.on-footer {
  background: #ffffff !important;
  color: #14438f !important;
  border: 2px solid #14438f !important;
  box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.btn-top.on-footer i {
  color: #14438f !important;
}
/* ==========================================================
   NAVBAR PIXELDOT – DEFINITIVA (REEMPLAZO TOTAL)
   ========================================================== */

.nav-main {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 999;
}

/* Contenedor */
.nav-main .container {
  min-height: 80px;
  display: flex;
    align-items: center;
  padding-top: 6px;
	}

/* Logo */
.logo-desktop {
  height: 48px;
}

.logo-mobile {
  display: none;
  height: 44px;
}

/* Links */
.nav-main .navbar-nav {
  align-items: center;
  gap: 10px;
}

.nav-main .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a !important;
  padding: 0;
  position: relative;
}

/* Activo */
.nav-main .nav-link.active {
  font-weight: bold;
  color: var(--primary) !important;
}

/* Línea inferior */
.nav-main .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width .25s ease;
}

.nav-main .nav-link.active::after,
.nav-main .nav-link:hover::after {
  width: 100%;
}

/* CTA */
.btn-cta-nav {
  background: linear-gradient(90deg, #149bd7, #127ab0);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: none;
  transition: background .25s ease;
}

.btn-cta-nav:hover {
  background: linear-gradient(90deg, #127ab0, #149bd7);
}

/* ==========================================================
   NAVBAR MOBILE – PIXELDOT (FINAL)
   ========================================================== */

@media (max-width: 992px) {

  /* Barra superior */
  .nav-main {
    background: #000000;
    box-shadow: none;
  }

  .nav-main .container {
    min-height: 64px;
  }

  /* Logos */
  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: block !important;
    height: 40px;
  }

  /* Botón hamburguesa */
.navbar-toggler {
  padding: 10px;
}
	
	.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible,
.nav-link:focus,
.nav-link:active {
  outline: none !important;
  box-shadow: none !important;
}

  .navbar-toggler-icon {
    background-image: none;
    width: 26px;
    height: 2px;
    background-color: #149bd7;
    position: relative;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 26px;
    height: 2px;
    background-color: #149bd7;
  }

  .navbar-toggler-icon::before {
    top: -7px;
  }

  .navbar-toggler-icon::after {
    top: 8px;
  }

  /* Panel desplegable */
  #navbarPixelDot {
    background: #ffffff;
    padding: 12px 18px 18px;
    border-radius: 0 0 18px 18px;
  }

  /* Lista */
  .navbar-nav {
    align-items: stretch;
    gap: 0;
  }

  /* Links */
  .navbar-nav .nav-link {
    color: #14438f !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid #eaeaea;
  }

  .navbar-nav .nav-link.active {
    font-weight: 700;
  }

  /* Quitar underline animado en mobile */
  .nav-main .nav-link::after {
    display: none;
  }

  /* CTA */
  .navbar-nav .btn-cta-nav {
    margin-top: 18px;
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 12px;
    text-align: center;
  }
}
/* ==========================================================
   FOOTER – JERARQUÍA + CIERRE DE MARCA (PIXELDOT)
   ========================================================== */

.footer-new {
  position: relative;
  padding-top: 70px;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(20,155,215,0.18), transparent 60%),
              radial-gradient(900px 500px at 80% 20%, rgba(20,67,143,0.22), transparent 60%),
              #0b1220;
}

.footer-new::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}

.footer-card h5 {
  font-weight: 800;
  letter-spacing: -0.2px;
  margin-bottom: 14px;
}

.footer-links a {
  display: inline-block;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 6px 0;
  transition: transform .2s ease, color .2s ease, opacity .2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-card p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 10px;
}

.cta-footer-title {
  font-size: 1.6rem;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .cta-footer-title {
    font-size: 1.25rem;
  }

  .footer-cards {
    flex-direction: column !important;
  }
}

/* ===========================
   HERO GENÉRICO (GLOBAL)
=========================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.55)
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 880px;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 32px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content p {
    font-size: 1.05rem;
  }
}

.modal-pixeldot{
  border-radius: 24px;
  background: linear-gradient(180deg,#ffffff,#f6f9ff);
}

.modal-pixeldot .form-control{
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid #ddd;
}

.modal-pixeldot .form-control:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(20,67,143,.25);
}