/* ==========================================================================
   Vera & Salinas Abogados — main.css
   1. Fuentes  2. Tokens  3. Base  4. Layout  5. Botones  6. Cabecera
   7. Hero  8. Secciones  9. Componentes  10. Formulario  11. Pie  12. Utilidades
   ========================================================================== */

/* 1. Fuentes (autoalojadas) ------------------------------------------------ */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }

/* 2. Tokens --------------------------------------------------------------- */
:root {
	/* Paleta del manual de marca */
	--charcoal: #33363A;
	--charcoal-deep: #24262A;
	--charcoal-soft: #44484D;
	--gold: #B38B67;
	--gold-text: #8A6646;      /* oro oscurecido para texto sobre claro (contraste AA) */
	--gold-light: #D9C2A8;
	--grey: #DCDFE3;
	--grey-soft: #EDEFF1;
	--cream: #F7F3EA;
	--white: #FFFFFF;

	--ink: #26282C;
	--text: #3F4348;
	--muted: #686C72;
	--line: #E3E0D8;

	--danger: #A3352B;
	--success: #2F6B4F;

	--font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: 1.0625rem;
	--fs-lg: 1.1875rem;
	--fs-h3: 1.5rem;
	--fs-h2: clamp(2rem, 1.5rem + 2vw, 2.75rem);
	--fs-h1: clamp(2.375rem, 1.6rem + 3.2vw, 3.75rem);
	--fs-hero: clamp(2.625rem, 1.6rem + 4.2vw, 4.5rem);

	--space-section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
	--container: 1200px;
	--container-narrow: 820px;
	--gutter: clamp(1rem, .5rem + 2vw, 2rem);

	--radius: 3px;
	--radius-lg: 6px;
	--shadow: 0 1px 2px rgba(36, 38, 42, .05), 0 8px 24px rgba(36, 38, 42, .07);
	--shadow-lg: 0 2px 4px rgba(36, 38, 42, .06), 0 20px 48px rgba(36, 38, 42, .14);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4, .fee__price, .step__num { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--ink); font-weight: 600; }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.75; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--charcoal); color: var(--white); padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* 4. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.section { padding-block: var(--space-section); }
.section + .section:not(.section--alt):not(.section--callout) { padding-top: 0; }
.section--alt { background: var(--cream); }
.section--alt + .section { padding-top: var(--space-section) !important; }
.section--callout { padding-block: 0 var(--space-section); }
.center { text-align: center; margin-top: 2rem; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .75rem;
	margin: 0 0 1rem;
	color: var(--gold-text);
	font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }
.section-title { font-size: var(--fs-h2); margin-bottom: .55em; }
.section-intro { max-width: 680px; color: var(--muted); font-size: var(--fs-lg); margin-bottom: 2.5rem; }
.note { margin-top: 1.25rem; color: var(--muted); font-size: var(--fs-sm); }

/* Texto largo */
.prose { font-size: var(--fs-base); }
.prose h2 { font-size: var(--fs-h2); margin-top: 1.6em; }
.prose h3 { font-size: 1.6rem; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: .45em; padding-left: .25rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 2px solid var(--gold); font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.4; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: var(--fs-sm); }
.prose th, .prose td { padding: .75rem; border-bottom: 1px solid var(--line); text-align: left; }

/* 5. Botones --------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: 48px; padding: .75rem 1.5rem;
	border: 1px solid transparent; border-radius: var(--radius);
	font: 600 var(--fs-sm)/1.2 var(--font-sans); letter-spacing: .02em;
	text-decoration: none; cursor: pointer;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #A07A57; color: var(--white); }
.btn--outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn--sm { min-height: 40px; padding: .5rem 1.1rem; }
.btn--lg { min-height: 54px; padding: .95rem 1.75rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 6. Cabecera -------------------------------------------------------------- */
.topbar { background: var(--charcoal-deep); color: rgba(255, 255, 255, .72); font-size: var(--fs-xs); }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; min-height: 38px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__item--right { gap: 1.5rem; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--white); }
.topbar__urgent { color: var(--gold-light) !important; font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(36, 38, 42, .08); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--charcoal); text-decoration: none; flex: none; }
.brand:hover { color: var(--charcoal); }
.brand__mark { width: 44px; height: 44px; }
.brand__logo { max-height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; color: var(--charcoal); }
.brand__sub { margin-top: .3rem; font-size: .6875rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.brand--light, .brand--light .brand__name { color: var(--white); }
.brand--light .brand__sub { color: var(--gold-light); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav__item > a, .nav__toggle {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .6rem .9rem; border: 0; background: none; cursor: pointer;
	color: var(--ink); font: 500 var(--fs-sm)/1 var(--font-sans); text-decoration: none;
	position: relative;
}
.nav__item > a::after, .nav__toggle::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__item > a:hover::after, .nav__toggle:hover::after, .nav__item.is-current > a::after, .nav__item.is-current > .nav__toggle::after { transform: scaleX(1); }
.nav__toggle .icon { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__mobile-cta { display: none; }

/* Mega menú */
.nav__item--mega { position: static; }
.mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--white); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { max-width: var(--container); margin: 0 auto; padding: 2rem var(--gutter) 2.25rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.75rem; }
.mega__group { display: flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); color: var(--gold-text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.mega ul { list-style: none; }
.mega li { margin-bottom: .2rem; }
.mega a { display: block; padding: .3rem 0; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; text-decoration: none; }
.mega a:hover { color: var(--gold-text); }
.mega__sub { margin: .1rem 0 .5rem; padding-left: .75rem; border-left: 1px solid var(--line); }
.mega__sub a { font-weight: 400; color: var(--muted); padding: .2rem 0; }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); cursor: pointer; }
.burger .icon { width: 22px; height: 22px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	background-color: var(--charcoal);
	color: rgba(255, 255, 255, .86);
	padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}
/* Fondo de marca: columnas arquitectónicas sutiles + luz dorada */
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(900px 480px at 85% 0%, rgba(179, 139, 103, .22), transparent 60%),
		repeating-linear-gradient(90deg, transparent 0 118px, rgba(255, 255, 255, .035) 118px 119px),
		linear-gradient(160deg, var(--charcoal-soft) 0%, var(--charcoal) 45%, var(--charcoal-deep) 100%);
}
.hero--image::before {
	background: var(--hero-img) center / cover no-repeat;
}
.hero--image::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(36, 38, 42, .92) 0%, rgba(36, 38, 42, .78) 50%, rgba(36, 38, 42, .45) 100%);
}
.hero__inner { position: relative; }
.hero__title { color: var(--white); font-size: var(--fs-h1); max-width: 21ch; margin-bottom: .45em; }
.hero__title--xl { font-size: var(--fs-hero); max-width: 14ch; }
.hero__title em { font-style: italic; color: var(--gold-light); font-weight: 500; }
.hero__lead { max-width: 60ch; font-size: var(--fs-lg); color: rgba(255, 255, 255, .8); }
.hero__meta { font-size: var(--fs-sm); color: rgba(255, 255, 255, .65); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero--small { padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.hero--small .hero__title { max-width: 26ch; font-size: clamp(2.125rem, 1.6rem + 2.4vw, 3.125rem); }

.hero--home { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.hero__inner--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .85fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero__card { background: var(--white); color: var(--text); padding: 1.75rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 3px solid var(--gold); }
.hero__card-title { margin: 0 0 .2rem; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.hero__card-text { margin: 0 0 1.1rem; color: var(--muted); font-size: var(--fs-sm); }

/* Migas */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin-bottom: 1.5rem; font-size: var(--fs-xs); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs--light { color: rgba(255, 255, 255, .6); }
.breadcrumbs--light a:hover { color: var(--white); }
.breadcrumbs--light [aria-current] { color: var(--gold-light); }

/* Sellos bajo el hero */
.badges { background: var(--cream); border-bottom: 1px solid var(--line); }
.badges__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; list-style: none; padding-block: 1.1rem; }
.badges__list li { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.badges__list .icon { color: var(--gold); }

/* 8. Secciones -------------------------------------------------------------- */
/* Áreas de la portada */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.area { display: flex; flex-direction: column; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.area:hover { border-color: var(--gold-light); box-shadow: var(--shadow); }
.area__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 1.25rem; border-radius: 50%; background: var(--cream); color: var(--gold-text); }
.area__icon .icon { width: 24px; height: 24px; }
.area__title { font-size: 1.75rem; margin-bottom: .4rem; }
.area__text { color: var(--muted); font-size: var(--fs-sm); }
.area__links { list-style: none; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.area__links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; line-height: 1.35; }
.area__links a .icon { width: 1rem; height: 1rem; color: var(--gold); transition: transform .2s var(--ease); }
.area__links a:hover { color: var(--gold-text); }
.area__links a:hover .icon { transform: translateX(3px); }

/* Tarjetas */
.cards { display: grid; gap: 1.25rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--text); text-decoration: none; }
.section--alt .card { border-color: transparent; }
.card--link { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card--link::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.card--link:hover::before { transform: scaleX(1); }
.card__icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; margin-bottom: 1.1rem; border-radius: var(--radius); background: var(--cream); color: var(--gold-text); }
.section--alt .card__icon { background: var(--grey-soft); }
.card__icon .icon { width: 22px; height: 22px; }
.card__title { font-size: 1.45rem; margin-bottom: .45rem; }
.card__text { color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1.1rem; color: var(--gold-text); font-size: var(--fs-sm); font-weight: 600; }
.card__more .icon { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.card--link:hover .card__more .icon { transform: translateX(4px); }
.card--post { padding: 0 0 1.5rem; overflow: hidden; }
.card--post > :not(.card__media) { padding-inline: 1.5rem; }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 1.25rem; background: var(--grey-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card--post .card__meta { padding-top: 1.5rem; }
.card--post .card__media + .card__meta { padding-top: 0; }
.card__meta { display: block; margin-bottom: .5rem; color: var(--muted); font-size: var(--fs-xs); letter-spacing: .04em; text-transform: uppercase; }

/* Checklist */
.checklist { list-style: none; display: grid; gap: .85rem 2rem; }
.checklist--2 { grid-template-columns: repeat(2, 1fr); }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; }
.checklist .icon { margin-top: .32em; padding: 3px; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--cream); color: var(--gold-text); stroke-width: 2.5; }
.section--alt .checklist .icon { background: var(--white); }

/* Pasos / línea de tiempo */
.steps { list-style: none; counter-reset: step; position: relative; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 1.25rem; padding-bottom: 2rem; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 1px; background: var(--gold-light); }
.step:last-child::before { display: none; }
.step__num { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--white); color: var(--gold-text); font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
.section--alt .step__num { background: var(--cream); }
.step__title { font-size: 1.45rem; margin: .55rem 0 .35rem; }
.step__body p { color: var(--text); }

/* Honorarios */
.fees { border-top: 1px solid var(--ink); }
.fee { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.fee__label { display: flex; flex-direction: column; gap: .2rem; }
.fee__label span { color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.fee__price { flex: none; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--gold-text); white-space: nowrap; text-align: right; }

/* Tablas */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th { padding: 1rem 1.25rem; background: var(--charcoal); color: var(--white); font-weight: 600; text-align: left; white-space: nowrap; }
.table td { padding: 1rem 1.25rem; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
.table td:first-child { color: var(--ink); font-weight: 600; }
.table--prices td:last-child { white-space: nowrap; color: var(--gold-text); font-weight: 600; }
.table tr:nth-child(even) td { background: #FCFBF8; }

/* Columnas comparadas */
.columns { display: grid; gap: 1.5rem; }
.columns--2 { grid-template-columns: repeat(2, 1fr); }
.columns--3 { grid-template-columns: repeat(3, 1fr); }
.column { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.column h3 { font-size: 1.6rem; }
.column__icon { display: inline-flex; margin-bottom: 1rem; color: var(--gold-text); }
.column__icon .icon { width: 28px; height: 28px; }
.column ul { padding-left: 1.1rem; }

/* Aviso destacado */
.callout { display: flex; gap: 1.25rem; padding: 1.75rem 2rem; border-radius: var(--radius-lg); border-left: 3px solid var(--gold); background: var(--cream); }
.callout--warning { border-left-color: var(--danger); background: #FBF4F1; }
.callout--warning .callout__icon { color: var(--danger); }
.callout--info { border-left-color: var(--charcoal); background: var(--grey-soft); }
.callout__icon { color: var(--gold-text); flex: none; padding-top: .2rem; }
.callout__icon .icon { width: 28px; height: 28px; }
.callout__title { font-size: 1.5rem; margin-bottom: .4rem; }

/* Cita */
.quote { margin: 0; text-align: center; font-family: var(--font-serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); line-height: 1.35; color: var(--ink); font-style: italic; }
.quote cite { display: block; margin-top: 1rem; font-family: var(--font-sans); font-size: var(--fs-sm); font-style: normal; color: var(--muted); }

/* Banda CTA */
.cta-band { background: var(--charcoal); color: rgba(255, 255, 255, .8); padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 260px at 100% 50%, rgba(179, 139, 103, .2), transparent 70%); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-band__title { color: var(--white); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); margin-bottom: .25rem; }
.cta-band__text { max-width: 56ch; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; flex: none; }
.section + .cta-band, .cta-band + .section { margin-top: 0; }
.cta-band + .section { padding-top: var(--space-section) !important; }

/* FAQ */
.section--faq { background: var(--white); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; color: var(--ink); font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; width: 22px; height: 22px; color: var(--gold); transition: transform .25s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 2.5rem 1.5rem 0; }

/* Enlazado de silo */
.section--silo { background: var(--cream); padding-block: var(--space-section) !important; }
.section--silo .section-title { font-size: 2rem; }
.section--silo .cards { margin-bottom: 3rem; }
.silo-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.silo-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--white); border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; line-height: 1.35; transition: box-shadow .2s var(--ease); }
.silo-links a .icon { width: 1rem; height: 1rem; color: var(--gold); }
.silo-links a:hover { box-shadow: var(--shadow); color: var(--gold-text); }
.silo-back { margin-top: 2rem; }

/* 9. Componentes de contacto ---------------------------------------------- */
.contact-block { background: var(--cream); }
.section--silo + .contact-block { padding-top: 0 !important; }
.contact-block__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-block__form { background: var(--white); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-list { list-style: none; margin-top: 2rem; display: grid; gap: .5rem; }
.contact-list a, .contact-list__static { display: flex; align-items: center; gap: 1rem; padding: .65rem 0; color: var(--ink); font-weight: 600; text-decoration: none; line-height: 1.35; }
.contact-list small { display: block; margin-bottom: .2rem; color: var(--muted); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.contact-list__icon { display: inline-flex; width: 46px; height: 46px; flex: none; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); color: var(--gold-text); }
.contact-list a:hover .contact-list__icon { background: var(--gold); color: var(--white); }

.contact-page { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-page__aside { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.contact-card { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--cream); }
.contact-card .contact-list { margin: 0 0 1.25rem; }
.contact-card__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .75rem; font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.contact-card--dark { background: var(--charcoal); color: rgba(255, 255, 255, .8); }
.contact-card--dark .contact-card__title { color: var(--white); }
.contact-card--dark .icon { color: var(--gold-light); }

.socials { display: flex; gap: .5rem; list-style: none; margin-top: 1.5rem; }
.socials a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: var(--white); }
.socials a:hover { background: var(--gold); border-color: var(--gold); }
.socials .icon { width: 17px; height: 17px; }

.wa-float {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .8rem 1.15rem .8rem .95rem; border-radius: 999px;
	background: #1F8F54; color: var(--white); font-weight: 600; font-size: var(--fs-sm); text-decoration: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
	transition: transform .2s var(--ease), background .2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); background: #187545; color: var(--white); }
.wa-float .icon { width: 22px; height: 22px; }

/* 10. Formulario ----------------------------------------------------------- */
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; margin-bottom: 1.25rem; }
.form--compact .form__grid { grid-template-columns: 1fr; gap: .75rem; margin-bottom: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: .7rem .9rem;
	border: 1px solid #CFCBC2; border-radius: var(--radius); background: var(--white);
	color: var(--ink); font: 400 var(--fs-base)/1.4 var(--font-sans);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form--compact .field input, .form--compact .field select, .form--compact .field textarea { min-height: 44px; font-size: var(--fs-sm); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(179, 139, 103, .18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2333363A' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: .55rem 1rem; border: 1px solid #CFCBC2; border-radius: 999px; font-size: var(--fs-sm); cursor: pointer; transition: all .2s var(--ease); }
.chip input:checked + span { border-color: var(--charcoal); background: var(--charcoal); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.25rem; color: var(--muted); font-size: var(--fs-xs); line-height: 1.55; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--charcoal); }
.form__small { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .85rem 0 0; color: var(--muted); font-size: var(--fs-xs); text-align: center; }
.form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form { position: relative; }
.form-notice { margin-bottom: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600; }
.form-notice--success { background: #EAF3EE; color: var(--success); }
.form-notice--error { background: #FBEDEA; color: var(--danger); }

/* Blog */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filters a { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: var(--fs-sm); text-decoration: none; }
.filters a.is-active, .filters a:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; justify-content: center; gap: .5rem; }
.pagination .page-numbers { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.pagination .current { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.post-cover { margin: 0 0 2.5rem; border-radius: var(--radius-lg); overflow: hidden; }
.post-disclaimer { display: flex; gap: .85rem; margin-top: 3rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--grey-soft); font-size: var(--fs-sm); }
.post-disclaimer .icon { margin-top: .2rem; color: var(--muted); }
.empty { padding: 2rem 0; }

/* 11. Pie ------------------------------------------------------------------- */
.site-footer { background: var(--charcoal-deep); color: rgba(255, 255, 255, .66); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.25fr; gap: 2.5rem; padding-block: 4.5rem 3.5rem; }
.site-footer__claim { margin-top: 1.25rem; max-width: 32ch; }
.site-footer__title { margin: 0 0 1rem; color: var(--gold-light); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__col ul { list-style: none; margin-bottom: 2rem; }
.site-footer__col li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer__contact li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.5; }
.site-footer__contact a { display: inline-flex; gap: .65rem; align-items: center; }
.site-footer__contact .icon { color: var(--gold); margin-top: .15rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.legal-links { display: flex; gap: 1.5rem; list-style: none; }

/* 12. Utilidades ------------------------------------------------------------ */
.vs-pending { padding: 0 .3em; background: #FFF3C4; color: #6B5300; font-size: .9em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.alignwide { max-width: var(--container); }
.wp-block-image img { border-radius: var(--radius); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1180px) {
	.header-phone span { display: none; }
	.mega__inner { grid-template-columns: repeat(3, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
	:root { --header-h: 68px; }
	.burger { display: inline-flex; }
	.header-cta { display: none; }
	.nav {
		position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; z-index: 40;
		margin: 0; padding: 1rem var(--gutter) 2rem; overflow-y: auto;
		background: var(--white);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
	}
	body.is-scrolled-past-top .nav { top: var(--header-h); }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item > a, .nav__toggle { width: 100%; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-lg); }
	.nav__item > a::after, .nav__toggle::after { display: none; }
	.mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; }
	.nav__item--mega.is-open .mega { display: block; }
	.mega__inner { grid-template-columns: 1fr 1fr; padding: 1rem 0 1.5rem; gap: 1.25rem; }
	.nav__mobile-cta { display: grid; gap: .75rem; margin-top: 2rem; }
	.nav__mobile-cta .btn--ghost-light { color: var(--ink); border-color: var(--line); }
	body.nav-open { overflow: hidden; }

	.hero__inner--split { grid-template-columns: minmax(0, 1fr); }
	.areas, .cards--3, .cards--4, .columns--3, .silo-links { grid-template-columns: repeat(2, 1fr); }
	.contact-block__grid, .contact-page { grid-template-columns: minmax(0, 1fr); }
	.contact-page__aside { position: static; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
	body { font-size: 1rem; }
	.topbar__item:first-child { display: none; }
	.topbar__inner { justify-content: center; }
	.topbar__item--right a:not(.topbar__urgent) { display: none; }
	.brand__mark { width: 38px; height: 38px; }
	.brand__name { font-size: 1.3rem; }
	.brand__sub { letter-spacing: .26em; }
	.areas, .cards--2, .cards--3, .cards--4, .columns--2, .columns--3, .silo-links, .checklist--2, .form__grid, .mega__inner { grid-template-columns: minmax(0, 1fr); }
	.area, .column { padding: 1.5rem; }
	.hero__actions .btn { width: 100%; }
	.hero__card { padding: 1.35rem; }
	.badges__list { justify-content: flex-start; flex-direction: column; gap: .6rem; }
	.fee { flex-direction: column; gap: .35rem; }
	.fee__price { text-align: left; }
	.callout { flex-direction: column; gap: .75rem; padding: 1.5rem; }
	.cta-band__actions, .cta-band__actions .btn { width: 100%; }
	.faq__answer { padding-right: 0; }
	.step { grid-template-columns: 40px 1fr; gap: 1rem; }
	.step__num { width: 40px; height: 40px; font-size: 1.2rem; }
	.step::before { left: 19px; top: 40px; }
	.step__title { margin-top: .3rem; }
	/* Tabla → fichas */
	.table thead { display: none; }
	.table tr { display: block; padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
	.table tr:first-child { border-top: 0; }
	.table td { display: block; padding: .2rem 0; border: 0; background: none !important; white-space: normal !important; }
	.table td:not(:first-child)::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 500; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 3rem 2rem; }
	.wa-float span { display: none; }
	.wa-float { padding: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .wa-float, .cta-band, .contact-block, .site-footer { display: none !important; }
	.hero { background: none; color: #000; padding: 0; }
	.hero::before, .hero::after { display: none; }
	.hero__title { color: #000; }
}
