/* ==========================================================================
   Castro Abogados — estilos del tema
   Índice: 1 Tokens · 2 Base · 3 Componentes · 4 Cabecera · 5 Secciones
           6 Pie · 7 Ventanas emergentes · 8 Blog/genéricas · 9 Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url(../fonts/inter-tight-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url(../fonts/inter-tight-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--blue: #025876;
	--teal: #418297;
	--lime: #d7e16f;
	--sand: #f6f5f2;
	--white: #fff;
	--text: rgba(0, 0, 0, .8);
	--line: rgba(0, 0, 0, .1);
	--gray: #7e7e7e;

	--font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-label: var(--font); /* etiquetas en mayúsculas: también Inter Tight */

	--container: 1280px;
	--gutter: 80px;
	--section: 110px;
	--r-panel: 30px;
	--r-card: 24px;
	--r-inner: 16px;

	--h1: 52px;
	--h2: 48px;
	--h4: 22px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font: 400 16px/1.4 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--blue); font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 100px; background: var(--blue); color: var(--white); }
.skip-link:focus { top: 16px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: var(--section) 0 0; }

.h2 { font-size: var(--h2); line-height: 1.2; letter-spacing: -.5px; }
.soft { color: var(--teal); }
.lead { font-size: 18px; line-height: 1.4; letter-spacing: -.2px; }
.eyebrow { color: var(--text); font-size: 15px; font-weight: 500; letter-spacing: -.2px; text-transform: uppercase; }
.prose p { font-size: 18px; line-height: 1.4; letter-spacing: -.2px; }
.prose p + p { margin-top: 18px; }

/* 3. Componentes ----------------------------------------------------------- */
.icon { width: 18px; height: 18px; flex: none; }
.icon-btn .icon-search { width: 16px; height: 16px; }
.icon-btn .icon-close { width: 16px; height: 16px; }
.testimonial__icon .icon { width: 22px; height: 22px; }
.site-footer__social .icon { width: 20px; height: 20px; }

/* Etiqueta tipo pastilla */
.pill {
	display: inline-flex; align-items: center;
	padding: 5px 20px; border: 1px solid var(--line); border-radius: 100px;
	color: var(--blue); font: 500 11px/1.8 var(--font-label); letter-spacing: .03em; text-transform: uppercase;
}
a.pill:hover { border-color: var(--blue); color: var(--blue); }
.pill--on-lime { border-color: rgba(2, 88, 118, .15); }

/* Botones */
.btn {
	display: inline-flex; align-items: center; gap: 0;
	border: 0; background: none; padding: 0; color: var(--white);
	font: 500 15px/1 var(--font); letter-spacing: -.2px; white-space: nowrap;
}
.btn__label {
	display: inline-block; padding: 16px 24px; border-radius: 100px; background: var(--blue); color: var(--white);
	transition: background-color .25s, color .25s;
}
.btn__arrow {
	display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%;
	background: var(--blue); color: var(--lime); overflow: hidden; transition: background-color .25s, color .25s;
}
.btn__arrow .icon { width: 14px; height: 14px; }
.btn:hover { color: var(--blue); }
.btn:hover .btn__label, .btn:hover .btn__arrow { background: var(--lime); color: var(--blue); }
.btn--lime .btn__label { background: var(--lime); color: var(--blue); }
.btn--lime:hover .btn__label { background: var(--blue); color: var(--white); }

/* Botón circular con icono */
.icon-btn {
	display: grid; place-items: center; flex: none;
	width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%;
	background: var(--sand); color: var(--blue); transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--lime); color: var(--blue); }
.icon-btn--dark { background: var(--blue); color: var(--white); }
.icon-btn--white { background: var(--white); }
.icon-btn--lime { background: var(--lime); }
.icon-btn--plain { background: none; }

.badge { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; }
.badge .icon { width: 24px; height: 24px; }
.badge--dark { background: var(--blue); color: var(--blue); }
.badge--dark .icon { color: var(--white); }
.badge--lime { width: 42px; height: 42px; background: var(--lime); color: var(--blue); }
.badge--lime .icon { width: 20px; height: 20px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 500; font-size: 15px; }
.link-arrow .icon { width: 11px; height: 11px; }

/* 4. Cabecera -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 110px; }
.site-header__logo { flex: none; }
.site-header__logo .logo { width: 150px; height: auto; }
.site-nav ul { display: flex; gap: 40px; }
.site-nav a { color: var(--blue); font-size: 16px; font-weight: 500; letter-spacing: -.5px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--teal); }
.site-header__actions { display: flex; align-items: center; gap: 20px; }
.site-header__burger { display: none; }
.site-header__contact .btn__label { color: var(--blue); }

/* 5. Secciones ------------------------------------------------------------- */

/* Cabecera de página */
.page-hero {
	margin: 0 10px; padding: 63px 0 0;
	border-radius: var(--r-panel) var(--r-panel) 0 0;
	background: linear-gradient(180deg, var(--sand) 0, var(--white) 400px);
}
.page-hero > .container, .process > .container { padding-left: calc(var(--gutter) - 10px); padding-right: calc(var(--gutter) - 10px); }
.page-hero__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; }
.page-hero__title { font-size: var(--h1); line-height: 1.1; }
.page-hero__media { margin-top: 56px; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 1280 / 450; background: var(--sand); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--simple { padding-bottom: 20px; }
.page-hero--simple .pill { margin-bottom: 20px; }
.page-hero--simple .lead { margin-top: 20px; max-width: 640px; }

/* Introducción del área + especialistas */
.area-intro__grid {
	display: grid; grid-template-columns: minmax(0, 576px) minmax(0, 629px);
	justify-content: space-between; column-gap: 40px;
}
.area-intro__head { grid-column: 1; }
.area-intro__head .h2 { margin-top: 26px; }
.area-intro__text { grid-column: 1; margin-top: 32px; }
.area-intro__text .btn { margin-top: 24px; }
.accordion { grid-column: 2; grid-row: 2; margin-top: 10px; align-self: start; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 22px 0 32px; cursor: pointer; list-style: none;
	color: var(--blue); font-size: 20px; font-weight: 500; line-height: 1.2;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); transition: transform .3s, background-color .2s; }
.accordion__icon .icon { width: 14px; height: 14px; }
.accordion__item summary:hover .accordion__icon { background: var(--lime); }
.accordion__item[open] .accordion__icon { transform: rotate(45deg); }
.accordion__body { padding: 0 0 28px; }
.accordion__body p { font-size: 16px; line-height: 1.4; }

/* Servicios */
.chips {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
	margin-top: 72px; padding-top: 41px; border-top: 1px solid var(--line);
}
.chip {
	display: inline-flex; align-items: center; gap: 10px; padding: 16px 20px 16px 16px;
	border-radius: 100px; background: var(--sand);
	color: var(--blue); font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: -.2px;
}
.chip__check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--white); }
.chip__check .icon { width: 12px; height: 12px; }

/* Destacado (foto + tarjeta lima) */
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature__grid { min-height: 689px; }
.feature__media { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--sand); }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__card {
	display: flex; flex-direction: column; padding: 30px;
	border-radius: var(--r-card); background: var(--lime);
}
.feature__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.feature__title { max-width: 400px; margin-top: 26px; }
.feature__text { margin-top: auto; padding-top: 40px; max-width: 380px; }
.feature__text p { font-size: 14px; line-height: 1.4; }
.feature__text p + p { margin-top: 14px; }

/* Proceso de trabajo */
.process { margin: var(--section) 10px 0; padding: 90px 0 90px; border-radius: var(--r-panel); background: linear-gradient(180deg, var(--sand) 0, #fcfcfb 100%); }
.process__head { text-align: center; }
.process__head .h2 { margin-top: 26px; }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; counter-reset: none; }
.step { display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); transition: background-color .3s, border-color .3s; }
.step:hover { background: var(--teal); border-color: var(--lime); }
.step__num {
	display: grid; place-items: center; width: 60px; height: 60px; margin: 28px 0 0 18px;
	border-radius: 50%; background: var(--lime); color: var(--blue); font-size: 15px; font-weight: 500; letter-spacing: -.5px;
}
.step__body { display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; margin-top: 82px; padding: 30px 20px 20px; border-radius: var(--r-inner); background: var(--sand); }
.step__title { font-size: var(--h4); font-weight: 500; line-height: 1.3; }
.step__body p { margin-top: 24px; font-size: 14px; line-height: 1.4; }
.process__cta { display: flex; justify-content: center; margin-top: 60px; }

/* Testimonios */
.testimonials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.testimonials__intro { display: flex; flex-direction: column; align-items: flex-start; }
.testimonials__intro .h2 { margin-top: 26px; max-width: 560px; }
.testimonials__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: auto; padding-top: 40px; }
.rating { display: flex; align-items: center; gap: 10px; color: var(--blue); }
.rating__logo { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sand); }
.rating strong { display: block; font-size: 16px; font-weight: 400; line-height: 1.2; }
.rating small { display: block; font: 500 11px/1.4 var(--font-label); letter-spacing: .03em; text-transform: uppercase; }
.testimonials__slider { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: 30px; border-radius: var(--r-card); background: var(--sand); }
.testimonials__quote { color: var(--blue); }
.testimonials__quote .icon { width: 45px; height: 45px; }
.testimonials__track { flex: 1; display: flex; }
.testimonial { display: flex; flex-direction: column; justify-content: space-between; flex: 1; margin: 0; animation: fade .45s ease; }
.testimonial[hidden] { display: none; }
.testimonial blockquote { margin: 6px 0 0 60px; }
.testimonial blockquote p { font-size: 20px; line-height: 1.5; }
.testimonial figcaption { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-right: 140px; }
.testimonial__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--text); }
.testimonial figcaption strong { display: block; color: var(--blue); font-size: 15px; font-weight: 500; letter-spacing: -.5px; }
.testimonial figcaption small { display: block; color: var(--gray); font: 500 11px/1.8 var(--font-label); letter-spacing: .03em; text-transform: uppercase; }
.testimonials__nav { position: absolute; right: 30px; bottom: 30px; display: flex; gap: 18px; }
.testimonials__nav .icon-btn { width: 52px; height: 52px; }
.testimonials__nav .icon { width: 12px; height: 12px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Banda "Sabrá exactamente" */
.cta-banner { position: relative; margin-top: var(--section); min-height: 900px; padding: 60px 0; overflow: hidden; }
.cta-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner .container { position: relative; }
.cta-banner__card {
	max-width: 600px; padding: 30px; border-radius: var(--r-card);
	background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.cta-banner__top { display: flex; align-items: center; justify-content: space-between; }
.cta-banner__title { margin-top: 56px; font-size: var(--h2); line-height: 1.2; letter-spacing: -.5px; }
.highlight { display: inline-block; min-height: 1.25em; padding: 0 12px; border-radius: 6px; background: var(--lime); }
.highlight.is-typing::after { content: ""; display: inline-block; width: 2px; height: .9em; margin-left: 2px; background: var(--blue); vertical-align: -.08em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.cta-banner__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }

/* Bloque de contacto */
.contact-block { margin-top: var(--section); padding: 110px 0 60px; border-radius: 0 0 var(--r-panel) var(--r-panel); background: var(--sand); }
.contact-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.contact-block__intro .logo { width: 150px; }
.contact-block__intro .h2 { margin-top: 24px; }
.contact-block__intro .lead { margin-top: 30px; }
.contact-block__intro .btn { margin-top: 86px; }
.contact-block__data { padding-top: 92px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 0; margin: 30px 0 0; }
.contact-list dt { font-size: 16px; }
.contact-list dd { margin: 16px 0 0; font-size: 16px; line-height: 1.4; }

/* 6. Pie ------------------------------------------------------------------- */
.site-footer { padding: 60px 0 40px; }
.site-footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: 60px; border-bottom: 1px solid var(--line); text-align: center; }
.site-footer__nav a { font-size: 15px; font-weight: 500; letter-spacing: -.5px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 30px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 15px; font-size: 14px; }
.site-footer__social { display: flex; gap: 25px; }
.site-footer__social a { color: var(--blue); }

/* 7. Ventanas emergentes --------------------------------------------------- */
.overlay[hidden] { display: none; }
.overlay { position: fixed; inset: 0; z-index: 60; animation: fade .25s ease; }
.overlay--search { inset: 0 0 auto; padding: 28px 0; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 40px rgba(0, 0, 0, .06); }
.search-bar { display: flex; align-items: center; justify-content: center; gap: 10px; }
.search-bar input { width: 400px; max-width: 100%; height: 50px; padding: 0 20px; border: 1px solid var(--line); border-radius: 100px; font: 15px var(--font); color: var(--text); background: var(--white); }
.search-bar input:focus { outline: none; border-color: var(--blue); }

.overlay--menu { background: var(--white); overflow-y: auto; }
.overlay__top { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.overlay__nav li { border-bottom: 1px solid var(--line); }
.overlay__nav a { display: block; padding: 20px 0; color: var(--blue); font-size: 28px; letter-spacing: -.5px; }
.overlay__phone { margin-top: 30px; }
.overlay__phone a { font-size: 18px; font-weight: 500; }

.overlay--modal { display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .45); overflow-y: auto; }
.overlay--modal[hidden] { display: none; }
.modal { position: relative; width: 100%; max-width: 560px; margin: auto; padding: 50px 40px 40px; border-radius: var(--r-card); background: var(--sand); }
.modal__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; background: var(--white); }
.modal__head { text-align: center; }
.modal__title { margin: 20px auto 0; max-width: 360px; font-size: 22px; font-weight: 500; line-height: 1.25; }
.form { margin-top: 26px; }
.form__row { margin: 0 0 16px; }
.form__row label { display: block; margin-bottom: 8px; color: var(--text); font-size: 15px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="date"], .form select, .form textarea {
	display: block; width: 100%; height: 52px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px;
	background: var(--white); color: var(--text); font: 16px var(--font); appearance: none;
}
.form textarea { height: auto; min-height: 90px; padding: 14px 18px; resize: vertical; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form__check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 0; font-size: 14px; }
.form__check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.form__submit { display: flex; justify-content: center; margin-top: 24px; }
.form__trap { position: absolute; left: -9999px; }
.notice { margin-top: 24px; padding: 16px 18px; border-radius: 12px; font-size: 15px; }
.notice--ok { background: var(--lime); color: var(--blue); }
.notice--error { background: #fde8e8; color: #8a1c1c; }

/* 8. Blog y páginas genéricas --------------------------------------------- */
.prose--page { font-size: 18px; line-height: 1.6; }
.prose--page > * + * { margin-top: 1.1em; }
.prose--page h2 { margin-top: 1.8em; font-size: 32px; line-height: 1.2; }
.prose--page h3 { margin-top: 1.6em; font-size: 24px; font-weight: 500; }
.prose--page ul, .prose--page ol { padding-left: 1.2em; list-style: revert; }
.prose--page a { text-decoration: underline; text-underline-offset: 3px; }
.prose--page img { border-radius: var(--r-inner); }
.post__meta { margin-top: 16px; color: var(--gray); font-size: 15px; }
.post__media { margin-top: 30px; }
.post__media img { width: 100%; border-radius: var(--r-card); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card__link { display: block; height: 100%; overflow: hidden; border-radius: var(--r-card); background: var(--sand); color: var(--text); }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 24px; }
.card__title { font-size: 22px; font-weight: 500; line-height: 1.25; }
.card__body p { margin-top: 12px; font-size: 15px; }
.pagination { margin-top: 40px; }

/* 9. Responsive ------------------------------------------------------------ */
@media (max-width: 1200px) {
	:root { --gutter: 40px; }
	.site-nav ul { gap: 28px; }
	.area-intro__grid { grid-template-columns: 1fr 1fr; column-gap: 60px; }
}

@media (max-width: 1024px) {
	:root { --h1: 44px; --h2: 38px; --section: 90px; }
	.site-nav, .site-header__contact { display: none; }
	.site-header__burger { display: grid; }
	.site-header__actions { gap: 12px; }
	.site-header__actions .icon-btn:first-child { background: var(--sand); color: var(--blue); }
	.site-header__inner { height: 90px; }
	.process__steps { grid-template-columns: repeat(2, 1fr); }
	.feature__grid { min-height: 560px; }
	.cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	:root { --gutter: 20px; --h1: 32px; --h2: 28px; --h4: 19px; --section: 70px; }
	.h2 { line-height: 1.3; }
	.site-header__inner { height: 66px; }
	.site-header__logo .logo { width: 130px; }
	.icon-btn { width: 46px; height: 46px; }

	.page-hero { margin: 0; padding-top: 40px; }
	.page-hero__row { flex-direction: column; align-items: flex-start; }
	.page-hero__media { margin-top: 30px; aspect-ratio: 350 / 253; }

	.area-intro__grid { grid-template-columns: 1fr; }
	.area-intro__head .h2 { margin-top: 20px; }
	.area-intro__text { margin-top: 24px; }
	.accordion { grid-column: 1; grid-row: auto; margin-top: 24px; }
	.accordion__item summary { font-size: 17px; padding: 22px 0 24px; }

	.chips { justify-content: flex-start; margin-top: 10px; padding-top: 0; border-top: 0; gap: 20px; }

	.feature__grid { grid-template-columns: 1fr; }
	.feature__grid { min-height: 0; }
	.feature__media { aspect-ratio: 350 / 253; }
	.page-hero > .container, .process > .container { padding-left: var(--gutter); padding-right: var(--gutter); }
	.feature__card { padding: 20px; }
	.feature__title { margin-top: 24px; }
	.feature__text { padding-top: 60px; }

	.process { margin: var(--section) 0 0; padding: 40px 0 60px; }
	.process__steps { grid-template-columns: 1fr; }
	.step__body { margin-top: 70px; }

	.testimonials__grid { grid-template-columns: 1fr; gap: 30px; }
	.testimonials__cta { padding-top: 24px; }
	.testimonials__slider { min-height: 440px; padding: 24px; }
	.testimonial blockquote { margin: 16px 0 0; }
	.testimonial blockquote p { font-size: 17px; }
	.testimonial figcaption { padding-right: 0; margin-bottom: 76px; }
	.testimonials__nav { right: auto; left: 24px; bottom: 24px; }

	.cta-banner { min-height: 0; padding: 20px 0 360px; }
	.cta-banner__card { padding: 20px; }
	.cta-banner__title { margin-top: 30px; }
	.cta-banner__bottom { flex-direction: column; align-items: flex-start; }

	.contact-block { padding: 60px 0 50px; border-radius: 0; }
	.contact-block__grid { grid-template-columns: 1fr; }
	.contact-block__intro .btn { margin-top: 30px; }
	.contact-block__data { padding-top: 50px; }
	.contact-list { grid-template-columns: 1fr; gap: 24px; }
	.contact-list dd { margin-top: 6px; }

	.site-footer__nav { grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 30px; text-align: left; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }

	.modal { padding: 60px 20px 24px; }
	.cards { grid-template-columns: 1fr; }
}

/* Preguntas frecuentes (bloque en cada área y página /preguntas-frecuentes/) */
.faq-block__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 80px; align-items: start; }
.faq-block__head .h2 { margin-top: 26px; }
.faq-block__head p { margin-top: 20px; max-width: 420px; font-size: 15px; line-height: 1.45; }
.faq-block__head .btn { margin-top: 28px; }
.faq-block .accordion { grid-column: auto; grid-row: auto; margin-top: 0; border-top: 1px solid var(--line); }
.faq-block .accordion__item summary { gap: 24px; }
.faq-block .accordion__body p { max-width: 640px; color: var(--text); }
.faq-block .accordion__body a { text-decoration: underline; text-underline-offset: 2px; }
.faq-block--page { padding-top: 40px; padding-bottom: 40px; scroll-margin-top: 90px; }
.faq-block--page .faq-block__head .h2 { margin-top: 0; }
.faq-block--page .faq-block__head .btn { margin-top: 24px; }
.faq-block--page + .faq-block--page { border-top: 1px solid var(--line); }
.faq-nav { margin-top: 36px; }
.faq-note { max-width: 760px; margin: 0 auto; text-align: center; font-size: 15px; line-height: 1.5; }
.faq-note a { text-decoration: underline; text-underline-offset: 2px; }
.home-intro .split__text a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1023px) {
	.faq-block__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Animaciones (las mismas que tenía la web antigua)
   - Entrada al hacer scroll: los títulos aparecen fundiéndose y el resto sube.
     La lista de elementos está aquí y en assets/js/main.js (FADE y UP): si se cambia, en los dos sitios.
   - Flecha de los botones: sale por arriba y vuelve a entrar desde abajo. */
.icon-btn, .tag__icon { overflow: hidden; }
a:hover .icon-arrow, button:not([data-next]):hover .icon-arrow { animation: arrow-swap .6s cubic-bezier(.23, 1, .32, 1); }
@keyframes arrow-swap {
	0% { transform: translateY(0); }
	45% { transform: translateY(-180%); }
	45.01% { transform: translateY(180%); }
	100% { transform: translateY(0); }
}
.rv-on :is(.hero__title, .page-hero__title, .page-hero__sub, .h2, .section-head .pill, .page-hero .pill, .split .pill, .eyebrow, .cta-banner__title, .photo-banner__title, .lime-card__title, .blue-card__title, .motto-card__title, .post__title, .lead, .split__text > p, .area-intro__text > p, .chip, .tags > li, .checklist > li, .contact-list > li, .contact-info > li, .stat, .step, .feature__card, .member-card, .post-card, .area-card, .home-card, .card, .accordion__item, .quote-card, .philosophy__card, .success-card, .list-card, .testimonials__slider, .hero__content .btn, .split .btn, .section-cta .btn, .process__cta .btn, .contact-block__intro .btn, .page-hero__row .btn):not(.rv-in) { visibility: hidden; }
.rv-in { animation: .75s ease backwards; }
.rv-fade { animation-name: rv-fade; }
.rv-up { animation-name: rv-up; }
.rv-up-lg { animation-name: rv-up-lg; }
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rv-up { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes rv-up-lg { from { opacity: 0; transform: translate3d(0, 60px, 0); } to { opacity: 1; transform: none; } }

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

/* ==========================================================================
   10. Bloques de páginas (portada, áreas, despacho, equipo, contacto, noticias)
   ========================================================================== */

/* Navegación: pastilla en la página activa */
.site-nav ul { gap: 14px; }
.site-nav a { display: inline-block; padding: 12px 12px 12px 14px; border-radius: 30px; transition: background-color .2s, color .2s; }
.site-nav a[aria-current] { background: var(--sand); color: var(--blue); }
.site-footer__nav a { justify-self: center; padding: 12px 20px; border-radius: 30px; }
.site-footer__nav a[aria-current] { width: 100%; max-width: 300px; background: var(--sand); }

/* Cabecera sobre la foto de portada */
.logo--white { display: none; }
.site-header--over { position: fixed; left: 10px; right: 10px; top: 0; background: transparent; transition: background-color .3s, box-shadow .3s; }
.site-header--over:not(.is-scrolled) .logo:not(.logo--white) { display: none; }
.site-header--over:not(.is-scrolled) .logo--white { display: block; }
.site-header--over:not(.is-scrolled) .site-nav a { color: var(--white); }
.site-header--over:not(.is-scrolled) .site-nav a[aria-current] { background: var(--white); color: var(--blue); }
.site-header--over:not(.is-scrolled) .site-header__actions .icon-btn--dark { background: var(--white); color: var(--blue); }
.site-header--over:not(.is-scrolled) .site-header__contact .btn__label { background: var(--teal); color: var(--white); }
.site-header--over.is-scrolled { left: 0; right: 0; background: var(--white); }
.admin-bar .site-header--over { top: 32px; }

.btn--teal .btn__label, .btn--teal .btn__arrow { background: var(--teal); color: var(--white); }
.btn--teal .btn__arrow { color: var(--lime); }
.btn--lime .btn__arrow { background: var(--lime); color: var(--blue); }
.btn--lime:hover .btn__arrow { background: var(--blue); color: var(--lime); }

/* Utilidades */
.section--tight { padding-top: 60px; }
.page-hero__title--mt { margin-top: 20px; }
.page-hero__title .soft { color: var(--teal); }
.page-hero__media--tall { aspect-ratio: 1280 / 630; }
.page-hero__stats { margin-top: 20px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__title { margin-left: auto; margin-right: auto; max-width: 900px; }
.page-hero__sub { margin-top: 16px; color: var(--teal); font-size: 18px; letter-spacing: -.2px; }
.eyebrow--small { color: var(--blue); font: 500 11px/1.8 var(--font-label); letter-spacing: .03em; text-transform: uppercase; }
.pill--on-dark { border-color: rgba(255, 255, 255, .25); color: var(--white); }
.icon-btn--sand { background: var(--sand); }
.badge--md { width: 52px; height: 52px; }
.badge--sm { width: 40px; height: 40px; }
.badge--sm .icon { width: 16px; height: 16px; }
.badge--white { background: var(--white); color: var(--blue); }
.badge--md .icon { width: 20px; height: 20px; }
.badge--dark.badge--md .icon { color: var(--white); }
.badge--lime.badge--md .icon { width: 24px; height: 24px; }
.section-head .h2 { margin-top: 26px; max-width: 640px; }
.section-head--center { text-align: center; }
.section-head--center .h2 { margin-left: auto; margin-right: auto; max-width: 900px; }
.section-head--center p { max-width: 520px; margin: 16px auto 0; font-size: 15px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-cta { display: flex; justify-content: center; margin-top: 40px; }

.panel { margin: var(--section) 10px 0; padding: 90px 0; border-radius: var(--r-panel); background: linear-gradient(180deg, var(--sand) 0, #fcfcfb 100%); }

/* Bloques partidos en dos columnas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: start; }
.split--line { padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.split--bottom { align-items: end; }
.split__title { margin-top: 26px; max-width: 560px; }
.split__btn { margin-top: 60px; }
.split__text { padding-top: 26px; }
.split__text p { font-size: 15px; line-height: 1.45; }
.split__text p + p { margin-top: 14px; }
.split__text--small p { font-size: 14px; }
.split__text .badge { margin-bottom: 26px; }

/* Portada: cabecera con diapositivas */
.hero { position: relative; margin: 10px 10px 0; height: 880px; max-height: calc(100vh - 20px); min-height: 640px; overflow: hidden; border-radius: var(--r-panel); background: var(--blue); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease; }
.hero__slide.is-active .hero__bg { transform: none; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 60%); }
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; padding-bottom: 60px; }
.hero__title { color: var(--white); font-size: var(--h1); line-height: 1.2; font-weight: 400; }
.hero__title span:first-child { display: block; }
.hero__content .btn { margin-top: 30px; }
.hero__tabs { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hero__tab { height: 58px; padding: 0 30px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, .15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--white); text-align: left; font: 500 11px/1.8 var(--font-label); letter-spacing: .03em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.hero__tab.is-active { background: var(--sand); color: var(--blue); }

/* Portada: tres tarjetas */
.home-cards__grid { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: end; }
.home-card { display: flex; flex-direction: column; min-height: 470px; padding: 30px 30px 0; overflow: hidden; border-radius: var(--r-card); background: var(--sand); color: var(--blue); }
.home-card:hover { color: var(--blue); }
.home-card__top { display: flex; align-items: center; justify-content: space-between; }
.home-card__top .icon-btn, .home-card__row .icon-btn { width: 46px; height: 46px; }
.home-card__title { display: block; margin-top: 16px; max-width: 300px; font-size: 22px; font-weight: 500; line-height: 1.3; }
.home-card__media { display: block; margin-top: auto; padding-top: 30px; }
.home-card__media img { width: 100%; height: 285px; object-fit: cover; border-radius: var(--r-inner) var(--r-inner) 0 0; transition: transform .5s; }
.home-card:hover .home-card__media img { transform: scale(1.03); }
.home-card--blue { min-height: 500px; padding: 0; background: var(--blue); color: var(--white); }
.home-card--blue:hover { color: var(--white); }
.home-card__mask { display: block; height: 300px; -webkit-mask: url(../img/star-mask.svg) center / cover no-repeat; mask: url(../img/star-mask.svg) center / cover no-repeat; }
.home-card__mask img { width: 100%; height: 100%; object-fit: cover; }
.home-card__bottom { display: block; margin-top: auto; padding: 30px; }
.home-card__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 16px; }
.home-card__row .home-card__title { margin: 0; color: var(--white); }

/* Banda de foto redondeada */
.photo-banner { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 585px; padding: 30px; overflow: hidden; border-radius: var(--r-card); background: var(--sand); }
.photo-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 45%); }
.photo-banner__badge { position: relative; z-index: 1; }
.photo-banner__bottom { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 20px 10px; }
.photo-banner__title { max-width: 520px; color: var(--white); font-size: 30px; font-weight: 500; line-height: 1.2; }

/* Portada: filosofía */
.philosophy { position: relative; margin: var(--section) 10px 0; padding: 110px 0 120px; border-radius: var(--r-panel); background: var(--blue); color: var(--white); }
.philosophy::after { content: ""; position: absolute; left: 70px; bottom: -28px; width: 85px; height: 28px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 0 100%); }
.philosophy__title { margin-top: 26px; max-width: 700px; color: var(--white); }
.philosophy__line { display: block; width: 155px; height: 2px; margin-top: 24px; background: var(--teal); }
.philosophy__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 80px; }
.philosophy__card { min-height: 310px; padding: 30px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-inner); background: rgba(255, 255, 255, .04); }
.philosophy__icon { color: var(--lime); }
.philosophy__icon .icon { width: 26px; height: 26px; }
.philosophy__card h3 { margin-top: 26px; color: var(--white); font-size: 19px; font-weight: 500; }
.philosophy__card p { margin-top: 16px; font-size: 14px; line-height: 1.45; opacity: .9; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 0 10px 20px; border-left: 1px solid var(--line); }
.stat__num { padding: 4px 10px; border-radius: 6px; background: var(--sand); color: var(--blue); font-size: 32px; line-height: 1.2; letter-spacing: -.5px; }
.stat__label { margin-top: 16px; color: var(--gray); font: 500 11px/1.4 var(--font-label); letter-spacing: .03em; text-transform: uppercase; }

/* Dúo de tarjetas */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo--wide { grid-template-columns: 840fr 440fr; }
.duo__photo { overflow: hidden; border-radius: var(--r-card); min-height: 550px; }
.duo__photo img { width: 100%; height: 100%; object-fit: cover; }
.review-photo { position: relative; min-height: 560px; overflow: hidden; border-radius: var(--r-card); }
.review-photo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.review-photo__card { position: absolute; left: 30px; right: 30px; bottom: 30px; margin: 0; padding: 30px; border-radius: var(--r-inner); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.review-photo__quote { position: absolute; top: -48px; left: 30px; color: var(--lime); }
.review-photo__quote .icon { width: 30px; height: 30px; }
.review-photo blockquote { margin: 0; }
.review-photo blockquote p { color: var(--blue); font-size: 18px; line-height: 1.45; }
.review-photo figcaption, .quote-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.review-photo figcaption strong, .quote-card figcaption strong { display: block; color: var(--blue); font-size: 15px; font-weight: 500; letter-spacing: -.5px; }
.review-photo figcaption small, .quote-card figcaption small { display: block; color: var(--gray); font: 500 11px/1.6 var(--font-label); text-transform: uppercase; letter-spacing: .03em; }
.success-card { position: relative; display: flex; flex-direction: column; min-height: 560px; padding: 30px; overflow: hidden; border-radius: var(--r-card); background: var(--lime); }
.success-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52%; background: rgba(255, 255, 255, .2); clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%); }
.success-card > * { position: relative; }
.success-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.success-card__title { max-width: 440px; margin-top: 10px; font-size: 30px; font-weight: 500; line-height: 1.2; }
.success-card__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: auto; }
.success-card__bottom p { max-width: 300px; font-size: 13px; }
.success-card__year { color: var(--blue); font-size: 30px !important; }
.blue-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 560px; padding: 30px; border-radius: var(--r-card); background: var(--blue); position: relative; }
.blue-card__title { max-width: 440px; color: var(--white); font-size: 44px; line-height: 1.2; letter-spacing: -.5px; }
.blue-card__star { position: absolute; top: 30px; right: 30px; color: var(--lime); }
.blue-card__star .icon { width: 26px; height: 26px; }
.lime-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border-radius: var(--r-card); background: var(--lime); }
.lime-card .cta-banner__top { width: 100%; }
.lime-card__star { color: var(--blue); }
.lime-card__title { max-width: 340px; margin-top: 24px; font-size: 28px; font-weight: 500; line-height: 1.2; }
.lime-card .btn { margin-top: auto; }

/* Noticias */
.news-home { margin: var(--section) 10px 0; padding: 90px 0; border-radius: var(--r-panel); background: linear-gradient(180deg, var(--sand) 0, #fcfcfb 100%); }
.news-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
/* Listado de noticias: el fondo arena llega hasta debajo de las tarjetas, como en la web antigua */
.page-hero--news { padding-bottom: 80px; border-radius: var(--r-panel); background: linear-gradient(180deg, var(--sand) 0, var(--sand) 70%, var(--white) 100%); }
.page-hero--news .pagination { margin-top: 40px; }
.post-card__link { display: flex; flex-direction: column; height: 100%; padding: 12px; border-radius: var(--r-card); background: var(--white); color: var(--blue); transition: background-color .25s; }
.post-card__link:hover { background: var(--lime); color: var(--blue); }
.post-card__media { display: block; overflow: hidden; border-radius: var(--r-inner); aspect-ratio: 373 / 290; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 8px 8px; }
.post-card__cats { font: 500 11px/1.6 var(--font-label); text-transform: uppercase; letter-spacing: .03em; }
.post-card__title { margin-top: 10px; font-size: 21px; font-weight: 500; line-height: 1.3; }
.post-card__arrow { align-self: flex-end; margin-top: auto; width: 46px; height: 46px; }
.post-card__link:hover .post-card__arrow { background: var(--blue); color: var(--white); }
.post-card--h .post-card__link { flex-direction: row; gap: 20px; background: var(--sand); }
.post-card--h .post-card__media { flex: 0 0 46%; aspect-ratio: 278 / 318; }
.post-card--h .post-card__body { padding: 20px 10px 10px 0; }
.pagination { display: flex; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 30px; background: var(--sand); }
.pagination .current { background: var(--blue); color: var(--white); }

/* Formulario "Cuéntanos tu caso" */
.case-form__grid { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--r-card); }
.case-form__card { padding: 50px 40px; background: var(--sand); }
.case-form__title { margin-top: 20px; }
.case-form__intro { margin-top: 14px; font-size: 14px; }
.case-form__media { min-height: 560px; }
.case-form__media img { width: 100%; height: 100%; object-fit: cover; }
.form--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 30px; }
.form__row--full { grid-column: 1 / -1; }
.form--grid .form__row label { font-size: 14px; }
.form--grid input[type="text"], .form--grid input[type="tel"], .form--grid input[type="email"], .form--grid textarea { height: 46px; border-radius: 8px; font-size: 14px; }
.form--grid textarea { height: auto; }
.form--grid .form__check { margin: 0 0 20px; }

/* Pie oscuro (portada) */
.dark-footer { margin: var(--section) 10px 10px; overflow: hidden; border-radius: var(--r-panel); background: var(--blue); color: var(--white); }
.dark-footer a { color: var(--white); }
.dark-footer a:hover { color: var(--lime); }
.dark-footer__news { padding: 40px 0; background: rgba(255, 255, 255, .08); }
.dark-footer__news-inner { display: flex; align-items: center; justify-content: space-around; gap: 30px; }
.dark-footer__news-inner > p { max-width: 420px; font-size: 18px; line-height: 1.4; }
.newsletter { display: flex; gap: 10px; }
.newsletter input { width: 350px; max-width: 60vw; height: 50px; padding: 0 22px; border: 0; border-radius: 30px; font: 14px var(--font); }
.newsletter .icon-btn { width: 80px; border-radius: 30px; }
.dark-footer__cols { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 40px; padding-top: 70px; padding-bottom: 60px; }
.dark-footer__cols .logo { width: 150px; }
.dark-footer__cols p { margin-top: 30px; font-size: 15px; line-height: 1.5; }
.dark-footer__addr + p { margin-top: 24px !important; }
.dark-footer__cols .btn { margin-top: 30px; }
.dark-footer__title { margin: 0 0 24px !important; color: rgba(255, 255, 255, .45); font: 500 11px/1.8 var(--font-label) !important; text-transform: uppercase; letter-spacing: .03em; }
.dark-footer__cols li + li { margin-top: 14px; }
.dark-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 30px; padding-bottom: 40px; border-top: 1px solid rgba(255, 255, 255, .15); font: 500 11px/1.8 var(--font-label); text-transform: uppercase; letter-spacing: .03em; }
.dark-footer .social a, .site-footer .social a { color: inherit; }
.social { display: flex; gap: 25px; }
.site-footer .social a { color: var(--blue); }
.social .icon { width: 20px; height: 20px; }

/* Áreas Jurídicas */
.columns3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.list-card { border: 1px solid var(--line); border-radius: var(--r-inner); background: var(--white); }
.list-card__title { padding: 24px; border-bottom: 1px solid var(--line); text-align: center; font-size: 19px; font-weight: 500; }
.checklist { padding: 24px 30px 30px 70px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--blue); font-size: 13px; font-weight: 500; line-height: 1.3; }
.checklist li + li { margin-top: 14px; }
.checklist .chip__check { flex: none; width: 18px; height: 18px; }
.checklist .chip__check .icon { width: 10px; height: 10px; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.area-card { display: block; overflow: hidden; border-radius: var(--r-inner); background: var(--sand); color: var(--blue); }
.area-card:hover { color: var(--blue); }
.area-card__media { display: block; overflow: hidden; border-radius: var(--r-inner); aspect-ratio: 305 / 400; }
.area-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.area-card:hover .area-card__media img { transform: scale(1.04); }
.area-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 92px; padding: 16px 20px; font-size: 16px; font-weight: 500; }
.area-card__foot .icon-btn { width: 40px; height: 40px; }
.area-card:hover .icon-btn { background: var(--lime); }

/* El Despacho: equipo */
.team-panel { margin-top: 20px; padding: 30px; border-radius: var(--r-card); background: linear-gradient(180deg, var(--sand) 0, #fcfcfb 100%); }
.member-grid { display: grid; gap: 20px; margin-top: 20px; }
.member-grid--4 { grid-template-columns: repeat(4, 1fr); }
.team-more .member-grid { margin-top: 40px; }
.member-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-inner); background: var(--white); color: var(--blue); transition: background-color .25s; }
.member-card:hover, .member-card--lime { background: var(--lime); color: var(--blue); }
.member-card__photo { display: flex; justify-content: center; padding: 20px; }
.member-card__photo img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; background: #d9d9d9; }
.member-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; border-top: 1px solid var(--line); background: var(--white); }
.member-card__foot strong { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.5px; }
.member-card__foot small { display: block; margin-top: 4px; font: 500 9px/1.4 var(--font-label); letter-spacing: .03em; text-transform: uppercase; }
.member-card__foot .icon-btn { width: 40px; height: 40px; }
.member-card:hover .icon-btn { background: var(--blue); color: var(--white); }

/* El Despacho: historia */
.history .section-head { margin-bottom: 40px; }
.history__stage { position: relative; height: 900px; overflow: hidden; }
.history__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.history__slide.is-active { opacity: 1; visibility: visible; }
.history__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.history__content { position: relative; display: flex; align-items: flex-end; height: 100%; padding-bottom: 20px; }
.history__card { width: 100%; max-width: 640px; padding: 30px; border-radius: var(--r-card); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.history__title { margin-top: 20px; font-size: 26px; font-weight: 500; }
.history__card p { max-width: 430px; margin-top: 40px; font-size: 14px; }
.history__tabs { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; justify-content: flex-end; gap: 6px; pointer-events: none; }
.history__tab { pointer-events: auto; height: 46px; padding: 0 26px; border: 0; border-radius: 30px; background: rgba(0, 0, 0, .3); color: var(--white); font: 500 11px var(--font-label); transition: background-color .3s, color .3s; }
.history__tab.is-active { background: var(--white); color: var(--blue); }

/* Etiquetas con flecha (especialidades) */
.tags { display: flex; flex-wrap: wrap; gap: 20px 30px; }
.tags--center { justify-content: center; }
.tags--lined { margin-top: 0; padding-top: 50px; border-top: 1px solid var(--line); }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 14px 16px 14px 22px; border-radius: 100px; background: var(--sand); color: var(--blue); font-size: 15px; font-weight: 500; letter-spacing: -.3px; }
a.tag:hover { background: var(--lime); color: var(--blue); }
.tag__icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: var(--lime); }
.tag__icon .icon { width: 9px; height: 9px; }

/* El Despacho: tres tarjetas finales */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio > * { min-height: 520px; border-radius: var(--r-card); overflow: hidden; }
.quote-card { display: flex; flex-direction: column; margin: 0; padding: 30px; background: var(--lime); }
.quote-card__icon { color: var(--blue); }
.quote-card__icon .icon { width: 34px; height: 34px; }
.quote-card blockquote { margin: 40px 0 0; }
.quote-card blockquote p { font-size: 16px; line-height: 1.5; }
.quote-card__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.trio__photo img { width: 100%; height: 100%; object-fit: cover; }
.motto-card { position: relative; padding: 30px; background: var(--blue); }
.motto-card__title { position: relative; z-index: 1; max-width: 300px; color: var(--lime); font-size: 26px; font-weight: 500; line-height: 1.2; }
.motto-card__shape { position: absolute; right: -70px; bottom: -40px; width: 360px; height: 360px; color: var(--lime); }
.motto-card__foot { position: absolute; left: 30px; bottom: 30px; z-index: 1; display: flex; align-items: center; gap: 8px; color: var(--lime); font: 500 11px var(--font-label); }
.motto-card__foot .icon { width: 14px; height: 14px; }

/* Ficha del equipo */
.member { padding-bottom: 0; }
.member__grid { display: grid; grid-template-columns: 1fr 384px; gap: 40px 80px; align-items: start; }
.member__name { margin-top: 20px; }
.member__role { margin-top: 14px; color: var(--teal); font-size: 16px; }
.member__bio { margin-top: 30px; max-width: 700px; font-size: 15px; line-height: 1.5; }
.member__bio p + p { margin-top: 10px; }
.member__mail { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; font-size: 14px; }
.member__mail small { display: block; color: var(--teal); font-size: 14px; }
.member__photo-card { margin-top: 56px; padding: 20px; border-radius: var(--r-card); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.member__photo { display: flex; justify-content: center; padding: 10px 0 30px; border-bottom: 1px solid var(--line); }
.member__photo img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; background: #d9d9d9; }
.member__skills { margin-top: 70px; }
.member__skills .tags { justify-content: space-between; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.team-more { margin: var(--section) 10px 0; padding: 90px 0; border-radius: var(--r-panel) var(--r-panel) 0 0; background: linear-gradient(180deg, var(--sand) 0, #fcfcfb 100%); }

/* Contacto */
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; text-align: left; }
.contact-info li { display: flex; align-items: center; gap: 16px; }
.contact-info li:nth-child(2) { justify-content: center; }
.contact-info li:nth-child(3) { justify-content: flex-end; }
.contact-info a { max-width: 260px; color: var(--text); font-size: 14px; line-height: 1.4; }
.contact-info small { display: block; color: var(--teal); font-size: 14px; }

/* Noticia */
.post__title { font-size: 48px; line-height: 1.2; }
.post__meta { margin-top: 20px; color: var(--blue); font: 500 11px/1.8 var(--font-label); text-transform: uppercase; letter-spacing: .03em; }
.post__media { margin-top: 20px; aspect-ratio: 1280 / 540; }
.container--post { max-width: calc(830px + var(--gutter) * 2); }
.post .prose--page { font-size: 16px; line-height: 1.55; }
.post .prose--page > p:first-child { color: var(--blue); font-size: 18px; }
.post .prose--page h2, .post .prose--page h3 { margin-top: 1.8em; font-size: 26px; font-weight: 500; line-height: 1.25; }
.post .prose--page img { width: 100%; height: auto; border-radius: var(--r-inner); }
.post .prose--page blockquote { margin: 2em 0; padding: 40px; border-radius: var(--r-card); background: var(--sand); text-align: center; color: var(--text); font-size: 18px; }
.post__tags { margin-top: 40px; font-size: 14px; }
.related { margin-top: var(--section); }

/* Si va justo después de la banda con foto, sin hueco */
.cta-banner + .contact-block, .team-more + .contact-block { margin-top: 0; }

/* Responsive de los bloques nuevos */
@media (max-width: 1200px) {
	.member__grid { grid-template-columns: 1fr 320px; gap: 40px; }
	.philosophy__cards, .stats, .area-grid, .member-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
	.site-header--over { left: 0; right: 0; }
	.hero { height: 760px; }
	.home-cards__grid, .news-grid, .columns3, .trio { grid-template-columns: 1fr 1fr; }
	.home-card--blue { grid-column: 1 / -1; order: -1; }
	.duo, .duo--wide, .case-form__grid, .news-row { grid-template-columns: 1fr; }
	.case-form__media { min-height: 360px; }
	.duo__photo { min-height: 380px; }
	.dark-footer__cols { grid-template-columns: 1fr 1fr; }
	.contact-info { grid-template-columns: 1fr; justify-items: center; }
	.contact-info li, .contact-info li:nth-child(n) { justify-content: flex-start; width: 100%; max-width: 360px; }
	.blue-card__title { font-size: 36px; }
}
@media (max-width: 767px) {
	.site-nav a { padding: 0; }
	.hero { margin: 0; height: 640px; min-height: 560px; border-radius: 0 0 var(--r-panel) var(--r-panel); }
	.hero__title { font-size: 38px; }
	.hero__tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; bottom: 20px; }
	.hero__tab { height: 48px; padding: 0 10px; font-size: 9px; text-align: center; }
	.home-cards__grid, .news-grid, .columns3, .trio, .split, .philosophy__cards, .member-grid--4, .area-grid { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.area-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.area-card__foot { min-height: 0; padding: 14px; font-size: 14px; }
	.area-card__foot .icon-btn { width: 32px; height: 32px; }
	.photo-banner { height: 460px; padding: 20px; }
	.photo-banner__bottom { flex-direction: column; align-items: flex-start; padding: 0; }
	.photo-banner__title { font-size: 24px; }
	.philosophy { margin: var(--section) 0 0; padding: 60px 0 70px; }
	.philosophy::after { left: 20px; }
	.philosophy__cards { margin-top: 40px; }
	.philosophy__card { min-height: 0; }
	.panel, .news-home, .team-more { margin-left: 0; margin-right: 0; padding: 60px 0; }
	.review-photo { min-height: 520px; }
	.review-photo__card { left: 16px; right: 16px; bottom: 16px; padding: 20px; }
	.review-photo blockquote p { font-size: 16px; }
	.success-card, .blue-card { min-height: 460px; padding: 24px; }
	.success-card__title { font-size: 24px; }
	.success-card__bottom { flex-direction: column; align-items: flex-start; }
	.blue-card__title { font-size: 30px; }
	.post-card--h .post-card__link { flex-direction: column; }
	.post-card--h .post-card__media { flex: none; aspect-ratio: 373 / 290; }
	.post-card--h .post-card__body { padding: 16px 8px 8px; }
	.case-form__card { padding: 30px 20px; }
	.form--grid { grid-template-columns: 1fr; }
	.dark-footer { margin: var(--section) 0 0; border-radius: var(--r-panel) var(--r-panel) 0 0; }
	.dark-footer__news-inner { flex-direction: column; align-items: stretch; }
	.newsletter input { flex: 1; width: auto; max-width: none; }
	.dark-footer__cols { grid-template-columns: 1fr; padding-top: 50px; }
	.dark-footer__bottom { flex-direction: column; align-items: flex-start; }
	.split__btn { margin-top: 30px; }
	.split__text { padding-top: 0; }
	.history__stage { height: 640px; }
	.history__content { padding-bottom: 90px; }
	.history__card { padding: 20px; }
	.history__card p { margin-top: 20px; }
	.history__tabs { justify-content: center; bottom: 24px; }
	.trio > * { min-height: 420px; }
	.member__grid { grid-template-columns: 1fr; }
	.member__photo-card { order: -1; margin-top: 0; }
	.member__photo img { width: 180px; height: 180px; }
	.member__skills .tags { justify-content: flex-start; gap: 12px; }
	.section-head--split { flex-direction: column; align-items: flex-start; }
	.post__title { font-size: 30px; }
	.post .prose--page blockquote { padding: 24px; }
	.site-footer__nav a[aria-current] { max-width: none; }
}
