/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* Colores y variables base */
:root {
  --dark-bg: #080814;
  --card-bg: rgba(20, 20, 35, 0.7);
  --neon-primary: #39e5ed;
  --neon-primary-rgb: 57, 229, 237;
  --neon-secondary: #088187;
  --neon-secondary-rgb: 8, 129, 135;
  --text-light: #e2e2e2; 
  --turquesa: #0D687C;
  --turquesa-rgb: 13, 104, 124;
  --turquesa-dark: #0a5467;
  --turquesa-light:rgb(20, 133, 161);
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.13);
  --glass-shadow: rgba(31, 38, 135, 0.17);
  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 16px;
  --border-radius-xl: 18px;
  --feature-icon-size: 3rem;
  --feature-spacing: 1.75rem;
  --accent-color: #39e5ed;
  --secondary-accent-color: #FFCC89; /* Amarillo Suave */
  --degradado-turquesa-dark: linear-gradient(135deg,#197C92, #013d4c);
  --degradado-sintesia: linear-gradient(135deg,#053140 0%, #17586d 100%);
  --degradado-azul-petroleo: linear-gradient(135deg,#0c1e3e 0%, #203f80 100%);
  --color-menu: #4096b0;
  --color-menu-hover: #07B2D7;
  --bg-pastel: #FDFCF1;
  --box-shadow-10: 0 8px 10px 0 rgba(0, 0, 0, 0.1);
}


/*para nuevo header hero animado*/
#header {
  --cnvs-header-floating-top-offset:  40px;
}

/* Animación de entrada del header */
.backdrop-header {
  animation: fadeInDown 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animaciones escalonadas para elementos del header */
#header #logo {
  opacity: 0;
  animation: fadeInDown 1s cubic-bezier(0.2, 1, 0.3, 1) 0.2s forwards;
}

#header .primary-menu > ul > li {
  opacity: 0;
  animation: fadeInDown 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

#header .primary-menu > ul > li:nth-child(1) { animation-delay: 0.3s; }
#header .primary-menu > ul > li:nth-child(2) { animation-delay: 0.4s; }
#header .primary-menu > ul > li:nth-child(3) { animation-delay: 0.5s; }
#header .primary-menu > ul > li:nth-child(4) { animation-delay: 0.6s; }
#header .primary-menu > ul > li:nth-child(5) { animation-delay: 0.7s; }
#header .primary-menu > ul > li:nth-child(6) { animation-delay: 0.8s; }

#header .primary-menu-trigger {
  opacity: 0;
  animation: fadeInDown 0.8s cubic-bezier(0.2, 1, 0.3, 1) 0.4s forwards;
}

/* Estilos de Cookiebot eliminados - Ahora usamos cookie-consent.php propio */

.w-100 {
  width: 100%;
}

.margin-top-0 {
  margin-top: 0% !important;
}

.margin-top-60 {
  margin-top: -60px !important;
}

.margin-top-58 {
  margin-top: -58px !important;
}

.margin-top-161 {
  margin-top: -161px !important;
}

.m-0 {
  margin: 0 !important;
}

.p-0 {
  padding: 0 !important;
}

.py-5pc {
  padding-top: 5%;
  padding-bottom: 5%;
}
.m-auto {
  margin: 0 auto !important;
}


.mt-3 {
  margin-top: 3rem !important;
}

.img-cover-350 {
  max-height: 350px;
  object-fit: cover;
}

.img-cover-100pc {
  max-height: 100%;
  object-fit: cover;
}

.text-sm-wrap {
  white-space: normal !important;
}
.border-radius-10 {
  border-radius: 10px !important;
}

.h5 {
	font-size: 1.2rem;
}

.height100 {
  height: 100%;
}

.justifycontentcenter {
  justify-content: center !important;
}

.logo_tresde {
  margin: 0 auto;
  text-align: center;
  width: 35%;
}


.logo_tresde_black {
  margin: 0 auto !important;
  text-align: center;
  width: 16%
}

.logo_tresde img, .logo_tresde_black img {
  width: 100%;
}


.anagrama_tresde {
  margin: 0 auto;
  text-align: center;
  width: 120px;
}

.anagrama_tresde img {
  width: 100%;
}

#gotoTop {
  --cnvs-gotoTop-position-boxed-bottom: 8%;
}

.bg-pastel {
	background: #FDFCF1 !important;
}

.bg-pastel_gold {
	background: radial-gradient(at 47% 33%, #FDFCF1 , transparent 59%), radial-gradient(at 82% 65%, #E1DEBB, #F0EDCF 55%);
}

.bg-white {
	background: #fff !important;
}

.poppins {
	font-family: 'Poppins', serif;
	letter-spacing: 0.3px;
	line-height: 1.6;
	color: #207C8A;
	font-weight: 400 !important;
}

.inter {
	font-family: 'Inter', serif;
	letter-spacing: 0.3px;
	line-height: 1.6;
	color: #207C8A;
	font-weight: 400 !important;
}

.montserrat {
	font-family: 'Montserrat', serif;
	letter-spacing: 0.3px;
	line-height: 1.6;
	color: #1E7A85;
	font-weight: 400 !important;
}

.playfair {
	font-family: 'Playfair Display', serif;
	letter-spacing: 0.3px;
	line-height: 1.6;
	color: #1E7A85;;
	font-weight: 400 !important;
}


/* Menu Icons Styles */
.menu-icon {
  margin-right: 8px;
  font-size: 0.95em;
  color: var(--turquesa, #0D687C);
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.menu-link:hover .menu-icon {
  transform: translateY(-2px);
  opacity: 1;
  color: var(--accent-color, #39e5ed);
}
/* Animación de rotación para la flecha del menú */
.menu-item .fa-chevron-down {
  transition: transform 0.3s ease;
  display: inline-block;
}

.menu-item:hover .fa-chevron-down {
  transform: rotate(-90deg);
}

/* Animación del menú móvil */
.primary-menu ul.menu-container,
.primary-menu .mega-menu-content,
.primary-menu .menu-container > .menu-item > .sub-menu-container {
  transition: height .4s ease, opacity .3s ease !important;
  transform-origin: top;
}



#header-wrap #logo img {
	height: auto;
}
 
 
#footer {
	--cnvs-footer-top-border: 3px solid rgba(var(--cnvs-contrast-rgb), 0.05);
	--cnvs-copyrights-link-color: var(--cnvs-contrast-500);
	position: relative;
	background-color: #060606;
	border-top: var(--cnvs-footer-top-border);
}

/* Glassmorfismo universal */
.glass, .glass-white-back {
  background: var(--glass-bg);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.glass-white-back.gradient-subtle {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass {
  max-height: 136px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.glass img {
  overflow: hidden;
  object-fit: cover;
  width: 100%;
}

.backdrop-header {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius-sm);
  padding: 0.7rem 1.5rem 0.7rem 1.5rem; /* Reduce espacio horizontal */
}


/* Estilo específico para el H1 en el slider - SEO optimizado */
.slider-caption h1.hero-heading {
	font-size: 1.4rem; /* Mismo tamaño que los H2 o ligeramente más pequeño */
	font-weight: 600;
	line-height: 1.3;
}
.slider-caption h1.hero-heading span {
  text-shadow: 1px 0px 1px #ffffffb2;
}

/* H1 para SEO que estará presente en el código pero no visible */
.slider-caption h1.seo-title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
	visibility: hidden;
	z-index: -1;
}

/* Control de logos */
#header .logo-default {
  display: block;
}
#header .logo-dark {
  display: none;
}

/* Cuando el header tiene la clase 'sticky-header' */
#header.sticky-header .logo-default {
  display: none;
}
#header.sticky-header .logo-dark {
  display: block;
}

/* Asegúrate de que las imágenes del logo mantengan el mismo tamaño */
#header #logo img {
  height: 45px; /* Reducido de 60px (aprox 25-30%) */
  width: auto;
  transition: all 0.3s ease;
}

/* Si usas un logo más grande inicialmente */
#header:not(.sticky-header) #logo img {
  height: 105px; /* Reducido de 150px (30%) */
}

.header-row {
  align-items: center;
  padding: 0.4rem 0;
}
/* Ajustar alineación vertical del logo con el menú */
#header #logo {
  display: flex;
  align-items: center; /* Centrado vertical mejor que flex-end para logo más pequeño */
  padding-top: 0.5rem;
}
#header .primary-menu {
  align-self: center;
  padding-bottom: 0;
}



.glass-card-section {
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.glass-card:hover {
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
  transform: translateY(-5px);
}

#web-faq .faq-card {
  border: 0;
}

#web-faq .faq-card .card-header {
  background: #fff;
  border: 0;
}

#web-faq .faq-card .btn-link {
  text-decoration: none;
}

#web-faq .faq-card .btn-link:hover {
  filter: saturate(1.1);
}

#web-faq .card-body {
  background: #fff;
  color: #1c1c1c;
}

#web-faq .fa-minus {
  display: none;
}

#web-faq button[aria-expanded="true"] .fa-plus {
  display: none;
}

#web-faq button[aria-expanded="true"] .fa-minus {
  display: inline-block;
}

#web-faq .faq-header .btn::after {
  content: none !important;
}

/* Título principal de FAQ en color turquesa - FORZADO */
#web-faq h2,
#web-faq .h1,
#web-faq h2.h1,
section#web-faq h2,
section.py-5#web-faq h2,
.bg-pastel#web-faq h2 {
  color: #0D687C !important;
}


/* Forzar también en secciones con clase específica */
section[id*="faq"] h2,
section.bg-pastel h2.fw-bold {
  color: #0D687C !important;
}

/* Títulos de preguntas FAQ en turquesa */
.faq-accordion .btn-link span.fw-semibold,
.faq-card .btn-link span.fw-semibold,
#web-faq .btn-link span.fw-semibold {
  color: #0D687C !important;
}

.menu-link {
  color: var(--color-menu);
}

.menu-item:hover > .menu-link {
  color: var(--color-menu-hover);
}

/* Insignia de experiencia para el slider y otras secciones */
.experience-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 100;
  position: relative;
}

.experience-badge i {
  color: #12B6DB;
}

/* Elementos para la sección Soluciones Sectoriales */
.section-journey {
  display: inline-block;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.problem-text {
  color: #555;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  min-height: 60px;
}

.solution-box {
  background-color: rgba(var(--primary-rgb), 0.05);
  border-radius: 0.5rem;
  padding: 1rem;
  position: relative;
  border-left: 3px solid var(--primary-color);
}

.solution-badge {
  position: absolute;
  top: -10px;
  left: 15px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border-radius: 1rem;
}

.mini-testimonial {
  font-style: italic;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 0.5rem;
  padding: 0.8rem;
  font-size: 0.85rem;
  position: relative;
}

.mini-testimonial q {
  display: block;
  margin-bottom: 0.3rem;
  color: #444;
}

.mini-testimonial cite {
  font-size: 0.8rem;
  color: #666;
  font-weight: 600;
}

.transition-question {
  color: var(--primary-color);
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.transition-question:before,
.transition-question:after {
  content: '';
  position: absolute;
  height: 1px;
  background: rgba(var(--primary-rgb), 0.3);
  width: 50px;
  top: 50%;
}

.transition-question:before {
  left: -60px;
}

.transition-question:after {
  right: -60px;
}

.bg-white_backdrop {
  background-color: #ffffff0d;
  backdrop-filter: blur(5px);
}

#servicios-destacados a, #servicios-destacados a > .glass {
  color: #333;  
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  transition: all 0.8s ease;

}


#servicios-destacados a:hover { 
  -moz-transform: scale(105%) translateY(-10px);
  -webkit-transform: scale(105%) translateY(-10px);
  -o-transform: scale(105%) translateY(-10px);
  -ms-transform: scale(105%) translateY(-10px);
  transform: scale(105%) translateY(-10px);

}


#servicios-destacados a:hover > .glass {
  background: rgba(255,255,255,0.75);
}


#header-wrap {
  background:transparent;
}

.first_destacado {
  background: #ffffffd4 !important;
}

.servicios-modulo h4 {
  color: #084f65;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.57);
}

.servicios-modulo  p {
  font-weight: bold;
  /*text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.616);*/
}
.btn-turquesa {
  background-color: var(--turquesa);
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.55), 0px 4px 8px -2px rgba(0, 0, 0, 0.31);
  transition: all 0.3s ease;
}

.btn-turquesa:hover {
  background-color: #033d4a;
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.15), 0px 4px 8px -2px rgba(0, 0, 0, 0.05);
}

.btn-cta-highlight {
  background: linear-gradient(45deg, var(--turquesa), var(--neon-secondary));
  color: white;
  box-shadow: 0 8px 20px rgba(var(--neon-primary-rgb), 0.25);
  transform: translateY(0);
  transition: all 0.4s ease;
}

.btn-cta-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(var(--neon-primary-rgb), 0.35);
  background: linear-gradient(45deg, var(--neon-secondary), var(--turquesa));
  color: white;
}

.subtle-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(var(--turquesa-rgb), 0.3), transparent);
  margin: 2rem auto;
  width: 80%;
}

.cajita_info_contacto {
  box-shadow: 0 1px 10px -2px #00000038 inset;
  border-radius: 12px;
  padding: 8px;
  margin: 5px 0px;
}

.text-turquesa {
	color: var(--turquesa);
}

/* Hover neón para enlaces de texto azules en módulos oscuros y SEO */
a.text-info.text-decoration-none {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a.text-info.text-decoration-none:hover {
  color: var(--neon-primary) !important;
  text-shadow: 0 0 8px rgba(var(--neon-primary-rgb), 0.8);
}

/* Enlace a Áreas de servicio con efecto neón */
a[href*="areas-de-servicio"] {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a[href*="areas-de-servicio"]:hover {
  color: var(--neon-primary) !important;
  text-shadow: 0 0 8px rgba(var(--neon-primary-rgb), 0.8);
}


/* Estilos para la sección oscura con efectos neón */
.dark-section {
  background-color: #0a0a12;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(25, 25, 50, 0.4) 0%, rgba(10, 10, 18, 0.8) 70%);
  pointer-events: none;
}

/* Tarjetas de servicios con efecto neón */
.service-card {
  background-color: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  height: auto;
  max-height: 400px;
  margin-bottom: 15px;
  border: 1px solid rgba(var(--neon-secondary-rgb), 0.2);
}

/* Enlaces en títulos de módulos de servicio (Diseño Web, SEO, Chatbot, IA) */
.service-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.service-card:hover .service-title-link,
.service-title-link:hover {
  color: var(--neon-primary);
  text-shadow: 0 0 10px rgba(var(--neon-primary-rgb), 0.8);
}

.neon-card {
  box-shadow: 0 0 15px rgba(66, 249, 255, 0.1);
  transition: box-shadow 0.3s ease;
}

.neon-card:hover {
  box-shadow: 0 0 25px rgba(66, 220, 255, 0.25);
}

.glow-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-primary), #0ff, var(--neon-secondary), var(--neon-primary), #0ff);
  background-size: 200% 200%;
  animation: glow 3s linear infinite;
}

@keyframes glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.card-inner {
  padding: 1.3rem;
  position: relative;
  z-index: 2;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--neon-primary);
  margin-bottom: 1rem;
  display: inline-block;
}

.neon-icon {
  text-shadow: 0 0 10px rgba(var(--neon-primary-rgb), 0.7), 0 0 20px rgba(var(--neon-primary-rgb), 0.5);
}

.neon-text {
  color: white;
  text-shadow: 0 0 10px rgba(var(--neon-primary-rgb), 0.7), 0 0 20px rgba(var(--neon-primary-rgb), 0.5);
}

/* Ejemplos de servicios con overlay de hover */
.service-example {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-example img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.example-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.example-overlay span {
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background: rgba(57, 192, 237, 0.3);
  border: 1px solid rgba(57, 192, 237, 0.6);
}

.service-example:hover img {
  transform: scale(1.1);
}

.service-example:hover .example-overlay {
  opacity: 1;
}

/* Botón de estilo neón - TURQUESA SINTESIA */
.neon-btn-small {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: transparent;
  border: 2px solid #0D687C;
  color: #0D687C;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 0 5px rgba(13, 104, 124, 0.3);
}

@media (max-width: 768px) {
  .neon-btn-small {
    width: 100%;
  }
}

.neon-btn-small:hover {
  color: white;
  background-color: #0D687C;
  box-shadow: 0 0 15px rgba(13, 104, 124, 0.6);
  text-decoration: none;
}

/* Estilos para la versión alternativa con imagen central */
.central-image-container {
  height: 100%;
  display: flex;
  align-items: first baseline;
  justify-content: center;
  margin-top: 50%;
}

.neon-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(66, 249, 255, 0.15);
  transition: all 0.5s ease;
  max-height: 600px;
  width: 100%;
}

.neon-frame:hover {
  box-shadow: 0 0 35px rgba(66, 249, 255, 0.3);
  transform: translateY(-5px);
}

.neon-frame:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00f3ff, #0ff, #1eafa1, #00fff3, #0ff);
  background-size: 200% 200%;
  animation: glow 3s linear infinite;
  z-index: 2;
}

.neon-frame:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-primary), #0ff, var(--neon-secondary), var(--neon-primary), #0ff);
  background-size: 200% 200%;
  animation: glow 3s linear infinite reverse;
  z-index: 2;
}

.neon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 18, 0.3), rgba(0, 0, 0, 0.9));
  z-index: 1;
}

.content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 3;
  /*background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);*/
  transition: all 0.3s ease;
}

.neon-frame:hover .content-overlay {
  /*background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);*/
  padding-bottom: 2.5rem;
}

/* Estilos para tarjetas en la sección servicios avanzados */
#servicios-avanzados .service-card {
  height: auto;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  max-height: 480px;
}

#servicios-avanzados .service-icon {
  font-size: 2rem;
}

#servicios-avanzados .card-inner {
  padding: 1.5rem 1.2rem;
}

#servicios-avanzados .text-light {
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

#servicios-avanzados h3.h5 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem !important;
}

#servicios-avanzados .service-icon {
  font-size: 1.8rem;
  margin-bottom: 0.7rem !important;
}

#servicios-avanzados .service-example {
  max-height: 120px;
  margin-bottom: 1rem !important;
}

#servicios-avanzados .service-example img {
  height: 120px;
  object-fit: cover;
  object-position: 0px 17%;
}

/* Estilo para el botón Descubrir */
.discover-btn {
  display: block;
  width: 90%;
  margin: 0 auto;
  padding: 0.7rem 1rem;
  background-color: var(--turquesa);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(var(--turquesa-rgb), 0.15);
}

.discover-btn:hover {
  background-color: #0a5467;
  color: white;
  text-decoration: none;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(var(--turquesa-rgb), 0.35);
}

/* Hacer la imagen central un 30% más alta */
.central-image-taller {
  height: 130%;
}

.central-image-taller .neon-frame {
  height: 100%;
  max-height: 680px; /* 600px * 1.3 */
}

/* Estilos para imágenes decorativas solo en móvil */
.mobile-only-image {
  display: none; /* Oculto por defecto en escritorio */
}

/* --- Hover effect for Timeline Cards --- */
.timeline-content-jp {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    /* Adding a subtle default shadow, adjust as needed */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: .25rem; /* Optional: match card-like appearance */
}

.timeline-content-jp .proceso-card-img img {
    transition: transform 0.3s ease-in-out;
}

.timeline-content-jp:hover {
    transform: translateY(-12px); /* Elevate the card */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12); /* Enhance shadow on hover */
}

.timeline-content-jp:hover .proceso-card-img img {
    transform: scale(1.03); /* Slightly scale up the image */
}

.timeline-content-jp .proceso-card-img img:hover {
  transform: scale(1.09); /* Slightly scale up the image only */
}

/* Animación flotante para imágenes y elementos */
.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}


.floating-reverse {
  animation: float-reverse 6s ease-in-out infinite;
}

.floating-slow {
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
  100% {
      transform: translateY(0);
  }
}

@keyframes float-reverse {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(10px);
  }
  100% {
      transform: translateY(0);
  }
}


/* Estilos para la sección de Soluciones por Sector */
.solutions-section {
  background-color: #fdfcf1;
}

.sector-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.sector-img-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 70%; /* Proporción de aspecto para las imágenes */
  overflow: hidden;
}

.sector-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.sector-card:hover .sector-img {
  transform: scale(1.05);
}

.sector-content {
  padding: 1.5rem;
  background-color: #ffffff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.sector-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.sector-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.sector-feature-item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

.sector-feature-item:before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: #0D687C;
  font-weight: bold;
}

.sector-solution {
  background-color: rgba(var(--primary-rgb), 0.05);
  border-radius: 0.5rem;
  padding: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #0D687C;
  border-left: 2px solid var(--primary-color);
}

.btn-sector-action {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background-color: #0D687C;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(13, 104, 124, 0.25);
  transition: all 0.3s ease;
  margin: 0 auto;
  letter-spacing: 0.5px;
}


.btn-sector-action-soluciones {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.8rem;
    background-color: #fdfcf1;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    box-shadow: 0 5px 15px #b3b1995e;
    transition: all 0.3s ease;
    margin: 2rem auto;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-sector-action:hover,
.btn-sector-action-soluciones:hover {
  background-color: #0a5467;
  box-shadow: 0 8px 20px rgba(var(--turquesa-rgb), 0.35);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.is-expanded-menu .sticky-header #header-wrap {
    background: #fff3 !important;
    backdrop-filter: blur(5px);
  }

.is-expanded-menu .sticky-header > #header-wrap > .backdrop-header{
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    background: none !important;
    backdrop-filter: none !important;
}

#servicios-destacados {
  margin-top: -10%;
  z-index: 10;
}


.titulo_subtitulo{
    text-align: center;
}

.slider-caption h2, .slider-caption .h2 {
	font-size: 60px;
	margin-bottom: 0;
	text-shadow: 1px 4px 5px #0000007d;
}

.card {
  background-color: #ffffff36;
  
}

/* ===================================================================
    Blog Styles
=================================================================== */

/* --- Blog Hero --- */

.blog-body .blog-hero {
  padding: 10rem 0 4rem;
}
.blog-hero {
    padding: 4rem 0;
    background-color: var(--bg-pastel, #FDFCF1);
    margin-top: 0; /* Remove space from menu */
}

.blog-hero-badge {
    background-color: rgba(var(--turquesa-rgb), 0.1);
    color: var(--turquesa);
    border: 1px solid rgba(var(--turquesa-rgb), 0.2);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5em 1em;
}

.blog-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #333;
    margin-top: 0.5rem;
}

.blog-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    color: #666;
    max-width: 600px;
    margin: 0.5rem auto 2rem auto;
}

.blog-search .input-group {
    border-radius: 50px;
    overflow: hidden;
}
.blog-search .form-control {
    border: none;
    padding-left: 1.5rem;
}
.blog-search .input-group-text {
    background: white;
    border: none;
    color: var(--turquesa);
}
.blog-search .btn-blog {
    background-color: var(--turquesa);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
}
.blog-search .btn-blog:hover {
    background-color: var(--turquesa-dark);
}


/* --- Blog List --- */
.blog-list {
    padding: 3rem 0 5rem 0;
}

/* --- Blog Card --- */
.blog-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* To make sure child elements respect border-radius */
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Card Media (Image) */
.blog-card-media {
    position: relative;
    height: 220px;
}
.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Rounded corners only on top are handled by the parent's overflow:hidden and the card's border-radius */
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f7;
    color: #ccc;
    font-size: 3rem;
}

/* Card Tag */
.blog-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(var(--turquesa-rgb), 0.85);
    backdrop-filter: blur(5px);
    color: white;
    padding: 0.3em 0.8em;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Body */
.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Card Meta */
.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.75rem;
}
.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.blog-card-meta .fa-regular {
    color: var(--turquesa-light);
    font-size: 0.9em;
}

.blog-card-meta .feature-tag {
    background-color: rgba(var(--turquesa-rgb), 0.1);
    color: var(--turquesa);
    padding: 0.2em 0.6em;
    border-radius: 4px;
    font-weight: 500;
}

/* Card Title */
.blog-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.blog-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.blog-card-title a:hover {
    color: var(--turquesa);
}

/* Card Excerpt */
.blog-card-excerpt {
    font-family: 'Poppins', sans-serif;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* Card Footer (Button) */
.blog-card-footer {
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
}

.btn-blog {
    background-color: transparent;
    color: var(--turquesa);
    border: 1px solid var(--turquesa);
    border-radius: 50px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

.btn-blog:hover {
    background-color: var(--turquesa);
    color: white;
}

/* Make sure the main button in the hero also uses this style */
.blog-search .btn-blog {
    border-radius: 0 50px 50px 0;
    border: 1px solid var(--turquesa);
    background-color: var(--turquesa);
    color: white;
}
.blog-search .btn-blog:hover {
    background-color: var(--turquesa-dark);
}


/* Pagination */
.pagination .page-link {
    color: var(--turquesa);
    border-radius: 50px !important;
    margin: 0 0.2rem;
    border: 1px solid #eee;
}
.pagination .page-item.active .page-link {
    background-color: var(--turquesa);
    border-color: var(--turquesa);
    color: white;
    box-shadow: 0 4px 10px rgba(var(--turquesa-rgb), 0.3);
}
.pagination .page-item.disabled .page-link {
    color: #ccc;
}
.pagination .page-link:hover {
    background-color: #f8f8f8;
}
.pagination .page-item.active .page-link:hover {
    background-color: var(--turquesa-dark);
}

/* --- Blog Breadcrumb --- */
.blog-breadcrumb {
  background: transparent;
  padding: 0;
}

.blog-breadcrumb .breadcrumb {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
}

.blog-breadcrumb .breadcrumb-item a {
  color: var(--turquesa);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.blog-breadcrumb .breadcrumb-item a:hover {
  color: var(--turquesa-oscuro);
  transform: translateX(2px);
}

.blog-breadcrumb .breadcrumb-item.active {
  color: #666;
  font-weight: 500;
}

.blog-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #999;
  content: "›";
  font-size: 1.1rem;
}

/* --- Blog Article Styling --- */
.blog-article-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #555;
  background: rgba(var(--turquesa-rgb), 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.meta-item i {
  color: var(--turquesa);
  font-size: 0.95rem;
}

.meta-item:hover {
  background: rgba(var(--turquesa-rgb), 0.15);
  transform: translateY(-1px);
}

.meta-item-link {
  cursor: pointer;
  color: inherit !important;
  text-decoration: none;
}

.meta-item-link:hover {
  background: rgba(var(--turquesa-rgb), 0.2) !important;
  transform: translateY(-2px) !important;
}

.article-cover img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-content p {
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: #333;
}

@media (max-width: 767.98px) {
  .article-content p {
    text-align: justify;
  }
}

.article-content h1 { 
  font-size: 2rem; 
  margin-top: 2.5rem; 
  margin-bottom: 1.5rem; 
  font-weight: 700;
  text-align: center;
  width: 100%;
  background: linear-gradient(45deg, #0D687C, #21B8D7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.article-content h2 { font-size: 1.75rem; margin-top: 2rem; margin-bottom: 1rem; font-weight: 600; }
.article-content h3 { font-size: 1.5rem; margin-top: 1.75rem; margin-bottom: 0.875rem; font-weight: 600; }
.article-content h4 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; }
.article-content p { margin-bottom: 1.25rem; }
.article-content ul, .article-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content img { border-radius: 0.5rem; margin: 1.5rem 0; }
.article-content img { max-width: 100%; height: auto; }
.article-content table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-spacing: 0; }
.article-content table td, .article-content table th { white-space: nowrap; padding: .5rem .75rem; }
.article-content blockquote {
  border-left: 4px solid var(--turquesa);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}

.article-tags .badge {
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  font-weight: 500;
}

.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--turquesa);
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-btn:hover {
  background: var(--turquesa);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--turquesa-rgb), 0.3);
}

/* Author Box con Avatar */
.author-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--turquesa);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--turquesa);
  margin-bottom: 0.25rem;
}

.author-bio {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* Responsive Article */
@media (max-width: 768px) {
  .blog-breadcrumb .breadcrumb { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .blog-article-card { padding: 1.5rem; }
  .article-title { font-size: 1.85rem; font-weight: 700; }
  .article-meta { gap: 0.75rem; font-size: 0.85rem; }
  .meta-item { padding: 0.35rem 0.75rem; }
  .article-content { font-size: 1rem; }
  .author-avatar { width: 56px; height: 56px; }
}

/* Additional responsive steps */
@media (max-width: 991.98px) {
  .article-title { font-size: 2.1rem; }
}
@media (max-width: 575.98px) {
  .article-title { font-size: 1.65rem; }
  .article-share { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; }
  .article-meta span i { display: inline-block !important; }
}

/* --- Comments Module --- */
.comments-section { background-color: transparent; }
.comments-section h3 { position: relative; z-index: 1; }
.comments-list { display: grid; gap: 0.75rem; margin-top: 0.75rem; position: relative; z-index: 0; }
.comment-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.9rem 1rem; background: #fff;
  border: 1px solid #eee; border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.comment-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.comment-avatar {
  flex: 0 0 40px; 
  width: 40px; 
  height: 40px; 
  border-radius: 50%;
  background: hsl(var(--avh, 210), 55%, 85%);
  color: #0d5c6b; 
  border: 1px solid rgba(0,0,0,0.08);
  display: flex; 
  align-items: center; 
  justify-content: center;
  align-self: flex-start;
  font-size: 0.9rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.comment-content { flex: 1; }
.comment-meta { font-size: .85rem; color: #666; margin-bottom: .25rem; }
.comment-author { font-weight: 600; color: var(--turquesa); }
.comment-date { background: rgba(var(--turquesa-rgb), .08); color: var(--turquesa); padding: .15rem .5rem; border-radius: 999px; margin-left: .5rem; }
.comment-body { color: #444; line-height: 1.6; }

.comment-form .form-control { background:#fff; border: 1px solid #e9e9e9; }
.comment-form .form-control:focus { border-color: var(--turquesa); box-shadow: 0 0 0 .2rem rgba(var(--turquesa-rgb), .15); }
.comment-form .btn-blog { margin-top: .25rem; }

/* Smooth anchor scroll and offset for in-page links */
html { scroll-behavior: smooth; }
#comments { scroll-margin-top: 120px; }

/* Contenido principal cabecera centrado y ancho */
.hero-main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  border-radius:12px;
  border:1px solid #eeeeee4d;
  background: #ffffff6e;
}

/* Sección contrastada fondo oscuro y glassmorfismo en caja de texto */
.section-dark-glass {
  background: linear-gradient(120deg, #23233e 0%, #39396a 100%);
  padding: 4rem 0;
}
.section-dark-glass .glass {
  background: rgba(30,34,60,0.80);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.22);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Menú glassmorfismo */
.menu-glass {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(31,38,135,0.10);
  border: 1px solid rgba(230,230,230,0.25);
  max-width: 1200px;
  margin: 32px auto 0 auto;
  padding: 0.3rem 2.5rem;
  position: relative;
  z-index: 1001;
  transition: background 0.35s, box-shadow 0.35s, padding 0.25s, margin 0.25s;
}
.glass-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.glass-header #logo {
  flex: 0 0 auto;
  margin-right: 2.5rem;
}
.glass-header nav.primary-menu {
  flex: 1 1 auto;
}
.menu-glass .menu-container {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 0;
  justify-content: flex-end;
}
.menu-glass.sticky-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 3px 16px 0 rgba(31,38,135,0.13);
  padding: 0.1rem 0.8rem !important;
  transition: background 0.18s, box-shadow 0.18s, padding 0.15s, margin 0.15s;
}
.header-spacer { height: 110px; }
 

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/*
[style*='none'], [style*='unset'], [style*='initial'] {
  background-image: none !important;
  opacity: 0 !important;
}*/

.header, .menu-glass {
  z-index: 4000 !important;
}

.menu-glass.sticky-header {
  margin-top: 0;
  padding: 0.1rem 1.2rem;
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 3px 16px 0 rgba(31,38,135,0.10);
  border-radius: 0 0 18px 18px;
  transition: background 0.25s, box-shadow 0.25s, padding 0.18s, margin 0.18s;
}

.menu-glass .menu-container {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 0;
}
.menu-glass .menu-item {
  list-style: none;
}
.menu-glass .menu-link div {
  padding: 0.6rem 1.3rem;
  border-radius: 9px;
  transition: background 0.18s, color 0.18s;
}
.menu-glass .menu-link.active div,
.menu-glass .menu-link:hover div {
  background: #00485D18;
  color: #00485D;
}

  .menu-glass .menu-container {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.7rem 0;
  }
  .glass-header { margin-top: 8px; }
  .header-spacer { height: 110px; }
  .header-spacer { height: 70px; }


.menu-glass.sticky-header {
  background: rgba(255,255,255,0.90) !important;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.12);
}

#header.menu-glass {
  color: #222;
}

#header.menu-glass .primary-menu > ul > li > a {
  color: #222;
}

#header.menu-glass .logo-default,
#header.menu-glass .logo-dark {
  filter: none;
}

#header.menu-glass {
  position: absolute;
  top: 0; left: 0; width: 100vw;
  z-index: 10;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.12);
  color: #222;
  border-radius: 0 0 18px 18px;
  backdrop-filter: blur(14px) saturate(120%);
}
 

/* Dropdown Menu Styles */
.primary-menu .menu-item {
  position: relative;
}

.primary-menu .sub-menu-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background-color: #fff;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.1);
  padding: 10px 0;
  margin-top: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 399;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(230,230,230,0.25);
}

.primary-menu .menu-item:hover > .sub-menu-container {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.primary-menu .sub-menu-container .menu-item {
  padding: 0;
  width: 100%;
  border-top: 1px solid rgba(230,230,230,0.25);
}

.primary-menu .sub-menu-container .menu-item:first-child {
  border-top: none;
}

.primary-menu .sub-menu-container .menu-link {
  padding: 10px 15px;
  font-size: 14px;
  color: #444;
  font-weight: 400;
  display: block;
}

.primary-menu .sub-menu-container .menu-link div {
  padding: 0;
}

.primary-menu .sub-menu-container .menu-link:hover {
  background-color: rgba(0,72,93,0.08);
}

.primary-menu .sub-menu-container .menu-link:hover div {
  color: #00485D;
}

/* Sub-menu indicator */
.primary-menu .menu-item.menu-item-has-children > .menu-link div:after {
  content: "\e900";
  font-family: 'font-icons';
  font-size: 9px;
  margin-left: 5px;
  opacity: 0.7;
  display: inline-block;
  transition: transform 0.2s ease;
}

.primary-menu .menu-item.menu-item-has-children:hover > .menu-link div:after {
  transform: rotate(90deg);
}

/* Nested submenus */
.primary-menu .sub-menu-container .menu-item-has-children > .sub-menu-container {
  top: 0;
  left: 100%;
  margin-left: 0;
  border-radius: 0 6px 6px 0;
}



/* Banner page-title para ecommerce */
.page-title-banner-ecommerce {
  padding: 150px 0;
  background-image: url('../img/sectors/ecommerce-banner.jpg');
  background-size: cover;
  background-position: center center;
}

/* Banner page-title para hoteles */
.page-title-banner-hoteles {
  padding: 150px 0;
  background-image: url('../img/sectors/hotel-banner.jpg');
  background-size: cover;
  background-position: center center;
}

/* Banner page-title para sobre mí */
.page-title-banner-about {
  background-image: url('../img/about/parallax.jpg');
  background-size: cover;
  padding: 120px 0;
}

/* Elementos con características destacadas */
.feature-box-large {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1%;
  padding: 0.5rem 0;
}

.feature-icon-large {
  font-size: 2.25rem;
  color: var(--turquesa);
  margin-right: 1.5rem;
  min-width: 2.25rem;
  transition: all 0.3s ease;
  text-align: center;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-weight: 600;
  color: var(--turquesa);
  margin-bottom: 0.5rem;
  font-size: 1.10rem;
}

.feature-description {
  color: #444;
  line-height: 1.5;
  margin-bottom: 15px;
}

.feature-box-large:hover .feature-icon-large {
  transform: translateY(-3px);
  color: var(--neon-secondary);
}

  .intro-heading {
  font-weight: 700;
  color: var(--turquesa);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.highlight-question {
  font-size: 1.3rem;
}

.intro-text {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 400;
  color: #333;
  margin-bottom: 2rem;
}

.intro-text strong {
  color: var(--neon-secondary);
  position: relative;
  font-weight: 600;
}

.intro-text strong::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-secondary), transparent);
}

.trust-badge {
  display: inline-block;
  margin-right: 10px;
  font-size: 0.85rem;
  color: #666;
  background: rgba(255, 255, 255, 0.5);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-badge i {
  margin-right: 5px;
  color: var(--turquesa);
}

/* Sección final con llamada a la acción */
.final-cta-section {
  background-image: url('../img/carretera.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  padding: 6rem 0 8rem;
  position: relative;
  color: white;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 10, 18, 0.8), rgba(0, 0, 0, 0.85));
  z-index: 1;
}

.final-cta-section .container {
  position: relative;
  z-index: 2;
}

.rectangulo-redondeado h4 {
  color: #8cecec;
}

.feature-box {
  background-color: #ffffffe5;
  backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 150px;
  width: 150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: visible;
  cursor: pointer;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  position: relative;
}

.feature-tooltip {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.feature-tooltip::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.8);
}

.feature-icon:hover .feature-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -45px;
}

.feature-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.feature-icon-1 { color: #0D687C; }
.feature-icon-2 { color: #4285F4; }
.feature-icon-3 { color: #EA4335; }
.feature-icon-4 { color: #34A853; }
.feature-icon-5 { color: #FBBC05; }

.benefits-bar {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 2.5rem;
  margin-top: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bg-primary.rounded-circle.d-flex.align-items-center.justify-content-center {
    width: 60px;
    height: 60px;
    background-color: rgba(70, 64, 222, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.benefit-item {
  display: flex;
  align-items: center;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background-color: rgb(223, 241, 243);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  color: #0eae98;
  font-size: 1.3rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.benefit-content h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.benefit-content p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Barras de progreso sobre mí */
.skill-bars-percent {
  counter-reset: progress;
}

/* Botón neumorph con efecto glassmórfico */
.neumorph-btn {
  border-radius: 16px;
  background: #0d687c8e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  height: 48px;
  line-height: 1.5;
}

.neumorph-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.neumorph-btn:active {
  transform: translateY(2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.progress-bar-95 { width: 95%; }
.progress-bar-90 { width: 90%; }
.progress-bar-85 { width: 85%; }
.progress-bar-80 { width: 80%; }
.progress-bar-75 { width: 75%; }

/* Mapa de contacto altura */
.gmap-300 { height: 300px; }

/* Popup del mapa */
.gmap-popup { width: 300px; }
.gmap-popup-title { margin-bottom: 8px; }

/* Contenedor principal */
#slider.slider-element {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 80vh;
  width: 100%;
}
/**
 * Solución MEJORADA para el slider
 * Separación de zoom y parallax en diferentes elementos
 */


/* Contenedor con zoom - Esta es la capa que aplica el zoom */
.zoom-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  /* Aplicamos el zoom a este contenedor */
  animation: heroZoom 25s ease-in-out infinite;
}

/* Fondo con efecto parallax - Esta capa solo recibe el efecto parallax */
.slider-parallax-bg {
  position: absolute;
  top: -40vh;
  left: 0;
  width: 100%;
  height: 140vh; /* Extra altura para compensar cualquier gap */
  background-size: cover !important;
  background-position: center center !important;
  right: 0;
  bottom: 0;
  transition: opacity 1.5s ease-in-out;
  /* Optimizaciones para rendimiento */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  z-index: 1;
    pointer-events: none;
  /* NO aplicamos zoom aquí, solo en el contenedor padre */
}


/* Contenedor interno */
.slider-inner {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.caja_caption_central {
  background-color: #00000040;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 1rem;

}

/* Textos del slider */
.slider-caption {
  position: absolute;
  top: -13vh;
  left: 16vw;
  z-index: 5;
  max-width: 50%;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.38), 0 1px 2px rgba(0,0,0,0.28);
  /*animation: fadeInLeft 1s cubic-bezier(.77,0,.18,1) 0.1s forwards;*/
}
 

/* Animación de zoom */
@keyframes heroZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.20); }
}

/* Animación para la entrada del texto */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}




/* ===== ESTILOS PARA SLIDER CON FORMULARIO ===== */

/* Contenedor principal del slider con dos columnas */
.slider-content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
}

.slider-content-wrapper .container-fluid {
  height: 100%;
}

.slider-content-wrapper .row {
  height: 100%;
  margin: 0;
}

/* Ajustes para la columna del contenido rotativo */
.slider-content-wrapper .col-lg-5 {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reposicionamiento del slider-caption */
.slider-content-wrapper .slider-caption {
  position: relative;
  top: auto;
  left: auto;
  z-index: 5;
  max-width: 100%;
  text-align: left;
  width: 100%;
}

/* Contenedor del formulario */
.slider-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}



/* Tarjeta del formulario con efecto glass */
.slider-form-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  width: 600px;
  max-width: 460px;
  min-height: 420px;
}

/* Título del formulario */
.slider-form-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Grupos de formulario */
.slider-form .form-group {
  margin-bottom: 1rem;
}

/* Inputs del formulario */
.slider-input {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-md);
  padding: 0.75rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.slider-input:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--turquesa);
  box-shadow: 0 0 0 0.2rem rgba(13, 104, 124, 0.25);
  outline: none;
}

.slider-input::placeholder {
  color: #666;
}

/* Checkbox del formulario */
.form-check-slider {
  margin: 1rem 0;
}

.form-check-slider .form-check-label {
  color: white;
  font-size: 0.85rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.form-check-slider a {
  color: var(--accent-color);
  text-decoration: underline;
}

.form-check-slider a:hover {
  color: white;
}

/* Botón de envío */
.btn-slider-submit {
  background: var(--degradado-turquesa-dark);
  border: none;
  border-radius: var(--border-radius-md);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(13, 104, 124, 0.3);
}

.btn-slider-submit:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(13, 104, 124, 0.4);
background: var(--turquesa-light);
}

/* Philosophy Box Styles */
.philosophy-box {
  position: relative;
  max-width: 90%;
  margin: 2.5rem auto 1.5rem;
  padding: 22px 10px;/*3.5rem 2rem 2.5rem*/
  text-align: center;
  background: linear-gradient(145deg, #fdfdfd, #f8f7f2);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
}

.philosophy-badge {
  display: inline-block;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #8c7a4d;
  background: linear-gradient(145deg, #f5e9d3, #e9dcc7);
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.philosophy-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  margin-top: 20px;
  color: #0D687C;
  opacity: 0.8;
}

.philosophy-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: #8c7a4d;
  margin-bottom: 0.75rem;
}

.philosophy-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  max-width: 90%;
  margin: 0 auto;
}

/* Iconos sociales en formulario del slider */
.slider-social-icons {
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
}
.slider-social-icons .social-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border-radius: 50%;
color: #ffffff;
background: rgba(23, 120, 141, 0.86);
border: 1px solid rgba(23, 120, 141, 0.90);
transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
text-decoration: none;
}
.slider-social-icons .social-icon i { font-size: 1.1rem; line-height: 1; }
.slider-social-icons .social-icon:hover { background:rgba(6, 54, 64, 0.96); transform: translateY(-3px); }
.slider-social-icons .social-icon.instagram:hover { color: #E1306C; }
.slider-social-icons .social-icon.youtube:hover { color: #FF0000; }
.slider-social-icons .social-icon.telegram:hover { color: #229ED9; }
.slider-social-icons .social-icon.whatsapp:hover { color: #25D366; }


/* Animación rebote doble (Instagram) */
@keyframes bounceTwiceI {
0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
40% { transform: translateY(-9px); }
60% { transform: translateY(-5px); }
}
.bounce-twiceI { animation: bounceTwiceI 1.6s ease-out 0.2s 2; }

/* Animación rebote doble (WhatsApp) */
@keyframes bounceTwiceW {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-9px); }
  60% { transform: translateY(-5px); }
  }
  .bounce-twiceW { animation: bounceTwiceW 1.0s ease-out 0.5s 2; }
  

/* Overrides: centrar y eliminar desplazamientos del slider-slogan dentro del nuevo layout */
.slider-content-wrapper #slider-slogan {
position: relative !important;
left: 0 !important;
top: 0 !important;
padding-top: 0 !important;
margin: 0 auto;
width: 100%;
max-width: 840px;
display: flex;
justify-content: center;
  justify-content: center;
}

.slider-content-wrapper #slider-slogan .caja_caption_central {
  max-width: 840px;
  margin: 0 auto;
}

#header-wrap, .is-expanded-menu .sticky-header #header-wrap{	
	border-bottom: none;
  
}

.is-expanded-menu .sticky-header #header-wrap{
box-shadow: 0 4px 17px 0 rgba(0, 0, 0, 0.28);
}

.hero-device-image {
    position: relative;
    height: 500px;
}

.hero-device-image img {
    position: absolute;
    top: 0;
    left: 40%;
    width: 60%;
    height: auto;
}

/* Service Modules Styles glassmorfismo */
.service-module .glass {
  padding: 1.2rem 1.5rem;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
  border: 1px solid rgba(255,255,255,0.09);
}

/* Service Modules Styles */
.service-module {
    margin-top: 30px;
}

.service-button {
    display: flex;

    width: 100%;
    text-align: start;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

#slider a.service-button {
	background: #fffc;
	border-color: #AAA;
	color: #8f8f8f;
  margin: 3% 0px auto;
  border-radius: 10px;
}


.service-button i {
    margin-right: 0.5rem;
}

.service-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}



/* Chatbot Styles */
.chatbot-container {
  width: 100%;
  max-width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 30px;
}

.chatbot-header {
  background-color: #1ABC9C;
  color: white;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #f5f8fb;
}

.message {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.message.user {
  align-items: flex-end;
}

.message.bot {
  align-items: flex-start;
}

.message-content {
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 80%;
  word-wrap: break-word;
}

.user .message-content {
  background-color: #1ABC9C;
  color: white;
  border-bottom-right-radius: 4px;
}

.bot .message-content {
  background-color: #e9eef2;
  color: #333;
  border-bottom-left-radius: 4px;
}

.chatbot-input {
  display: flex;
  padding: 10px;
  background-color: #fff;
  border-top: 1px solid #e9eef2;
}

.chatbot-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
}

.chatbot-input button {
  background-color: #1ABC9C;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 15px;
  margin-left: 10px;
  cursor: pointer;
  font-weight: bold;
}

.chatbot-input button:hover {
  background-color: #16a085;
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 15px;
  background-color: #fff;
  border-top: 1px solid #e9eef2;
}

.suggestion-chip {
  background-color: #f1f3f4;
  color: #333;
  padding: 8px 15px;
  border-radius: 18px;
  margin: 5px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.suggestion-chip:hover {
  background-color: #e0e3e5;
}

/*popup*/
/* Estilos para el popup */
.exit-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exit-popup.active {
  display: flex;
  opacity: 1;
}

.exit-popup-content {
  background: white;
  padding: 40px;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  margin: 20px;
}

.exit-popup.active .exit-popup-content {
  transform: translateY(0);
  opacity: 1;
}

.exit-popup h3 {
  color: #2c3e50;
  margin: 0 0 15px;
  font-size: 1.8rem;
  font-weight: 700;
}

.exit-popup p {
  color: #6c757d;
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.exit-popup .small {
  font-size: 0.9rem;
  color: #868e96;
  display: block;
  margin-bottom: 20px;
}

.exit-popup-input-group {
  margin-bottom: 20px;
}

.exit-popup input[type="email"] {
  width: 100%;
  padding: 12px 20px;
  margin-bottom: 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.exit-popup input[type="email"]:focus {
  outline: none;
  border-color: #69B0E1;
  box-shadow: 0 0 0 3px rgba(105, 176, 225, 0.2);
}

.btn-cta {
  background: linear-gradient(135deg, #69B0E1 0%, #8DE2B3 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 15px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-close-popup {
  background: none;
  border: none;
  color: #adb5bd;
  margin-top: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.btn-close-popup:hover {
  color: #6c757d;
}

/* Efecto glassmórfico para botones y bloques */
.glass {
  background: rgba(255, 255, 255, 0.45); 
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Estilos específicos para botones con glassmorfismo */
.button.glass {
  display: inline-block;
  align-items: center;
  justify-content: center;
  height: auto;
  line-height: 1.5;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

/* Estilos CTA Elegante */
.cta-elegant {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.cta-elegant:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.18);
}

.cta-elegant_gold {
  background: radial-gradient(at 47% 33%, #FFF , transparent 59%), radial-gradient(at 82% 65%, #B6A737, #EBE6CF 55%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cta-elegant .h4 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.3px;
    line-height: 1.6;
    color: #2c3e50;
}

.cta-elegant .btn-primary-soft {
    background: linear-gradient(135deg, #069EBF 0%, #0D687C 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 15px rgba(105, 176, 225, 0.2);
    transition: all 0.3s ease;
}

.cta-elegant .btn-primary-soft:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(105, 176, 225, 0.3);
}

.cta-elegant .btn-secondary-soft {
    background: linear-gradient(135deg, #12C4B3 0%, #11967D 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 15px rgba(141, 226, 179, 0.2);
    transition: all 0.3s ease;
}

.cta-elegant .btn-secondary-soft:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(141, 226, 179, 0.3);
}

/* ---- Secciones Especiales ---- */
.gradient-text {
  background: linear-gradient(45deg, #0D687C, #21B8D7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-title {
  margin-bottom: 3rem;
}

/* Contador animado */
.counter {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.counter small {
  display: block !important;
}

.counter span {
  display: inline-block !important;
}

.counter-icon {
  display: block;
  margin: 0 auto 0.5rem;
  font-size: 2rem;
  color: #0D687C;
}

.counter span {
  font-size: 3rem;
  font-weight: 700;
  color: #0D687C;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.counter h5 {
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 500;
  color: #555;
}


/* Tarjetas de testimonios */
.testimonial-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  padding: 1.5rem;
}

.sector-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D687C;
  color: white;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 1.2rem;
}

.testimonial-body {
  padding: 1.5rem;
}

.case-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 5px;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.case-link {
  color: inherit;
  text-decoration: none;
}
.case-link:hover {
  color: inherit;
  text-decoration: underline;
}

.result-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.result-stat-item {
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.result-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0D687C;
}


.stat-label {
  font-size: 0.8rem;
  color: #777;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 0;
}

/* Estilos para barras de progreso en tarjetas de testimonio */


 

.progress-container.animate .progress-bar {
  width: var(--progress-width, 0%);
} 

/* Barras de progreso */
.progress-container {
  margin-bottom: 1rem;
}
 

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  color: #ababab;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}


.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  color: #555;
}

 

.progress-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #39e5ed, #088187);
  position: relative;
  overflow: hidden;
  width: 0;
  transition: width 1.5s ease-in-out, opacity 0.3s ease;
  opacity: 0.9;
  box-shadow: 0 0 10px rgba(57, 229, 237, 0.5);
}


.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent
  );
  animation: brillo 2s infinite;
  transform: translateX(-100%);
}

@keyframes brillo {
  100% {
      transform: translateX(100%);
  }
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Animación de las barras */
@keyframes progressAnimation {
  0% { width: 0; }
  100% { width: var(--progress-width, 0%); }
}



/* Estilos para popovers de características */
.popover {
  max-width: 320px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: visible;
  margin-top: 10px;
  opacity: 0;
  transform: scale(0.5) translateY(20px);
  transform-origin: center top !important;
  transition: opacity 0.25s cubic-bezier(.9,.03,.69,.22);
  will-change: transform, opacity;
  pointer-events: none;
}

.popover.show {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* Asegurar que el popover tenga un z-index apropiado */
.popover {
  z-index: 1070;
}

.popover .popover-header {
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  color: white;
  border: none;
  font-weight: 600;
  padding: 0.8rem 1rem;
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.popover .popover-header i {
  font-size: 1.2em;
  margin-right: 8px;
}

.popover .popover-body {
  padding: 1.2rem;
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.95em;
  position: relative;
  z-index: 1;
}

/* Estilo del triángulo indicador */
.popover .popover-arrow {
  display: block;
  position: absolute;
  width: 20px;
  height: 10px;
  bottom: -10px;
  left: 50%;
  margin-left: -10px;
  z-index: 1071;
  overflow: visible;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s cubic-bezier(.9,.03,.69,.22);
}

.popover .popover-arrow::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: white;
  transform: rotate(45deg);
  top: -7px;
  left: 3px;
  z-index: 1;
  border: none !important;
  border-width: 0 !important;
  border-style: hidden !important;
}


.popover .popover-arrow::after {
  border: none !important;
  border-width: 0 !important;
  border-style: hidden !important;
}
 

/* Mostrar la flecha cuando el popover está visible */
.popover.show .popover-arrow {
  opacity: 1; 
}
 
 
/* Ajustar el espaciado entre el icono y el popover */
.bs-popover-auto[data-popper-placement^=top],
.bs-popover-top {
  margin-bottom: 15px;
}


/* Estilos para la sección FAQ */
.faq-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(19, 50, 62, 0.99) 0%, rgb(10, 15, 18) 70%);
}

.faq-card {
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.faq-header {
  background: transparent;
  padding: 0;
  border: none;
}

.faq-header .btn {
  color: #fff;
  text-align: left;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-header .btn i {
  color: var(--neon-primary);
  font-size: 1.2rem;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.faq-header .btn:not(.collapsed) {
  color: var(--neon-primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.faq-header .btn:focus {
  box-shadow: none;
}

.faq-header .btn::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  font-weight: 300;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.5);
}

.faq-header .btn:not(.collapsed)::after {
  content: '-';
  color: var(--neon-primary);
  transform: rotate(0deg);
}

.card-body {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 12px 12px;
}

.card-body p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  line-height: 1.7;
}

.form-content .card-body {
background: none;
}
/* Efecto de borde inferior en hover */
.faq-card {
  position: relative;
  overflow: hidden;
}

.faq-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.faq-card:hover::before {
  transform: scaleX(1);
}

/* ---- Nueva Sección CTA Elegante ---- */
.cta-modern-section {
	position: relative;
	overflow: hidden;
	background-blend-mode: multiply;
	background-image: url(../img/cta-background.webp);
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}

/* Imagen de fondo con opacidad */
.cta-modern-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #01171cc4 0%, #000b0df5 100%);
	z-index: 0;
}

/* Efecto decorativo de gradiente circular */
.cta-modern-section .decorative-circle-1 {
  content: '';
  position: absolute;
  top: -5%;
  right: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 229, 237, 0.15) 0%, rgba(57, 229, 237, 0) 70%);
  z-index: 0;
}

.cta-modern-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 129, 135, 0.15) 0%, rgba(8, 129, 135, 0) 70%);
  z-index: 0;
}

.cta-modern-inner {
  position: relative;
  z-index: 1;
}

/* Nuevas tarjetas elegantes */
.cta-elegant-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta-elegant-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.cta-elegant-card:hover::before {
  transform: scaleX(1);
}

.cta-elegant-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.cta-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(57, 229, 237, 0.15);
  color: var(--neon-primary);
  border-radius: 30px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.cta-highlight {
  background: rgba(57, 229, 237, 0.25);
  border: 1px solid rgba(57, 229, 237, 0.3);
}

.cta-title {
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.5rem;
}

.cta-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.cta-currency {
  font-size: 1rem;
  margin-right: 5px;
  margin-top: 0.5rem;
}

.cta-period {
  font-size: 0.9rem;
  font-weight: normal;
  opacity: 0.7;
  margin-top: 0.7rem;
  margin-left: 5px;
}

.cta-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.cta-features li {
  color: white;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.cta-features li i {
  color: var(--neon-primary);
  margin-right: 10px;
  font-size: 1rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-btn:hover {
  background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary));
  border: none;
  color: white;
  box-shadow: 0 5px 15px rgba(57, 229, 237, 0.3);
  transform: translateY(-3px);
}

.cta-btn-primary {
  background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary));
  border: none;
  box-shadow: 0 5px 15px rgba(57, 229, 237, 0.3);
}

.cta-btn-primary:hover {
  background: linear-gradient(90deg, var(--neon-secondary), var(--neon-primary));
  box-shadow: 0 8px 20px rgba(57, 229, 237, 0.4);
}

/* Formulario moderno */
.cta-form-container {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cta-form-title {
  color: white;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}


.cta-form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cta-form-select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="white" d="M0 0l6 6 6-6z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

#contact-form-slider .form-select.slider-input {
  color: #217d81;
}

#contact-form-slider .form-group input{
  color: #094548;
}

.cta-form-submit {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary));
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.cta-form-submit:hover {
  background: linear-gradient(90deg, var(--neon-secondary), var(--neon-primary));
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(57, 229, 237, 0.3);
}


/* --- Estilos para Etiquetas de Características --- */
.feature-tag {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: .75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  margin-right: 5px;
  transition: all 0.2s ease-in-out;
}

.feature-tag .icon {
  margin-right: 5px;
}

.feature-tag.web {
  background-color: #007bff; /* Azul */
}

.feature-tag.seo {
  background-color: #28a745; /* Verde */
}

.feature-tag.chatbot {
  background-color: #6f42c1; /* Morado */
}

.feature-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* === Estilos para el Formulario CTA en Index (Simplificado) === */
.cta-form-container {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 15px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.cta-form-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.cta-form-control {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.cta-form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.cta-form-control:focus {
  background-color: #0a192f;
  color: #ccd6f6;
  border-color: rgba(100, 255, 218, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(100, 255, 218, 0.25);
}

/* Estilos para Iconos en Notificaciones Toast */
.toast-body i {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.cta-form-control.form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.cta-form-control.form-select option {
  background-color: #0f172a;
  color: #fff;
}

#contact-form-index .form-check-label,
#contact-form-index .form-check-label a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

#contact-form-index .form-check-label a {
  color: #83C5BE;
  text-decoration: none;
}
#contact-form-index .form-check-label a:hover {
  text-decoration: underline;
}

#contact-form-index .form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

#contact-form-index .form-check-input:checked {
  background-color: #83C5BE;
  border-color: #83C5BE;
}

#contact-form-index .btn-primary {
  background-color: #83C5BE;
  border-color: #83C5BE;
  color: #0f172a;
  font-weight: 600;
  padding: 0.75rem;
  transition: all 0.3s ease;
}

#contact-form-index .btn-primary:hover {
  background-color: #006D77;
  border-color: #006D77;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 109, 119, 0.4);
}

/* Color para Web */
.feature-tag.tag-web {
background-color: rgba(0, 123, 255, 0.1);
border-color: rgba(0, 123, 255, 0.3);
color: #007bff;
}
.feature-tag.tag-web:hover {
background-color: #007bff;
color: #fff;
}

/* Color para SEO */
.feature-tag.tag-seo {
background-color: rgba(40, 167, 69, 0.1);
border-color: rgba(40, 167, 69, 0.3);
color: #15a288;;
}
.feature-tag.tag-seo:hover {
background-color: #28a78f;
color: #fff;
}

/* Color para Chatbots */
.feature-tag.tag-chatbot {
background-color: rgba(23, 162, 184, 0.1);
border-color: rgba(23, 162, 184, 0.3);
color: #17a2b8;
}
.feature-tag.tag-chatbot:hover {
background-color: #17a2b8;
color: #fff;
}

/* Color para Apps */
.feature-tag.tag-apps {
background-color: rgba(139, 92, 246, 0.1);
border-color: rgba(139, 92, 246, 0.3);
color: #8b5cf6;
}
.feature-tag.tag-apps:hover {
background-color: #8b5cf6;
color: #fff;
}

/* Botón sutil de Chatbot en propuesta de valor */
.chatbot-cta-subtle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(23, 162, 184, 0.25);
  border-radius: 50px;
  color: #17a2b8;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.chatbot-cta-subtle:hover {
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border-color: rgba(23, 162, 184, 0.5);
  color: #0d8a9c;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.2);
}
.chatbot-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #17a2b8 0%, #8b5cf6 100%);
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
}
.chatbot-cta-text {
  font-weight: 500;
}
.chatbot-cta-arrow {
  font-size: 0.75rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}
.chatbot-cta-subtle:hover .chatbot-cta-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* === AJUSTE GENERAL LOGO Y MENÚ === */
#header #logo {
  display: flex;
  align-items: center; /* Centrado vertical perfecto */
  padding-top: 0;      /* Eliminar padding extra superior */
  /*margin-right: 20px;   Espacio derecho controlado */
}

/* Ajuste de logo base */
#header #logo img {
  height: 42px;       /* Tamaño equilibrado por defecto */
  width: auto;
  transition: all 0.3s ease;
}

/* Logo más grande en header transparente (Inicio) */
#header:not(.sticky-header) #logo img {
  height: 90px;       /* Tamaño grande pero no excesivo */
}

/* Optimización de espacio en menú para evitar saltos de línea */
.primary-menu .menu-container > .menu-item > .menu-link {
  padding-left: 12px;
  padding-right: 12px;
  font-size: 0.85rem;
  letter-spacing: 0;
}

/* Cuando la pantalla se reduce (Laptop mediano), compactar suavemente */
@media (min-width: 992px) and (max-width: 1200px) {
  /* Menú ocupa más espacio para evitar hueco a la derecha */
  .primary-menu .menu-container {
    justify-content: flex-end; /* Alinear a la derecha pero aprovechando espacio */
    width: 100%;
  }

  /* Logo más pequeño pero legible */
  #header #logo img {
    height: 40px !important;
  }
  #header:not(.sticky-header) #logo img {
    height: 60px !important;
  }
  
  /* Menú compacto pero no minúsculo */
  .primary-menu .menu-container > .menu-item > .menu-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 0.75rem !important;
  }
  
  /* Ocultar iconos solo si es estrictamente necesario, probamos dejándolos primero */
  /* .primary-menu .menu-item .menu-icon { display: none !important; } */
}

/* Widget Trustindex - NO MODIFICAR (es un iframe externo) */
.reviews-google-widget {
  max-width: 100%;
  overflow: hidden;
}

/* === ESTILOS COMPACTOS TRUSTINDEX (COMENTADOS PARA EL FUTURO) ===*/
/*
.reviews-google-widget div[class*="ti-widget"],
.reviews-google-widget .ti-widget {
  padding: 0 !important;
  margin: 0 !important;
  gap: 6px !important;
}
.reviews-google-widget [class*="ti-review-item"],
.reviews-google-widget .ti-review-item {
  padding: 6px 10px !important;
  margin: 3px 0 !important;
  font-size: 0.8rem !important;
  min-height: auto !important;
}
.reviews-google-widget [class*="ti-reviews-container"],
.reviews-google-widget .ti-reviews-container-wrapper {
  gap: 4px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.reviews-google-widget .ti-profile-img,
.reviews-google-widget [class*="profile-img"],
.reviews-google-widget img[class*="profile"] {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
}
.reviews-google-widget .ti-name,
.reviews-google-widget [class*="reviewer-name"],
.reviews-google-widget .ti-review-header {
  font-size: 0.75rem !important;
  margin-bottom: 2px !important;
  line-height: 1.2 !important;
}
.reviews-google-widget .ti-text,
.reviews-google-widget [class*="review-text"],
.reviews-google-widget .ti-review-content {
  font-size: 0.75rem !important;
  line-height: 1.3 !important;
  margin: 2px 0 !important;
  max-height: 60px !important;
  overflow: hidden !important;
}
.reviews-google-widget .ti-stars,
.reviews-google-widget [class*="stars"] {
  font-size: 0.65rem !important;
}
.reviews-google-widget [class*="ti-header"],
.reviews-google-widget [class*="ti-footer"],
.reviews-google-widget .ti-widget-header,
.reviews-google-widget .ti-widget-footer {
  padding: 2px 8px !important;
  font-size: 0.65rem !important;
  display: flex !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
}
.reviews-google-widget img[alt*="Trustindex"],
.reviews-google-widget .ti-verified-icon {
  height: 12px !important;
  width: auto !important;
}
.reviews-google-widget iframe {
  max-height: 240px !important;
}
*/
/* ========================================================== */

/* Botón de blog en menú */
.menu-item-blog-icon .menu-link {
  background: #fff !important;
  border-radius: 8px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin-left: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease !important;
  position: relative;
}
.menu-item-blog-icon .menu-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.menu-item-blog-icon .menu-link div {
  color: #17a2b8 !important;
  font-size: 1rem;
}
.menu-item-blog-icon .menu-link i {
  margin: 0 !important;
}
/* Tooltip para blog */
.menu-item-blog-icon .menu-link::after {
  content: 'Ir al Blog';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}
.menu-item-blog-icon .menu-link:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: -40px;
}

/* === SECCIÓN APPS SHOWCASE === */
.apps-showcase-section {
  background: linear-gradient(135deg, #0a1628 0%, #0f2133 50%, #0a1628 100%);
  position: relative;
  overflow: visible;
}
.apps-showcase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(23, 162, 184, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(0, 230, 200, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.apps-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.2) 0%, rgba(0, 230, 200, 0.15) 100%);
  border: 1px solid rgba(23, 162, 184, 0.4);
  border-radius: 50px;
  color: #17a2b8;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.apps-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.apps-highlight {
  background: linear-gradient(135deg, #17a2b8 0%, #00e6c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.apps-description {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.apps-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.apps-features-list li {
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 0;
  font-size: 1rem;
}
.apps-features-list li i {
  color: #17a2b8;
  margin-right: 0.75rem;
}
.apps-cta-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.apps-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #17a2b8 0%, #0d8a9c 100%);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(23, 162, 184, 0.4), 0 0 30px rgba(0, 230, 200, 0.2);
}
.apps-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(23, 162, 184, 0.6), 0 0 50px rgba(0, 230, 200, 0.3);
  color: #fff;
}
.apps-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.apps-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
/* Visual mockup */
.apps-visual-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.apps-mockup-wrapper {
  position: relative;
  padding: 2rem;
  overflow: visible;
  z-index: 5;
}
.apps-mockup-phone {
  width: 280px;
  height: 400px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 2rem;
  padding: 0.5rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5), 
              0 0 0 1px rgba(255,255,255,0.1),
              inset 0 1px 0 rgba(255,255,255,0.1);
}
.apps-mockup-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 2rem;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
/* Notch de cámara */
.apps-screen-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #0a0a0a;
  border-radius: 0 0 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.apps-notch-camera {
  width: 8px;
  height: 8px;
  background: #1a1a2e;
  border-radius: 50%;
  border: 2px solid #333;
}
/* Status bar */
.apps-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 4px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.9);
}
.apps-status-time { font-weight: 600; }
.apps-status-icons {
  display: flex;
  gap: 6px;
  font-size: 0.6rem;
}
/* App header */
.apps-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.apps-app-header i { opacity: 0.8; font-size: 0.9rem; }
/* Contenido */
.apps-screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}
/* Navegación inferior estilo app */
.apps-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 8px;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.apps-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.apps-nav-item.active {
  color: #17a2b8;
  background: rgba(23, 162, 184, 0.15);
}
.apps-mini-card {
  height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  animation: appsPulse 2s ease-in-out infinite;
}
.apps-mini-card:nth-child(2) { animation-delay: 0.3s; }
.apps-mini-chart {
  height: 100px;
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.3) 0%, rgba(0, 230, 200, 0.2) 100%);
  border-radius: 0.75rem;
  animation: appsPulse 2s ease-in-out infinite;
  animation-delay: 0.6s;
}
@keyframes appsPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.apps-floating-badge {
  position: absolute;
  padding: 0.5rem 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(23, 162, 184, 0.4);
  border-radius: 50px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 15px rgba(23, 162, 184, 0.2);
}
.apps-floating-badge.badge-1 { top: 15%; left: 0; animation: floatBadge 3s ease-in-out infinite; }
.apps-floating-badge.badge-2 { top: 45%; right: 0; animation: floatBadge 3s ease-in-out infinite 0.5s; }
.apps-floating-badge.badge-3 { bottom: 15%; left: 10%; animation: floatBadge 3s ease-in-out infinite 1s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Cuadros de muestras de apps */
.apps-samples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(23, 162, 184, 0.2);
}
.app-sample-card {
  text-align: center;
}
.app-sample-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(0, 230, 200, 0.05) 100%);
  border-radius: 12px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.app-sample-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.app-sample-image::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, #17a2b8, #00e6c8, #17a2b8);
  background-size: 200% 200%;
  animation: neonBorderMove 3s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
@keyframes neonBorderMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.app-sample-card:hover .app-sample-image {
  box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 0 30px rgba(23, 162, 184, 0.3);
  transform: translateY(-5px);
}
.app-sample-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.75rem;
  margin-bottom: 0;
}
.app-sample-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
  transition: all 0.3s ease;
}
.app-sample-card:hover .app-sample-label {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(23, 162, 184, 0.4);
}
.app-sample-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #17a2b8 0%, #00e6c8 100%);
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.5), 0 0 20px rgba(0, 230, 200, 0.3);
  flex-shrink: 0;
}
.app-sample-icon i {
  font-size: 0.85rem;
  color: #0f172a;
}
.app-sample-name {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@media (max-width: 991px) {
  .apps-title { font-size: 2rem; }
  .apps-mockup-wrapper { padding: 1.5rem; }
  .apps-mockup-phone { width: 200px; height: 360px; overflow: visible; }
  .apps-mockup-screen { overflow: hidden; }
  .apps-floating-badge { 
    font-size: 0.65rem; 
    padding: 0.35rem 0.7rem;
  }
  .apps-floating-badge.badge-1 { top: 5%; left: -15px; }
  .apps-floating-badge.badge-2 { top: 40%; right: -25px; }
  .apps-floating-badge.badge-3 { bottom: 15%; left: -10px; }
  .apps-bottom-nav { 
    padding: 6px 4px;
    margin-top: auto;
  }
  .apps-nav-item {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  .apps-screen-content {
    padding: 0.5rem;
    gap: 0.5rem;
  }
  .apps-mini-card { height: 45px; }
  .apps-mini-chart { height: 70px; }
  .apps-samples-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .apps-samples-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* === DEMOS TABS === */
/* Onda superior */
#demos-tabs .ocean-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
  z-index: 0;
}
#demos-tabs .ocean-wave-top svg {
  display: block;
  width: 100%;
  height: 80px;
}
/* Espacio para la onda y estilos generales de tabs */
#demos-tabs.ocean-demo {
  padding-top: 100px;
}

.demos-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.demo-tab-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.8);
  border: 2px solid transparent;
  border-radius: 50px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s ease;
}
.demo-tab-btn:hover {
  background: #fff;
  border-color: #17a2b8;
  color: #17a2b8;
}
.demo-tab-btn.active {
  background: linear-gradient(135deg, #17a2b8 0%, #0d8a9c 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.4);
}
.demo-tab-content {
  display: none;
  opacity: 0;
}
.demo-tab-content.active {
  display: block;
  opacity: 1;
}
/* Animaciones de deslizamiento del contenedor */
.demo-tab-content.slide-in-left {
  animation: slideContainerLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.demo-tab-content.slide-in-right {
  animation: slideContainerRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.demo-tab-content.fade-in-up {
  animation: fadeContainerUp 0.5s ease forwards;
}
@keyframes slideContainerLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideContainerRight {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeContainerUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animaciones individuales de cada elemento dentro del tab */
.demo-tab-content.active .demo-badge {
  animation: slideFromTop 0.5s ease 0.1s both;
}
.demo-tab-content.active h2 {
  animation: slideFromTop 0.5s ease 0.15s both;
}
.demo-tab-content.active .lead {
  animation: slideFromTop 0.5s ease 0.2s both;
}
.demo-tab-content.active .feature-grid {
  animation: slideFromLeft 0.5s ease 0.25s both;
}
.demo-tab-content.active .d-flex {
  animation: slideFromLeft 0.5s ease 0.35s both;
}
.demo-tab-content.active .glow-card {
  animation: slideFromRight 0.6s ease 0.2s both;
}
.demo-tab-content.active .floating-badge.badge-1 {
  animation: popIn 0.4s ease 0.5s both;
}
.demo-tab-content.active .floating-badge.badge-2 {
  animation: popIn 0.4s ease 0.6s both;
}

@keyframes slideFromTop {
  from { opacity: 0; transform: translateY(-25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* === CTA NEON COMPACTO === */
.cta-neon-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}
.cta-neon-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 50%, rgba(23, 162, 184, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 40%);
  pointer-events: none;
}
.cta-neon-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
}
.cta-neon-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 0 20px rgba(23, 162, 184, 0.5);
}
.cta-neon-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
.cta-neon-btn {
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.cta-neon-btn.primary {
  background: linear-gradient(135deg, #17a2b8 0%, #0d8a9c 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(23, 162, 184, 0.5), 0 0 40px rgba(23, 162, 184, 0.3);
}
.cta-neon-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(23, 162, 184, 0.7), 0 0 60px rgba(23, 162, 184, 0.4);
  color: #fff;
}
.cta-neon-btn.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.cta-neon-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
@media (max-width: 768px) {
  .cta-neon-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .cta-neon-title {
    font-size: 1.1rem;
  }
  .cta-neon-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-neon-btn {
    width: 100%;
    text-align: center;
  }
}

/* Tarjeta de llamada a la acción para el formulario de contacto principal */
.contact-prompt-card {
  background: rgba(13, 39, 79, 0.45);
  border: 1px solid rgba(131, 197, 190, 0.3);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.contact-prompt-card .cta-form-title {
  color: #fff;
}


/* === Estilos Mejorados para el Select del Formulario CTA === */
.cta-form-control.form-select {
  background-color: #0f172a; /* Fondo muy oscuro, casi negro */
  border: 1px solid rgba(131, 197, 190, 0.4); /* Borde turquesa sutil */
  color: #e2e2e2;
}

.cta-form-control.form-select:focus {
  background-color: #1a2438; /* Un poco más claro al enfocar */
  border-color: #83C5BE; /* Borde turquesa más brillante */
  box-shadow: 0 0 0 0.2rem rgba(131, 197, 190, 0.25);
}

/* Estilo para las opciones del select (importante para la apariencia del desplegable) */
.cta-form-control.form-select option {
  background: #0f172a; /* Fondo oscuro para las opciones */
  color: #e2e2e2; /* Texto claro */
}

/* Estilo para el placeholder (la primera opción deshabilitada) */
.cta-form-control.form-select:invalid,
.cta-form-control.form-select option[value=""] {
color: rgba(255, 255, 255, 0.6); /* Color de placeholder, igual que los inputs */
}

/* Asegurar que la flecha sea siempre visible y clara */
.cta-form-control.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e2e2e2' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}


 
 /* ==========================================================
    Ocean Demos (Yates + Hotel)
    Integrado desde css/ocean-demo.css y mejorado para visibilidad de la onda
    Scope: #yacht-rental-demo.ocean-demo, #hotel-web-demo.ocean-demo
    Nota: estilos encapsulados por ID para evitar efectos colaterales
   ========================================================== */
/* Section background and layout */
#yacht-rental-demo.ocean-demo,
#hotel-web-demo.ocean-demo,
#inmobiliaria-demo.ocean-demo,
#demos-tabs.ocean-demo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(at 10% 5%, rgba(13, 104, 124, 0.08), transparent 60%),
    radial-gradient(at 85% 10%, rgba(255, 204, 137, 0.15), transparent 55%),
    var(--bg-pastel, #FDFCF1);
}
/* Variante de fondo para Inmobiliaria: tono propio para diferenciarse */
#inmobiliaria-demo.ocean-demo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(at 8% 12%, rgba(13, 104, 124, 0.06), transparent 60%),
    radial-gradient(at 92% 8%, rgba(120, 200, 160, 0.12), transparent 55%),
    var(--bg-pastel, #F7FBF6);
}
#inmobiliaria-demo { --bg-pastel: #F7FBF6; }
#yacht-rental-demo .container,
#hotel-web-demo .container,
#inmobiliaria-demo .container,
#demos-tabs .container { position: relative; z-index: 1; }

/* Suavizado bajo la onda superior en Yates para que no se perciba contraste oscuro */
#yacht-rental-demo.ocean-demo::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px; /* coincide con la altura del SVG */
  background: linear-gradient(to bottom,
    var(--bg-pastel, #FDFCF1) 0%,
    rgba(253, 252, 241, 0.98) 60%,
    rgba(253, 252, 241, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Badge chip above title */
#yacht-rental-demo .demo-badge,
#hotel-web-demo .demo-badge,
#inmobiliaria-demo .demo-badge,
#demos-tabs .demo-badge {
  display: inline-block;
  background: #fff;
  color: var(--turquesa, #0D687C);
  border: 1px solid rgba(13, 104, 124, 0.15);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 10px 25px rgba(13, 104, 124, 0.08);
}

/* Feature chips grid */
#yacht-rental-demo .feature-grid,
#hotel-web-demo .feature-grid,
#inmobiliaria-demo .feature-grid,
#demos-tabs .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}
@media (max-width: 575.98px) {
  #yacht-rental-demo .feature-grid,
  #hotel-web-demo .feature-grid,
  #inmobiliaria-demo .feature-grid,
  #demos-tabs .feature-grid { grid-template-columns: 1fr; }
}

#yacht-rental-demo .feature-chip,
#hotel-web-demo .feature-chip,
#inmobiliaria-demo .feature-chip,
#demos-tabs .feature-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
#yacht-rental-demo .feature-icon-circle,
#hotel-web-demo .feature-icon-circle,
#inmobiliaria-demo .feature-icon-circle,
#demos-tabs .feature-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 104, 124, 0.15), rgba(57, 229, 237, 0.12));
  color: #0D687C;
}

/* Buttons */
#yacht-rental-demo .btn-gradient,
#hotel-web-demo .btn-gradient,
#inmobiliaria-demo .btn-gradient,
#demos-tabs .btn-gradient {
  background: linear-gradient(135deg, var(--turquesa, #0D687C), var(--neon-secondary, #088187));
  color: #fff;
  border: none;
  box-shadow: 0 8px 22px rgba(13, 104, 124, 0.25);
}
#yacht-rental-demo .btn-gradient:hover,
#hotel-web-demo .btn-gradient:hover,
#inmobiliaria-demo .btn-gradient:hover,
#demos-tabs .btn-gradient:hover { 
  color: #fff; 
  filter: brightness(1.03); 
  transform: translateY(-2px);
}

#yacht-rental-demo .btn-outline-petrol,
#hotel-web-demo .btn-outline-petrol,
#inmobiliaria-demo .btn-outline-petrol,
#demos-tabs .btn-outline-petrol {
  color: #0D687C;
  border: 1px solid rgba(13, 104, 124, 0.45);
  background: transparent;
}
#yacht-rental-demo .btn-outline-petrol:hover,
#hotel-web-demo .btn-outline-petrol:hover,
#inmobiliaria-demo .btn-outline-petrol:hover,
#demos-tabs .btn-outline-petrol:hover { 
  color: #fff; 
  background-color: #0D687C; 
  border-color: #0D687C; 
}

/* Image card with glow and shine */
#yacht-rental-demo .glow-card,
#hotel-web-demo .glow-card,
#inmobiliaria-demo .glow-card,
#demos-tabs .glow-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(0,0,0,0.12);
  border: 1px solid rgba(13, 104, 124, 0.12);
  transition: all 0.35s ease;
}
#yacht-rental-demo .glow-card:hover,
#hotel-web-demo .glow-card:hover,
#inmobiliaria-demo .glow-card:hover,
#demos-tabs .glow-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.18);
}
#yacht-rental-demo .glow-card .shine,
#hotel-web-demo .glow-card .shine,
#inmobiliaria-demo .glow-card .shine,
#demos-tabs .glow-card .shine {
  position: absolute;
  top: -120%;
  left: -120%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), rgba(255,255,255,0) 35%);
  transform: rotate(15deg);
  animation: shineSweep 6s linear infinite;
}
@keyframes shineSweep {
  0%   { transform: translateX(-20%) translateY(-30%) rotate(15deg); }
  50%  { transform: translateX(20%)  translateY(0)    rotate(15deg); }
  100% { transform: translateX(60%)  translateY(30%)  rotate(15deg); }
}

/* Floating badges over image */
#yacht-rental-demo .floating-badge,
#hotel-web-demo .floating-badge,
#inmobiliaria-demo .floating-badge,
#demos-tabs .floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.9);
  color: #0D687C;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(13, 104, 124, 0.15);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 8px 20px rgba(13, 104, 124, 0.15);
}
#yacht-rental-demo .floating-badge.badge-1,
#hotel-web-demo .floating-badge.badge-1,
#inmobiliaria-demo .floating-badge.badge-1,
#demos-tabs .floating-badge.badge-1 { top: 12px; left: 12px; }
#yacht-rental-demo .floating-badge.badge-2,
#hotel-web-demo .floating-badge.badge-2,
#inmobiliaria-demo .floating-badge.badge-2,
#demos-tabs .floating-badge.badge-2 { bottom: 12px; right: 12px; }

/* Decorative wave at the bottom */
#yacht-rental-demo .ocean-wave, 
#hotel-web-demo .ocean-wave, 
#inmobiliaria-demo .ocean-wave { 
  position: absolute; 
  left: 0; right: 0; bottom: -1px; 
  width: 100%; line-height: 0; 
  pointer-events: none;
  z-index: 2;
}
#yacht-rental-demo .ocean-wave svg,
#hotel-web-demo .ocean-wave svg {
  display: block; 
  width: 100%; 
  height: 64px; /* +visibilidad */
  filter: drop-shadow(0 -2px 8px rgba(13, 104, 124, 0.12));
}
/* Contraste de la onda (ajustable con --ocean-wave-fill) */
#yacht-rental-demo .ocean-wave path,
#hotel-web-demo .ocean-wave path {
  fill: var(--ocean-wave-fill, #FBF8EB);
}

/* Estilos responsivos */

/* Decorative images for mobile on index page */
.mobile-only-image {
  display: none; /* Hidden by default on desktop */
  height: 100px; /* Low height as requested */
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mobile-only-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title-mobile {
  display: none;
}



@media (min-width: 1600px) {
  .slider-content-wrapper #slider-slogan,
  .slider-content-wrapper #slider-slogan .caja_caption_central {
    max-width: 950px;
  }
  .slider-form-card {
    max-width: 530px;
  }
}

@media (max-width: 1550px) {
.slider-caption {
	top: -6vh;
	left: 10vw;
	z-index: 5;
	max-width: 75%;
}
}

/* Media query responsive  movil*/

@media (max-width: 1399px) {
  #slider-slogan h2.hero-heading {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  #header:not(.sticky-header) #logo img {
    height: 95px; /* Tamaño más grande para el header normal */
  }
  
  #slider-slogan p.lead {
    font-size: 1.1rem;
    max-width: 80%;
  }
  
  #slider-slogan {
    padding-top: 10%;
    left: 5%;
    max-width: 100%;
    width: 80%;
  }

  
.slider-content-wrapper .container .col-auto,
.slider-content-wrapper .container .col-auto .slider-form-container {
  width: 100%;
}

.slider-content-wrapper .container .col-auto .slider-form-container .slider-form-card{
  max-width: 100%;
  width: 80%;
  padding: 5px;
  min-height: auto;
    margin-top: -18%;
}

.slider-form-title {
	margin-bottom: 4px;
}

.slider-input {
	padding: 0.25rem;
}

}




/* Ampliación progresiva de anchos en pantallas grandes */
@media (min-width: 1400px) {
  .slider-content-wrapper .row {
    flex-wrap: nowrap;
  }
  .slider-content-wrapper #slider-slogan,
  .slider-content-wrapper #slider-slogan .caja_caption_central {
    max-width: 900px;
  }
  .slider-form-card {
    max-width: 500px;
  }
}




/* Ajuste de centrado vertical entre 992px y 1299px: acercar texto y formulario */
@media (max-width: 1299.98px) and (min-width: 992px) {
  .slider-content-wrapper .row { align-items: center; }
  .slider-content-wrapper #slider-slogan { margin-top: 5vh !important; }
  .slider-content-wrapper .slider-form-card { margin-top: -10vh; }
}



@media (max-width: 1200px) {
  .primary-menu .sub-menu-container {
    position: absolute;
    width: 100%;
    box-shadow: none;
    border: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    /*display: none;*/
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(230,230,230,0.5);
  }

  
  
  #header:not(.sticky-header) #logo img {
    height: 70px; /* Tamaño más grande para el header normal */
  }
  .primary-menu .menu-item.menu-item-has-children.sub-menu-open > .sub-menu-container {
    display: block;
  }
  
  .primary-menu .menu-item.menu-item-has-children > .menu-link div:after {
    float: right;
  }
  
  .primary-menu .sub-menu-container .menu-item-has-children > .sub-menu-container {
    left: 0;
    margin-left: 15px;
  }

  
  #servicios-destacados {
    margin-top: 0;
    z-index: 10;
  }

  #servicios-destacados p {
    font-size: 0.8rem;
  }

  #servicios-destacados h4 {
    font-size: 1rem;
  }


  .slider-form-card {
    padding: 1.5rem;
    max-width: 350px;
    min-height: 380px;
  }
  
  .slider-form-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

   
  .slider-input {
    padding: 0.75rem;
    background: #f0e7c6;
    box-shadow: 0px 0px 7px 0px #4a490a4d inset;  
  }
  
  .form-check-slider .form-check-label {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }

}


/* Desktop: integrado en el slider, usar fondo translúcido original */
@media (min-width: 1200px) {
  .slider-social-icons .social-icon {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
  .slider-social-icons .social-icon:hover {
    background: rgba(255, 255, 255, 0.35);
  }
}



@media (max-height: 1100px) {
  .slider-caption {
   top: -5vh;
   max-width: 80%;
   left: 9vw;
   }  

   .slider-caption h2, .slider-caption .h2 {
    font-size: 40px;
  }

}

@media (max-width: 1000px) {
  #slider-slogan {
    padding-top: 4%;
    width: 80%;
    max-width: 100%;
    left: 5%;
    margin: 0 auto;
  }

  .primary-menu .sub-menu-container {
    position: relative;

  }

  .menu-item .sub-menu-trigger {    
    width: 150px;
    background: var(--bg-pastel);
    border-radius: 4px;
    box-shadow: 0 3px 10px 0 #00000012;
    margin-right: 12px;
  }

  .menu-item .sub-menu-trigger:hover {    
    background: var(--bg-pastel);
    box-shadow: none;
  }

  .backdrop-header {
    background: transparent !important;
    
  }
 
  .central-image-container {
    margin-top: 0;
    
  }
  .central-image-taller {
    height: auto;
  }

  .logo_tresde_black {
    margin: 0 auto;
    text-align: center;
    width: 90%
  }

  .logo_tresde {
    width: 60%;
  }

}
 
 

@media (max-width: 991.98px) {
  .dark-section {
    min-height: auto;
    padding: 4rem 0;
  }

  .menu-item .fa-chevron-down {   
    display: none;
  }
  
  .menu-icon {
    margin-right: 10px;
    font-size: 1.1em;
}  #logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  #header:not(.sticky-header) #logo img {
    height: 75px; /* Logo más grande en móvil */
  }
  
  #header .header-row {
    justify-content: center;
    position: relative;
  }
  
  /* Posicionamiento consistente para el botón del menú */
  .primary-menu-trigger {
    position: fixed;
    right: 15px;
    top: 32px;
    z-index: 400;
    transition: all 0.3s ease;
  }
  
  /* Asegura que la posición sea exactamente la misma cuando está activo */
  .primary-menu-trigger.primary-menu-trigger-active {
    /* Mismas propiedades para evitar saltos */
    position: fixed;
    right: 15px;
    top: 32px;
  }
  
  /* Animación más suave para el menú móvil (apertura y cierre) */
  body:not(.side-header) #header .primary-menu > ul.menu-container {
    height: auto !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease !important;
    opacity: 0;
    display: block !important;
  }
  
  body:not(.side-header) #header .primary-menu > ul.menu-container.d-block {
    max-height: 500px;
    opacity: 1;
  }
  
  /* Mejora para el menú móvil */
  .primary-menu {
    transition: all 0.4s ease-in-out;
  }
  
  .primary-menu-active {
    transition: all 0.4s ease-in-out;
  }

  
  #servicios-avanzados .col-lg-3 {
    margin-bottom: 2rem;
  }
  
  .neon-frame {
    margin-bottom: 2rem;
  }
  
  /* Ajustes para slider en tablets */
  #slider-slogan {
    padding-top: 0%;
    left: 5%;
    max-width: 100%;
    width: 90%;
  }
  
  #slider-slogan h2.hero-heading {
    font-size: 2.2rem;
  }


}



@media (max-height: 800px) {
  .slider-caption {
   top: 0vh;
   max-width: 80%;
   }  
 
  .slider-caption h2, .slider-caption .h2 {
     font-size: 35px;
   }
   .slider-caption p {
     font-size: 1rem;
   }
 }
 
 
/* Ajustes para slider en móviles */
@media (max-width: 768px) {

  .card-body {
  text-align: justify !important;
  }

  .card-body .btn {
    width: 100%;
    }

.slider-caption h1.hero-heading {
  font-size: 1.5rem;
}

  .feature-box {
    margin-bottom: 1.5rem;
  }

  .feature-box-large {
    display: flex;
    margin-bottom: 1%;
    align-content: end;
    align-items: center;
    flex-direction: column;
    padding: 10% 0px;
    text-align: justify;
    position: relative; /* Para que el icono se posicione sobre la imagen */
  }

  .feature-box-large .feature-icon-large {
    margin-bottom: -6rem; /* Sube el icono para que se monte sobre la imagen */
    transform: scale(1.5);
    z-index: 2; /* Asegura que el icono esté por encima */
    color: rgba(255, 255, 255, 0.836); /* Cambia el color a blanco */
    text-shadow: 0 2px 5px rgba(0,0,0,0.5); /* Sombra para legibilidad */
  }

  .intro-text {
    text-align: justify;
  }

  .contenido_primera_seccion {
    padding: 10% 5% !important;
  }
.text-sm-wrap {
  white-space: nowrap !important;
}
  #gotoTop {
    z-index: 599;
    opacity: 0.7;
    bottom: 90px !important;
    right: 15px !important;
  }
  #gotoTop:hover {
    opacity: 1;
  }

  
  .benefits-bar {
    padding: 1.5rem;
  }
  
  .benefit-item {
    margin-bottom: 1.5rem;
  }
  
  .benefit-item:last-child {
    margin-bottom: 0;
  }

  .admin-access-icon {
    top: 15% !important;
  }

  .hero-buttons .button {
    white-space: normal !important;
    padding: 10px 15px !important;
    text-align: center;
    width: 100%;
    max-width: 280px;
    margin-bottom: 10px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .ms-2 {
    margin-left: 0 !important;
    margin-top: 10px;
  }

    
  #slider-slogan {
    padding-top: 4rem;
  }
  
  #slider-slogan h2.hero-heading {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  #slider-slogan p.lead {
    font-size: 1rem;
    max-width: 90%;
  }
  
  #slider-slogan .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }
  
  #slider-slogan .button, 
  #slider-slogan .neumorph-btn {
    margin-bottom: 1rem;
    width: 100%;
    justify-content: center;
  }

  .title-mobile {
    display: block;
  }

  .title-pc {
    display: none;
  }

  .mobile-only-image {
    display: block; /* Visible en móvil */
    margin: 1.5rem 0; /* Eliminamos el centrado horizontal que no es necesario */
    width: 100%; /* Hacemos que la imagen ocupe todo el ancho */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .mobile-only-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 150px; /* Poca altura */
    transition: transform 0.3s ease; /* Transición suave para el zoom */
  }

  .feature-box-large:hover > .mobile-only-image img {
    transform: scale(1.1); /* Efecto de zoom al pasar el ratón */
  }

  .feature-box-large:hover .feature-icon-large {
    transform: translateY(-3px);
    color: var(--neon-primary);
  }

  .titulo_subtitulo .mobile-only-image {
    box-shadow: 0 5px 16px 0 rgba(51, 51, 51, 0.34);
  }

  .titulo_subtitulo .mobile-only-image:hover img {
    transform: scale(1.1);
  }

/*
  .slider-content-wrapper .row {
    flex-direction: column;
  }
  */
  
  .slider-content-wrapper .col-lg-7,
  .slider-content-wrapper .col-lg-5 {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  
  .slider-content-wrapper .col-lg-7 {
    height: 60%;
    padding: 2rem 1rem 1rem;
  }
  
  .slider-content-wrapper .col-lg-5 {
    height: 40%;
    padding: 0 1rem 2rem;
  }
  
  .slider-form-card {
    padding: 1.2rem;
    max-width: 100%;
    min-height: auto;
  }
  
  .slider-form-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .slider-input {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  
  .btn-slider-submit {
    padding: 0.6rem 1rem;
  }
}


@media (max-width: 480px) {
  #header:not(.sticky-header) #logo img {
    height: 70px; /* Tamaño para móviles pequeños */
  }
  
  /* Ajuste para el botón en móviles pequeños (tanto abierto como cerrado) */
  .primary-menu-trigger,
  .primary-menu-trigger.primary-menu-trigger-active {
    top: 25px;
  }

.counters>div{
  margin-bottom: 1rem;
}

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

.philosophy-text {
	text-align: justify;
}

.slider-caption {
  position: absolute;
  top: -13vh;
  left: 6vw;
  max-width: 88%;
}

.no-box-shadow {
  box-shadow: none;
}
  
  /* Ajustes adicionales para teléfonos pequeños */
 #slider-slogan h2.hero-heading {
    font-size: 1.5rem;
  }
  
 #slider-slogan p.lead {
    font-size: 0.9rem;
  }

  #slider-slogan .button, 
  #slider-slogan .neumorph-btn {
    margin-bottom: 1rem;
    width: 100%;
    justify-content: center;
    display: inherit;
  }
  
  .slider-content-wrapper .col-lg-7 {
    height: 65%;
  }
  
  .slider-content-wrapper .col-lg-5 {
    height: 35%;
  }
  
  .slider-form-card {
    padding: 1rem;
  }
  
  .slider-form .form-group {
    margin-bottom: 0.8rem;
  }
}

/* Reglas para reubicación del formulario del slider en <1400px */
@media (max-width: 1399.98px) {
  #slider-form-col { display: none !important; }
  #slider-form-mobile-anchor .slider-form-container {
    width: 100% !important;
    max-width: 100% !important;
  }
  #slider-form-mobile-anchor .slider-form-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Estilos del formulario anclado entre 1200px y 1399.98px
   (mismos estilos que <1200px, pero aplicados solo cuando el formulario
    ya está en #slider-form-mobile-anchor para no afectar al diseño desktop) */
@media (max-width: 1399.98px) and (min-width: 1200px) {
  #slider-form-mobile-anchor .slider-form-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  #servicios-destacados {
    margin-top: 1%;
    z-index: 10;
  }

  #slider-form-mobile-anchor .slider-form-card {
    padding: 1.5rem;
    max-width: 350px;
    min-height: 380px;
  }

  #slider-form-mobile-anchor .slider-form-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  #slider-form-mobile-anchor .slider-input {
    padding: 0.75rem;
    background: #f0e7c6;
    box-shadow: 0px 0px 7px 0px #4a490a4d inset;
  }

  #slider-form-mobile-anchor .form-check-slider .form-check-label {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }
}



/* ===== Home: Últimos artículos ===== */
.home-blog .row.align-items-end { align-items: flex-end !important; }
.home-blog-grid { row-gap: 1.5rem; }

.home-blog-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(230,230,230,0.55);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(31,38,135,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.home-blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(31,38,135,0.14); }

.home-blog-media { display: block; position: relative; aspect-ratio: 16/9; background: #f6f6f8; }
.home-blog-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-blog-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #8aa; font-size: 2rem; }

.home-blog-body { padding: 1rem 1rem 1.1rem; }
.home-blog-title { font-size: 1.1rem; margin: 0 0 .35rem; }
.home-blog-title a { color: inherit; text-decoration: none; }
.home-blog-title a:hover { text-decoration: underline; }
.home-blog-excerpt { color: #555; font-size: .95rem; margin: 0 0 .6rem; min-height: 2.6em; overflow: hidden; }
.home-blog-meta { display: flex; flex-wrap: wrap; gap: .6rem .9rem; color: #6b7a86; font-size: .9rem; }
.home-blog-meta i { margin-right: .35rem; color: #4d6c76; }

@media (max-width: 575.98px) {
  .home-blog-title { font-size: 1rem; }
  .home-blog-excerpt { font-size: .92rem; }
}

/* Teaser superior que anuncia el blog */
.home-blog-teaser { padding: .5rem 0 0; }
.blog-teaser-card {
  background: linear-gradient(135deg, #eef6fa, #f7fbff);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 14px;
  padding: .75rem 1rem;
  box-shadow: 0 6px 22px rgba(31,38,135,0.10);
}
.blog-teaser-card .teaser-icon {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #79c2d8, #4da0b0);
  color: #fff;
}
.blog-teaser-card .teaser-text { font-weight: 600; color: #2a4b55; }

/* Badges de features sobre el título */
.feature-badge { background: #e7f3f7; color: #2b5964; border: 1px solid rgba(43,89,100,.15); padding: .25rem .6rem; border-radius: 999px; font-size: .85rem; }
.feature-badge i { margin-right: .25rem; }

/* Spacing for badges near titles */
.home-blog .feature-badges { margin-bottom: 1rem !important; }
.blog-hero .feature-badges { margin-bottom: 1rem !important; }
.home-blog h2.display-4, .blog-hero .blog-hero-title { margin-top: 0 !important; display: block;}
.home-blog-subtitle { color: #2b5964; font-weight: 600; opacity: .9; }

/* Forzar fondo pastel en páginas del blog */
.blog-body, .blog-hero, .blog-list { background: var(--bg-pastel) !important; }

/* Igualar CTA "Ver todos" al estilo glass de la home */
.home-blog .button.glass {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  color: #2a4b55;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  padding: .6rem 1.2rem;
}
.home-blog .button.glass:hover { transform: translateY(-2px); }

/* Teaser link-badge emphasis */
  .home-blog-teaser .feature-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .35rem .7rem; cursor: pointer; box-shadow: 0 2px 8px rgba(31,38,135,0.08); }
  .home-blog-teaser .feature-badge:hover { background: #dff3f8; }
  .home-blog-teaser .feature-badge .fa-arrow-down { font-size: .95rem; }
 
.reseñas_google {
  padding: 0.75rem 0 0;
}

.reviews-google-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  padding: 1.15rem 1.5rem 1.4rem;
  max-width: 1400px;
  margin: 0 auto 0.25rem;
}

.reviews-google-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
}

.reviews-google-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4285F4, #34A853);
  color: #ffffff;
  font-size: 1.3rem;
}

.reviews-google-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7a86;
  margin-bottom: 0.1rem;
}

.reviews-google-title {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 600;
  color: #1f2933;
}

.reviews-google-rating {
  font-size: 0.9rem;
}

.reviews-google-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(249, 250, 251, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #1f2933;
  white-space: nowrap;
}

.reviews-google-chip i {
  color: #ffc107;
}

.reviews-google-widget {
  margin-top: 0.6rem;
}

@media (min-width: 768px) {
  .reviews-google-header {
    flex-direction: row;
    align-items: center;
  }
}


/* ============================================
   SEO LOCAL - Páginas Hiper-Locales
   ============================================ */

/* Áreas de Servicio - Grid */
.areas-grid .area-card {
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s ease;
}

.areas-grid .area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: rgb(217, 60, 75);
}

.areas-grid .area-card h3 {
    color: rgb(217, 60, 75);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.areas-grid .area-card .icon-box {
    margin-bottom: 1rem;
}

/* Páginas Locales - Hero */
.page-title.parallax {
    position: relative;
    background-attachment: fixed;
}

/* Cards de casos de éxito */
.card.shadow-sm {
    transition: all 0.3s ease;
}

.card.shadow-sm:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
}

/* Badges en páginas locales */
.badge.bg-primary {
    background-color: rgb(217, 60, 75) !important;
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
}

.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
}

/* Footer áreas de servicio */
.footer-areas-title {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-align: center;
}

.footer-area-badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
}

.footer-area-badge:hover {
    transform: translateY(-2px);
    opacity: 1;
    background-color: #0D687C !important;
}

/* Responsive ajustes */
@media (max-width: 767px) {
    .areas-grid .area-card {
        padding: 2rem;
    }
    
    .page-title h1 {
        font-size: 2rem !important;
    }
}

