/* =============================================================
   ADIÓS HINCHAZÓN — LANDING STYLESHEET
   Todo el CSS del tema vive aquí. Cero estilos inline añadidos
   a mano, cero CSS dentro del HTML. Los colores y tipografías
   consumen las variables generadas por theme.json.
   ============================================================= */

/* -------------------------------------------------------------
   1. BASE / GLOBAL
   ------------------------------------------------------------- */

:root {
	--adhz-radius-s: 12px;
	--adhz-radius-m: 20px;
	--adhz-radius-l: 28px;
	--adhz-transition: 160ms ease;
}

* {
	box-sizing: border-box;
}

body {
	background-color: var(--wp--preset--color--base);
	overflow-x: hidden;
}

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

.adhz-section {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
}

.adhz-section__intro {
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--large);
}

.adhz-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin-bottom: 0.5rem;
}

.adhz-eyebrow--center {
	text-align: center;
}

.adhz-disclaimer {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-muted);
}

.adhz-rounded-image img {
	border-radius: var(--adhz-radius-l);
	box-shadow: var(--wp--preset--shadow--card);
}

.adhz-check-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.adhz-check-list li {
	position: relative;
	padding-left: 1.75rem;
}

.adhz-check-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0.05em;
	color: var(--wp--preset--color--primary);
	font-weight: 700;
}

/* -------------------------------------------------------------
   2. BOTONES — estados hover / active / focus incluidos
   ------------------------------------------------------------- */

.adhz-cta-button .wp-block-button__link,
.wp-element-button {
	transition: transform var(--adhz-transition), box-shadow var(--adhz-transition), background-color var(--adhz-transition);
}

.adhz-cta-button .wp-block-button__link {
	background-color: var(--wp--preset--color--accent);
	color: #ffffff;
	box-shadow: var(--wp--preset--shadow--soft);
}

.adhz-cta-button .wp-block-button__link:hover {
	background-color: #a1421f;
	transform: translateY(-2px);
	box-shadow: var(--wp--preset--shadow--lifted);
	color: #ffffff;
}

.adhz-cta-button .wp-block-button__link:active {
	transform: translateY(0);
	box-shadow: var(--wp--preset--shadow--soft);
}

.adhz-cta-button .wp-block-button__link:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* -------------------------------------------------------------
   3. HERO
   ------------------------------------------------------------- */

.adhz-hero {
	background: var(--wp--preset--gradient--hero-gradient);
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}

.adhz-hero__row {
	gap: var(--wp--preset--spacing--40);
}

.adhz-hero__title {
	margin-top: 0.25rem;
	margin-bottom: 1rem;
}

.adhz-hero__subtitle {
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--text-muted);
	margin-bottom: 1.75rem;
}

.adhz-hero__cta {
	margin-bottom: 0.75rem;
}

.adhz-hero__microcopy {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-muted);
	margin-bottom: 1.5rem;
}

.adhz-trust-row {
	gap: 0.5rem 1.25rem;
}

.adhz-trust-row__item {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.adhz-hero__visual {
	position: relative;
}

.adhz-hero__badge {
	position: absolute;
	bottom: 1.25rem;
	left: 1.25rem;
	background-color: var(--wp--preset--color--surface);
	border-radius: 999px;
	padding: 0.6rem 1.1rem;
	box-shadow: var(--wp--preset--shadow--lifted);
}

.adhz-hero__badge-text {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
}

/* -------------------------------------------------------------
   5. PROBLEMA
   ------------------------------------------------------------- */

.adhz-problema {
	background-color: var(--wp--preset--color--surface);
}

.adhz-problema__row {
	gap: var(--wp--preset--spacing--40);
}

/* -------------------------------------------------------------
   6. MECANISMO (fases del protocolo)
   ------------------------------------------------------------- */

.adhz-mecanismo {
	background-color: var(--wp--preset--color--primary-tint);
}

.adhz-phase-grid {
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--40);
}

.adhz-phase-card {
	background-color: var(--wp--preset--color--surface);
	border-radius: var(--adhz-radius-m);
	padding: var(--wp--preset--spacing--30);
	box-shadow: var(--wp--preset--shadow--soft);
}

.adhz-phase-card__number {
	display: inline-block;
	background-color: var(--wp--preset--color--primary-tint);
	color: var(--wp--preset--color--primary);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small);
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}

/* -------------------------------------------------------------
   8. TRANSFORMACIÓN (antes / después)
   ------------------------------------------------------------- */

.adhz-transformacion {
	background-color: var(--wp--preset--color--surface);
}

.adhz-transformacion__image {
	max-width: 780px;
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--40);
}

.adhz-compare-grid {
	gap: var(--wp--preset--spacing--30);
}

.adhz-compare-card {
	border-radius: var(--adhz-radius-m);
	padding: var(--wp--preset--spacing--30);
}

.adhz-compare-card--before {
	background-color: #f2f0ea;
}

.adhz-compare-card--before h3 {
	color: var(--wp--preset--color--text-muted);
}

.adhz-compare-card--before ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	color: var(--wp--preset--color--text-muted);
}

.adhz-compare-card--before li::before {
	content: "\274C";
	margin-right: 0.5rem;
	font-size: 0.85em;
}

.adhz-compare-card--after {
	background-color: var(--wp--preset--color--primary-tint);
}

.adhz-compare-card--after h3 {
	color: var(--wp--preset--color--primary);
}

.adhz-compare-card--after ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.adhz-compare-card--after li {
	position: relative;
	padding-left: 1.5rem;
}

.adhz-compare-card--after li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--primary);
	font-weight: 700;
}

/* -------------------------------------------------------------
   9. PRODUCTO (qué incluye)
   ------------------------------------------------------------- */

.adhz-producto {
	background-color: var(--wp--preset--color--primary-tint);
}

.adhz-producto__row {
	gap: var(--wp--preset--spacing--40);
}

.adhz-feature-row {
	gap: 0.9rem;
	margin-bottom: 1.25rem;
	align-items: flex-start;
}

.adhz-feature-row__icon {
	background-color: var(--wp--preset--color--primary);
	color: #ffffff;
	width: 26px;
	height: 26px;
	min-width: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	margin: 0.15rem 0 0;
}

.adhz-feature-row__title,
.adhz-feature-row__body {
	margin: 0;
}

.adhz-feature-row__body {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--small);
}

/* -------------------------------------------------------------
   10. BONOS
   ------------------------------------------------------------- */

.adhz-bonos {
	background-color: var(--wp--preset--color--surface);
}

.adhz-bonus-grid {
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--40);
}

.adhz-bonus-card {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--adhz-radius-m);
	padding: var(--wp--preset--spacing--20);
	text-align: center;
}

.adhz-bonus-card__image img {
	border-radius: var(--adhz-radius-s);
	margin-bottom: 0.75rem;
}

.adhz-bonus-card__tag {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.06em;
	margin-bottom: 0.35rem;
}

.adhz-bonus-card__title {
	font-size: var(--wp--preset--font-size--medium);
	margin-bottom: 0.5rem;
}

.adhz-bonus-card__body {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-muted);
	margin-bottom: 0.75rem;
}

.adhz-bonus-card__value {
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

/* -------------------------------------------------------------
   11. TESTIMONIOS
   ------------------------------------------------------------- */

.adhz-testimonios {
	background-color: var(--wp--preset--color--primary-tint);
}

.adhz-testimonial-grid {
	margin-top: var(--wp--preset--spacing--40);
	gap: var(--wp--preset--spacing--30) !important;
}

.adhz-testimonial-card {
	background-color: var(--wp--preset--color--surface);
	border-radius: var(--adhz-radius-m);
	padding: var(--wp--preset--spacing--30);
	box-shadow: var(--wp--preset--shadow--soft);
}

.adhz-testimonial-card__stars {
	color: var(--wp--preset--color--accent);
	letter-spacing: 0.15em;
	margin-bottom: 0.5rem;
}

.adhz-testimonial-card__quote {
	font-style: italic;
	color: var(--wp--preset--color--contrast);
	margin-bottom: 1.25rem;
	min-height: 4.5em;
}

.adhz-testimonial-card__author {
	gap: 0.75rem;
	align-items: center;
}

.adhz-testimonial-card__avatar {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 50%;
	background-color: var(--wp--preset--color--primary-tint);
	color: var(--wp--preset--color--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 0;
}

.adhz-testimonial-card__author-text {
	gap: 0.1rem;
}

.adhz-testimonial-card__name {
	font-weight: 700;
	margin: 0;
}

.adhz-testimonial-card__result {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-muted);
	margin: 0;
}

/* -------------------------------------------------------------
   12. OFERTA
   ------------------------------------------------------------- */

.adhz-oferta {
	background-color: var(--wp--preset--color--surface);
}

.adhz-oferta__row {
	gap: var(--wp--preset--spacing--40);
}

.adhz-offer-card {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--adhz-radius-l);
	padding: var(--wp--preset--spacing--40);
	box-shadow: var(--wp--preset--shadow--card);
}

.adhz-price-row {
	gap: 1rem;
	align-items: baseline;
	margin: 1rem 0 1.5rem;
}

.adhz-price-row__old {
	text-decoration: line-through;
	color: var(--wp--preset--color--text-muted);
	margin: 0;
}

.adhz-price-row__new {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 700;
	color: var(--wp--preset--color--accent);
	margin: 0;
}

/* -------------------------------------------------------------
   13. GARANTÍA
   ------------------------------------------------------------- */

.adhz-garantia {
	background-color: var(--wp--preset--color--primary-tint);
}

.adhz-guarantee-badge {
	gap: var(--wp--preset--spacing--30);
}

.adhz-guarantee-badge__seal {
	width: 160px;
	min-width: 160px;
	margin: 0;
	filter: drop-shadow(var(--wp--preset--shadow--card));
}

/* -------------------------------------------------------------
   14. OBJECIONES
   ------------------------------------------------------------- */

.adhz-objeciones {
	background-color: var(--wp--preset--color--surface);
}

.adhz-objeciones__row {
	gap: var(--wp--preset--spacing--40);
}

.adhz-objection-item {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-bottom: 1.1rem;
	margin-bottom: 1.1rem;
}

.adhz-objection-item__title {
	font-size: var(--wp--preset--font-size--medium);
	margin-bottom: 0.4rem;
}

.adhz-objection-item__body {
	color: var(--wp--preset--color--text-muted);
	margin: 0;
}

/* -------------------------------------------------------------
   15. FAQ (native core/details accordion)
   ------------------------------------------------------------- */

.adhz-faq {
	background-color: var(--wp--preset--color--primary-tint);
}

.adhz-faq-list {
	margin-top: var(--wp--preset--spacing--40);
	gap: 0.9rem;
}

.adhz-faq-item {
	background-color: var(--wp--preset--color--surface);
	border-radius: var(--adhz-radius-s);
	padding: 1.1rem 1.4rem;
	box-shadow: var(--wp--preset--shadow--soft);
}

.adhz-faq-item summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.adhz-faq-item summary::-webkit-details-marker {
	display: none;
}

.adhz-faq-item summary::after {
	content: "+";
	font-size: 1.4rem;
	color: var(--wp--preset--color--primary);
	transition: transform var(--adhz-transition);
	flex-shrink: 0;
}

.adhz-faq-item[open] summary::after {
	transform: rotate(45deg);
}

.adhz-faq-item p {
	color: var(--wp--preset--color--text-muted);
	margin-top: 0.75rem;
	margin-bottom: 0;
}

/* -------------------------------------------------------------
   16. CTA FINAL
   ------------------------------------------------------------- */

.adhz-cta-final {
	background: var(--wp--preset--gradient--cta-gradient);
	border-radius: var(--adhz-radius-l);
	margin-left: auto;
	margin-right: auto;
	max-width: 1180px;
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--40);
}

.adhz-cta-final__title,
.adhz-cta-final__body {
	color: #ffffff;
}

.adhz-cta-final__body {
	opacity: 0.9;
}

.adhz-cta-final .adhz-hero__microcopy {
	color: rgba(255, 255, 255, 0.75);
}

/* -------------------------------------------------------------
   17. STICKY MOBILE CTA
   ------------------------------------------------------------- */

.adhz-sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	background-color: var(--wp--preset--color--surface);
	border-top: 1px solid var(--wp--preset--color--border);
	padding: 0.75rem 1rem;
	box-shadow: 0 -6px 20px rgba(32, 40, 31, 0.1);
	align-items: center;
	transform: translateY(100%);
	opacity: 0;
	transition: transform var(--adhz-transition), opacity var(--adhz-transition);
	pointer-events: none;
	display: none;
}

.adhz-sticky-cta.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.adhz-sticky-cta__price {
	font-weight: 700;
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--contrast);
	margin: 0;
}

.adhz-sticky-cta .adhz-cta-button .wp-block-button__link {
	padding-top: 0.7rem;
	padding-bottom: 0.7rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	font-size: 0.95rem;
}

/* -------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------- */

.adhz-site-footer {
	background-color: var(--wp--preset--color--contrast);
	padding-top: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--30);
}

.adhz-site-footer__legal {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.8125rem;
	line-height: 1.6;
	margin: 0;
}

/* -------------------------------------------------------------
   19. RESPONSIVE — tablet
   ------------------------------------------------------------- */

@media (max-width: 960px) {
	.adhz-hero__row,
	.adhz-problema__row,
	.adhz-producto__row,
	.adhz-oferta__row,
	.adhz-objeciones__row {
		flex-wrap: wrap;
	}

	.adhz-hero__copy,
	.adhz-hero__visual,
	.adhz-problema__row > .wp-block-column,
	.adhz-producto__row > .wp-block-column,
	.adhz-oferta__row > .wp-block-column,
	.adhz-objeciones__row > .wp-block-column {
		flex-basis: 100% !important;
	}

	.adhz-phase-grid,
	.adhz-compare-grid,
	.adhz-bonus-grid {
		flex-wrap: wrap;
	}

	.adhz-phase-grid > .wp-block-column,
	.adhz-compare-grid > .wp-block-column {
		flex-basis: 100% !important;
	}

	.adhz-bonus-grid > .wp-block-column {
		flex-basis: calc(50% - 1rem) !important;
	}
}

/* -------------------------------------------------------------
   20. RESPONSIVE — móvil
   ------------------------------------------------------------- */

@media (max-width: 600px) {
	.adhz-section {
		padding-top: var(--wp--preset--spacing--40);
		padding-bottom: var(--wp--preset--spacing--40);
	}

	.adhz-hero {
		padding-top: var(--wp--preset--spacing--40);
	}

	.adhz-hero__visual {
		order: -1;
	}

	.adhz-bonus-grid > .wp-block-column {
		flex-basis: 100% !important;
	}

	.adhz-offer-card {
		padding: var(--wp--preset--spacing--30);
	}

	.adhz-price-row__new {
		font-size: var(--wp--preset--font-size--x-large);
	}

	.adhz-guarantee-badge {
		flex-direction: column;
		text-align: center;
	}

	/* The sticky bar only makes sense once real thumbs are involved. */
	.adhz-sticky-cta {
		display: flex;
	}

	/* ---- Centrado de texto en móvil: los bloques de copy que en
	   desktop viven junto a una imagen en dos columnas se leen mejor
	   centrados una vez apilados en una sola columna. ---- */
	.adhz-hero__copy,
	.adhz-problema__row > .wp-block-column:last-child,
	.adhz-producto__row > .wp-block-column:last-child,
	.adhz-objeciones__row > .wp-block-column:first-child {
		text-align: center;
	}

	.adhz-hero__cta,
	.adhz-hero__cta .wp-block-buttons,
	.adhz-trust-row,
	.adhz-check-list,
	.adhz-feature-row,
	.adhz-testimonial-card__author,
	.adhz-price-row {
		justify-content: center;
	}

	.adhz-check-list {
		align-items: center;
	}

	.adhz-check-list li {
		text-align: left;
	}

	.adhz-feature-row {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.adhz-feature-row__text {
		text-align: center;
	}

	.adhz-cta-button .wp-block-button__link,
	.wp-element-button {
		width: 100%;
		text-align: center;
	}
}

/* -------------------------------------------------------------
   21. ACCESIBILIDAD
   ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}
