/* Erreklamatu — sistema de diseño (v0.2). Colores y tipografía de la marca actual; ver Plan_nueva_web. */
:root {
	--erk-navy: #003474;
	--erk-navy-2: #11437f;
	--erk-navy-3: #002456;
	--erk-green: #3ee98c;
	--erk-green-2: #2bd178;
	--erk-green-soft: #e7fbf0;
	--erk-ink: #1b252c;
	--erk-muted: #55636f;
	--erk-line: #dbe3eb;
	--erk-soft: #f1f5f9;
	--erk-soft-2: #e8eef5;
	--erk-white: #fff;
	--erk-radius: 16px;
	--erk-card-radius: 16px 16px 16px 0;
	--erk-wrap: 1200px;
	--erk-gutter: clamp(16px, 4vw, 32px);
	--erk-shadow: 0 10px 30px rgba(0, 36, 86, .10);
	--erk-font: "Sofia Sans", Arial, sans-serif;
}

/* Base */
body { font-family: var(--erk-font); color: var(--erk-ink); background: var(--erk-white); font-size: 1.0625rem; line-height: 1.6; margin: 0; }
h1, h2, h3, h4 { color: var(--erk-navy); font-family: var(--erk-font); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--erk-navy-2); text-underline-offset: 3px; }
a:hover { color: var(--erk-navy); }
img { max-width: 100%; height: auto; }
.erk-wrap { max-width: var(--erk-wrap); margin: 0 auto; padding: 0 var(--erk-gutter); box-sizing: border-box; }
.erk-icon { flex: none; vertical-align: middle; }
:focus-visible { outline: 3px solid var(--erk-green); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: #fff; padding: 8px 14px; }

/* GeneratePress: contenedores a ancho completo, sin barra lateral */
.site.grid-container { max-width: none; padding: 0; }
.site-content { display: block; padding: 0; }
.erk-front .site-main, .erk-front .inside-article, .erk-front .entry-content { margin: 0; padding: 0; }
.erk-front .entry-header { display: none; }
.erk-front .content-area { width: 100%; }

/* Botones */
.erk-btn, .wp-block-button.is-style-erk-green .wp-block-button__link, .wp-block-button.is-style-erk-outline .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 800; text-decoration: none;
	border-radius: 10px 10px 10px 0; padding: .85em 1.4em; line-height: 1.1; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.erk-btn--green, .wp-block-button.is-style-erk-green .wp-block-button__link { background: var(--erk-green); color: var(--erk-navy); }
.erk-btn--green:hover, .wp-block-button.is-style-erk-green .wp-block-button__link:hover { background: var(--erk-green-2); color: var(--erk-navy-3); }
.erk-btn--outline, .wp-block-button.is-style-erk-outline .wp-block-button__link { background: transparent; color: currentColor; border-color: currentColor; }
.erk-btn--sm { padding: .6em 1em; font-size: .95rem; }

/* Cabecera */
.erk-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--erk-line); }
.admin-bar .erk-header { top: 32px; }
.erk-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.erk-logo { display: inline-flex; flex: none; }
.erk-logo img { display: block; height: 26px; width: auto; }
.erk-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.erk-menu { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.erk-menu__item { position: relative; display: flex; align-items: center; }
.erk-menu__item > a { display: block; padding: 10px 12px; color: var(--erk-ink); font-weight: 700; text-decoration: none; border-radius: 8px; }
.erk-menu__item > a:hover, .erk-menu__item.is-current > a { color: var(--erk-navy); box-shadow: inset 0 -3px 0 var(--erk-green); border-radius: 0; }
.erk-sub-toggle { width: 22px; height: 30px; margin-left: -10px; border: 0; background: transparent; cursor: pointer; color: var(--erk-navy); }
.erk-sub-toggle::before { content: ""; display: block; width: 7px; height: 7px; margin: 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.erk-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--erk-line); border-radius: var(--erk-card-radius); box-shadow: var(--erk-shadow); }
.erk-sub a { display: block; padding: 8px 12px; color: var(--erk-ink); text-decoration: none; border-radius: 8px; font-weight: 600; }
.erk-sub a:hover { background: var(--erk-soft); color: var(--erk-navy); }
.erk-sub__all a { color: var(--erk-navy); font-weight: 800; border-bottom: 1px solid var(--erk-line); border-radius: 0; margin-bottom: 4px; }
.has-sub:hover > .erk-sub, .has-sub:focus-within > .erk-sub, .has-sub.is-open > .erk-sub { display: block; }
.erk-nav__extra { display: flex; align-items: center; gap: 18px; }
.erk-lang { display: flex; gap: 6px; font-weight: 800; font-size: .9rem; color: var(--erk-muted); }
.erk-lang a { color: var(--erk-muted); text-decoration: none; }
.erk-lang [aria-current] { color: var(--erk-navy); }
.erk-header__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--erk-navy); font-weight: 800; text-decoration: none; white-space: nowrap; }
.erk-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; }
.erk-burger__bars, .erk-burger__bars::before, .erk-burger__bars::after { display: block; width: 24px; height: 2px; background: var(--erk-navy); position: relative; margin: 0 auto; transition: transform .2s; }
.erk-burger__bars::before, .erk-burger__bars::after { content: ""; position: absolute; left: 0; }
.erk-burger__bars::before { top: -7px; } .erk-burger__bars::after { top: 7px; }
.erk-burger[aria-expanded="true"] .erk-burger__bars { background: transparent; }
.erk-burger[aria-expanded="true"] .erk-burger__bars::before { transform: translateY(7px) rotate(45deg); }
.erk-burger[aria-expanded="true"] .erk-burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.erk-burger { display: block; }
	.erk-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--erk-line); box-shadow: var(--erk-shadow); max-height: calc(100vh - 72px); overflow: auto; padding: 8px var(--erk-gutter) 20px; }
	.erk-nav.is-open { display: flex; }
	.erk-menu { flex-direction: column; margin: 0; }
	.erk-menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--erk-line); }
	.erk-menu__item > a { flex: 1; padding: 14px 0; }
	.erk-menu__item > a:hover, .erk-menu__item.is-current > a { box-shadow: none; }
	.erk-sub-toggle { width: 46px; height: 46px; margin: 0; }
	.erk-sub { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 10px; min-width: 0; }
	.has-sub:hover > .erk-sub, .has-sub:focus-within > .erk-sub { display: none; }
	.has-sub.is-open > .erk-sub { display: block; }
	.erk-nav__extra { flex-wrap: wrap; padding-top: 16px; }
}

/* Secciones */
.erk-section { padding: clamp(48px, 7vw, 88px) 0; }
.erk-section--soft { background: var(--erk-soft); }
.erk-section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.erk-kicker { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--erk-navy-2); margin-bottom: .6em; }
.erk-lead { font-size: 1.15rem; color: var(--erk-muted); max-width: 62ch; }
.erk-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.erk-section-head h2 { margin: 0; }

/* Héroe con la curva de la marca */
.erk-hero { position: relative; background: var(--erk-navy); color: #fff; border-bottom-right-radius: clamp(80px, 14vw, 220px); padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.erk-hero::after { content: ""; position: absolute; right: -140px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(62, 233, 140, .08); pointer-events: none; }
.erk-hero h1 { color: #fff; }
.erk-hero .erk-kicker { color: var(--erk-green); }
.erk-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; position: relative; z-index: 1; }
.erk-hero__lead { font-size: 1.15rem; color: #dfe8f3; max-width: 52ch; }
.erk-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.erk-chips li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 6px 12px; font-size: .9rem; font-weight: 700; color: #fff; }
.erk-verticals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.erk-vertical { display: block; padding: 18px; border-radius: var(--erk-card-radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; transition: background .15s, border-color .15s; }
.erk-vertical:hover { background: rgba(255, 255, 255, .13); border-color: var(--erk-green); color: #fff; }
.erk-vertical__title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; color: #fff; }
.erk-vertical__title .erk-icon { color: var(--erk-green); }
.erk-vertical__sub { display: block; margin-top: 6px; color: #c9d6e6; font-size: .95rem; }

/* Buscador */
.erk-finder { background: #fff; color: var(--erk-ink); border-radius: var(--erk-card-radius); box-shadow: 0 24px 60px rgba(0, 20, 50, .35); padding: clamp(20px, 3vw, 28px); }
.erk-finder__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.erk-finder__title { font-size: 1.4rem; margin: 0 0 4px; }
.erk-finder__meta { font-size: .85rem; color: var(--erk-muted); white-space: nowrap; }
.erk-finder fieldset { border: 0; padding: 0; margin: 16px 0 0; }
.erk-finder legend, .erk-finder label { display: block; font-weight: 800; font-size: .92rem; color: var(--erk-navy); margin-bottom: 6px; }
.erk-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.erk-seg input { position: absolute; opacity: 0; pointer-events: none; }
.erk-seg label { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 12px; border: 2px solid var(--erk-line); border-radius: 12px 12px 12px 0; cursor: pointer; color: var(--erk-ink); font-size: 1rem; }
.erk-seg input:checked + label { border-color: var(--erk-navy); background: var(--erk-soft-2); color: var(--erk-navy); }
.erk-seg input:focus-visible + label { outline: 3px solid var(--erk-green); outline-offset: 2px; }
.erk-field { margin-top: 14px; }
.erk-field select, .erk-field input { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--erk-ink); padding: 12px 14px; border: 1px solid #b9c6d3; border-radius: 10px; background: #fff; }
.erk-field select:disabled { background: var(--erk-soft); color: var(--erk-muted); }
.erk-field__hint { display: block; font-size: .82rem; color: var(--erk-muted); margin-top: 4px; }
.erk-finder__submit { width: 100%; margin-top: 18px; font-size: 1.1rem; cursor: pointer; }
.erk-finder__foot { font-size: .85rem; color: var(--erk-muted); margin: 12px 0 0; }

/* Tarjetas genéricas */
.erk-grid { display: grid; gap: 16px; }
.erk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.erk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.erk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.erk-card, .wp-block-group.is-style-erk-card { background: #fff; border: 1px solid var(--erk-line); border-radius: var(--erk-card-radius); padding: 22px; }
.erk-card h3 { margin-bottom: .35em; }
.erk-card p:last-child { margin-bottom: 0; }

/* Pasos */
.erk-steps { counter-reset: step; }
.erk-step { position: relative; }
.erk-step__num { display: block; font-size: 2rem; font-weight: 800; color: var(--erk-green-2); line-height: 1; margin-bottom: 10px; }
.erk-fees { margin-top: 18px; background: var(--erk-soft); border-radius: var(--erk-card-radius); padding: 16px 22px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: .97rem; }
.erk-fees strong { color: var(--erk-navy); }

/* Ventajas con icono */
.erk-feature { display: flex; gap: 14px; align-items: flex-start; }
.erk-feature__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px 12px 12px 0; background: var(--erk-green-soft); color: var(--erk-navy); }
.erk-feature h3 { font-size: 1.1rem; }
.erk-feature p { color: var(--erk-muted); margin: 0; }

/* Qué reclamamos */
.erk-claims { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.erk-claim { background: #fff; border: 1px solid var(--erk-line); border-radius: var(--erk-card-radius); padding: 26px; }
.erk-claim__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.erk-claim__head h3 { margin: 0; font-size: 1.45rem; }
.erk-claim__head .erk-feature__icon { background: var(--erk-navy); color: var(--erk-green); }
.erk-linklist { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.erk-linklist a { display: flex; align-items: center; gap: 8px; padding: 9px 0; color: var(--erk-navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--erk-line); }
.erk-linklist a:hover { color: var(--erk-navy-2); border-color: var(--erk-green); }
.erk-linklist .erk-icon { color: var(--erk-green-2); }
.erk-pills-title { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--erk-muted); margin: 6px 0 8px; }
.erk-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.erk-pills a { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--erk-soft); color: var(--erk-navy); font-weight: 700; font-size: .92rem; text-decoration: none; }
.erk-pills a:hover { background: var(--erk-soft-2); }
.erk-more { font-weight: 800; color: var(--erk-navy); }

/* Cifras */
.erk-stat { background: #fff; border: 1px solid var(--erk-line); border-radius: var(--erk-card-radius); padding: 20px; }
.erk-stat__n { display: block; font-size: 2rem; font-weight: 800; color: var(--erk-navy); line-height: 1.1; }
.erk-stat__l { display: block; color: var(--erk-muted); font-size: .95rem; margin-top: 6px; }
.erk-note { font-size: .85rem; color: var(--erk-muted); margin-top: 12px; }

/* Actualidad y medios */
.erk-news { list-style: none; margin: 0; padding: 0; }
.erk-news li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--erk-line); }
.erk-news time, .erk-news .erk-news__src { font-size: .85rem; font-weight: 800; color: var(--erk-navy-2); }
.erk-news a { color: var(--erk-navy); font-weight: 800; text-decoration: none; }
.erk-news a:hover { text-decoration: underline; }
.erk-news p { margin: 4px 0 0; color: var(--erk-muted); font-size: .95rem; }
.erk-media-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--erk-line); color: var(--erk-muted); font-weight: 800; }
.erk-media-bar span:first-child { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }

/* Reseñas */
.erk-review { background: #fff; border: 1px solid var(--erk-line); border-radius: var(--erk-card-radius); padding: 22px; }
.erk-stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }
.erk-review blockquote { margin: 10px 0; font-size: 1.02rem; }
.erk-review cite { font-style: normal; font-size: .88rem; color: var(--erk-muted); }

/* Equipo */
.erk-team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.erk-person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--erk-card-radius); background: var(--erk-soft-2); display: block; }
.erk-person strong { display: block; color: var(--erk-navy); margin-top: 10px; line-height: 1.2; }
.erk-person span { font-size: .9rem; color: var(--erk-muted); }

/* FAQ */
.erk-faq details, .wp-block-details.is-style-erk-faq { border-bottom: 1px solid var(--erk-line); padding: 6px 0; }
.erk-faq summary, .wp-block-details.is-style-erk-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; font-weight: 800; color: var(--erk-navy); }
.erk-faq summary::-webkit-details-marker, .wp-block-details.is-style-erk-faq summary::-webkit-details-marker { display: none; }
.erk-faq summary::after, .wp-block-details.is-style-erk-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--erk-navy-2); }
.erk-faq details[open] summary::after, .wp-block-details.is-style-erk-faq[open] summary::after { content: "−"; }
.erk-contact-card { background: var(--erk-soft); border-radius: var(--erk-card-radius); padding: 24px; }
.erk-contact-card ul { list-style: none; margin: 0; padding: 0; }
.erk-contact-card li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.erk-contact-card .erk-icon { color: var(--erk-navy-2); margin-top: 3px; }

/* CTA final */
.erk-cta { background: var(--erk-navy); color: #fff; border-radius: 24px 24px 24px 0; padding: clamp(28px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.erk-cta h2 { color: #fff; margin: 0 0 6px; }
.erk-cta p { margin: 0; color: #dfe8f3; }
.erk-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.erk-cta .erk-btn--outline { color: #fff; }

/* Pie */
.erk-footer { background: var(--erk-navy-3); color: #c9d6e6; padding: 56px 0 0; font-size: .95rem; }
.erk-footer a { color: #fff; text-decoration: none; }
.erk-footer a:hover { text-decoration: underline; }
.erk-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.erk-footer__logo { filter: brightness(0) invert(1); height: 24px; width: auto; margin-bottom: 14px; }
.erk-footer__title { color: #fff; font-weight: 800; margin-bottom: 10px; }
.erk-footer ul { list-style: none; margin: 0; padding: 0; }
.erk-footer__col li { padding: 4px 0; }
.erk-footer__contact li { display: flex; gap: 10px; padding: 4px 0; }
.erk-footer__contact .erk-icon { color: var(--erk-green); margin-top: 3px; }
.erk-footer__social { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px !important; }
.erk-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: .85rem; }
.erk-footer__bottom p { margin: 0; }
.erk-footer__bottom ul { display: flex; gap: 16px; }

/* Barra móvil */
.erk-mobilebar { display: none; }
@media (max-width: 760px) {
	.erk-mobilebar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; background: #fff; border-top: 1px solid var(--erk-line); box-shadow: 0 -6px 20px rgba(0, 36, 86, .12); padding: 8px; gap: 8px; }
	.erk-mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 10px 10px 10px 0; font-weight: 800; text-decoration: none; }
	.erk-mobilebar__call { color: var(--erk-navy); border: 2px solid var(--erk-navy); }
	.erk-mobilebar__cta { background: var(--erk-green); color: var(--erk-navy); }
	body { padding-bottom: 72px; }
}

/* Adaptación */
@media (max-width: 1000px) {
	.erk-hero__grid { grid-template-columns: 1fr; }
	.erk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.erk-grid--3 { grid-template-columns: 1fr 1fr; }
	.erk-team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.erk-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.erk-claims, .erk-grid--2, .erk-grid--3, .erk-verticals { grid-template-columns: 1fr; }
	.erk-team { grid-template-columns: 1fr 1fr; }
	.erk-linklist { grid-template-columns: 1fr; }
	.erk-footer__grid { grid-template-columns: 1fr; }
	.erk-news li { grid-template-columns: 1fr; gap: 2px; }
	.erk-hero { border-bottom-right-radius: 72px; }
}
@media (max-width: 420px) {
	.erk-grid--4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.erk-gap-lg { gap: clamp(28px, 5vw, 64px) !important; }
.erk-claim__head h3 a { color: inherit; text-decoration: none; }
.erk-claim__head h3 a:hover { text-decoration: underline; }
.erk-person { margin: 0; }
.erk-review { margin: 0; }
.erk-hero .erk-chips { margin-bottom: 0; }
.erk-finder__title { font-size: 1.4rem; font-weight: 800; color: var(--erk-navy); line-height: 1.2; }
.wp-block-button.is-style-erk-outline .wp-block-button__link { color: var(--erk-navy); background: transparent; }
@media (max-width: 680px) { .erk-verticals { display: none; } }
