/* ============================================================
   A. SOLANES 2010 — Tema a medida (ligero)
   Paleta: Negro #1a1a1a / Blanco / Rojo #c8202b
   ============================================================ */
:root {
	--as-red: #c8202b;
	--as-red-dark: #a51820;
	--as-red-light: #e0303a;
	--as-black: #1a1a1a;
	--as-gray: #6a6a6a;
	--as-gray-2: #4a4a4a;
	--as-bg: #ffffff;
	--as-bg-soft: #f5f5f5;
	--as-maxw: 1200px;
	--as-font: 'Inter', 'Roboto', Arial, sans-serif;
	--as-head: 'Montserrat', 'Inter', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--as-font);
	color: var(--as-black);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--as-red); }

h1, h2, h3 { font-family: var(--as-head); line-height: 1.15; letter-spacing: -0.5px; margin: 0 0 .6em; }

.as-container { max-width: var(--as-maxw); margin: 0 auto; width: 100%; padding: 0 20px; }
.as-section { padding: 90px 0; }
.as-section__header { text-align: center; margin-bottom: 60px; }
.as-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.as-subtitle { font-size: 1.15rem; color: var(--as-gray); max-width: 800px; margin: 0 auto; font-weight: 300; }
.as-richtext p { color: var(--as-gray-2); margin: 0 0 18px; }

.as-divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--as-red-dark), var(--as-red)); margin: 0 auto 25px; border-radius: 2px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.as-skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; z-index: 999; }

/* -------- Botones -------- */
.as-btn {
	display: inline-block; padding: 14px 32px; font-size: .9rem; font-weight: 600;
	text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none;
	border-radius: 6px; border: 2px solid transparent; cursor: pointer;
	transition: all .3s ease; font-family: var(--as-font); text-align: center;
}
.as-btn--primary { background: var(--as-red); color: #fff; border-color: var(--as-red); }
.as-btn--primary:hover { background: var(--as-red-dark); border-color: var(--as-red-dark); }
.as-btn--dark { background: var(--as-black); color: #fff; border-color: var(--as-black); }
.as-btn--dark:hover { background: var(--as-red); border-color: var(--as-red); }
.as-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.as-btn--ghost:hover { background: #fff; color: var(--as-black); border-color: #fff; }

/* -------- Cabecera -------- */
.as-header { position: sticky; top: 0; z-index: 100; background: transparent; transition: background .3s ease, box-shadow .3s ease; }
/* Scrim: degradado oscuro tras la cabecera transparente para que el menú/logo
   blancos sean legibles sobre cualquier hero. Desaparece al hacer scroll. */
.as-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 100%); pointer-events: none; opacity: 1; transition: opacity .3s ease; z-index: 0; }
.as-header.is-scrolled::before { opacity: 0; }
.as-header.is-scrolled { background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.08); }
.as-header__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.as-header__title { font-family: var(--as-head); font-weight: 800; font-size: 1.25rem; color: #fff; text-decoration: none; letter-spacing: 0; }
.as-header.is-scrolled .as-header__title { color: var(--as-black); }
.as-header .custom-logo { max-height: 46px; width: auto; transition: filter .3s ease; }
/* Cabecera transparente: el logo (oscuro) se muestra en blanco. Al hacer scroll
   (cabecera blanca) se ve en su color original. */
.as-header:not(.is-scrolled) .custom-logo { filter: brightness(0) invert(1); }

.as-nav { display: flex; align-items: center; gap: 28px; }
.as-nav__menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.as-nav__menu a { color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; }
.as-header.is-scrolled .as-nav__menu a { color: var(--as-black); }
.as-nav__menu a:hover { color: var(--as-red-light); }
.as-nav__cta { padding: 10px 22px; }

/* -------- Submenús desplegables (dropdown) -------- */
.as-nav__menu li { position: relative; }
.as-nav__menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px;
	list-style: none; margin: 0; padding: 8px 0;
	background: #fff; border-radius: 8px;
	box-shadow: 0 14px 36px rgba(0,0,0,.15);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
	z-index: 120;
}
.as-nav__menu li:hover > .sub-menu,
.as-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.as-nav__menu .sub-menu li { width: 100%; }
.as-nav__menu .sub-menu a {
	display: block; padding: 10px 20px; color: var(--as-black); white-space: nowrap;
	font-size: .85rem; font-weight: 500;
}
.as-header.is-scrolled .as-nav__menu .sub-menu a { color: var(--as-black); }
.as-nav__menu .sub-menu a:hover { background: var(--as-bg-soft); color: var(--as-red); }
/* Indicador (caret) en los items con hijos */
.as-nav__menu .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 7px; }
.as-nav__menu .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); transition: transform .25s ease;
}
.as-nav__menu .menu-item-has-children:hover > a::after { transform: rotate(225deg) translateY(2px); }

.as-nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; position: relative; }
.as-nav-toggle__bar, .as-nav-toggle__bar::before, .as-nav-toggle__bar::after { content: ""; position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: .3s; }
.as-header.is-scrolled .as-nav-toggle__bar, .as-header.is-scrolled .as-nav-toggle__bar::before, .as-header.is-scrolled .as-nav-toggle__bar::after { background: var(--as-black); }
.as-nav-toggle__bar { top: 50%; }
.as-nav-toggle__bar::before { top: -7px; }
.as-nav-toggle__bar::after { top: 7px; }

/* -------- Hero -------- */
.as-hero { min-height: 82vh; display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; margin-top: -74px; padding-top: 74px; }
.as-hero__inner { max-width: 820px; }
.as-hero__title { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; margin-bottom: 18px; }
.as-hero__subtitle { font-size: 1.25rem; color: #e8e8e8; margin-bottom: 34px; max-width: 620px; }
.as-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* -------- Intro + vídeo -------- */
.as-intro { background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%); }
.as-video { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.as-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* -------- Quiénes somos -------- */
.as-about { background: var(--as-black); color: #f0f0f0; }
.as-about h2 { color: #fff; }
.as-about .as-divider { margin-left: 0; }
.as-about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.as-about .as-richtext p { color: #c8c8c8; font-size: 1.05rem; }
.as-about__text h2 { text-align: left; }
.as-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 35px; padding-top: 35px; border-top: 1px solid #333; }
.as-stat { text-align: center; }
.as-stat__num { font-size: 2.2rem; font-weight: 700; color: var(--as-red-light); display: block; line-height: 1; margin-bottom: 8px; font-family: var(--as-head); }
.as-stat__label { font-size: .82rem; color: #a0a0a0; text-transform: uppercase; letter-spacing: 1px; }
.as-about__images { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 15px; height: 480px; }
.as-about__img { background: #2a2a2a; border-radius: 8px; background-size: cover; background-position: center; transition: transform .5s ease; }
.as-about__img:hover { transform: scale(1.02); }
.as-about__img--1 { grid-row: 1 / 3; }

/* -------- Marcas -------- */
.as-brands { background: #fff; }
.as-brands__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.as-brand { background: #fff; border: 1px solid #e8e8e8; border-radius: 10px; padding-bottom: 30px; text-align: center; transition: all .4s cubic-bezier(.25,.46,.45,.94); position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.as-brand::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--as-red-dark), var(--as-red)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; z-index: 2; }
.as-brand:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.12); border-color: var(--as-red); }
.as-brand:hover::before { transform: scaleX(1); }
.as-brand__img { display: block; width: 100%; height: 200px; background-size: cover; background-position: center; background-color: #f0f0f0; border-radius: 10px 10px 0 0; margin-bottom: 25px; }
.as-brand__body { display: block; padding: 0 25px; }
.as-brand__tag { display: block; font-size: .74rem; color: var(--as-red); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; font-weight: 600; }
.as-brand__name { display: block; font-family: var(--as-head); font-size: 1.15rem; font-weight: 700; color: var(--as-black); letter-spacing: .5px; margin-bottom: 12px; }
.as-brand__desc { display: block; font-size: .92rem; color: var(--as-gray); }

/* -------- Líneas de negocio -------- */
.as-lines__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.as-line { padding: 90px 60px; display: flex; align-items: center; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.as-line::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.as-line--dark { background-color: var(--as-black); color: #fff; }
.as-line--dark::before { background: linear-gradient(135deg, rgba(26,26,26,.92), rgba(26,26,26,.85)); }
.as-line--light { background-color: #fff; color: var(--as-black); }
.as-line--light::before { background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.88)); }
.as-line__content { position: relative; z-index: 2; }
.as-line--dark h3 { color: #fff; }
.as-line h3 { font-size: 1.9rem; }
.as-line--dark p { color: #d8d8d8; }
.as-line__tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; border-radius: 30px; margin-bottom: 22px; }
.as-line--dark .as-line__tag { background: rgba(200,32,43,.15); color: var(--as-red-light); border: 1px solid var(--as-red); }
.as-line--light .as-line__tag { background: var(--as-black); color: #fff; }
.as-line__features { list-style: none; padding: 0; margin: 0 0 32px; }
.as-line__features li { padding: 9px 0 9px 28px; position: relative; font-size: .98rem; }
.as-line__features li::before { content: "→"; position: absolute; left: 0; color: var(--as-red); font-weight: 700; }
.as-line--dark .as-line__features li { color: #e0e0e0; }

/* -------- Contacto -------- */
.as-contact { background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%); }
.as-contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.as-contact__info .as-divider { margin-left: 0; }
.as-contact__list { list-style: none; padding: 0; margin: 30px 0 0; }
.as-contact__list li { display: flex; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #e5e5e5; }
.as-contact__ico { width: 40px; height: 40px; background: var(--as-black); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 18px; flex-shrink: 0; border: 2px solid var(--as-red); }
.as-contact__list strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: 1.5px; color: #999; margin-bottom: 4px; font-weight: 600; }
.as-contact__list a, .as-contact__list span span { color: var(--as-black); text-decoration: none; }
.as-contact__list a:hover { color: var(--as-red); }

.as-form-card { background: #fff; padding: 45px; border-radius: 12px; box-shadow: 0 15px 50px rgba(0,0,0,.08); border-top: 4px solid var(--as-red); }
.as-form-card > p { color: #777; margin-bottom: 26px; }
.as-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.as-form__group { margin-bottom: 18px; }
.as-form__group label { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: 1px; color: #555; margin-bottom: 8px; font-weight: 600; }
.as-form__group input, .as-form__group select, .as-form__group textarea { width: 100%; padding: 14px 16px; border: 1px solid #d8d8d8; border-radius: 6px; font-size: .98rem; font-family: inherit; background: #fafafa; color: var(--as-black); transition: all .3s ease; }
.as-form__group input:focus, .as-form__group select:focus, .as-form__group textarea:focus { border-color: var(--as-red); background: #fff; box-shadow: 0 0 0 3px rgba(200,32,43,.15); outline: none; }
.as-form__submit { width: 100%; margin-top: 8px; }
.as-form__disclaimer { font-size: .78rem; color: #999; margin-top: 14px; text-align: center; }
.as-form-ok { background: #edf7ed; border: 1px solid #b7e0b7; color: #276627; padding: 14px 16px; border-radius: 6px; margin-bottom: 20px; }

/* -------- Footer -------- */
.as-footer { background: var(--as-black); color: #cfcfcf; padding-top: 64px; }
.as-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.as-footer__title { font-family: var(--as-head); font-weight: 800; color: #fff; font-size: 1.2rem; display: block; margin-bottom: 14px; }
.as-footer__tagline { font-size: .95rem; max-width: 340px; }
.as-footer__heading { font-size: .78rem; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; margin-bottom: 16px; }
.as-footer__menu { list-style: none; padding: 0; margin: 0; }
.as-footer__menu li { margin-bottom: 8px; }
.as-footer__menu a, .as-footer__contact a { color: #cfcfcf; text-decoration: none; }
.as-footer__menu a:hover, .as-footer__contact a:hover { color: var(--as-red-light); }
.as-footer__contact { font-style: normal; line-height: 1.9; }
.as-footer__bar { border-top: 1px solid #333; padding: 20px 0; font-size: .82rem; color: #8a8a8a; }
.as-footer__bar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.as-footer__legal a { color: #8a8a8a; text-decoration: none; margin-left: 18px; }
.as-footer__legal a:hover { color: var(--as-red-light); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 992px) {
	.as-section { padding: 70px 0; }
	.as-about__grid, .as-contact__grid { grid-template-columns: 1fr; gap: 50px; }
	.as-about__text h2 { text-align: center; }
	.as-about__text .as-divider, .as-about .as-divider { margin-left: auto; margin-right: auto; }
	.as-brands__grid { grid-template-columns: repeat(2, 1fr); }
	.as-lines__grid { grid-template-columns: 1fr; }
	.as-footer__grid { grid-template-columns: 1fr 1fr; }

	.as-nav-toggle { display: block; z-index: 110; }
	.as-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 90px 30px 30px; gap: 22px; transform: translateX(100%); transition: transform .3s ease; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
	.as-nav.is-open { transform: translateX(0); }
	.as-nav__menu { flex-direction: column; gap: 18px; align-items: flex-start; }
	.as-nav__menu a { color: var(--as-black); }

	/* En móvil los submenús se muestran apilados e indentados, sin dropdown */
	.as-nav__menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; background: transparent; padding: 6px 0 0 16px;
		min-width: 0; border-left: 2px solid #eee; margin-top: 8px;
	}
	.as-nav__menu .sub-menu li { margin-top: 6px; }
	.as-nav__menu .sub-menu a { padding: 4px 0; font-size: .88rem; white-space: normal; }
	.as-nav__menu .menu-item-has-children > a::after { display: none; }
}

@media (max-width: 600px) {
	.as-section { padding: 56px 0; }
	.as-about__images { height: 360px; }
	.as-brands__grid { grid-template-columns: 1fr; }
	.as-stats { grid-template-columns: 1fr; gap: 22px; }
	.as-line { padding: 54px 24px; }
	.as-form-card { padding: 28px 20px; }
	.as-form__row { grid-template-columns: 1fr; gap: 0; }
	.as-footer__grid { grid-template-columns: 1fr; }
	.as-hero { min-height: 76vh; }
}

/* ============================================================
   Lightbox de galería
   ============================================================ */
.as-zoomable { cursor: zoom-in; }
body.as-lightbox-open { overflow: hidden; }
.as-lightbox {
	position: fixed; inset: 0; z-index: 1000;
	background: rgba(12,12,12,.94);
	display: none; align-items: center; justify-content: center;
}
.as-lightbox.is-open { display: flex; animation: as-lb-fade .25s ease; }
@keyframes as-lb-fade { from { opacity: 0; } to { opacity: 1; } }
.as-lightbox__stage { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.as-lightbox__img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 24px 70px rgba(0,0,0,.55); background: #111; }
.as-lightbox__cap { color: rgba(255,255,255,.72); font-size: .85rem; margin-top: 14px; text-align: center; }
.as-lightbox__close {
	position: absolute; top: 16px; right: 22px; background: none; border: 0;
	color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: .8; padding: 4px 10px;
}
.as-lightbox__close:hover { opacity: 1; }
.as-lightbox__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(255,255,255,.1); border: 0; color: #fff;
	width: 54px; height: 54px; border-radius: 50%;
	font-size: 2rem; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s ease;
}
.as-lightbox__nav:hover { background: var(--as-red); }
.as-lightbox__prev { left: 22px; }
.as-lightbox__next { right: 22px; }
.as-lightbox__count {
	position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
	color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: 1.5px;
}
@media (max-width: 600px) {
	.as-lightbox__nav { width: 42px; height: 42px; font-size: 1.5rem; }
	.as-lightbox__prev { left: 8px; }
	.as-lightbox__next { right: 8px; }
	.as-lightbox__close { top: 8px; right: 12px; }
}

/* ============================================================
   Confían en nosotros — carrusel de logos (marquee CSS)
   ============================================================ */
.as-trust { background: #fff; padding: 80px 0; overflow: hidden; }
.as-trust__marquee {
	overflow: hidden;
	width: 100%;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.as-trust__track {
	display: flex;
	align-items: center;
	gap: 64px;
	width: max-content;
	animation: as-trust-scroll 45s linear infinite;
}
.as-trust__marquee:hover .as-trust__track { animation-play-state: paused; }
.as-trust__logo { flex: 0 0 auto; display: flex; align-items: center; height: 48px; }
.as-trust__logo img {
	max-height: 48px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .6;
	transition: filter .3s ease, opacity .3s ease;
}
.as-trust__logo img:hover { filter: grayscale(0); opacity: 1; }
@keyframes as-trust-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.as-trust__track { animation: none; flex-wrap: wrap; justify-content: center; gap: 40px; }
}
@media (max-width: 600px) {
	.as-trust { padding: 56px 0; }
	.as-trust__track { gap: 44px; animation-duration: 30s; }
	.as-trust__logo, .as-trust__logo img { max-height: 40px; height: 40px; }
}

/* ============================================================
   Botón flotante de WhatsApp
   ============================================================ */
.as-wa {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 900;
	display: inline-flex;
	align-items: center;
	height: 62px;
	width: 62px;
	border-radius: 34px;
	background: #25D366;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 28px rgba(0,0,0,.22);
	overflow: hidden;
	white-space: nowrap;
	transition: width .35s cubic-bezier(.25,.8,.25,1), background .3s ease, box-shadow .3s ease;
	animation: as-wa-bob 3.2s ease-in-out infinite;
}
.as-wa__pulse {
	position: absolute;
	left: 0; top: 0;
	width: 62px; height: 62px;
	border-radius: 50%;
	background: #25D366;
	z-index: -1;
	animation: as-wa-pulse 2.2s ease-out infinite;
}
.as-wa__icon {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	margin: 0 16px;
	fill: #fff;
}
.as-wa__label {
	font-family: var(--as-font);
	font-weight: 600;
	font-size: .95rem;
	opacity: 0;
	max-width: 0;
	padding-right: 0;
	transition: opacity .3s ease, max-width .35s ease, padding-right .35s ease;
}
.as-wa:hover, .as-wa:focus-visible {
	width: 240px;
	background: #1eb457;
	box-shadow: 0 14px 34px rgba(0,0,0,.3);
	animation-play-state: paused;
}
.as-wa:hover .as-wa__label, .as-wa:focus-visible .as-wa__label {
	opacity: 1;
	max-width: 180px;
	padding-right: 22px;
}
@keyframes as-wa-pulse {
	0%   { transform: scale(1);   opacity: .55; }
	70%  { transform: scale(1.7); opacity: 0; }
	100% { opacity: 0; }
}
@keyframes as-wa-bob {
	0%, 88%, 100% { transform: translateY(0); }
	92% { transform: translateY(-6px); }
	96% { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
	.as-wa, .as-wa__pulse { animation: none; }
}
@media (max-width: 600px) {
	.as-wa { right: 16px; bottom: 16px; height: 58px; width: 58px; }
	.as-wa__pulse { width: 58px; height: 58px; }
	.as-wa__icon { flex-basis: 32px; width: 32px; height: 32px; margin: 0 13px; }
}

/* ==========================================================================
   Páginas de texto (legales / genéricas) — plantilla page.php
   ========================================================================== */
.as-page { padding-bottom: 80px; }
.as-page__header { padding: 56px 0 6px; }
.as-page__title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: #1a1a1a; }
.as-page__body { max-width: 820px; margin: 28px auto 0; color: #4a4a4a; line-height: 1.75; font-size: 1.02rem; }
.as-page__body h2 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 14px; color: #1a1a1a; }
.as-page__body h3 { font-size: 1.12rem; font-weight: 600; margin: 26px 0 10px; color: #1a1a1a; }
.as-page__body p { margin: 0 0 16px; }
.as-page__body ul { margin: 0 0 18px; padding-left: 22px; }
.as-page__body li { margin: 0 0 8px; }
.as-page__body a { color: #c8202b; text-decoration: underline; }
.as-page__body .as-legal-meta { font-size: .95rem; color: #777; margin-bottom: 26px; }

/* Tablas dentro de páginas de texto (p. ej. política de cookies) */
.as-page__body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: .95rem; }
.as-page__body th, .as-page__body td { border: 1px solid #e3e3e3; padding: 9px 12px; text-align: left; vertical-align: top; }
.as-page__body th { background: #f6f6f6; font-weight: 600; color: #1a1a1a; }

/* ==========================================================================
   Banner de consentimiento de cookies
   ========================================================================== */
.as-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9600; background: #1a1a1a; color: #fff; box-shadow: 0 -6px 28px rgba(0,0,0,.28); }
.as-cookie[hidden] { display: none; }
.as-cookie__inner { max-width: var(--as-maxw, 1200px); margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.as-cookie__text { margin: 0; font-size: .92rem; line-height: 1.55; flex: 1 1 320px; color: #e9e9e9; }
.as-cookie__text a { color: #fff; text-decoration: underline; }
.as-cookie__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.as-cookie__btn { border: 0; border-radius: 6px; padding: 11px 24px; font-weight: 600; font-size: .9rem; cursor: pointer; font-family: inherit; transition: background .2s ease, border-color .2s ease; }
.as-cookie__btn--primary { background: #c8202b; color: #fff; }
.as-cookie__btn--primary:hover { background: #a81a23; }
.as-cookie__btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.as-cookie__btn--ghost:hover { background: rgba(255,255,255,.12); }
@media (max-width: 620px) {
	.as-cookie__inner { padding: 14px 16px; gap: 12px; }
	.as-cookie__actions { width: 100%; }
	.as-cookie__btn { flex: 1; }
}

/* ==========================================================================
   FAQ (home) — acordeón nativo <details>
   ========================================================================== */
.as-faq__list { max-width: 840px; margin: 0 auto; }
.as-faq__item { border-bottom: 1px solid #e5e5e5; }
.as-faq__item:first-child { border-top: 1px solid #e5e5e5; }
.as-faq__q { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1.08rem; color: #1a1a1a; position: relative; }
.as-faq__q::-webkit-details-marker { display: none; }
.as-faq__q::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; line-height: 1; color: #c8202b; transition: transform .25s ease; }
.as-faq__item[open] .as-faq__q::after { content: '\2212'; }
.as-faq__q:hover { color: #c8202b; }
.as-faq__a { padding: 0 44px 24px 0; color: #555; line-height: 1.75; }
.as-faq__a p { margin: 0; }

/* ==========================================================================
   Banda CTA de conversión (pre-footer en páginas internas)
   ========================================================================== */
.as-cta-band { background: #1a1a1a; color: #fff; padding: 64px 0; }
.as-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.as-cta-band__text { flex: 1 1 420px; }
.as-cta-band__text h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; margin: 0 0 10px; color: #fff; }
.as-cta-band__text p { margin: 0; color: #cfcfcf; font-size: 1.05rem; line-height: 1.65; max-width: 580px; }
.as-cta-band__actions { display: flex; flex-direction: column; gap: 12px; flex: 0 0 auto; min-width: 260px; }
.as-cta-band__actions .as-btn { text-align: center; }
.as-btn--ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.as-btn--ghost-light:hover { background: rgba(255,255,255,.12); }
.as-cta-band__direct { font-size: .95rem; color: #bdbdbd; text-align: center; margin-top: 2px; }
.as-cta-band__direct a { color: #fff; text-decoration: none; font-weight: 600; }
.as-cta-band__direct a:hover { text-decoration: underline; }
@media (max-width: 720px) {
	.as-cta-band { padding: 46px 0; }
	.as-cta-band__actions { width: 100%; min-width: 0; }
}
