/* ============================================================
   ALMIBARES 593 — Cabecera, pie y layout
   Complementa los tokens de style.css
   ============================================================ */

/* ---- Contenedor de contenido ---- */
/* Plantillas propias (page.php, front-page.php) gestionan su ancho.
   El resto (WooCommerce, blog, búsqueda, archivos, 404) se constriñe aquí. */
.alm-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 3.5rem;
}
body.woocommerce #alm-main,
body.woocommerce-page #alm-main,
body.archive #alm-main,
body.search #alm-main,
body.error404 #alm-main,
body.blog #alm-main,
body.single #alm-main {
	max-width: 1280px;
	margin-inline: auto;
	padding: 2.5rem 1.25rem 3.5rem;
}

/* ============================================================
   ARTÍCULO DE LANDING — ritmo y componentes de marca
   ============================================================ */
.alm-article {
	max-width: 860px;
	margin-inline: auto;
	font-size: 1.05rem;
}

/* Entradilla */
.alm-article .alm-lede {
	font-size: 1.28rem;
	line-height: 1.5;
	font-weight: 500;
	color: #4B2A50;
	margin-bottom: 1.5rem;
}

/* Secciones: cada H2 abre bloque con separador punteado */
.alm-article h2,
.alm-article .alm-article__h2 {
	font-size: clamp(1.55rem, 3vw, 2.15rem);
	margin: 3rem 0 1rem;
	padding-top: 1.5rem;
	border-top: 3px dashed rgba(44,18,51,.16);
	position: relative;
}
.alm-article > h2:first-child,
.alm-article > .alm-lede + h2 { border-top: 0; padding-top: 0; margin-top: 2rem; }
.alm-article h2::before {
	content: ""; position: absolute; top: -3px; left: 0;
	width: 64px; height: 3px; background: var(--alm-magenta);
}
.alm-article > h2:first-child::before,
.alm-article > .alm-lede + h2::before { display: none; }

.alm-article h3 { font-size: 1.22rem; margin: 1.75rem 0 .5rem; }
.alm-article p { margin: 0 0 1.05rem; line-height: 1.65; }
.alm-article strong { color: var(--alm-ink); }

/* Listas con marcador de marca */
.alm-article ul, .alm-article ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.alm-article li { margin-bottom: .5rem; line-height: 1.6; }
.alm-article ul li::marker { color: var(--alm-magenta); font-size: 1.1em; }
.alm-article ol li::marker { color: var(--alm-magenta); font-family: var(--alm-font-display); font-weight: 800; }

/* Tablas como tarjeta — ocupan todo el ancho disponible */
.alm-article table {
	width: 100%;
	display: table;
	table-layout: auto;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.25rem 0 1.75rem;
	font-size: .95rem;
	background: var(--alm-white);
	border: var(--alm-border);
	border-radius: var(--alm-radius);
	box-shadow: var(--alm-shadow);
}
.alm-article table th {
	background: var(--alm-ink);
	color: #fff;
	font-family: var(--alm-font-display);
	font-weight: 700;
	text-align: left;
	padding: .8rem .95rem;
}
.alm-article table td {
	padding: .75rem .95rem;
	border-top: 2px solid rgba(44,18,51,.08);
	vertical-align: top;
}
.alm-article table tbody tr:first-child td { border-top: 0; }
.alm-article table tbody tr:nth-child(even) td { background: rgba(252,218,0,.07); }
/* Esquinas redondeadas coherentes con la tarjeta */
.alm-article table thead tr:first-child th:first-child,
.alm-article table tr:first-child th:first-child { border-top-left-radius: 12px; }
.alm-article table thead tr:first-child th:last-child,
.alm-article table tr:first-child th:last-child { border-top-right-radius: 12px; }
.alm-article table tbody tr:last-child td:first-child { border-bottom-left-radius: 12px; }
.alm-article table tbody tr:last-child td:last-child { border-bottom-right-radius: 12px; }
/* En móvil se permite scroll horizontal */
@media (max-width: 640px) {
	.alm-article table { display: block; overflow-x: auto; white-space: nowrap; }
	.alm-article table td, .alm-article table th { white-space: normal; min-width: 120px; }
}

.alm-article .alm-btn { margin: .5rem .35rem .5rem 0; }
.alm-article .alm-trust,
.alm-article .alm-bands { margin: 1.75rem 0 2rem; border-radius: var(--alm-radius-sm); overflow: hidden; }
.alm-article .alm-trust { border: var(--alm-border); box-shadow: var(--alm-shadow); }

/* Tarjetas de navegación dentro de un artículo (hub Aprende).
   Son <div> con enlace extendido: wpautop rompe los <a> que envuelven bloques. */
.alm-article .alm-solgrid { margin: 1.75rem 0 2.25rem; }
.alm-article .alm-sol {
	display: flex; flex-direction: column;
	text-decoration: none; position: relative;
}
.alm-article .alm-sol h3 {
	margin: 0 0 .35rem; font-size: 1.12rem;
	border-top: 0; padding-top: 0;
}
.alm-article .alm-sol h3::before { display: none; }
.alm-article .alm-sol p { margin: 0 0 .9rem; font-size: .92rem; line-height: 1.45; }
.alm-article .alm-sol .alm-sol__go {
	margin-top: auto; text-decoration: none; color: var(--sol);
}
/* El enlace cubre toda la tarjeta */
.alm-article .alm-sol .alm-sol__go::after {
	content: ""; position: absolute; inset: 0; border-radius: var(--alm-radius);
}

/* ============================================================
   FAQ — acordeón
   ============================================================ */
.alm-faq { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.alm-faq__item {
	background: var(--alm-white);
	border: var(--alm-border);
	border-radius: var(--alm-radius-sm);
	box-shadow: var(--alm-shadow-sm);
	overflow: hidden;
	transition: box-shadow var(--alm-t-fast);
}
.alm-faq__item[open] { box-shadow: var(--alm-shadow); }
.alm-faq__q {
	display: flex; align-items: center; gap: .75rem; cursor: pointer; list-style: none;
	font-family: var(--alm-font-display); font-weight: 700; font-size: 1.05rem;
	color: var(--alm-ink); padding: .95rem 1.1rem;
	transition: background var(--alm-t-fast);
}
.alm-faq__q:hover { background: var(--alm-yellow-lt); }
.alm-faq__q::-webkit-details-marker { display: none; }
.alm-faq__q::after {
	content: "＋"; margin-left: auto; font-size: 1.3rem; line-height: 1;
	color: var(--alm-magenta); flex: 0 0 auto;
}
.alm-faq__item[open] .alm-faq__q { background: var(--alm-yellow); }
.alm-faq__item[open] .alm-faq__q::after { content: "－"; }
.alm-faq__a { padding: .35rem 1.1rem 1.1rem; }
.alm-faq__a p { margin: 0; color: var(--alm-ink-soft); line-height: 1.6; }

/* ============================================================
   CTA dentro del artículo
   ============================================================ */
.alm-cta--inline {
	margin: 2.5rem 0 1rem;
	border-radius: var(--alm-radius);
	border: var(--alm-border);
	box-shadow: var(--alm-shadow-lg);
	padding: 2.5rem 1.75rem;
}
.alm-cta--inline .alm-cta__in { max-width: 560px; }
.alm-cta--inline h2 {
	border-top: 0 !important; padding-top: 0 !important; margin: 0 0 .6rem !important;
	color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.alm-cta--inline h2::before { display: none !important; }
.alm-cta--inline p { color: #C9B6D2; margin-bottom: 1.4rem; }
.alm-cta--inline strong,
.alm-cta--inline li { color: #fff; }
.alm-cta--inline a:not(.alm-btn) { color: var(--alm-yellow); }
.alm-cta--inline .alm-btn { margin: .3rem .4rem; }

/* ============================================================
   ENCABEZADO DE PÁGINA (page.php)
   ============================================================ */
.alm-page__header {
	background: var(--alm-yellow-lt);
	border-bottom: var(--alm-border);
}
.alm-page__header-in {
	max-width: 1180px; margin: 0 auto;
	padding: 2.5rem 1.25rem;
}
.alm-page__parent {
	display: inline-block; margin-bottom: .6rem;
	font-family: var(--alm-font-display); font-weight: 700; font-size: .9rem;
	color: var(--alm-ink-soft); text-decoration: none;
}
.alm-page__parent:hover { color: var(--alm-magenta); }
.alm-page__title {
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	margin: 0;
	position: relative; display: inline;
	background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 88%, transparent 88%);
	padding: 0 .1em;
}

/* ============================================================
   HERO (front-page.php)
   ============================================================ */
.alm-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(circle at 88% 15%, rgba(252,218,0,.5), transparent 38%),
		radial-gradient(circle at 6% 88%, rgba(224,36,107,.22), transparent 44%),
		var(--alm-paper);
}
.alm-hero__blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }
.alm-hero__blob--1 { width: 130px; height: 130px; background: var(--alm-green); top: 20%; left: 8%; opacity: .12; }
.alm-hero__blob--2 { width: 90px; height: 90px; background: var(--alm-blue); bottom: 16%; right: 12%; opacity: .12; }
.alm-hero__in {
	position: relative; z-index: 2;
	max-width: 1180px; margin: 0 auto;
	display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
	padding: 3.5rem 1.25rem 3rem;
}
.alm-hero__title {
	font-size: clamp(2.3rem, 5.2vw, 4rem);
	line-height: 1.02; margin: 1rem 0 0;
	text-shadow: 3px 3px 0 rgba(44,18,51,.08);
}
.alm-hero__title span {
	color: var(--alm-magenta); position: relative; display: inline-block;
}
.alm-hero__title span::after {
	content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 12px;
	background: var(--alm-yellow); z-index: -1; border-radius: 4px;
}
.alm-hero__lede {
	font-size: 1.18rem; line-height: 1.55; font-weight: 500;
	color: #4B2A50; max-width: 46ch; margin: 1.1rem 0 0;
}
.alm-hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.alm-hero__art { display: grid; place-items: center; }
.alm-hero__art img {
	width: min(100%, 420px); height: auto;
	filter: drop-shadow(8px 10px 0 rgba(44,18,51,.12));
	animation: alm-float 5s ease-in-out infinite;
}
@keyframes alm-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 860px) {
	.alm-hero__in { grid-template-columns: 1fr; text-align: center; }
	.alm-hero__lede { margin-inline: auto; }
	.alm-hero__cta { justify-content: center; }
	.alm-hero__art { order: -1; }
	.alm-hero__art img { width: min(70%, 300px); }
}

/* ============================================================
   SECCIONES (front-page.php)
   ============================================================ */
.alm-sec { padding: 3.25rem 0; }
.alm-sec__in { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.alm-sec__head { margin-bottom: 1.75rem; }
.alm-sec__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: .3rem 0; }
.alm-sec__head p { color: var(--alm-ink-soft); font-size: 1.05rem; max-width: 60ch; margin: 0; }
.alm-sec__head--light h2, .alm-sec__head--light p { color: #fff; }
.alm-sec__head--light p { opacity: .9; }
.alm-sec__foot { text-align: center; margin-top: 1.75rem; }

.alm-sec--tint { background: var(--alm-yellow-lt); border-block: var(--alm-border); }
.alm-sec--combos { background: var(--alm-ink); }
.alm-sec--combos .alm-sticker--flat { background: var(--alm-yellow); }

/* Tarjetas de solución */
.alm-solgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.alm-solgrid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .alm-solgrid, .alm-solgrid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .alm-solgrid, .alm-solgrid--3 { grid-template-columns: 1fr; } }

.alm-sol {
	display: block; text-decoration: none; color: var(--alm-ink);
	background: var(--alm-white); border: var(--alm-border);
	border-radius: var(--alm-radius); box-shadow: var(--alm-shadow-lg);
	padding: 1.4rem 1.25rem; position: relative; overflow: hidden;
	transition: transform var(--alm-t-fast), box-shadow var(--alm-t-fast);
}
.alm-sol::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; background: var(--sol);
}
.alm-sol:hover { transform: translate(3px, 3px); box-shadow: var(--alm-shadow-sm); }
.alm-sol__emoji { font-size: 2.2rem; display: block; margin-bottom: .5rem; }
.alm-sol h3 { font-size: 1.2rem; margin: 0 0 .35rem; }
.alm-sol p { font-size: .92rem; color: var(--alm-ink-soft); margin: 0 0 .9rem; line-height: 1.45; }
.alm-sol__go { font-family: var(--alm-font-display); font-weight: 800; color: var(--sol); font-size: .95rem; }
.alm-sol--flat { box-shadow: var(--alm-shadow-sm); }

/* Kit de degustación */
.alm-kit {
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
	background: var(--alm-magenta-lt); border: var(--alm-border);
	border-radius: var(--alm-radius); box-shadow: var(--alm-shadow-lg);
	padding: 2rem 2.25rem;
}
.alm-kit h2 { margin: .6rem 0 .5rem; }
.alm-kit p { color: #5B2A50; margin: 0 0 1.25rem; }
.alm-kit__art {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
	font-family: var(--alm-font-display); font-weight: 800; color: var(--alm-magenta);
	border: 3px dashed var(--alm-magenta); border-radius: var(--alm-radius); padding: 1.5rem;
	background: rgba(255,255,255,.5);
}
.alm-kit__art span:first-child { font-size: 2.4rem; }
.alm-kit__art span:nth-child(2) { font-size: 1.2rem; opacity: .6; }
.alm-kit__art span:last-child { font-size: 1.15rem; }
@media (max-width: 720px) { .alm-kit { grid-template-columns: 1fr; } .alm-kit__art { display: none; } }

/* Rejilla de razones */
.alm-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 820px) { .alm-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .alm-feats { grid-template-columns: 1fr; } }
.alm-feat {
	background: var(--alm-white); border: var(--alm-border-thin);
	border-radius: var(--alm-radius-sm); padding: 1.15rem 1.25rem;
}
.alm-feat b { font-family: var(--alm-font-display); font-size: 1.05rem; color: var(--alm-ink); display: block; margin-bottom: .3rem; }
.alm-feat p { font-size: .9rem; color: var(--alm-ink-soft); margin: 0; line-height: 1.45; }

/* CTA final */
.alm-cta { background: var(--alm-ink); color: #fff; text-align: center; padding: 3.5rem 1.25rem; }
.alm-cta__in { max-width: 640px; margin: 0 auto; }
.alm-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 .6rem; }
.alm-cta p { color: #C9B6D2; font-size: 1.1rem; margin: 0 0 1.6rem; }

/* Productos de WooCommerce dentro de secciones */
.alm-sec .woocommerce { margin: 0; }
.alm-sec--combos .woocommerce ul.products li.product .woocommerce-loop-product__title,
.alm-sec--combos .woocommerce ul.products li.product .price { color: var(--alm-ink); }

/* ---- Skip link ---- */
.alm-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--alm-ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.alm-skip:focus { left: 0; }

/* ============================================================
   CABECERA
   ============================================================ */
.alm-header {
	position: sticky; top: 0; z-index: 200;
	background: var(--alm-paper);
	border-bottom: var(--alm-border);
	transition: box-shadow .2s var(--alm-ease);
}
.alm-header.is-stuck { box-shadow: 0 6px 0 -3px rgba(44,18,51,.12); }
.alm-header__in {
	max-width: 1280px; margin: 0 auto;
	display: flex; align-items: center; gap: 1rem;
	padding: .6rem 1.25rem;
}
.alm-logo { flex: 0 0 auto; line-height: 0; }
.alm-logo img { height: 52px; width: auto; display: block; }

.alm-nav { margin-left: auto; }
.alm-nav__list {
	display: flex; align-items: center; gap: 1.35rem;
	list-style: none; margin: 0; padding: 0;
}
.alm-nav__list a {
	font-family: var(--alm-font-display);
	font-weight: 700; font-size: .98rem;
	color: var(--alm-ink); text-decoration: none;
	padding: .35rem 0; position: relative;
}
.alm-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
	height: 3px; background: var(--alm-magenta); border-radius: 3px;
	transition: right .22s var(--alm-ease);
}
.alm-nav__list a:hover::after,
.alm-nav__list .current-menu-item > a::after { right: 0; }

/* Submenús */
.alm-nav__list .menu-item-has-children { position: relative; }
.alm-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 210px;
	background: var(--alm-white); border: var(--alm-border);
	box-shadow: var(--alm-shadow); border-radius: var(--alm-radius-sm);
	list-style: none; margin: .5rem 0 0; padding: .4rem;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: all .18s var(--alm-ease); z-index: 5;
}
.alm-nav__list .menu-item-has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.alm-nav__list .sub-menu a { display: block; padding: .5rem .7rem; border-radius: 6px; font-size: .9rem; }
.alm-nav__list .sub-menu a:hover { background: var(--alm-yellow-lt); }
.alm-nav__list .sub-menu a::after { display: none; }

.alm-header__actions { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.alm-iconbtn {
	background: none; border: none; cursor: pointer; color: var(--alm-ink);
	padding: .3rem; display: grid; place-items: center; border-radius: 8px;
}
.alm-iconbtn:hover { background: var(--alm-yellow-lt); }
.alm-cart {
	position: relative; color: var(--alm-ink); padding: .3rem; display: grid; place-items: center;
	border-radius: 8px; text-decoration: none;
}
.alm-cart:hover { background: var(--alm-yellow-lt); }
.alm-cart__count {
	position: absolute; top: -4px; right: -4px;
	background: var(--alm-magenta); color: #fff;
	font-family: var(--alm-font-display); font-weight: 800; font-size: .7rem;
	min-width: 18px; height: 18px; padding: 0 4px; border-radius: 100px;
	display: grid; place-items: center; border: 2px solid var(--alm-paper);
}

/* Buscador desplegable */
.alm-search { border-top: 2px dashed rgba(44,18,51,.15); background: var(--alm-white); }
.alm-search form {
	max-width: 1280px; margin: 0 auto; display: flex; gap: .6rem;
	padding: .85rem 1.25rem;
}
.alm-search input[type="search"] {
	flex: 1; border: var(--alm-border-thin); border-radius: var(--alm-radius-pill);
	padding: .6rem 1.1rem; font-family: var(--alm-font-body); font-size: 1rem;
}
.alm-search input[type="search"]:focus { outline: none; border-color: var(--alm-magenta); }

/* Hamburguesa */
.alm-burger { display: none; background: none; border: none; cursor: pointer; padding: .4rem; margin-left: auto; }
.alm-burger span {
	display: block; width: 26px; height: 3px; background: var(--alm-ink);
	border-radius: 3px; margin: 5px 0; transition: transform .22s var(--alm-ease), opacity .22s;
}
.alm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.alm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.alm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- Cajón móvil ---- */
.alm-drawer { position: fixed; inset: 0; z-index: 300; }
.alm-drawer[hidden] { display: none; }
.alm-drawer__backdrop { position: absolute; inset: 0; background: rgba(44,18,51,.55); }
.alm-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 340px);
	background: var(--alm-paper); border-left: var(--alm-border);
	padding: 4rem 1.5rem 2rem; overflow-y: auto;
	transform: translateX(100%); transition: transform .26s var(--alm-ease);
	display: flex; flex-direction: column;
}
.alm-drawer.is-open .alm-drawer__panel { transform: translateX(0); }
.alm-drawer__close {
	position: absolute; top: .8rem; right: 1rem;
	background: none; border: none; font-size: 2.2rem; line-height: 1;
	color: var(--alm-ink); cursor: pointer;
}
.alm-drawer__list { list-style: none; margin: 0; padding: 0; }
.alm-drawer__list > li { border-bottom: 2px dashed rgba(44,18,51,.14); }
.alm-drawer__list a {
	display: block; padding: .85rem .25rem;
	font-family: var(--alm-font-display); font-weight: 700; font-size: 1.1rem;
	color: var(--alm-ink); text-decoration: none;
}
.alm-drawer__list .sub-menu { list-style: none; margin: 0 0 .5rem .75rem; padding: 0; }
.alm-drawer__list .sub-menu a { font-size: .98rem; font-weight: 600; padding: .5rem .25rem; color: var(--alm-ink-soft); }
.alm-drawer__foot { margin-top: auto; padding-top: 1.5rem; }

@media (max-width: 960px) {
	.alm-nav, .alm-header__wa { display: none; }
	.alm-burger { display: block; }
	.alm-header__actions { margin-left: 0; }
	.alm-header__in { gap: .5rem; }
}

/* ============================================================
   FRANJA DE REASEGURO
   ============================================================ */
.alm-reassure { background: var(--alm-yellow-lt); border-top: var(--alm-border); }
.alm-reassure__in {
	max-width: 1280px; margin: 0 auto;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	padding: 0;
}
.alm-reassure__in > div {
	padding: 1.4rem 1.25rem; text-align: center;
}
.alm-reassure b {
	display: block; font-family: var(--alm-font-display); font-weight: 800;
	font-size: 1.05rem; color: var(--alm-ink);
}
.alm-reassure small { color: var(--alm-ink-soft); font-size: .82rem; line-height: 1.35; display: block; margin-top: .2rem; }
@media (max-width: 760px) { .alm-reassure__in { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   PIE
   ============================================================ */
.alm-footer { background: var(--alm-ink); color: #E9DDEF; }
.alm-footer__in {
	max-width: 1280px; margin: 0 auto;
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem;
	padding: 3rem 1.25rem 2rem;
}
.alm-footer__brand img { height: 64px; width: auto; margin-bottom: 1rem; }
.alm-footer__brand p { font-size: .92rem; line-height: 1.55; margin-bottom: 1.1rem; color: #C9B6D2; }
.alm-footer h4 {
	font-family: var(--alm-font-display); color: var(--alm-yellow);
	font-size: 1.05rem; margin: 0 0 .9rem;
}
.alm-footer__list { list-style: none; margin: 0; padding: 0; }
.alm-footer__list li { margin-bottom: .5rem; }
.alm-footer__list a, .alm-footer__contact a { color: #E9DDEF; text-decoration: none; font-size: .92rem; }
.alm-footer__list a:hover, .alm-footer__contact a:hover { color: var(--alm-yellow); }
.alm-footer__contact address { font-style: normal; }
.alm-footer__contact p { font-size: .9rem; line-height: 1.5; margin-bottom: .55rem; color: #C9B6D2; }
.alm-footer__contact strong { color: #E9DDEF; }

.alm-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.14);
	max-width: 1280px; margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
	padding: 1.15rem 1.25rem; font-size: .82rem; color: #A896B2;
}
.alm-footer__legal { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.alm-footer__legal a { color: #A896B2; text-decoration: none; }
.alm-footer__legal a:hover { color: var(--alm-yellow); }
@media (max-width: 860px) {
	.alm-footer__in { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
	.alm-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.alm-footer__in { grid-template-columns: 1fr; }
	.alm-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================================================ */
.alm-wa-float {
	position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 250;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25D366; color: #fff;
	display: grid; place-items: center;
	border: var(--alm-border); box-shadow: var(--alm-shadow);
	transition: transform var(--alm-t-fast), box-shadow var(--alm-t-fast);
}
.alm-wa-float:hover { transform: translate(2px,2px); box-shadow: var(--alm-shadow-press); color: #fff; }

/* ============================================================
   HERO DE INICIO (aplicado vía body.home)
   ============================================================ */
.home .alm-main > h1:first-of-type {
	font-size: var(--alm-fs-hero);
	text-shadow: 3px 3px 0 rgba(44,18,51,.08);
}

/* ============================================================
   LANDING DEL ASISTENTE (Almi + chat Kommo)
   ============================================================ */
.alm-asist {
	background:
		radial-gradient(circle at 90% 10%, rgba(252,218,0,.35), transparent 40%),
		radial-gradient(circle at 5% 90%, rgba(224,36,107,.18), transparent 45%),
		var(--alm-paper);
	padding: 2.5rem 1.25rem 3.5rem;
}
.alm-asist__in {
	max-width: 1180px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: stretch;
}
.alm-asist__aside { align-self: center; }
.alm-asist__title {
	font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.03; margin: 1rem 0 0;
	text-shadow: 3px 3px 0 rgba(44,18,51,.08);
}
.alm-asist__title span { color: var(--alm-magenta); position: relative; display: inline-block; }
.alm-asist__title span::after {
	content: ""; position: absolute; left: -2px; right: -2px; bottom: 5px; height: 11px;
	background: var(--alm-yellow); z-index: -1; border-radius: 4px;
}
.alm-asist__lede { font-size: 1.15rem; line-height: 1.55; color: #4B2A50; max-width: 44ch; margin: 1.1rem 0 1.5rem; }

.alm-asist__topics { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.alm-asist__topics li {
	background: var(--alm-white); border: var(--alm-border-thin); border-radius: var(--alm-radius-sm);
	padding: .7rem .9rem; box-shadow: var(--alm-shadow-sm);
}
.alm-asist__topics b { display: block; font-family: var(--alm-font-display); font-size: .98rem; color: var(--alm-ink); }
.alm-asist__topics span { font-size: .85rem; color: var(--alm-ink-soft); }

.alm-asist__trust { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.alm-asist__trust > div {
	background: var(--alm-ink); color: #fff; border-radius: var(--alm-radius-sm);
	padding: .65rem 1.1rem; text-align: center; flex: 1;
}
.alm-asist__trust b { display: block; font-family: var(--alm-font-display); color: var(--alm-yellow); font-size: 1.05rem; }
.alm-asist__trust small { font-size: .72rem; opacity: .85; }

.alm-asist__wa { font-size: .95rem; color: var(--alm-ink-soft); }
.alm-asist__wa a { color: var(--alm-magenta); font-weight: 700; }

/* Ventana de chat */
.alm-asist__chat { display: flex; }
.alm-chat-window {
	width: 100%; display: flex; flex-direction: column;
	background: var(--alm-white);
	border: var(--alm-border); border-radius: var(--alm-radius);
	box-shadow: var(--alm-shadow-lg); overflow: hidden;
	min-height: 620px;
}
.alm-chat-window__bar {
	display: flex; align-items: center; gap: .6rem;
	background: var(--alm-ink); color: #fff; padding: .8rem 1.1rem;
	font-family: var(--alm-font-body);
}
.alm-chat-window__dot {
	width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
	background: linear-gradient(160deg, var(--alm-yellow), var(--alm-orange));
	border: 2px solid #fff;
}
.alm-chat-window__name { font-family: var(--alm-font-display); font-weight: 800; font-size: .98rem; }
.alm-chat-window__status { margin-left: auto; font-size: .78rem; color: #7CE49A; }

.alm-chat-holder { position: relative; flex: 1; min-height: 560px; background: var(--alm-paper); }
.alm-chat-holder :is(iframe) { width: 100% !important; height: 100% !important; min-height: 560px; border: 0; display: block; }
.alm-chat-holder__loading {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: .75rem; color: var(--alm-ink-soft); font-size: .95rem;
}
.alm-chat-holder__spinner {
	width: 34px; height: 34px; border-radius: 50%;
	border: 4px solid rgba(44,18,51,.15); border-top-color: var(--alm-magenta);
	animation: alm-spin 0.8s linear infinite;
}
@keyframes alm-spin { to { transform: rotate(360deg); } }

@media (max-width: 880px) {
	.alm-asist__in { grid-template-columns: 1fr; }
	.alm-asist__aside { order: 2; }
	.alm-asist__chat { order: 1; }
	.alm-chat-window { min-height: 560px; }
}

/* El chat se embebe en TODOS los tamaños → ocultar el botón flotante de Kommo en esta página */
.page-template-template-asistente .amo-button-holder { display: none !important; }

/* El lanzador móvil ya no se usa (el chat también se embebe en móvil). */
.alm-asist__mobile-launch { display: none !important; }

@media (max-width: 880px) {
	/* En móvil el chat embebido ocupa buena parte de la pantalla para ser usable */
	.alm-chat-window { min-height: 76vh; }
	.alm-chat-holder { min-height: calc(76vh - 54px); }
	.alm-chat-holder :is(iframe) { min-height: calc(76vh - 54px); }
}
