/*
Theme Name: Casero Asesores
Theme URI: https://casero.molobo.es/
Author: Xauen Publicidad
Description: Tema a medida para Casero Asesores (Jaén). Incluye las páginas Inicio, El despacho, Servicios, Herencias, Circulares y Contacto, y el apartado «Circulares» del escritorio para publicar novedades con título, foto, descripción y enlace al documento.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: casero
*/

/* Casero Asesores — hoja de estilos
   Paleta tomada del logotipo oficial:
   celeste  #90CCF1 (144,204,241)  · violeta #928FB1 (146,143,177) · pervinca #92B5F6
   Azul de lectura y azul profundo derivados del violeta/pervinca de la marca. */

:root {
  --marfil: #FAF6EB;
  --carbon: #201D16;
  --gris: #5E5A4F;
  --filete: #C5C1B5;
  --celeste: #90CCF1;
  --violeta: #928FB1;
  --azul: #263A7C;          /* titulares, enlaces, navegación activa, botones */
  --azul-hover: #1D2E66;
  --azul-profundo: #1C2A5C; /* franja de contacto */
  --pad: clamp(20px, 4.2vw, 56px);
  --maxw: 1440px;
  --display: "Inter Tight", "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--marfil);
  color: var(--carbon);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.rule { border: 0; border-top: 1px solid var(--filete); margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.arrow { width: 12px; height: 12px; flex: none; stroke: currentColor; stroke-width: 1.6; fill: none; }

/* ---------- Cabecera ---------- */
.site-header { position: relative; z-index: 20; background: var(--marfil); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 103px; border-bottom: 1px solid var(--filete);
}
.brand { display: flex; align-items: center; min-width: 167px; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; gap: 34px; font-size: 14px; letter-spacing: -0.005em; }
.nav a { padding: 6px 0; transition: color .15s; }
.nav a:hover { color: var(--azul); }
.nav a[aria-current="page"] { color: var(--azul); font-weight: 600; }
.phone { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.phone svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.phone:hover { color: var(--azul); }
.menu-btn, .call-btn, .header-actions, .mobile-menu { display: none; }

/* ---------- Comunes ---------- */
.crumbs { font-size: 12px; color: var(--gris); display: flex; gap: 16px; padding-top: 66px; }
.crumbs a:hover { color: var(--azul); }
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--carbon);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--celeste); box-shadow: 0 0 0 .3px var(--celeste); }
.eyebrow.right::before { order: 0; }

.h1 {
  font-weight: 700; color: var(--azul);
  font-size: clamp(44px, 5.71vw, 76px); line-height: 1.08; letter-spacing: -0.025em;
}
.h1-home { font-size: clamp(50px, 7.5vw, 100px); line-height: 1.08; letter-spacing: -0.028em; }
.h2 { font-weight: 700; color: var(--azul); font-size: clamp(34px, 4.06vw, 54px); line-height: 1.08; letter-spacing: -0.022em; }
.h2s { font-weight: 700; color: var(--azul); font-size: clamp(30px, 3.46vw, 46px); line-height: 1.08; letter-spacing: -0.02em; }
.h3 { font-weight: 700; color: var(--carbon); font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -0.015em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; max-width: 680px; }
.small { font-size: 14px; color: var(--gris); line-height: 1.75; }
.caption { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); display: flex; justify-content: space-between; gap: 16px; margin-top: 13px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--azul); color: #fff; font-size: 13px; font-weight: 600;
  padding: 11px 18px; border: 0; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--azul-hover); }
.link {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 13px; font-weight: 600; color: var(--carbon);
  padding-bottom: 9px; border-bottom: 1px solid var(--carbon); transition: color .15s, border-color .15s;
}
.link .arrow { width: 11px; height: 11px; }
.link:hover { color: var(--azul); border-bottom-color: var(--azul); }
.link.light { font-weight: 500; }
.links { display: flex; flex-wrap: wrap; gap: 18px 22px; }

/* ---------- Franja de contacto ---------- */
.band { background: var(--azul-profundo); color: #fff; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 60px; }
.band h2 { font-size: clamp(30px, 3.16vw, 42px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.band .link { color: #fff; border-bottom-color: var(--celeste); font-size: 15px; font-weight: 500; gap: 34px; padding-bottom: 12px; min-width: 238px; justify-content: space-between; }
.band .link:hover { color: var(--celeste); }

/* ---------- Pie ---------- */
.site-footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-block: 53px 54px; }
.site-footer .brand img { height: 64px; }
.site-footer .tag { font-size: 13px; color: var(--gris); line-height: 1.75; margin-top: 14px; }
.site-footer address { font-style: normal; font-size: 13px; line-height: 1.75; }
.site-footer address .muted { color: var(--gris); margin-top: 10px; display: block; }
.site-footer address a:hover, .foot-nav a:hover { color: var(--azul); }
.foot-nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 14px 24px; font-size: 13px; max-width: 360px; }
.site-footer .legal { border-top: 1px solid var(--filete); font-size: 11px; color: var(--gris); padding-block: 20px 24px; }

/* ---------- Inicio ---------- */
.hero { padding-top: 67px; }
.hero .h1 { margin-top: 23px; }
.hero-grid { display: grid; grid-template-columns: 41.15% 1fr; margin-top: 32px; }
.hero-text { align-self: end; padding-bottom: 0; max-width: 340px; }
.hero-text p { font-size: 15px; line-height: 1.7; }
.hero-text .btn { margin-top: 26px; }
.hero-text .link { margin-top: 16px; font-weight: 500; }
.hero-text .stack { display: flex; flex-direction: column; align-items: flex-start; }
.hero-photo img { width: 100%; aspect-ratio: 717 / 345; object-fit: cover; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--gris); padding: 36px 0 48px; }
.hero-foot svg { width: 13px; height: 13px; stroke: var(--carbon); fill: none; stroke-width: 1.4; margin-right: 4px; }

.section-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.needs { padding-block: 80px 88px; }
.needs .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 37px; }
.need { border-top: 1px solid var(--carbon); padding-top: 29px; display: block; }
.need .meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--gris); letter-spacing: .02em; text-transform: uppercase; }
.need .meta .arrow { width: 12px; height: 12px; color: var(--carbon); }
.need .h3 { margin-top: 31px; transition: color .15s; }
.need p { font-size: 14.5px; line-height: 1.76; color: var(--gris); max-width: 272px; margin-top: 11px; }
.need:hover .h3 { color: var(--azul); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.feature { padding-block: 80px 80px; }
.feature .h2 { margin-top: 37px; }
.feature p.body { font-size: 15px; line-height: 1.72; margin-top: 26px; max-width: 470px; }
.feature .link { margin-top: 36px; }
.feature figure img { width: 100%; object-fit: cover; }
.feature .text { padding-top: 0; }
.feature.v-center .split { align-items: center; }
.feature.herencia figure img { aspect-ratio: 565 / 440; }
.feature.team figure img { aspect-ratio: 565 / 350; }
.feature.team .text { align-self: start; padding-top: 0; }

.latest { padding-block: 80px 85px; }
.latest .list { margin-top: 38px; border-top: 1px solid var(--filete); }
.latest .row { display: grid; grid-template-columns: 174px 1fr 40px; padding-block: 26px 26px; border-bottom: 1px solid var(--filete); align-items: start; }
.latest .row:last-child { border-bottom: 0; }
.latest .row h3 { font-size: 20px; font-weight: 700; line-height: 1.32; max-width: 560px; letter-spacing: -0.01em; transition: color .15s; }
.latest .row:hover h3 { color: var(--azul); }

/* ---------- Circulares ---------- */
.date { font-size: 12.5px; color: var(--gris); }
.topic { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--azul); margin-top: 6px; font-weight: 600; }
.page-head { padding-bottom: 57px; }
.page-head .eyebrow { margin-top: 38px; }
.page-head .h1 { margin-top: 27px; }
.page-head .lede { margin-top: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 80px; }
.select { position: relative; }
.select select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 1px solid var(--filete);
  border-radius: 0; height: 46px; width: 186px; padding: 0 34px 0 18px; font-size: 14px; cursor: pointer; color: var(--carbon);
}
.select select:hover { border-color: var(--gris); }
.select select:focus-visible { outline: 2px solid var(--azul); outline-offset: 0; border-color: var(--azul); }
.select::after {
  content: ""; position: absolute; right: 17px; top: 19px; width: 6px; height: 6px;
  border-right: 1.3px solid var(--carbon); border-bottom: 1.3px solid var(--carbon); transform: rotate(45deg); pointer-events: none;
}
.count { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--gris); margin-top: 40px; padding-bottom: 2px; border-bottom: 1px solid var(--filete); }
.count .src { font-size: 12px; }
.count .src a { color: var(--azul); }
.circ-list .row {
  display: grid; grid-template-columns: 174px minmax(0,1fr) 48px; align-items: start;
  padding-block: 27px 25px; border-bottom: 1px solid var(--filete); color: inherit;
}
.circ-list .row:last-child { border-bottom: 0; }
.circ-list h2 { font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--carbon); letter-spacing: -0.012em; max-width: 680px; transition: color .15s; }
.circ-list p { font-size: 15.5px; color: var(--gris); margin-top: 12px; max-width: 900px; line-height: 1.55; }
.circ-list .go { justify-self: end; padding-top: 6px; padding-right: 22px; color: var(--carbon); }
.circ-list .go .arrow { width: 13px; height: 13px; }
.circ-list .row:hover h2 { color: var(--azul); }
.circ-list .row:hover .go { color: var(--azul); }
.circ-list .row[hidden] { display: none; }
.empty { padding: 40px 0; color: var(--gris); font-size: 15px; }
.note { font-size: 13px; color: var(--gris); padding: 22px 0 80px; }
.note a { color: var(--carbon); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--carbon); padding-bottom: 9px; display: inline-block; transition: color .15s, border-color .15s; }
.note a:hover { color: var(--azul); border-color: var(--azul); }

/* ---------- Servicios ---------- */
.serv-head .lede { margin-top: 20px; max-width: 600px; }
.serv-head .links { margin-top: 42px; }
.serv-head { padding-bottom: 59px; }
.questions { padding-block: 82px 80px; }
.qlist { margin-top: 32px; }
.qlist a { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 23px 0 19px; border-bottom: 1px solid var(--filete); transition: color .15s; }
.qlist a .arrow { margin-right: 6px; }
.qlist a:hover { color: var(--azul); }
.areas { border-top: 1px solid var(--filete); }
.area { display: grid; grid-template-columns: 93px minmax(0, 506px) 1fr; padding-block: 41px 35px; border-bottom: 1px solid var(--filete); scroll-margin-top: 20px; }
.area .num { font-size: 11px; color: var(--gris); padding-top: 9px; }
.area h2 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; font-weight: 700; color: var(--azul); letter-spacing: -0.015em; padding-right: 24px; }
.area .desc { font-size: 14.5px; line-height: 1.75; }
.area ul { margin-top: 14px; padding-left: 20px; font-size: 14px; line-height: 1.82; color: var(--gris); }
.area .link { margin-top: 16px; }
.areas .area:last-child { border-bottom: 0; }
.unsure { border-top: 1px solid var(--filete); padding-block: 86px 104px; }
.unsure p { font-size: 15px; }
.unsure .link { margin-top: 18px; }

/* ---------- Contacto ---------- */
.contact-head .h1 { margin-top: 30px; }
.contact-head .lede { margin-top: 30px; }
.contact-grid { display: grid; grid-template-columns: 49.1% 1fr; padding-top: 50px; padding-bottom: 72px; }
.contact-grid h2 { font-size: clamp(22px, 1.95vw, 26px); font-weight: 700; color: var(--azul); line-height: 1.2; letter-spacing: -0.012em; }
.contact-info h2 + * { margin-top: 18px; }
.contact-info section + section { margin-top: 38px; }
.contact-info p { font-size: 14.5px; line-height: 1.75; }
.contact-info .icon-line { display: flex; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.9; }
.contact-info .icon-line svg, .link svg.ico { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.contact-info .icon-line a:hover { color: var(--azul); }
.contact-info .link { margin-top: 12px; }
.contact-info .links { margin-top: 20px; gap: 16px; }
form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; margin-top: 22px; }
form label { display: block; font-size: 11.5px; font-weight: 600; margin-bottom: 9px; }
form .full { grid-column: 1 / -1; }
form input, form select, form textarea {
  width: 100%; border: 1px solid var(--filete); background: transparent; border-radius: 0;
  font-size: 14px; padding: 0 16px; height: 48px; color: var(--carbon);
}
form textarea { height: 146px; padding: 18px 16px; resize: vertical; line-height: 1.6; }
form select { appearance: none; -webkit-appearance: none; cursor: pointer; }
form .select select { width: 100%; height: 46px; }
form input::placeholder, form textarea::placeholder { color: #9A968A; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--azul); box-shadow: inset 0 0 0 1px var(--azul); }
form .btn { margin-top: 22px; }
form .hint { font-size: 11.5px; color: var(--gris); margin-top: 14px; }
form .error { color: var(--azul); font-size: 12px; margin-top: 10px; min-height: 1em; font-weight: 600; }

/* ---------- El despacho / Herencias ---------- */
.team { padding-block: 88px 104px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; margin-top: 40px; }
.person figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); }
.person .meta { display: flex; justify-content: space-between; border-top: 1px solid var(--carbon); margin-top: 18px; padding-top: 14px; font-size: 11px; color: var(--gris); text-transform: uppercase; letter-spacing: .02em; }
.person h3 { font-size: 22px; font-weight: 700; margin-top: 10px; letter-spacing: -0.01em; }
.steps { padding-block: 88px 30px; }
.steps ol { margin-top: 36px; border-top: 1px solid var(--filete); }
.steps li { display: grid; grid-template-columns: 93px minmax(0, 506px) 1fr; padding: 26px 0 24px; border-bottom: 1px solid var(--filete); }
.steps li .num { font-size: 11px; color: var(--gris); padding-top: 4px; }
.steps li strong { font-size: 17px; font-weight: 700; line-height: 1.4; padding-right: 24px; }
.steps li span.d { font-size: 14.5px; line-height: 1.75; color: var(--gris); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* ---------- Tableta ---------- */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .brand { min-width: 0; }
  .split { gap: 48px; }
  .area { grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.25fr); }
  .steps li { grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.25fr); }
}

/* ---------- Móvil ---------- */
@media (max-width: 860px) {
  .site-header .bar { height: 80px; }
  .brand img { height: 62px; }
  .nav, .site-header .phone { display: none; }
  .header-actions { display: flex; align-items: center; gap: 8px; }
  .call-btn, .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
    border: 1px solid var(--filete); background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--carbon);
  }
  .call-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  .menu-btn .bars { width: 16px; height: 9px; position: relative; display: inline-block; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s, top .2s; }
  .menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 7.5px; }
  .menu-open .menu-btn .bars::before { top: 4px; transform: rotate(45deg); }
  .menu-open .menu-btn .bars::after { top: 4px; transform: rotate(-45deg); }
  .mobile-menu { display: none; border-bottom: 1px solid var(--filete); background: var(--marfil); }
  .menu-open .mobile-menu { display: block; }
  .mobile-menu a { display: flex; justify-content: space-between; align-items: center; font-size: 22px; font-weight: 700; padding: 15px 0; border-bottom: 1px solid var(--filete); letter-spacing: -0.01em; }
  .mobile-menu a[aria-current="page"] { color: var(--azul); }
  .mobile-menu .m-phone { font-size: 16px; font-weight: 600; border-bottom: 0; color: var(--azul); padding: 20px 0 24px; justify-content: flex-start; gap: 10px; }
  .mobile-menu .m-phone svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

  .crumbs { padding-top: 36px; }
  .hero { padding-top: 40px; }
  .hero .h1 { margin-top: 22px; }
  .hero-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .hero-text { order: 2; max-width: none; margin-top: 30px; }
  .hero-photo { order: 1; }
  .hero-foot { padding: 32px 0 36px; }
  .needs { padding-block: 56px 64px; }
  .needs .grid { grid-template-columns: 1fr; gap: 36px; margin-top: 28px; }
  .need .h3 { margin-top: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head .eyebrow { order: -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .feature { padding-block: 56px 64px; }
  .feature .h2 { margin-top: 24px; }
  .feature.team figure { order: 2; }
  .latest { padding-block: 56px 72px; }
  .latest .row, .circ-list .row { grid-template-columns: minmax(0,1fr) 28px; row-gap: 12px; padding-block: 24px; }
  .latest .row > .when, .circ-list .row > .when { grid-column: 1 / -1; display: flex; gap: 14px; align-items: baseline; }
  .latest .row .topic, .circ-list .row .topic { margin-top: 0; }
  .latest .row h3 { font-size: 18px; }
  .circ-list h2 { font-size: 20px; }
  .circ-list p { font-size: 15px; margin-top: 10px; }
  .circ-list .go { padding-right: 2px; padding-top: 4px; }
  .page-head { padding-bottom: 44px; }
  .page-head .eyebrow { margin-top: 30px; }
  .page-head .h1 { margin-top: 22px; }
  .page-head .lede { margin-top: 24px; }
  .filters { padding-top: 40px; }
  .select { flex: 1 1 100%; }
  .select select { width: 100%; }
  .count { margin-top: 28px; }
  .note { padding: 32px 0 64px; line-height: 2; }
  .band .wrap { flex-direction: column; align-items: flex-start; padding-block: 48px; gap: 28px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 36px; }
  .site-footer .brand img { height: 60px; }
  .questions { padding-block: 56px 48px; }
  .area { grid-template-columns: 1fr; row-gap: 10px; padding-block: 34px; }
  .area .num { padding-top: 0; }
  .area .desc { margin-top: 6px; }
  .unsure { padding-block: 56px 64px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; padding-top: 40px; padding-bottom: 72px; }
  form .fields { grid-template-columns: 1fr; }
  .team { padding-block: 56px 64px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .person h3 { font-size: 18px; }
  .steps { padding-block: 56px 20px; }
  .steps li { grid-template-columns: 1fr; row-gap: 6px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .call-btn .t { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Ayuda FEDER (pie) ---------- */
.funding { border-top: 1px solid var(--filete); padding-block: 28px 30px; }
.funding .logos { background: #fff; padding: 14px 20px; display: flex; justify-content: center; }
.funding .logos img { width: 100%; max-width: 640px; }
.funding p { font-size: 12px; line-height: 1.65; color: var(--gris); text-align: center; max-width: 780px; margin: 16px auto 0; }
@media (max-width: 860px) {
  .funding .logos { padding: 10px 8px; }
  .funding p { text-align: left; font-size: 12px; }
}

/* ---------- Tipografía de titulares ---------- */
.h1, .h2, .h2s, .band h2, .area h2, .contact-grid h2, .steps h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.04em;
}
.h1 { line-height: 1.0; }
.h1-home { letter-spacing: -0.045em; line-height: 0.98; }
.band h2 { letter-spacing: -0.03em; }
.area h2, .contact-grid h2 { letter-spacing: -0.025em; }

/* ---------- Equipo: ficha ---------- */
.person .titulo { font-size: 13px; font-weight: 600; line-height: 1.55; margin-top: 8px; color: var(--carbon); }
.person .areas-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--azul); font-weight: 600; margin-top: 16px; }
.person .areas-list { margin-top: 6px; font-size: 14px; line-height: 1.75; color: var(--gris); }

/* ---------- Servicios: imágenes en azul ---------- */
.serv-photo { padding-top: 0; }
.serv-photo img { width: 100%; aspect-ratio: 1219 / 380; object-fit: cover; }
.area-img { margin-top: 26px; max-width: 340px; }
.area-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) {
  .serv-photo img { aspect-ratio: 16 / 9; }
  .area-img { margin-top: 16px; max-width: none; }
}

/* ---------- Servicios: cabecera sobre foto ---------- */
.serv-hero { position: relative; margin-top: 38px; }
.serv-hero img { width: 100%; aspect-ratio: 1915 / 821; object-fit: cover; }
.serv-hero-text { position: absolute; left: 3.3%; top: 7.5%; width: 33%; }
.serv-hero-text .h1 { font-size: clamp(40px, 4.4vw, 58px); margin-top: 22px; }
.serv-hero-text .lede { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.65; margin-top: 22px; max-width: 86%; }
.serv-head .links { margin-top: 32px; }
@media (max-width: 1100px) {
  .serv-hero { display: flex; flex-direction: column; }
  .serv-hero-text { position: static; width: auto; order: -1; margin-bottom: 28px; }
  .serv-hero-text .h1 { font-size: clamp(40px, 6vw, 64px); }
  .serv-hero img { aspect-ratio: 4 / 3; object-position: 62% 50%; }
}
@media (max-width: 860px) { .serv-hero { margin-top: 30px; } }

/* ---------- Circulares gestionadas desde WordPress ---------- */
.c-main { display: flex; gap: 24px; align-items: flex-start; }
.c-thumb { flex: 0 0 120px; }
.c-thumb img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; }
.latest .c-thumb { flex-basis: 96px; } .latest .c-thumb img { width: 96px; }
.entry { max-width: 760px; font-size: 16px; line-height: 1.75; padding-bottom: 96px; }
.entry > * + * { margin-top: 1em; }
.entry a { color: var(--azul); text-decoration: underline; }
@media (max-width: 860px) {
  .c-main { gap: 14px; }
  .c-thumb { flex-basis: 84px; } .c-thumb img { width: 84px; }
}
