:root {
  --ink: #17211e;
  --ink-2: #26332e;
  --paper: #f7f4ee;
  --cream: #eee8dc;
  --white: #fff;
  --gold: #c49a5a;
  --gold-light: #e6c994;
  --red: #9e3429;
  --muted: #64706b;
  --line: rgba(23, 33, 30, .15);
  --shadow: 0 24px 60px rgba(20, 28, 25, .12);
  --radius: 20px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-soft { background: #eee9df; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); background: white; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.3rem); }
h3 { line-height: 1.25; }
.eyebrow { margin-bottom: 18px; color: #8a632d; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: var(--gold-light); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .25s, box-shadow .25s, transform .25s; }
.site-header.scrolled { background: rgba(247,244,238,.96); box-shadow: 0 8px 30px rgba(0,0,0,.07); backdrop-filter: blur(12px); }
.header-inner { width: min(1280px, calc(100% - 42px)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-width: max-content; }
.brand-mark { width: 45px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.08em; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { color: white; font-family: var(--serif); font-size: 1.08rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.68); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-header.scrolled .brand-copy strong { color: var(--ink); }
.site-header.scrolled .brand-copy small { color: var(--muted); }
.site-header.scrolled .brand-mark { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: rgba(255,255,255,.88); font-size: .84rem; font-weight: 650; text-decoration: none; }
.site-header.scrolled .main-nav a { color: var(--ink); }
.main-nav a:hover { color: var(--gold-light); }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: 3px; }
.main-nav .nav-tool { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.48); border-radius: 999px; white-space: nowrap; }
.main-nav .nav-tool svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.main-nav .nav-whatsapp { color: white; border-color: #258b5b; background: #167d4d; }
.main-nav .nav-whatsapp svg { fill: currentColor; stroke: none; }
.site-header.scrolled .main-nav .nav-tool { border-color: rgba(23,33,30,.32); }
.site-header.scrolled .main-nav .nav-whatsapp { color: white; border-color: #167d4d; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: white; transition: transform .2s, opacity .2s; }
.site-header.scrolled .menu-toggle span:not(.sr-only) { background: var(--ink); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: white; background: #151d1a url("assets/despacho-almeria-hero.png") center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,15,13,.93) 0%, rgba(9,15,13,.8) 36%, rgba(9,15,13,.22) 70%, rgba(9,15,13,.08) 100%), linear-gradient(0deg, rgba(9,15,13,.5), transparent 45%); }
.hero-content { position: relative; z-index: 1; padding-top: 125px; padding-bottom: 110px; }
.hero h1 { max-width: 880px; margin-bottom: 27px; }
.hero-lead { max-width: 690px; margin-bottom: 35px; color: rgba(255,255,255,.78); font-size: clamp(1.08rem, 2vw, 1.34rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; fill: currentColor; }
.button-primary { color: #151d1a; background: var(--gold-light); }
.button-primary:hover { background: white; }
.button-ghost { color: white; border-color: rgba(255,255,255,.48); background: rgba(0,0,0,.15); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: white; }
.button-dark { color: white; background: var(--ink); }
.hero-notes { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px 30px; color: rgba(255,255,255,.65); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-notes span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 10px; vertical-align: 2px; border-radius: 50%; background: var(--gold-light); }
.hero-scroll { position: absolute; right: 36px; bottom: 35px; z-index: 2; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.68); font-size: .7rem; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; transform: rotate(90deg); transform-origin: right bottom; }
.hero-scroll svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.intro-grid { display: grid; grid-template-columns: 1.05fr .8fr; gap: 80px; align-items: end; }
.intro-grid h2 { max-width: 690px; margin-bottom: 0; }
.intro-copy { max-width: 550px; color: var(--muted); font-size: 1.05rem; }
.intro-copy p:last-child { margin-bottom: 0; }
.promise-grid { margin-top: 75px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise-grid article { padding: 34px; border-right: 1px solid var(--line); }
.promise-grid article:first-child { padding-left: 0; }
.promise-grid article:last-child { border-right: 0; }
.promise-grid article > span { color: #9a6f33; font-size: .72rem; font-weight: 800; }
.promise-grid h3 { margin: 15px 0 10px; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.promise-grid p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.section-heading { margin-bottom: 50px; display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 460px; margin-bottom: 10px; color: var(--muted); }
.section-heading.compact { grid-template-columns: 1fr; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-card { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.55); transition: background .2s, box-shadow .2s; }
.service-card[open] { background: white; box-shadow: 0 18px 45px rgba(21,29,26,.07); }
.service-card summary { list-style: none; min-height: 105px; display: grid; grid-template-columns: 46px 1fr 26px; gap: 16px; align-items: center; padding: 22px 24px; cursor: pointer; }
.service-card summary::-webkit-details-marker { display: none; }
.service-card summary svg { width: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; transition: transform .2s; }
.service-card[open] summary svg { transform: rotate(180deg); }
.service-icon { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: #8a632d; font-size: .68rem; font-weight: 800; }
.service-card summary strong, .service-card summary small { display: block; }
.service-card summary strong { font-family: var(--serif); font-size: 1.42rem; font-weight: 500; }
.service-card summary small { margin-top: 3px; color: var(--muted); font-size: .78rem; }
.service-body { padding: 0 24px 28px 86px; }
.service-body ul { margin: 0 0 20px; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.service-body li { margin: 7px 0; }
.service-body a, .text-link { color: #835d29; font-size: .85rem; font-weight: 800; text-decoration: none; }

.mediation { color: white; background: var(--ink); }
.mediation-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.mediation-panel { position: sticky; top: 130px; }
.mediation-panel h2 { max-width: 550px; }
.mediation-panel > p:not(.eyebrow) { max-width: 530px; color: rgba(255,255,255,.65); font-size: 1.06rem; }
.text-link.light { color: var(--gold-light); }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.mediation-list article { display: grid; grid-template-columns: 55px 1fr; gap: 24px; padding: 29px 0; border-top: 1px solid rgba(255,255,255,.15); }
.mediation-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.mediation-list span { color: var(--gold-light); font-size: .72rem; font-weight: 800; }
.mediation-list h3 { margin-bottom: 7px; font-family: var(--serif); font-size: 1.85rem; font-weight: 500; }
.mediation-list p { margin-bottom: 0; color: rgba(255,255,255,.58); }

.fincas { background: #f7f4ee; }
.fincas-head { display: grid; grid-template-columns: 170px 1fr .65fr; gap: 45px; align-items: center; margin-bottom: 55px; }
.fincas-head h2 { margin-bottom: 0; }
.fincas-head > p { margin-bottom: 0; color: var(--muted); }
.fincas-badge { width: 156px; height: 156px; position: relative; display: grid; place-items: center; background: #edd344; box-shadow: 16px -14px 0 rgba(158,52,41,.12); transform: rotate(-3deg); }
.fincas-badge::after { content: ""; position: absolute; inset: 16px -11px -12px 14px; border: 2px solid var(--red); pointer-events: none; }
.fincas-badge span { position: absolute; top: 26px; left: 25px; font-family: var(--serif); font-size: 2.1rem; }
.fincas-badge b { position: relative; z-index: 1; color: var(--red); font-size: 1.05rem; font-style: italic; transform: rotate(3deg); }
.fincas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fincas-grid article { min-height: 355px; padding: 30px 25px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.fincas-grid .number { color: #9a6f33; font-size: .7rem; font-weight: 800; }
.fincas-grid h3 { margin: 40px 0 22px; font-family: var(--serif); font-size: 1.48rem; font-weight: 500; }
.fincas-grid ul { margin: 0; padding-left: 17px; color: var(--muted); font-size: .88rem; }
.fincas-grid li { margin: 8px 0; }
.fincas-extra { margin-top: 28px; display: flex; justify-content: space-between; gap: 35px; align-items: center; padding-top: 26px; border-top: 1px solid var(--line); }
.fincas-extra p { max-width: 740px; margin-bottom: 0; color: var(--muted); }

.about { position: relative; overflow: hidden; background: linear-gradient(135deg, #eee9df 0%, #f8f5ef 58%, #e7dfd2 100%); }
.about::before { content: ""; position: absolute; width: 560px; height: 560px; right: -230px; top: -250px; border: 1px solid rgba(196,154,90,.24); border-radius: 50%; box-shadow: 0 0 0 70px rgba(196,154,90,.05), 0 0 0 140px rgba(196,154,90,.035); }
.about-heading { margin-bottom: 48px; display: flex; align-items: center; gap: 25px; }
.about-heading .eyebrow { margin: 0; }
.about-heading > p:last-child { margin: 0; color: var(--muted); font-size: .73rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.about-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.about-grid { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(55px, 8vw, 115px); align-items: center; }
.about-identity { position: relative; min-height: 560px; }
.about-monogram { height: 520px; position: relative; display: grid; place-items: center; overflow: hidden; color: var(--gold-light); background: linear-gradient(145deg, #111a17, #26332e); box-shadow: var(--shadow); }
.about-monogram::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(230,201,148,.46); }
.about-monogram::after { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(230,201,148,.18); border-radius: 50%; box-shadow: 0 0 0 45px rgba(230,201,148,.04), 0 0 0 90px rgba(230,201,148,.025); }
.about-monogram span { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(6.5rem, 12vw, 10.5rem); letter-spacing: -.12em; transform: translateX(-.06em); }
.experience-seal { position: absolute; z-index: 3; right: -34px; top: 42px; width: 155px; height: 155px; padding: 22px; display: flex; align-items: center; justify-content: center; flex-direction: column; border-radius: 50%; color: var(--ink); background: var(--gold-light); box-shadow: 0 15px 35px rgba(22,31,28,.18); text-align: center; }
.experience-seal strong { font-family: var(--serif); font-size: 3.6rem; font-weight: 500; line-height: .82; }
.experience-seal span { margin-top: 9px; font-size: .6rem; font-weight: 850; letter-spacing: .07em; line-height: 1.25; text-transform: uppercase; }
.about-card { position: absolute; z-index: 3; right: -28px; bottom: 0; width: min(360px, 92%); padding: 24px 26px; border-left: 4px solid var(--gold); background: white; box-shadow: 0 18px 45px rgba(21,29,26,.13); }
.about-card p { margin-bottom: 9px; color: #8a632d; font-size: .63rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.about-card strong, .about-card span { display: block; }
.about-card strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.about-card span { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.about-copy { max-width: 680px; }
.about-copy h2 { max-width: 690px; margin-bottom: 18px; }
.about-name { margin-bottom: 25px; color: #8a632d; font-family: var(--serif); font-size: 1.45rem; }
.about-copy > p:not(.eyebrow,.about-name) { color: var(--muted); font-size: 1.02rem; }
.about-intro { color: var(--ink) !important; font-size: 1.12rem !important; }
.about-pillars { margin-top: 34px; border-top: 1px solid var(--line); }
.about-pillars article { display: grid; grid-template-columns: 38px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.about-pillars article > span { padding-top: 4px; color: #9a6f33; font-size: .68rem; font-weight: 850; }
.about-pillars h3 { margin-bottom: 5px; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.about-pillars p { margin: 0; color: var(--muted); font-size: .85rem; }
.about-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.about-actions .button { width: auto; }
.about-whatsapp { min-height: 52px; display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; color: #116943; font-size: .82rem; font-weight: 800; text-decoration: none; }
.about-whatsapp svg { width: 20px; fill: currentColor; }

.process { background: white; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.process-grid article { min-height: 250px; padding: 32px; border: 1px solid var(--line); border-radius: 14px; }
.process-grid span { width: 48px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-family: var(--serif); }
.process-grid h3 { margin: 43px 0 12px; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.process-grid p { margin: 0; color: var(--muted); }

.contact { color: white; background: #121a17; }
.contact-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 95px; align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.62); }
.contact-cards { margin-top: 45px; display: grid; gap: 12px; }
.contact-cards a { display: block; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.15); text-decoration: none; }
.contact-cards a:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-cards span, .contact-cards strong { display: block; }
.contact-cards span { margin-bottom: 6px; color: var(--gold-light); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-cards strong { font-family: var(--serif); font-size: 1.23rem; font-weight: 500; line-height: 1.35; }
.contact-cards b { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; color: white; font-size: .75rem; }
.contact-cards i { color: var(--gold-light); font-size: 1rem; font-style: normal; transition: transform .2s; }
.contact-cards a:hover i { transform: translateX(5px); }
.contact-form { padding: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.contact-form label { display: block; margin-bottom: 18px; color: rgba(255,255,255,.78); font-size: .8rem; font-weight: 700; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 8px; padding: 14px 15px; color: white; border: 1px solid rgba(255,255,255,.24); border-radius: 9px; outline: none; background: rgba(0,0,0,.22); }
.contact-form select option { color: var(--ink); background: white; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(230,201,148,.12); }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.consent input { flex: 0 0 auto; width: 17px; margin-top: 3px; }
.consent a { color: var(--gold-light); }
.form-submit { width: 100%; border: 0; }
.form-submit svg { fill: none; stroke: currentColor; stroke-width: 2; }
.form-note { margin: 13px 0 0; text-align: center; color: rgba(255,255,255,.48); font-size: .73rem; }

.site-footer { padding: 70px 0 95px; color: white; background: #0b110f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .6fr; gap: 70px; }
.footer-brand .brand-copy strong { color: white; }
.footer-grid > div > p { max-width: 470px; margin: 24px 0 0; color: rgba(255,255,255,.5); }
.footer-grid h3 { margin-bottom: 17px; color: var(--gold-light); font-size: .67rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a, .footer-grid > div:not(:first-child) span { display: block; margin: 7px 0; color: rgba(255,255,255,.65); font-size: .84rem; text-decoration: none; }
.footer-bottom { margin-top: 55px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.38); font-size: .72rem; }

.mobile-actions { display: none; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .section { padding: 85px 0; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .main-nav { position: fixed; inset: 0; padding: 125px 28px 100px; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); transform: translateX(100%); transition: transform .3s; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a, .site-header.scrolled .main-nav a { padding: 17px 0; color: white; border-bottom: 1px solid rgba(255,255,255,.14); font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
  .nav-tools { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .main-nav .nav-tool, .site-header.scrolled .main-nav .nav-tool { min-height: 54px; justify-content: center; padding: 12px; color: white; border: 1px solid var(--gold-light); font-family: var(--sans); font-size: .86rem; }
  .main-nav .nav-whatsapp, .site-header.scrolled .main-nav .nav-whatsapp { border-color: #258b5b; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header:has(.main-nav.open) .brand-copy strong { color: white; }
  .site-header:has(.main-nav.open) .brand-copy small { color: rgba(255,255,255,.7); }
  .site-header:has(.main-nav.open) .brand-mark { color: var(--gold-light); }
  .site-header:has(.main-nav.open) .menu-toggle span:not(.sr-only) { background: white; }
  .intro-grid, .section-heading, .mediation-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-grid article, .promise-grid article:first-child { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .promise-grid article:last-child { border-bottom: 0; }
  .mediation-panel { position: static; }
  .fincas-head { grid-template-columns: 145px 1fr; }
  .fincas-head > p { grid-column: 1 / -1; }
  .fincas-badge { width: 130px; height: 130px; }
  .fincas-grid { grid-template-columns: repeat(2, 1fr); }
  .about-identity { width: min(100%, 560px); }
  .about-monogram { height: 500px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell, .header-inner { width: min(100% - 30px, 1180px); }
  .section { padding: 70px 0; }
  .header-inner { min-height: 74px; }
  .brand-mark { width: 39px; }
  .brand-copy strong { font-size: .9rem; }
  .brand-copy small { font-size: .52rem; }
  .hero { min-height: 93svh; background-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(9,15,13,.95), rgba(9,15,13,.75)), linear-gradient(0deg, rgba(9,15,13,.65), transparent 60%); }
  .hero-content { padding-top: 110px; padding-bottom: 90px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-notes { margin-top: 35px; display: grid; gap: 9px; }
  .hero-scroll { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card summary { min-height: 92px; grid-template-columns: 38px 1fr 22px; gap: 12px; padding: 18px 16px; }
  .service-icon { width: 36px; }
  .service-card summary strong { font-size: 1.18rem; }
  .service-card summary small { font-size: .7rem; }
  .service-body { padding: 0 18px 24px 65px; }
  .fincas-head { grid-template-columns: 1fr; }
  .fincas-badge { width: 120px; height: 120px; }
  .fincas-head > p { grid-column: auto; }
  .fincas-grid, .process-grid { grid-template-columns: 1fr; }
  .fincas-grid article { min-height: 0; }
  .fincas-extra { align-items: stretch; flex-direction: column; }
  .about-grid { gap: 38px; }
  .about-heading { margin-bottom: 35px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .about-heading::after { width: 100%; flex: none; }
  .about-identity { min-height: 470px; }
  .about-monogram { width: calc(100% - 12px); height: 430px; }
  .experience-seal { width: 125px; height: 125px; right: -3px; top: 28px; padding: 16px; }
  .experience-seal strong { font-size: 2.8rem; }
  .experience-seal span { font-size: .52rem; }
  .about-card { right: 0; padding: 20px; }
  .about-actions { align-items: stretch; flex-direction: column; }
  .about-actions .button, .about-whatsapp { width: 100%; justify-content: center; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 25px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  .site-footer { padding-bottom: 110px; }
  .mobile-actions { position: fixed; inset: auto 0 0; z-index: 95; display: grid; grid-template-columns: repeat(3, 1fr); padding: 7px max(7px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(7px, env(safe-area-inset-left)); box-shadow: 0 -8px 25px rgba(0,0,0,.2); background: #f7f4ee; }
  .mobile-actions a { min-height: 52px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; color: var(--ink); font-size: .65rem; font-weight: 800; text-decoration: none; }
  .mobile-actions a.wa { color: white; border-radius: 8px; background: #167d4d; }
  .mobile-actions svg { width: 20px; fill: currentColor; }
  .mobile-actions a.map svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
}

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

/* Páginas de servicios */
.service-page-body { background: var(--paper); }
.service-page-body .site-header { position: sticky; background: rgba(247,244,238,.97); box-shadow: 0 8px 30px rgba(0,0,0,.07); }
.service-page-body .brand-copy strong, .service-page-body .main-nav > a { color: var(--ink); }
.service-page-body .brand-copy small { color: var(--muted); }
.service-page-body .brand-mark { color: #8a632d; }
.service-page-body .menu-toggle span:not(.sr-only) { background: var(--ink); }
.service-hero { padding: 105px 0 90px; color: white; background: linear-gradient(115deg, rgba(10,17,14,.96), rgba(24,33,30,.88)), url("assets/despacho-almeria-hero.png") center/cover; }
.service-hero h1 { max-width: 940px; margin-bottom: 24px; font-size: clamp(2.9rem, 6vw, 5.7rem); }
.service-hero .hero-lead { max-width: 760px; }
.breadcrumbs { margin-bottom: 34px; color: rgba(255,255,255,.65); font-size: .78rem; }
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }
.service-content { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); gap: 75px; align-items: start; }
.service-content h2 { font-size: clamp(2.25rem,4vw,3.7rem); }
.service-content h3 { margin-top: 34px; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.service-content p, .service-content li { color: var(--muted); }
.matter-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.matter-list li { padding: 14px 0 14px 25px; position: relative; border-bottom: 1px solid var(--line); }
.matter-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.service-aside { position: sticky; top: 120px; padding: 30px; border-radius: var(--radius); color: white; background: var(--ink); box-shadow: var(--shadow); }
.service-aside h2 { margin-bottom: 14px; font-size: 2rem; }
.service-aside p { color: rgba(255,255,255,.68); }
.service-aside .button { width: 100%; margin-top: 9px; }
.service-aside .button-ghost { color: white; border-color: rgba(255,255,255,.35); }
.service-process { background: white; }
.service-process .process-grid { margin-top: 38px; }
.service-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 35px; }
.service-links a { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: white; font-family: var(--serif); font-size: 1.1rem; text-decoration: none; }
.service-cta { padding: 75px 0; color: white; background: #121a17; }
.service-cta .shell { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.service-cta h2 { max-width: 720px; margin: 0; font-size: clamp(2.2rem,4vw,3.9rem); }
.service-cta .hero-actions { margin: 0; flex: 0 0 auto; }
.service-coverage { color: white; background: linear-gradient(115deg, #755329, #bd873f); }
.service-coverage-layout { display: grid; grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); gap: 70px; align-items: center; }
.service-coverage h2 { max-width: 560px; margin-bottom: 18px; font-size: clamp(2.3rem,4vw,4rem); }
.service-coverage p:not(.eyebrow) { max-width: 590px; color: rgba(255,255,255,.78); }
.service-coverage-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid rgba(255,255,255,.32); border-left: 1px solid rgba(255,255,255,.32); }
.service-coverage-grid span { min-height: 88px; display: flex; align-items: center; padding: 20px 28px; border-right: 1px solid rgba(255,255,255,.32); border-bottom: 1px solid rgba(255,255,255,.32); font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
@media (max-width: 980px) {
  .service-content { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .service-page-body .main-nav > a { color: white; }
}
@media (max-width: 680px) {
  .service-hero { padding: 75px 0 65px; }
  .matter-list, .service-links { grid-template-columns: 1fr; }
  .service-cta .shell { align-items: stretch; flex-direction: column; }
  .service-coverage-layout { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 560px) {
  .service-coverage-grid { grid-template-columns: 1fr; }
  .service-coverage-grid span { min-height: 66px; padding: 16px 20px; }
}
