@charset "UTF-8";
/* =========================================================
   HOME 2026 — CANACO CDMX
   style.css + responsive.css unidos y aislados con .home-2026
   (la clase la agrega al <body> el snippet de Code Snippets,
   solo en la página home-2026).
   ========================================================= */

/* ---------- Base de protección ----------
   La maqueta deja que títulos y enlaces usen los valores del navegador.
   En WordPress, el tema y los Estilos globales de Elementor sí los cambian,
   así que aquí se fijan para que el home se vea igual que la maqueta.
   Va antes del resto: las reglas de la maqueta siguen mandando. */
body.home-2026 :is(h1,h2,h3,h4,h5,h6) {
	color: inherit;
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	line-height: normal;
}
body.home-2026 a {
	color: #0000ee;   /* azul de enlace por defecto, como en la maqueta */
}
body.home-2026 button {
	font-family: Arial, Helvetica, sans-serif;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
}

/* ---------- style.css ---------- */
/* =========================================================
   VARIABLES: header y placa del logo
   ========================================================= */
body.home-2026 {
	--header-h: 100px;      /* alto de la barra blanca */
	--placa-extra: 26px;    /* cuánto sobresale la placa por debajo */
	--placa-radio: 16px;    /* redondeo de las esquinas inferiores */
	--placa-curva: 10px;    /* tamaño de la curva cóncava de unión */
}

body.home-2026 * {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.home-2026 {
	margin: 0;
	color: #071633;
	background: #fff;
	font-family: Arial,Helvetica,sans-serif;
}

body.home-2026 .wrap {
	width: min(1370px,92%);
	margin: auto;
}

body.home-2026 h1,body.home-2026 h2,body.home-2026 h3 {
	margin-top: 0;
}

body.home-2026 h2 {
	font-family: Georgia,serif;
	text-align: center;
	font-size: 34px;
	margin-bottom: 8px;
}

body.home-2026 .lead {
	text-align: center;
	margin: 0 0 28px;
	color: #1e293b;
}

/* =========================================================
   HEADER + PLACA DEL LOGO
   ========================================================= */
body.home-2026 .header {
	height: var(--header-h);
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 50;
	/* Sombra que sigue la silueta completa: barra + placa + curvas */
	filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .12));
}

body.home-2026 .nav {
	height: 100%;
	display: flex;
	align-items: center;
	position: relative;
}

/* La placa: más alta que el header, por eso sobresale */
body.home-2026 .brand {
	position: relative;
	align-self: flex-start;
	flex-shrink: 0;
	width: 290px;
	height: calc(var(--header-h) + var(--placa-extra));
	background: #fff;
	border-radius: 0 0 var(--placa-radio) var(--placa-radio);
	display: grid;
	place-items: center;
	padding-top: 6px;
}

body.home-2026 .brand img {
	width: 160px;
	height: auto;
}

/* Las dos curvas cóncavas de unión con el header */
body.home-2026 .brand::before,
body.home-2026 .brand::after {
	content: "";
	position: absolute;
	top: var(--header-h);
	width: var(--placa-curva);
	height: var(--placa-curva);
	pointer-events: none;
}

body.home-2026 .brand::before {
	left: calc(var(--placa-curva) * -1);
	background: radial-gradient(circle at 0 100%,
		transparent calc(var(--placa-curva) - .5px), #fff var(--placa-curva));
}

body.home-2026 .brand::after {
	right: calc(var(--placa-curva) * -1);
	background: radial-gradient(circle at 100% 100%,
		transparent calc(var(--placa-curva) - .5px), #fff var(--placa-curva));
}
/* ===================== FIN PLACA ===================== */

body.home-2026 .menu {
	display: flex;
	align-items: center;
	gap: 34px;
	margin-left: auto;
	font-weight: 700;
	font-size: 14px;
}

body.home-2026 .menu a {
	color: #111;
	text-decoration: none;
}

body.home-2026 .menu span {
	margin-left: 5px;
}

body.home-2026 .menu .arrow {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

body.home-2026 .menu-item {
	position: relative;
}

body.home-2026 .has-submenu > a {
	display: flex;
	align-items: center;
	gap: 5px;
}

body.home-2026 .submenu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 100;
	-webkit-border-radius: 0px 0px 8px 8px;
-moz-border-radius: 0px 0px 8px 8px;
border-radius: 0px 0px 8px 8px;
}

body.home-2026 .has-submenu:hover .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

body.home-2026 .megamenu {
	width: 900px;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	padding: 30px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

body.home-2026 .has-submenu:hover .megamenu {
	transform: translateX(-50%) translateY(0);
}

body.home-2026 .submenu-section h3 {
	font-size: 14px;
	color: #c78a37;
	margin-bottom: 8px;
	font-weight: 700;
}

body.home-2026 .submenu-section h3.main-title {
	color: #071633;
}

body.home-2026 .submenu-section p {
	font-size: 12px;
	color: #666;
	margin-bottom: 20px;
	line-height: 1.5;
}

body.home-2026 .submenu-section h4 {
	font-size: 13px;
	color: #c78a37;
	margin-bottom: 12px;
	font-weight: 700;
}

body.home-2026 .submenu-section h4.aligned-title {
	margin-top: 85px;
}

body.home-2026 .submenu-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

body.home-2026 .submenu-section li {
	margin-bottom: 2px;
}

body.home-2026 .submenu-section a {
	display: block;
	padding: 7px 10px;
	margin: 0 -10px; /* el texto queda alineado con los títulos */
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	font-size: 13px;
	transition: all 0.2s ease;
}

body.home-2026 .submenu-section a:hover {
	background: #f5f0e8;
	color: #c78a37;
}

body.home-2026 .dropdown {
	width: 220px;
	padding: 15px 0;
}

body.home-2026 .dropdown ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

body.home-2026 .dropdown li {
	margin: 0;
}

body.home-2026 .dropdown a {
	display: block;
	padding: 10px 20px;
	color: #333;
	text-decoration: none;
	font-size: 13px;
	transition: all 0.2s ease;
}

body.home-2026 .dropdown a:hover {
	background: #f5f0e8;
	color: #c78a37;
}

body.home-2026 .join {
	background: #c78a37!important;
	color: #fff!important;
	padding: 17px 22px;
	border-radius: 5px;
	box-shadow: 0 5px 12px #a56d2740;
}

body.home-2026 .search-mobile {
	display: none; /* solo se muestra en móvil, junto al botón del menú */
}

body.home-2026 .search {
	font-size: 18px;
	background: none;
	border: 0;
	cursor: pointer;
}

/* =========================================================
   MODAL DE BÚSQUEDA
   ========================================================= */
body.home-2026 .search-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2000;
	display: none;
}

body.home-2026 .search-modal.active {
	display: block;
}

body.home-2026 .search-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(200, 200, 200, 0.85);
	backdrop-filter: blur(5px);
}

body.home-2026 .search-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 40px;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	max-width: 600px;
	width: 90%;
	text-align: center;
}

body.home-2026 .search-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 32px;
	cursor: pointer;
	color: #666;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.2s;
}

body.home-2026 .search-modal-close:hover {
	background: #f0f0f0;
	color: #333;
}

body.home-2026 .search-modal-content h2 {
	margin: 0 0 10px;
	font-size: 28px;
	color: #061a42;
}

body.home-2026 .search-modal-content p {
	margin: 0 0 25px;
	color: #666;
	font-size: 16px;
	line-height: 1.5;
}

body.home-2026 .search-modal-inputs {
	display: flex;
	gap: 12px;
}

body.home-2026 .search-modal-inputs input {
	flex: 1;
	padding: 16px 20px;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	outline: none;
	transition: border-color 0.2s;
}

body.home-2026 .search-modal-inputs input:focus {
	border-color: #061a42;
}

body.home-2026 .search-modal-inputs button {
	padding: 16px 32px;
	background: #061a42;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

body.home-2026 .search-modal-inputs button:hover {
	background: #0a2866;
}

body.home-2026 .hamb {
	display: none;
}

/* =========================================================
   HERO / SLIDER
   ========================================================= */
body.home-2026 .hero {
	position: relative;
	height: 590px;
	overflow: hidden;
	background: #fdf3ea;
}

/* Todas las slides ocupan la misma celda del grid (apiladas) */
body.home-2026 .hero-slides {
	display: grid;
	height: 100%;
}

body.home-2026 .slide {
	grid-area: 1 / 1;
	position: relative;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity .9s ease, visibility 0s linear .9s;
}

body.home-2026 .slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .9s ease, visibility 0s;
}

/* Imagen de fondo de cada slide */
body.home-2026 .slide-media {
	position: absolute;
	inset: 0;
	display: block;
}

body.home-2026 .slide-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

/* Degradado sobre la imagen para que el texto se lea */
body.home-2026 .slide::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

body.home-2026 .slide--claro::before {
	background: linear-gradient(90deg, #fff 0%, #fff 25%, rgba(255,255,255,.85) 38%, rgba(255,255,255,0) 62%);
}

body.home-2026 .slide--oscuro::before {
	background: linear-gradient(90deg, rgba(2,24,56,.7) 0%, rgba(2,24,56,.3) 30%, rgba(2,24,56,0) 50%);
}

/* Colores de cada tema */
body.home-2026 .slide--claro {
	--acento-slide: #c58a39;
	color: #071633;
}

body.home-2026 .slide--oscuro {
	--acento-slide: #3fd0b0;
	color: #fff;
}

body.home-2026 .slide--oscuro .hero-copy p {
	color: #e3ebf5;
}

/* Texto */
body.home-2026 .hero-inner {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
	padding-top: var(--placa-extra);
}

body.home-2026 .hero-copy {
	width: 610px;
	margin-left: 28px;
	/* Animación de entrada del texto */
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s ease .3s, transform .7s ease .3s;
}

body.home-2026 .slide.is-active .hero-copy {
	opacity: 1;
	transform: none;
}

body.home-2026 .hero-title {
	font: 700 54px/1.08 Georgia, serif;
	letter-spacing: -1.7px;
	text-align: left;
	margin: 0 0 22px;
}

body.home-2026 .hero-title em {
	font-style: normal;
	color: var(--acento-slide);
}

body.home-2026 .hero-copy p {
	width: 430px;
	font-size: 18px;
	line-height: 1.5;
	margin: 0;
}

body.home-2026 .actions {
	display: flex;
	gap: 18px;
	margin-top: 30px;
}

body.home-2026 .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 13px;
	font-weight: 800;
	border-radius: 5px;
	padding: 15px 22px;
}

body.home-2026 .dark {
	background: #061a42;
	color: #fff;
}

body.home-2026 .outline {
	border: 2px solid #061a42;
	color: #061a42;
	background: #fff;
}

/* Botones del slide oscuro */
body.home-2026 .btn-teal {
	background: #1fae96;
	color: #fff;
	transition: background .2s;
}

body.home-2026 .btn-teal:hover {
	background: #18957f;
}

body.home-2026 .outline-light {
	border: 2px solid #fff;
	color: #fff;
	background: transparent;
	transition: background .2s;
}

body.home-2026 .outline-light:hover {
	background: rgba(255,255,255,.12);
}

/* Puntos del carrusel */
body.home-2026 .dots {
	position: absolute;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 9px;
}

body.home-2026 .dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 5px;
	border: 1px solid rgba(0,0,0,.25);
	background: #fff;
	cursor: pointer;
	transition: width .3s ease, background .3s ease;
}

body.home-2026 .dot[aria-current="true"] {
	width: 30px;
	background: #c58a39;
	border-color: #c58a39;
}

body.home-2026 .hero[data-tema="oscuro"] .dot {
	border-color: rgba(255,255,255,.5);
}

body.home-2026 .hero[data-tema="oscuro"] .dot[aria-current="true"] {
	background: #3fd0b0;
	border-color: #3fd0b0;
}

/* Sin animaciones para quien las tiene desactivadas en su sistema */
@media (prefers-reduced-motion: reduce) {
	body.home-2026 .slide,
	body.home-2026 .hero-copy {
		transition: none;
	}
}
/* ===================== FIN HERO ===================== */

body.home-2026 .metrics {
	height: 150px;
	margin-top: -18px;
	position: relative;
	z-index: 3;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 3px 18px #0002;
	display: grid;
	grid-template-columns: repeat(4,1fr);
	align-items: center;
}

body.home-2026 .metrics div {
	text-align: center;
	border-right: 1px solid #ddd;
}

body.home-2026 .metrics div:last-child {
	border: 0;
}

body.home-2026 .metrics b {
	display: block;
	font-size: 39px;
}

body.home-2026 .metrics span {
	display: block;
	margin-top: 12px;
	font-weight: 600;
}

body.home-2026 .services {
	padding: 35px 10px 25px;
}

body.home-2026 .service-grid {
	display: grid;
	grid-template-columns: repeat(6,1fr);
	margin: 35px 0 18px;
}

body.home-2026 .service-grid a {
	display: block;
	text-align: center;
	padding: 0 26px;
	border-right: 1px solid #ddd;
	text-decoration: none;
	color: inherit;
	min-height: 270px;
}

body.home-2026 .service-grid a:last-child {
	border: 0;
}

body.home-2026 .service-grid img {
	width: 76px;
	height: 73px;
	margin: 0 auto 16px;
	color: var(--c);
	filter: none;
}

body.home-2026 .service-grid h3 {
	font-size: 16px;
}

body.home-2026 .service-grid p {
	font-size: 14px;
	line-height: 1.7;
}

body.home-2026 .center {
	display: flex;
	width: max-content;
	margin: 10px auto;
}

body.home-2026 .green {
	background: #078344;
	color: #fff;
}

body.home-2026 .panel {
	border: 1px solid #eee;
	box-shadow: 0 3px 15px #0000000d;
	padding: 20px 20px 15px;
}

body.home-2026 .events h2 strong {
	color: #087fa2;
}

body.home-2026 .cards {
	display: grid;
	grid-template-columns: repeat(5,1fr);
	gap: 18px;
}

body.home-2026 .cards article {
	border: 1px solid #ddd;
	border-radius: 9px;
	overflow: hidden;
	text-align: center;
	min-height: 340px;
	background: #fff;
}

body.home-2026 .cards img {
	width: 100%;
	height: 165px;
	object-fit: cover;
}

body.home-2026 .cards h3 {
	font-size: 17px;
	line-height: 1.35;
	padding: 20px 12px;
}

body.home-2026 .discount {
	font-size: 30px;
	color: #078344;
}

body.home-2026 .discount small {
	display: block;
	font-size: 13px;
}

body.home-2026 .actualidad {
	padding: 35px 0;
}

body.home-2026 .news-grid {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 14px;
}

body.home-2026 .news-grid article {
	height: 190px;
	display: flex;
	border: 1px solid #ddd;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 3px 10px #0001;
}

body.home-2026 .news-grid article div {
	padding: 18px;
	width: 54%;
}

body.home-2026 .news-grid img {
	width: 46%;
	object-fit: cover;
}

body.home-2026 .news-grid h3 {
	font-size: 20px;
}

body.home-2026 .news-grid p {
	font-size: 13px;
	line-height: 1.45;
}

body.home-2026 .news-grid a {
	font-size: 11px;
	font-weight: 800;
}

body.home-2026 .spaces {
	padding: 20px 0 45px;
}

body.home-2026 .space-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

body.home-2026 .space {
	height: 280px;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
}

body.home-2026 .salon {
	background-image: linear-gradient(90deg,#fff 0%,#fff9 38%,transparent 72%),url('../img/espacios/salon-candiles.webp');
}

body.home-2026 .library {
	background-image: linear-gradient(90deg,#fff 0%,#fff8 45%,transparent 72%),url('../img/espacios/biblioteca.webp');
}

body.home-2026 .space div {
	padding: 35px;
	width: 55%;
}

body.home-2026 .space h3 {
	font-size: 25px;
}

body.home-2026 .space p {
	line-height: 1.5;
}

body.home-2026 .outline-dark {
	border: 1px solid #071633;
	color: #071633;
	background: #fff;
	padding: 11px 15px;
}

body.home-2026 .alliances {
	padding: 15px 0 65px;
}

body.home-2026 .wide-banner {
	width: 100%;
	height: 170px;
	object-fit: cover;
	border-radius: 8px;
}

body.home-2026 .banner-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr 1fr;
	gap: 15px;
	margin-top: 55px;
}

body.home-2026 .banner-grid img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 6px;
}

body.home-2026 .alliances-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-top: 15px;
}

body.home-2026 .alliance-column {
	width: 100%;
	height: 200px;
	background: #000;
	border-radius: 6px;
	overflow: hidden;
}

body.home-2026 .alliance-column img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.home-2026 .alliances-carousel {
	position: relative;
	margin-top: 55px;
	overflow: hidden;
}

body.home-2026 .alliances-slides {
	display: flex;
	gap: 15px;
	overflow-x: hidden;
	touch-action: pan-y; /* permite el scroll vertical de la página y el swipe horizontal lo maneja el JS */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
}

body.home-2026 .alliances-slides::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

body.home-2026 .alliances-slides a {
	flex: 0 0 calc(33.333% - 10px);
	display: block;
	text-decoration: none;
}

body.home-2026 .alliances-slides img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 6px;
	scroll-snap-align: start;
}

body.home-2026 .alliances-prev,
body.home-2026 .alliances-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: #061a42;
	color: #fff;
	border: none;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	z-index: 10;
	transition: background 0.2s;
}

body.home-2026 .alliances-prev {
	left: 8px;
}

body.home-2026 .alliances-next {
	right: 8px;
}

body.home-2026 .alliances-prev:hover,
body.home-2026 .alliances-next:hover {
	background: #0a2866;
}

body.home-2026 footer {
	background: #03183b;
	color: #fff;
	padding: 35px 0 15px;
}

body.home-2026 .foot {
	display: grid;
	grid-template-columns: 1.2fr repeat(5,1fr) 1.5fr;
	gap: 24px;
}

body.home-2026 .foot-brand img {
	width: 145px;
	filter: brightness(0) invert(1);
}

body.home-2026 footer h4 {
	font-size: 12px;
	margin-bottom: 10px;
}

body.home-2026 footer a {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	line-height: 1.7;
}

body.home-2026 .foot > div:not(.foot-brand):not(.newsletter) {
	display: flex;
	flex-direction: column;
}

body.home-2026 .foot-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.home-2026 .foot-toggle {
	cursor: default;
}

body.home-2026 .newsletter p {
	font-size: 12px;
	line-height: 1.5;
	margin-bottom: 15px;
}

body.home-2026 .newsletter-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

body.home-2026 .newsletter-whatsapp-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	width: 100%;
	padding: 12px 16px;
	background: #25D366;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	text-decoration: none;
}

body.home-2026 .newsletter-whatsapp-btn:hover {
	background: #20BA5A;
}

body.home-2026 .newsletter-whatsapp-btn:focus {
	outline: 2px solid #25D366;
	outline-offset: 2px;
}

body.home-2026 .newsletter-email-link {
	display: block;
	text-align: center;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	opacity: 0.8;
	transition: opacity 0.2s;
}

body.home-2026 .newsletter-email-link:hover {
	opacity: 1;
	text-decoration: underline;
}

body.home-2026 .newsletter-email-link:focus {
	outline: 1px dashed #fff;
	outline-offset: 2px;
}

body.home-2026 .newsletter-email-form {
	display: none;
	flex-direction: column;
	gap: 10px;
}

body.home-2026 .newsletter-email-form.active {
	display: flex;
}

body.home-2026 .newsletter-email-form input {
	width: 100%;
	padding: 12px;
	border: 0;
	border-radius: 6px;
	font-size: 13px;
	outline: none;
}

body.home-2026 .newsletter-email-form input:focus {
	box-shadow: 0 0 0 2px #0d7ea0;
}

body.home-2026 .newsletter-email-form button {
	padding: 12px 16px;
	background: #0d7ea0;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

body.home-2026 .newsletter-email-form button:hover {
	background: #0b6d8a;
}

body.home-2026 .newsletter-email-form button:focus {
	outline: 2px solid #0d7ea0;
	outline-offset: 2px;
}

body.home-2026 .newsletter-back-link {
	display: block;
	text-align: center;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	opacity: 0.8;
	transition: opacity 0.2s;
}

body.home-2026 .newsletter-back-link:hover {
	opacity: 1;
	text-decoration: underline;
}

body.home-2026 .newsletter-back-link:focus {
	outline: 1px dashed #fff;
	outline-offset: 2px;
}

body.home-2026 .social {
margin-top: 20px;
display: flex;
gap: 12px;
}

body.home-2026 .social a {
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: 50%;
border: 1px solid #ffffff59;
color: #fff;
transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.home-2026 .social a svg {
width: 16px;
height: 16px;
}

body.home-2026 .social a:hover {
background: #c78a37;
border-color: #c78a37;
}

body.home-2026 .legal {
border-top: 1px solid #ffffff40;
margin-top: 25px;
padding-top: 15px;
display: flex;
justify-content: space-between;
font-size: 11px;
}

/* Ejemplo de tarjeta con bordes redondeados y sombra elevada */
body.home-2026 .card-elevated {
background: #fff;
border-radius: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
padding: 24px;
}

/* Contenedor con fondo beige para el efecto de contraste */
body.home-2026 .container-beige {
background: #f5f0e8;
padding: 40px;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
body.home-2026 .backtop {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: #061a42;
	color: #fff;
	border: none;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
	z-index: 1000;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.home-2026 .backtop img {
	width: 58px;
	height: 58px;
	object-fit: contain;
}

body.home-2026 .backtop.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

body.home-2026 .backtop:hover {
	background: #0a2866;
	transform: translateY(-3px);
}

/* =========================================================
   CHATBOT FLOTANTE
   ========================================================= */
body.home-2026 .chatbot {
	position: fixed;
	bottom: 90px;
	right: 30px;
	z-index: 999;
}

body.home-2026 .chatbot-toggle {
	width: 50px;
	height: 50px;
	background: #061a42;
	color: #fff;
	border: none;
	border-radius: 50%;
	font-size: 28px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	position: relative;
}

body.home-2026 .chatbot-toggle img {
	width: 50px;
	height: 50px;
	object-fit: contain;
}

body.home-2026 .chatbot-tooltip {
	position: absolute;
    width: 255px;
    right: 60px;
    bottom: 30%;
    transform: translateY(-50%);
    background: #061a42;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    text-align: left;
    line-height: 1.4;
    max-width: 309px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgb(0 0 0 / 58%);
    z-index: 1000;
}

body.home-2026 .chatbot-tooltip::after {
	content: '';
	position: absolute;
	right: -8px;
	top: 50%;
	transform: translateY(-50%);
	border: 8px solid transparent;
	border-left-color: #061a42;
}

body.home-2026 .chatbot-toggle:hover .chatbot-tooltip {
	opacity: 1;
	visibility: visible;
	right: 70px;
}

body.home-2026 .chatbot-tooltip.tooltip-hidden {
	opacity: 0;
	visibility: hidden;
}

body.home-2026 .chatbot-toggle:hover {
	background: #0a2866;
	transform: scale(1.1);
}

body.home-2026 .chatbot-window {
	position: absolute;
	bottom: 70px;
	right: 0;
	width: 350px;
	height: 450px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 5px 25px rgba(0,0,0,0.2);
	display: none;
	flex-direction: column;
	overflow: hidden;
}

body.home-2026 .chatbot-window.open {
	display: flex;
}

body.home-2026 .chatbot-header {
	background: #061a42;
	color: #fff;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
}

body.home-2026 .chatbot-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.2s;
}

body.home-2026 .chatbot-close:hover {
	background: rgba(255,255,255,0.2);
}

body.home-2026 .chatbot-messages {
	flex: 1;
	padding: 15px;
	overflow-y: auto;
	background: #f5f5f5;
}

body.home-2026 .chatbot-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

body.home-2026 .option-btn {
	padding: 8px 14px;
	background: #fff;
	border: 1px solid #061a42;
	color: #061a42;
	border-radius: 20px;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s;
}

body.home-2026 .option-btn:hover {
	background: #061a42;
	color: #fff;
}

body.home-2026 .message {
	margin-bottom: 12px;
	max-width: 80%;
}

body.home-2026 .message.bot {
	align-self: flex-start;
}

body.home-2026 .message.user {
	align-self: flex-end;
	margin-left: auto;
}

body.home-2026 .message p {
	margin: 0;
	padding: 10px 14px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.4;
}

body.home-2026 .message.bot p {
	background: #061a42;
	color: #fff;
	border-bottom-left-radius: 2px;
}

body.home-2026 .action-link {
	display: inline-block;
	margin-top: 8px;
	padding: 8px 16px;
	background: #c78a37;
	color: #fff;
	text-decoration: none;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.2s;
}

body.home-2026 .action-link:hover {
	background: #b0762d;
}

body.home-2026 .message.user p {
	background: #c78a37;
	color: #fff;
	border-bottom-right-radius: 2px;
}

body.home-2026 .chatbot-input {
	padding: 15px;
	background: #fff;
	border-top: 1px solid #eee;
	display: flex;
	gap: 10px;
}

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

body.home-2026 .chatbot-input input:focus {
	border-color: #061a42;
}

body.home-2026 .chatbot-input button {
	padding: 10px 20px;
	background: #061a42;
	color: #fff;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.2s;
}

body.home-2026 .chatbot-input button:hover {
	background: #0a2866;
}

/* Carrusel de eventos: cinco carteles completos en escritorio. */
body.home-2026 .events-carousel {
  --events-visible: 5;
  --events-gap: 18px;
  position: relative;
  padding: 0 34px;
}

body.home-2026 .events-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

body.home-2026 .events-track {
  position: relative;
  display: flex;
  gap: var(--events-gap);
  align-items: stretch;
  will-change: transform;
}

body.home-2026 .event-card {
  position: relative;
  flex: 0 0 calc((100% - (var(--events-visible) - 1) * var(--events-gap)) / var(--events-visible));
  min-width: 0;
  padding-bottom: 94px;
  border: 1px solid #dce4e3;
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 22, 51, .09);
}

body.home-2026 .event-image-link {
  position: relative;
  display: block;
  aspect-ratio: 760 / 510;
  background: #f0f4f3;
}

body.home-2026 .event-image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.home-2026 .event-curtain {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 94px;
  padding: 12px 12px 14px;
  overflow: hidden;
  border-top: 2px solid #e2e9e7;
  background: #fff;
  transition: height .36s ease, background-color .36s ease;
}

body.home-2026 .event-card.is-open .event-curtain {
  height: min(195px, 100%);
  border-top-color: #078344;
  background: #fdfdfde6;
}

body.home-2026 .event-curtain h3 {
  margin: 0;
}

body.home-2026 .event-curtain-title {
  display: block;
  width: 100%;
  min-height: 66px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #071633;
  font: 700 15px/1.3 Arial, Helvetica, sans-serif;
  text-align: center;
  cursor: pointer;
}

body.home-2026 .event-curtain-title:focus-visible,
body.home-2026 .event-details a:focus-visible,
body.home-2026 .events-carousel > button:focus-visible,
body.home-2026 .events-dots button:focus-visible {
  outline: 3px solid #087fa2;
  outline-offset: 3px;
}

body.home-2026 .event-details {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s;
  border-top: 1px solid #dfe7e4;
  padding-top: 9px;
}

body.home-2026 .event-card.is-open .event-details {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: .14s;
}

body.home-2026 .event-details p {
  margin: 0 0 10px;
  color: #405268;
  font-size: 12px;
  line-height: 1.3;
}

body.home-2026 .event-details a {
  color: #078344;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

body.home-2026 .event-details a:hover { text-decoration: underline; }

body.home-2026 .events-carousel > button {
  position: absolute;
  z-index: 2;
  top: 38%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0 0 4px;
  border: 1px solid #cbd9d9;
  border-radius: 50%;
  background: #fff;
  color: #071633;
  font-size: 29px;
  cursor: pointer;
}

body.home-2026 .events-prev { left: -3px; }
body.home-2026 .events-next { right: -3px; }
body.home-2026 .events-carousel > button:hover { background: #f0f6f4; }

body.home-2026 .events-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 19px 0;
}

body.home-2026 .events-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #8fa7b0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

body.home-2026 .events-dots button[aria-current="true"] {
  border-color: #087fa2;
  background: #087fa2;
}

body.home-2026 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  body.home-2026 .event-curtain, body.home-2026 .event-details { transition: none; }
}


/* ---------- responsive.css ---------- */
@media (max-width: 1050px) {
  /* Placa del logo en tablet */
  body.home-2026 .brand {
    width: 210px;
  }
  body.home-2026 .brand img {
    width: 140px;
  }
  body.home-2026 .menu {
    gap: 14px;
    font-size: 12px;
  }
  /* Hero en tablet */
  body.home-2026 .hero-copy {
    width: 500px;
  }
  body.home-2026 .hero-title {
    font-size: 44px;
  }
  body.home-2026 .hero-copy p {
    width: 400px;
  }
  body.home-2026 .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  body.home-2026 .service-grid a {
    border: 0;
  }
  body.home-2026 .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  body.home-2026 .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  body.home-2026 .foot {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Megamenú en tablet */
  body.home-2026 .megamenu {
    width: 700px;
    padding: 25px;
    gap: 30px;
  }
  
  /* Modal de búsqueda en tablet */
  body.home-2026 .search-modal-content {
    padding: 35px 25px;
    max-width: 85%;
  }
  body.home-2026 .search-modal-content h2 {
    font-size: 24px;
  }
  body.home-2026 .search-modal-content p {
    font-size: 15px;
  }
  body.home-2026 .search-modal-inputs input {
    padding: 15px 18px;
  }
  body.home-2026 .search-modal-inputs button {
    padding: 15px 28px;
  }
  
  /* Carrusel de alianzas en tablet */
  body.home-2026 .alliances-slides a {
    flex: 0 0 calc(50% - 10px);
  }
  
  /* Chatbot en tablet */
  body.home-2026 .chatbot {
    bottom: 85px;
    right: 25px;
  }
  
  /* Back to top en tablet */
  body.home-2026 .backtop {
    bottom: 25px;
    right: 25px;
  }
}
@media (max-width: 760px) {
  /* Placa del logo en móvil: todo se escala desde las variables */
  body.home-2026 {
    --header-h: 80px;
    --placa-extra: 18px;
    --placa-radio: 10px;
    --placa-curva: 8px;
  }
  body.home-2026 .brand {
    width: 190px;
  }
  body.home-2026 .brand img {
    width: 120px;
  }
  body.home-2026 .hamb {
    display: block;
    margin-left: 6px;
    border: 0;
    background: none;
    font-size: 28px;
  }
  /* Búsqueda en la barra superior, junto a la hamburguesa */
  body.home-2026 .search-mobile {
    display: block;
    margin-left: auto;
    padding: 6px;
    font-size: 22px;
  }
  body.home-2026 .menu .search {
    display: none;
  }
  body.home-2026 .menu {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + var(--placa-extra));
    left: 0;
    right: 0;
    background: #fff;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    /* Si el contenido no cabe, el menú se desplaza con el dedo */
    max-height: calc(100vh - var(--header-h) - var(--placa-extra) - 10px);
    max-height: calc(100dvh - var(--header-h) - var(--placa-extra) - 10px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  body.home-2026 .menu.open {
    display: flex;
  }
  
  /* Megamenú en móvil */
  body.home-2026 .megamenu {
    width: 100%;
    left: 0;
    transform: none;
    padding: 10px 0 10px 14px;
    grid-template-columns: 1fr;
    gap: 6px;
    position: static;
    box-shadow: none;
    border-radius: 0;
  }
  body.home-2026 .has-submenu:hover .megamenu {
    transform: none;
  }
  body.home-2026 .submenu-section h4.aligned-title {
    margin-top: 0;
  }
  body.home-2026 .submenu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  body.home-2026 .submenu.open {
    display: block;
  }
  body.home-2026 .submenu-section {
    margin-bottom: 8px;
  }
  body.home-2026 .submenu-section h3 {
    font-size: 13px;
    margin-bottom: 4px;
  }
  body.home-2026 .submenu-section p {
    font-size: 12px;
    margin-bottom: 10px;
  }
  body.home-2026 .submenu-section p {
    display: none;
  }
  /* Acordeón: cada sección del megamenú se despliega al tocar su título */
  body.home-2026 .submenu-section h4,
  body.home-2026 .submenu-section h4.aligned-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin: 0;
    padding: 10px 10px 10px 0;
    cursor: pointer;
    border-bottom: 1px solid #eee;
  }
  body.home-2026 .submenu-section h4::after {
    content: '+';
    font-size: 16px;
    font-weight: 700;
  }
  body.home-2026 .submenu-section.open h4::after {
    content: '−';
  }
  body.home-2026 .submenu-section ul {
    display: none;
    padding-top: 4px;
  }
  body.home-2026 .submenu-section.open ul {
    display: block;
  }
  body.home-2026 .submenu-section li {
    margin-bottom: 0;
  }
  body.home-2026 .submenu-section a {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  /* Hero en móvil: texto arriba, imagen vertical anclada abajo */
  body.home-2026 .hero,
  body.home-2026 .hero-slides,
  body.home-2026 .slide {
    height: auto;
  }
  body.home-2026 .slide--claro {
    --slide-bg: #ffffff;
  }
  body.home-2026 .slide--oscuro {
    --slide-bg: #021f46;
  }
  body.home-2026 .slide {
    background: var(--slide-bg);
  }
  body.home-2026 .slide::before {
    display: none;
  }
  body.home-2026 .slide-media {
    inset: auto 0 0 0;
  }
  body.home-2026 .slide-media img {
    height: auto;
  }
  /* Funde la parte superior de la foto con el color de fondo del slide */
  body.home-2026 .slide-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to bottom, var(--slide-bg) 0%, transparent 100%);
  }
  /* El espacio inferior deja ver la foto (1080x1400 = 129.6vw de alto) */
  body.home-2026 .hero-inner {
    height: auto;
    align-items: flex-start;
    padding: calc(var(--placa-extra) + 32px) 0 75vw;
  }
  body.home-2026 .hero-copy {
    width: 100%;
    margin: 0;
  }
  body.home-2026 .hero-title {
    font-size: 39px;
  }
  body.home-2026 .hero-copy p {
    width: 100%;
  }
  body.home-2026 .dots {
    bottom: 34px;
  }
  body.home-2026 .metrics {
    height: auto;
    grid-template-columns: 1fr 1fr;
    padding: 15px;
  }
  body.home-2026 .metrics div {
    padding: 18px;
    border: 0;
  }
  body.home-2026 .metrics b {
    font-size: 29px;
  }
  body.home-2026 .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  body.home-2026 .cards {
    grid-template-columns: 1fr 1fr;
  }
  body.home-2026 .news-grid,
  body.home-2026 .space-grid,
  body.home-2026 .banner-grid {
    grid-template-columns: 1fr;
  }
  body.home-2026 .wide-banner {
    height: auto;
  }
  body.home-2026 .banner-grid img {
    height: auto;
  }
  body.home-2026 .foot {
    grid-template-columns: 1fr 1fr;
  }
  body.home-2026 .legal {
    flex-direction: column;
    gap: 12px;
  }
  body.home-2026 .newsletter {
    grid-column: 1 / -1;
  }
  
  /* Footer toggle en móvil */
  body.home-2026 .foot-toggle {
    cursor: pointer;
    position: relative;
    padding-right: 25px;
  }
  body.home-2026 .foot-toggle::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: bold;
  }
  body.home-2026 .foot-toggle.active::after {
    content: '−';
  }
  body.home-2026 .foot-links {
    display: none;
  }
  body.home-2026 .foot-links.active {
    display: flex;
  }
  
  /* Modal de búsqueda en móvil */
  body.home-2026 .search-modal-content {
    padding: 20px 15px;
    max-width: 85%;
  }
  body.home-2026 .search-modal-content h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  body.home-2026 .search-modal-content p {
    font-size: 13px;
    margin-bottom: 15px;
  }
  body.home-2026 .search-modal-inputs {
    flex-direction: column;
    gap: 8px;
  }
  body.home-2026 .search-modal-inputs input {
    padding: 12px 14px;
    font-size: 14px;
  }
  body.home-2026 .search-modal-inputs button {
    padding: 12px 20px;
    font-size: 14px;
  }
  body.home-2026 .search-modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 24px;
  }
  
  /* Carrusel de alianzas en móvil */
  body.home-2026 .alliances-carousel {
    margin-top: 30px;
  }
  body.home-2026 .alliances-slides a {
    flex: 0 0 calc(100% - 10px);
  }
  body.home-2026 .alliances-prev,
  body.home-2026 .alliances-next {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  body.home-2026 .alliances-prev {
    left: 5px;
  }
  body.home-2026 .alliances-next {
    right: 5px;
  }
  
  /* Chatbot en móvil */
  body.home-2026 .chatbot {
    bottom: 80px;
    right: 20px;
  }
  body.home-2026 .chatbot-toggle {
    width: 45px;
    height: 45px;
  }
  body.home-2026 .chatbot-toggle img {
    width: 45px;
    height: 45px;
  }
  body.home-2026 .chatbot-tooltip {
    width: 220px;
    right: 55px;
    bottom: 40%;
    font-size: 12px;
  }
  body.home-2026 .chatbot-window {
    width: 300px;
    height: 400px;
    bottom: 60px;
    right: 0;
  }
  body.home-2026 .chatbot-input {
    flex-direction: row;
    gap: 8px;
  }
  body.home-2026 .chatbot-input button {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }
  body.home-2026 .chatbot-input button::after {
    content: '';
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
  }
  
  /* Back to top en móvil */
  body.home-2026 .backtop {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  body.home-2026 .backtop img {
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 480px) {
  body.home-2026 h2 {
    font-size: 26px;
  }
  body.home-2026 .hero-title {
    font-size: 32px;
  }
  body.home-2026 .actions {
    flex-direction: column;
    align-items: flex-start;
  }
  body.home-2026 .service-grid,
  body.home-2026 .cards,
  body.home-2026 .news-grid,
  body.home-2026 .foot {
    grid-template-columns: 1fr;
  }
  body.home-2026 .service-grid a {
    min-height: 0;
    padding: 0 16px 15px;
  }
  body.home-2026 .newsletter {
    grid-column: 1 / -1;
  }
  body.home-2026 .space {
    height: 320px;
  }
  body.home-2026 .space div {
    width: 75%;
    padding: 22px;
  }
  
  /* Modal de búsqueda en pantallas pequeñas */
  body.home-2026 .search-modal-content {
    padding: 18px 12px;
    max-width: 80%;
  }
  body.home-2026 .search-modal-content h2 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  body.home-2026 .search-modal-content p {
    font-size: 12px;
    margin-bottom: 12px;
  }
  body.home-2026 .search-modal-inputs {
    gap: 6px;
  }
  body.home-2026 .search-modal-inputs input {
    padding: 10px 12px;
    font-size: 13px;
  }
  body.home-2026 .search-modal-inputs button {
    padding: 10px 16px;
    font-size: 13px;
  }
  body.home-2026 .search-modal-close {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
  
  /* Chatbot en pantallas pequeñas */
  body.home-2026 .chatbot {
    bottom: 70px;
    right: 15px;
  }
  body.home-2026 .chatbot-toggle {
    width: 40px;
    height: 40px;
  }
  body.home-2026 .chatbot-toggle img {
    width: 40px;
    height: 40px;
  }
  body.home-2026 .chatbot-tooltip {
    width: 200px;
    right: 50px;
    font-size: 11px;
    padding: 10px 12px;
  }
  body.home-2026 .chatbot-window {
    width: 280px;
    height: 380px;
  }
  body.home-2026 .chatbot-input {
    flex-direction: row;
    gap: 8px;
  }
  body.home-2026 .chatbot-input button {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }
  body.home-2026 .chatbot-input button::after {
    content: '';
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
  }
  
  /* Back to top en pantallas pequeñas */
  body.home-2026 .backtop {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  body.home-2026 .backtop img {
    width: 45px;
    height: 45px;
  }
}

/* Número de tarjetas visibles del carrusel de eventos. */
@media (max-width: 1199px) {
  body.home-2026 .events-carousel { --events-visible: 3; --events-gap: 14px; }
  body.home-2026 .event-curtain-title { font-size: 16px; }
  body.home-2026 .event-details p, body.home-2026 .event-details a { font-size: 13px; }
}

@media (max-width: 760px) {
  body.home-2026 .events-carousel { --events-visible: 1; padding: 0; }
  body.home-2026 .events-carousel > button { top: auto; bottom: -42px; width: 30px; height: 30px; font-size: 24px; }
  body.home-2026 .events-prev { left: 0; }
  body.home-2026 .events-next { right: 0; }
  body.home-2026 .events-dots { margin-top: 51px; }
  body.home-2026 .event-curtain-title { font-size: 18px; }
  body.home-2026 .event-card.is-open .event-curtain { height: min(215px, 100%); }
  body.home-2026 .event-details p, body.home-2026 .event-details a { font-size: 14px; }
}


/* =========================================================
   AJUSTES PARA WORDPRESS / ELEMENTOR
   (no existían en la maqueta; solo afectan a la página home-2026)
   ========================================================= */

/* 1. Contenedores de Elementor sin ancho fijo, relleno ni separación:
      el ancho lo controla .wrap, igual que en la maqueta */
body.home-2026 {
	--kit-widget-spacing: 0px;
}
body.home-2026 .e-con {
	--content-width: 100%;
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--widgets-spacing: 0px;
}
body.home-2026 .elementor-widget-html {
	margin: 0;
}

/* 2. Header fijo al hacer scroll.
      Dentro de Elementor el sticky debe ir en el CONTENEDOR del header,
      que lleva la clase  h26-sticky  (Avanzado > Clases CSS). */
body.home-2026 .h26-sticky {
	position: sticky;
	top: 0;
	z-index: 50;
}
/* Con sesión iniciada aparece la barra negra de WordPress */
body.home-2026.admin-bar .h26-sticky {
	top: 32px;
}
@media (max-width: 782px) {
	body.home-2026.admin-bar .h26-sticky {
		top: 46px;
	}
}

/* 3. (Sin funciones ocultas: el asistente virtual ya está conectado a n8n) */

/* 4. Línea legal del footer: enlaces en la misma línea
      (en la maqueta el enlace del aviso estaba roto y el texto se partía) */
body.home-2026 .legal a {
	display: inline;
}

/* 5. El tema AVEIT pone overflow-x: hidden en el <body>, y eso anula el header fijo.
      "clip" sigue evitando el scroll horizontal, pero sin romper el sticky. */
body.home-2026 {
	overflow-x: clip !important;
	overflow-y: visible !important;
}

/* 6. Newsletter: campo trampa invisible para bots y texto de privacidad */
body.home-2026 .nl-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
body.home-2026 .newsletter-privacy {
	margin: 0;
	font-size: 11px;
	line-height: 1.4;
	opacity: .8;
}
body.home-2026 .newsletter-privacy a {
	display: inline;
	font-size: 11px;
	line-height: 1.4;
	text-decoration: underline;
}

/* 7. Formulario de WhatsApp: mismo diseño que el de correo, con botón verde */
body.home-2026 .newsletter-email-form .nl-wa-submit {
	background: #25D366;
}
body.home-2026 .newsletter-email-form .nl-wa-submit:hover {
	background: #20BA5A;
}
body.home-2026 .newsletter-email-form .nl-wa-submit:focus {
	outline: 2px solid #25D366;
}

/* 8. Mensajes de validación bajo los campos del newsletter */
body.home-2026 .newsletter-email-form .nl-error {
	margin: -4px 0 2px;
	font-size: 12px;
	line-height: 1.35;
	color: #ffb4ab;
}
body.home-2026 .newsletter-email-form .nl-error[hidden] {
	display: none;
}
body.home-2026 .newsletter-email-form input.nl-invalido {
	box-shadow: 0 0 0 2px #ff6b6b;
}
body.home-2026 .newsletter-email-form .nl-sugerencia {
	display: inline;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

/* 9. Asistente virtual: enlaces, negritas e indicador de escritura */
body.home-2026 .chatbot-messages {
	display: flex;
	flex-direction: column;
}
body.home-2026 .message.bot p a {
	color: #fff;
	text-decoration: underline;
	word-break: break-word;
}
body.home-2026 .message.bot p strong {
	font-weight: 700;
}
body.home-2026 .message.typing p {
	opacity: .7;
	font-style: italic;
}
body.home-2026 .chatbot-input button:disabled {
	opacity: .6;
	cursor: wait;
}

/* 10. Asistente virtual: aviso de privacidad dentro de la ventana */
body.home-2026 .chatbot-aviso {
	margin: 0;
	padding: 6px 15px;
	background: #fff;
	border-top: 1px solid #eee;
	color: #5b6472;
	font-size: 11px;
	line-height: 1.35;
}
body.home-2026 .chatbot-aviso a {
	color: #061a42;
	text-decoration: underline;
}
body.home-2026 .chatbot-input input:disabled {
	background: #f3f3f3;
}


  /* 11. Asistente virtual: el tema pinta las negritas de un color oscuro;
         dentro de los mensajes del asistente deben verse en blanco */
  body.home-2026 .chatbot .message.bot p strong,
  body.home-2026 .chatbot .message.bot p b {
  	color: aqua !important;
  	font-weight: 700;
  }
