/*
Theme Name: Herencias Premium Landing
Description: Landing «Herencias conflictivas en Alicante» con página de gracias, páginas legales y formulario de captación. Todo el contenido se edita con el editor de bloques.
Author: Herencias Premium
Version: 2.2.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hp-landing
*/

/* ------------------------------------------------------------------ Colores
   Para cambiar la paleta basta con tocar estas variables. */
:root {
	--hp-navy: #0B1F3A;
	--hp-navy-deep: #071528;
	--hp-line-dark: #24385A;
	--hp-outline: #5A6E90;
	--hp-muted-dark: #B7C3D6;
	--hp-soft-dark: #DCE3EE;
	--hp-gold: #C8A14A;
	--hp-gold-hover: #D4B062;
	--hp-gold-text: #7D5F14;
	--hp-gold-light: #E3C277;
	--hp-gold-focus: #A8822B;
	--hp-white: #FFFFFF;
	--hp-bg-alt: #F2F5FA;
	--hp-text: #14233A;
	--hp-text-2: #33425A;
	--hp-text-3: #4A5870;
	--hp-line: #D5DCE8;
	--hp-line-2: #E1E6EF;
	--hp-line-3: #C7D0DF;
	--hp-input: #8792A6;
	--hp-serif: "Source Serif 4", Georgia, serif;
	--hp-icon-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
	--hp-icon-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E");
	--hp-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
	--hp-icon-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
	--hp-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ Base */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--hp-gold-focus); outline-offset: 2px; }

:is(.hp-hero, .hp-section, .hp-legal, .hp-header, .hp-footer) :where(h1, h2, h3, h4, p, ul, ol, figure, details) { margin: 0; }
:is(.hp-hero, .hp-section, .hp-header, .hp-footer) :where(ul, ol) { padding: 0; list-style: none; }

.hp-wrap { width: 100%; max-width: 1160px; margin-left: auto; margin-right: auto; }
.hp-wrap.hp-narrow { max-width: 860px; }
.hp-stack, .hp-stack-sm, .hp-stack-lg { display: flex; flex-direction: column; }
.hp-stack { gap: 18px; }
.hp-stack-sm { gap: 8px; }
.hp-stack-lg { gap: 36px; }
.hp-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.hp-split.hp-split-center { align-items: center; }
.hp-split-a { flex: 1 1 380px; min-width: 0; }
.hp-split-b { flex: 1.3 1 440px; min-width: 0; }

/* ------------------------------------------------------------------ Botones */
.wp-block-buttons.hp-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hp-btns .wp-block-button { margin: 0; }
.hp-btns .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 28px; border-radius: 6px;
	font-weight: 600; font-size: 18px; line-height: 1.2; text-decoration: none;
	background: var(--hp-gold); color: var(--hp-navy); border: 1px solid transparent;
}
.hp-btns .wp-block-button__link:hover { background: var(--hp-gold-hover); color: var(--hp-navy); }
.hp-btns .hp-btn-outline .wp-block-button__link { background: transparent; color: var(--hp-white); border-color: var(--hp-outline); padding: 0 22px; }
.hp-btns .hp-btn-outline .wp-block-button__link:hover { background: var(--hp-line-dark); color: var(--hp-white); }
.hp-btns .hp-btn-white .wp-block-button__link { background: var(--hp-white); color: var(--hp-navy); }
.hp-btns .hp-btn-white .wp-block-button__link:hover { background: var(--hp-soft-dark); color: var(--hp-navy); }
.hp-btn-tel .wp-block-button__link::before,
.hp-btn-wa .wp-block-button__link::before {
	content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: var(--hp-icon-tel) center / contain no-repeat; mask: var(--hp-icon-tel) center / contain no-repeat;
}
.hp-btn-wa .wp-block-button__link::before { -webkit-mask-image: var(--hp-icon-chat); mask-image: var(--hp-icon-chat); }

/* ------------------------------------------------------------------ Cabecera y pie */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar header.wp-block-template-part { top: 0; } }
.hp-header { background: var(--hp-navy); border-bottom: 1px solid var(--hp-line-dark); padding: 10px 24px; }
.hp-header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.hp-brand-name { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: 0.01em; }
.hp-brand-name a { color: var(--hp-white); text-decoration: none; }
.hp-brand-sub { font-size: 13px; line-height: 1.4; color: var(--hp-muted-dark); }
/* Logo: horizontal en la cabecera, completo y centrado en el pie */
.hp-brand-row { display: flex; align-items: center; gap: 20px; min-width: 0; }
.wp-block-image.hp-logo { flex: none; margin: 0; line-height: 0; }
.wp-block-image.hp-logo a { display: block; }
.wp-block-image.hp-logo img { display: block; height: 64px; width: auto; max-width: none; }
.hp-brand-row .hp-brand-sub { padding-left: 20px; border-left: 1px solid var(--hp-line-dark); font-size: 14px; }
.hp-footer > .wp-block-image.hp-logo-footer { display: block; width: fit-content; margin: 0 auto 32px; }
.wp-block-image.hp-logo.hp-logo-footer img { height: auto; width: 190px; }
@media (max-width: 820px) {
	.hp-brand-row .hp-brand-sub { display: none; }
}
@media (max-width: 600px) {
	.hp-header { padding: 10px 16px; }
	.hp-header-row { flex-wrap: nowrap; }
	.wp-block-image.hp-logo img { height: 48px; }
	/* En móvil el botón dice solo «Llamar»; el número completo sigue en el enlace y para lectores de pantalla */
	.hp-header .hp-btns { flex: none; }
	.hp-header .hp-btns .wp-block-button .wp-block-button__link { padding: 0 14px; gap: 8px; font-size: 0; white-space: nowrap; }
	.hp-header .hp-btns .wp-block-button .wp-block-button__link::after { content: "Llamar"; font-size: 16px; }
	.wp-block-image.hp-logo.hp-logo-footer img { width: 150px; }
}
@media (max-width: 360px) {
	.wp-block-image.hp-logo img { height: 40px; }
}
.hp-header .hp-btns .wp-block-button__link { min-height: 44px; padding: 0 18px; font-size: 16px; }

.hp-footer { background: var(--hp-navy-deep); color: var(--hp-muted-dark); font-size: 14px; padding: 36px 24px; }
.hp-footer-row { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.hp-footer-datos { display: flex; flex-direction: column; gap: 4px; }
.hp-footer-name { font-size: 16px; color: var(--hp-white); }
.hp-footer-name strong { font-weight: 600; }
.hp-footer-links a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 24px; color: var(--hp-soft-dark); }
.hp-footer-links a:hover { color: var(--hp-white); }

/* ------------------------------------------------------------------ Hero */
.hp-hero { background: var(--hp-navy); color: var(--hp-white); padding: clamp(40px, 6vw, 80px) 24px clamp(48px, 7vw, 96px); }
.hp-hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.hp-hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.hp-eyebrow { color: var(--hp-gold-light); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.hp-h1 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.06; font-weight: 700; letter-spacing: -0.02em; color: var(--hp-white); }
.hp-lead { font-family: var(--hp-serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--hp-soft-dark); max-width: 560px; }
.hp-trust { color: var(--hp-muted-dark); font-size: 15px; }

.hp-checks { display: flex; flex-direction: column; gap: 14px; max-width: 520px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--hp-line-dark); }
.hp-checks li { position: relative; padding-left: 32px; color: var(--hp-muted-dark); }
.hp-checks li strong { font-weight: 600; color: var(--hp-white); }
.hp-checks li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--hp-gold-light);
	-webkit-mask: var(--hp-icon-check) center / contain no-repeat; mask: var(--hp-icon-check) center / contain no-repeat;
}
.hp-checks.hp-checks-light { margin-top: 10px; padding-top: 0; border-top: 0; max-width: none; }
.hp-checks.hp-checks-light li { color: var(--hp-text); }
.hp-checks.hp-checks-light li::before { background: var(--hp-gold-text); }

/* ------------------------------------------------------------------ Formulario */
.hp-form-card {
	flex: 1 1 420px; min-width: 0; max-width: 520px; background: var(--hp-white); color: var(--hp-text);
	border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 110px;
}
.hp-form-title { font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--hp-text); }
.hp-form-intro { margin-top: -12px; color: var(--hp-text-3); font-size: 15px; }
.hp-form-intro strong { color: var(--hp-text); }
.hp-form-note { position: relative; padding-left: 26px; font-size: 13px; line-height: 1.4; color: var(--hp-text-3); }
.hp-form-note::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; background: currentColor;
	-webkit-mask: var(--hp-icon-lock) center / contain no-repeat; mask: var(--hp-icon-lock) center / contain no-repeat;
}
.hp-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.hp-form .hp-field { display: flex; flex-direction: column; gap: 6px; }
.hp-form .hp-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hp-form .hp-row .hp-field { flex: 1 1 180px; min-width: 0; }
.hp-form label, .hp-form legend { font-size: 14px; font-weight: 600; color: var(--hp-text); }
.hp-form .hp-opcional { font-weight: 400; color: var(--hp-text-3); }
.hp-form input[type="text"], .hp-form input[type="tel"], .hp-form input[type="email"], .hp-form select, .hp-form textarea {
	width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--hp-input); border-radius: 6px;
	font: inherit; font-size: 16px; color: var(--hp-text); background: var(--hp-white);
}
.hp-form textarea { height: auto; padding: 10px 12px; resize: vertical; }
.hp-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hp-form legend { padding: 0; margin-bottom: 6px; }
.hp-form .hp-opt { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.3; font-weight: 400; cursor: pointer; }
.hp-form .hp-opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--hp-gold-text); }
.hp-form .hp-hint { font-size: 13px; color: var(--hp-text-3); }
.hp-form .hp-submit {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border: 0; border-radius: 6px;
	background: var(--hp-gold); color: var(--hp-navy); font: inherit; font-weight: 600; font-size: 18px; cursor: pointer;
}
.hp-form .hp-submit:hover { background: var(--hp-gold-hover); }
.hp-form .hp-error { padding: 12px 14px; border: 1px solid #B42318; border-radius: 6px; background: #FDECEC; color: #7A1A12; font-size: 15px; }
.hp-form .hp-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ Secciones */
.hp-section { padding: clamp(56px, 7vw, 96px) 24px; background: var(--hp-white); color: var(--hp-text); scroll-margin-top: 72px; }
.hp-section.hp-alt { background: var(--hp-bg-alt); }
.hp-section.hp-dark { background: var(--hp-navy); color: var(--hp-white); }
.hp-section.hp-final { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.hp-h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; }
.hp-h2.hp-h2-xl { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -0.02em; }
.hp-dark .hp-h2 { color: var(--hp-white); }
.hp-dark p { color: var(--hp-soft-dark); }
.hp-dark p.hp-muted { color: var(--hp-muted-dark); }
.hp-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hp-gold-text); }
.hp-big { font-size: 19px; }
.hp-small { font-size: 15px; color: var(--hp-text-3); }
.hp-quote { margin-top: 12px; padding-top: 24px; border-top: 2px solid var(--hp-navy); font-family: var(--hp-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--hp-navy); }
.hp-dark p.hp-callout { padding: 16px 18px; border: 1px solid var(--hp-outline); border-radius: 6px; color: var(--hp-white); font-size: 16px; }
.hp-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Tarjetas de situaciones */
.hp-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.hp-card-link { position: relative; flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--hp-line); border-radius: 8px; background: var(--hp-bg-alt); }
.hp-card-link:hover { border-color: var(--hp-navy); }
.hp-card-link h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.hp-card-link h3 a { color: var(--hp-text); text-decoration: none; }
.hp-card-link h3 a::after { content: ""; position: absolute; inset: 0; }
.hp-card-link p { color: var(--hp-text-3); font-size: 16px; }

/* Tarjetas de contenido */
.hp-grid2 { display: flex; flex-wrap: wrap; gap: 20px; }
.hp-card { background: var(--hp-white); border-radius: 8px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.hp-grid2 > .hp-card { flex: 1 1 460px; min-width: 0; scroll-margin-top: 96px; }
.hp-grid2 > .hp-card.hp-card-wide { flex-basis: 100%; }
.hp-card h3 { font-size: 26px; line-height: 1.18; font-weight: 700; color: var(--hp-text); }
.hp-card p { color: var(--hp-text-2); }
.hp-card p.hp-kicker { color: var(--hp-gold-text); }
.hp-card p.hp-small { color: var(--hp-text-3); }
.hp-card.hp-card-dark { background: var(--hp-navy); justify-content: center; gap: 14px; }
.hp-card.hp-card-dark p.hp-quote-light { font-family: var(--hp-serif); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--hp-white); }
.hp-cols3 { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.hp-cols3 > p { flex: 1 1 260px; min-width: 0; }
.hp-cols3 strong { color: var(--hp-text); }

/* Vías legales */
.hp-vias { counter-reset: hp-via; display: flex; flex-direction: column; }
.hp-vias li { counter-increment: hp-via; position: relative; padding: 18px 0 18px 48px; border-top: 1px solid var(--hp-line-dark); color: var(--hp-muted-dark); }
.hp-vias li:last-child { border-bottom: 1px solid var(--hp-line-dark); }
.hp-vias li::before { content: counter(hp-via, decimal-leading-zero); position: absolute; left: 0; top: 18px; color: var(--hp-gold-light); font-weight: 600; }
.hp-vias li strong { font-size: 19px; font-weight: 600; color: var(--hp-white); }

/* Pasos */
.hp-steps { display: flex; flex-wrap: wrap; gap: 16px; }
.hp-step { flex: 1 1 240px; min-width: 0; padding: 24px; border-top: 3px solid var(--hp-navy); background: var(--hp-bg-alt); display: flex; flex-direction: column; gap: 10px; }
.hp-step-n { font-size: 34px; font-weight: 700; line-height: 1; color: var(--hp-gold-text); }
.hp-step h3 { font-size: 19px; font-weight: 600; line-height: 1.25; }
.hp-step p:not(.hp-step-n) { color: var(--hp-text-3); font-size: 16px; }

/* Por qué y quién */
.hp-feats { display: flex; flex-wrap: wrap; gap: 24px 32px; }
.hp-feat { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hp-feat h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.hp-feat p { color: var(--hp-text-3); font-size: 16px; }
.hp-card.hp-quien { padding: 28px; gap: 20px; }
.hp-card.hp-quien h3 { font-size: 24px; line-height: 1.2; }
.hp-quien-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.hp-quien-datos { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hp-quien-datos p { font-size: 16px; }
.hp-quien-datos p.hp-name { font-size: 19px; line-height: 1.25; color: var(--hp-text); }
.hp-quien-datos p.hp-name strong { font-weight: 600; }
.hp-card p.hp-foto { flex: none; width: 120px; height: 150px; padding: 8px; border: 1px dashed var(--hp-outline); border-radius: 6px; background: var(--hp-line-2); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; line-height: 1.3; color: var(--hp-text-3); }
.hp-quien-row .wp-block-image { flex: none; width: 140px; margin: 0; }
.hp-quien-row .wp-block-image img { display: block; width: 140px; height: 175px; object-fit: cover; border-radius: 6px; }

/* Preguntas frecuentes */
.hp-faq { border-top: 1px solid var(--hp-line-3); }
.hp-faq details { border-bottom: 1px solid var(--hp-line-3); }
.hp-faq summary { position: relative; display: flex; align-items: center; min-height: 60px; padding: 14px 40px 14px 0; font-size: 19px; font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after {
	content: ""; position: absolute; right: 4px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: var(--hp-gold-text);
	-webkit-mask: var(--hp-icon-chevron) center / contain no-repeat; mask: var(--hp-icon-chevron) center / contain no-repeat;
}
.hp-faq details[open] summary::after { transform: rotate(180deg); }
.hp-faq details p { margin: 0 0 20px; color: var(--hp-text-2); }

/* Reseñas de Google */
.hp-resenas-head { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-end; }
.hp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 16px; color: var(--hp-text-3); }
.hp-rating strong { font-size: 34px; line-height: 1; font-weight: 700; color: var(--hp-text); }
.hp-rating-stars { font-size: 20px; letter-spacing: 2px; color: var(--hp-gold); }
.hp-resenas-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.hp-card.hp-resena { flex: 1 1 320px; min-width: 0; padding: 28px; gap: 14px; }
.hp-card p.hp-stars { font-size: 0; line-height: 1; color: transparent; }
.hp-card p.hp-stars::before { content: "★★★★★"; content: "★★★★★" / ""; font-size: 18px; letter-spacing: 2px; color: var(--hp-gold); }
.hp-card p.hp-resena-texto { flex: 1 1 auto; font-family: var(--hp-serif); font-size: 18px; line-height: 1.5; color: var(--hp-text); }
.hp-card p.hp-resena-autor { padding-top: 14px; border-top: 1px solid var(--hp-line); font-size: 15px; color: var(--hp-text-3); }
.hp-card p.hp-resena-autor strong { font-weight: 600; color: var(--hp-text); }
.hp-resenas .hp-more a { color: var(--hp-gold-text); }
.hp-section.hp-resenas + .hp-section:not(.hp-alt):not(.hp-dark) { border-top: 1px solid var(--hp-line); }

/* Honorarios */
.hp-card.hp-price { padding: 28px; gap: 6px; }
.hp-card.hp-price p.hp-price-n { font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--hp-text); }
.hp-card.hp-price p.hp-price-sub { padding-bottom: 16px; border-bottom: 1px solid var(--hp-line); }

/* ------------------------------------------------------------------ Gracias y páginas legales */
.hp-h1-dark { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; color: var(--hp-text); }
.hp-lead-dark { font-family: var(--hp-serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--hp-text-2); }
.hp-h3 { font-size: 22px; line-height: 1.2; font-weight: 700; color: var(--hp-text); }
.hp-gracias { min-height: 60vh; }
.hp-dots { display: flex; flex-direction: column; gap: 12px; color: var(--hp-text-2); }
.hp-dots li { position: relative; padding-left: 18px; }
.hp-dots li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--hp-gold-text); }

.hp-legal { padding: clamp(40px, 6vw, 80px) 24px clamp(56px, 7vw, 96px); background: var(--hp-white); color: var(--hp-text); }
.hp-prose { display: flex; flex-direction: column; gap: 14px; }
.hp-prose h2 { margin-top: 22px; font-size: 24px; line-height: 1.2; font-weight: 700; }
.hp-prose p { color: var(--hp-text-2); }
.hp-prose p.hp-small { color: var(--hp-text-3); }
.hp-prose p.hp-rule { padding-bottom: 28px; border-bottom: 2px solid var(--hp-navy); }
.hp-prose ul { margin: 0; padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 8px; color: var(--hp-text-2); }
.hp-prose ul.hp-data { list-style: none; padding: 8px 24px; gap: 0; background: var(--hp-bg-alt); border-radius: 8px; }
.hp-prose ul.hp-data li { padding: 12px 0; border-bottom: 1px solid var(--hp-line-2); }
.hp-prose ul.hp-data li:last-child { border-bottom: 0; }
.hp-prose ul.hp-data strong { color: var(--hp-text); font-weight: 600; }
.hp-legal .hp-card { background: var(--hp-bg-alt); padding: 24px; gap: 10px; }
.hp-legal .hp-card h2 { margin-top: 0; font-size: 20px; }
.wp-block-table.hp-table { margin: 0; overflow-x: auto; background: var(--hp-bg-alt); border-radius: 8px; }
.wp-block-table.hp-table table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.wp-block-table.hp-table thead { border-bottom: 0; }
.wp-block-table.hp-table th, .wp-block-table.hp-table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--hp-line-2); text-align: left; vertical-align: top; color: var(--hp-text-2); }
.wp-block-table.hp-table th { border-bottom: 2px solid var(--hp-navy); font-weight: 600; color: var(--hp-text); }
.wp-block-table.hp-table tr:last-child td { border-bottom: 0; }
.wp-block-table.hp-table td:first-child { color: var(--hp-text); }

/* ------------------------------------------------------------------ Banner de cookies */
.hp-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100000; max-width: 760px; margin: 0 auto; background: var(--hp-white); color: var(--hp-text); border-radius: 10px; box-shadow: 0 10px 40px rgba(7, 21, 40, 0.35); border-top: 4px solid var(--hp-gold); font-family: var(--wp--preset--font-family--sans, system-ui, sans-serif); font-size: 15px; line-height: 1.5; }
.hp-cookies[hidden] { display: none; }
.hp-cookies-inner { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 32px); overflow-y: auto; }
.hp-cookies h2 { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 700; color: var(--hp-text); }
.hp-cookies p { margin: 0; color: var(--hp-text-2); }
.hp-cookies a { color: var(--hp-gold-text); }
.hp-cookies-acciones { display: flex; flex-wrap: wrap; gap: 10px; }
.hp-cookies button { flex: 1 1 150px; min-height: 46px; padding: 0 16px; border-radius: 6px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid var(--hp-navy); background: var(--hp-navy); color: var(--hp-white); }
.hp-cookies button:hover { background: var(--hp-line-dark); border-color: var(--hp-line-dark); }
.hp-cookies button.hp-cookies-secundario { background: var(--hp-white); color: var(--hp-navy); }
.hp-cookies button.hp-cookies-secundario:hover { background: var(--hp-bg-alt); }
.hp-cookies button:focus-visible { outline: 3px solid var(--hp-gold-focus); outline-offset: 2px; }
.hp-cookies-panel { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: var(--hp-bg-alt); border-radius: 8px; }
.hp-cookies-panel[hidden] { display: none; }
.hp-cookies-opcion { display: flex; gap: 12px; align-items: flex-start; }
.hp-cookies-opcion input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--hp-navy); }
.hp-cookies-opcion strong { display: block; color: var(--hp-text); }
.hp-cookies-opcion span { color: var(--hp-text-3); font-size: 14px; }
.hp-footer-links a.hp-abrir-cookies { cursor: pointer; }
@media (max-width: 600px) {
	.hp-cookies { left: 8px; right: 8px; bottom: 8px; font-size: 14px; }
	.hp-cookies-inner { padding: 16px; gap: 12px; }
	.hp-cookies h2 { font-size: 17px; }
	.hp-cookies-acciones { gap: 8px; }
	.hp-cookies button { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 14px; }
	.hp-cookies button[data-hp="guardar"] { flex-basis: 100%; order: 3; }
}

/* ------------------------------------------------------------------ Landing de tramitación: paquetes */
.hp-plans { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.hp-plan { position: relative; flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 32px 28px 28px; background: var(--hp-bg-alt); border: 1px solid var(--hp-line); border-radius: 10px; }
.hp-plan.hp-plan-destacado { background: var(--hp-navy); border-color: var(--hp-navy); color: var(--hp-white); box-shadow: 0 16px 40px rgba(11, 31, 58, 0.22); }
.hp-plan .hp-plan-badge { position: absolute; top: -14px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--hp-gold); color: var(--hp-navy); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.hp-plan h3.hp-plan-nombre { font-size: 26px; line-height: 1.15; font-weight: 700; color: var(--hp-text); }
.hp-plan-destacado h3.hp-plan-nombre { color: var(--hp-white); }
.hp-plan .hp-plan-para { color: var(--hp-text-2); font-size: 16px; min-height: 72px; }
.hp-plan-destacado .hp-plan-para { color: var(--hp-soft-dark); }
.hp-plan .hp-plan-precio { margin-top: 4px; font-size: 38px; line-height: 1.1; font-weight: 700; color: var(--hp-text); letter-spacing: -0.01em; }
.hp-plan .hp-plan-precio span { font-size: 18px; font-weight: 600; color: var(--hp-text-3); }
.hp-plan-destacado .hp-plan-precio { color: var(--hp-white); }
.hp-plan-destacado .hp-plan-precio span { color: var(--hp-gold-light); }
.hp-plan .hp-plan-iva { margin-top: -6px; font-size: 14px; color: var(--hp-text-3); }
.hp-plan-destacado .hp-plan-iva { color: var(--hp-muted-dark); }
.hp-plan .hp-plan-extra { font-size: 14px; font-weight: 600; color: var(--hp-gold-text); }
.hp-plan-destacado .hp-plan-extra { color: var(--hp-gold-light); }
.hp-plan .hp-plan-meta { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; padding-top: 16px; border-top: 1px solid var(--hp-line); font-size: 15px; color: var(--hp-text-2); }
.hp-plan-destacado .hp-plan-meta { border-top-color: var(--hp-line-dark); color: var(--hp-soft-dark); }
.hp-plan .hp-plan-meta li { position: relative; padding-left: 26px; }
.hp-plan .hp-plan-meta li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; background: var(--hp-gold-text);
	-webkit-mask: var(--hp-icon-check) center / contain no-repeat; mask: var(--hp-icon-check) center / contain no-repeat;
}
.hp-plan-destacado .hp-plan-meta li::before { background: var(--hp-gold-light); }
.hp-plan .hp-btns { margin-top: auto; padding-top: 8px; }
.hp-plan .hp-btns .wp-block-button { flex: 1 1 auto; }
.hp-plan .hp-btns .wp-block-button__link { width: 100%; }
.hp-btns .hp-btn-navy .wp-block-button__link { background: var(--hp-navy); color: var(--hp-white); }
.hp-btns .hp-btn-navy .wp-block-button__link:hover { background: var(--hp-line-dark); color: var(--hp-white); }

.wp-block-table.hp-tabla-paquetes { background: var(--hp-white); }
.wp-block-table.hp-tabla-paquetes table { min-width: 640px; font-size: 15px; }
.wp-block-table.hp-tabla-paquetes th:not(:first-child), .wp-block-table.hp-tabla-paquetes td:not(:first-child) { width: 13%; text-align: center; }
.wp-block-table.hp-tabla-paquetes th:nth-child(3), .wp-block-table.hp-tabla-paquetes td:nth-child(3) { background: rgba(200, 161, 74, 0.12); }
.wp-block-table.hp-tabla-paquetes td:not(:first-child) { font-weight: 600; color: var(--hp-text); }

.hp-card.hp-nota { padding: 24px 28px; gap: 10px; }
.hp-card.hp-nota h3 { font-size: 20px; }
.hp-dark p.hp-kicker.hp-kicker-light, .hp-kicker.hp-kicker-light { color: var(--hp-gold-light); }
.hp-steps.hp-steps-6 .hp-step { flex-basis: 300px; }
.hp-section:not(.hp-alt) .hp-card { background: var(--hp-bg-alt); }

@media (max-width: 600px) {
	.hp-plan { padding: 28px 20px 22px; }
	.hp-plan .hp-plan-para { min-height: 0; }
	.hp-plan .hp-plan-precio { font-size: 32px; }
}
