:root{--green:#163a31;--red:#a23432;--soft:#eff4ed;--line:#dae5dd}
*{box-sizing:border-box}
body{margin:0;background:#fbfaf6;color:#172d26;font:1rem/1.65 system-ui,sans-serif}
a{color:inherit;text-underline-offset:.2em}
:focus-visible{outline:3px solid #cc782f;outline-offset:4px}
.wrap{width:min(1160px,calc(100% - 2rem));margin-inline:auto}
.skip{position:absolute;top:-5rem;left:1rem;background:white;padding:.5rem}.skip:focus{top:1rem}
header{background:white;border-bottom:1px solid var(--line)}
.nav,.actions,nav{display:flex;align-items:center;flex-wrap:wrap;gap:1rem}
.nav{justify-content:space-between;padding-block:1rem}
nav a,.brand{text-decoration:none}nav a:hover,nav a[aria-current]{text-decoration:underline}
.brand{font-weight:850;letter-spacing:.075em}.brand span{display:inline-grid;place-items:center;background:var(--green);color:white;border-radius:.55rem;width:2rem;height:2rem}
.btn{display:inline-block;background:var(--red);color:white;border:1px solid transparent;border-radius:.55rem;padding:.65rem 1rem;text-decoration:none;font:inherit;font-weight:700;cursor:pointer}.btn:hover{filter:brightness(.9)}
.btn.outline{background:transparent;color:var(--green);border-color:currentColor}.btn.light{background:transparent;border-color:#adc2b8}
.hero,footer{background:var(--green);color:#fff}
.hero-inner,.grid,.quick,.split,.foot{display:grid;gap:1.15rem}
.hero-inner{grid-template-columns:1.13fr 1fr;align-items:center;gap:clamp(1.5rem,5vw,4rem);padding-block:clamp(2.5rem,6vw,5rem)}
.hero-photo{min-height:370px;border-radius:1rem 4rem 1rem 1rem;background:#68877c center/cover no-repeat;box-shadow:0 16px 40px #0d241e66}
.eyebrow{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;font-weight:750;color:#d5e6db}
h1,h2,h3{line-height:1.12;letter-spacing:-.04em;margin:0 0 .6em}h1{font-size:clamp(2.2rem,5.4vw,4.55rem);max-width:19ch}h2{font-size:clamp(1.8rem,3.5vw,3rem)}h3{font-size:1.25rem}
p{max-width:72ch}.lead{font-size:1.19rem;max-width:50ch}.actions{margin-top:1.5rem}
.grid,.quick{grid-template-columns:repeat(3,minmax(0,1fr))}.grid{margin-top:1.5rem}.quick{padding-top:1.25rem}
.quick a,article{background:white;border:1px solid var(--line);border-radius:.85rem;padding:1.25rem}
.quick a{text-decoration:none}.quick a:hover{background:var(--soft)}.quick strong{display:flex;justify-content:space-between}.quick small,article small,article p{color:#4b6259}
.icon{display:grid;place-items:center;background:var(--soft);width:2.7rem;height:2.7rem;border-radius:.7rem;font-weight:750;font-size:1.4rem;margin-bottom:.85rem}
.section,.band,footer{padding-block:clamp(2.5rem,6vw,4.8rem)}.band{background:var(--soft)}.split,.foot{grid-template-columns:1fr 1fr;gap:2rem}
.foot>div:last-child{display:grid;gap:.5rem;align-content:start}address{font-style:normal}
form{max-width:38rem;display:grid;gap:1rem;margin:1.5rem 0}label{display:grid;gap:.35rem;font-weight:650}input,textarea{width:100%;padding:.6rem;border:1px solid #8ca397;border-radius:.45rem;font:inherit}form button{justify-self:start}
@media(max-width:850px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-photo{min-height:300px}}
@media(max-width:650px){.nav nav{order:1;width:100%;gap:.6rem 1rem}.nav{gap:.65rem}.hero-inner,.grid,.quick,.split,.foot{grid-template-columns:1fr}.hero-photo{min-height:225px}.section{padding-block:2.5rem}}

/* Portada y lenguaje visual */
:root{--green:#123b30;--red:#a83b34;--soft:#e9f1e8;--line:#dce5db}
body{background:#f9f8f2}
header{box-shadow:0 2px 18px #123b3009}
.nav{min-height:76px}
.brand span{border-radius:50%;width:2.4rem;height:2.4rem}
.btn{border-radius:100px;padding:.78rem 1.25rem}
.hero{background:radial-gradient(ellipse at 0 20%,#285746,transparent 60%),#123b30}
.hero-inner{grid-template-columns:1.05fr 1fr;padding-block:clamp(2.7rem,6vw,5.5rem) 5.5rem}
.hero h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-.055em;line-height:1.02}
.hero h1 em{color:#cfdfb7;font-weight:inherit}
.hero .lead{color:#e3ece2}
.hero .eyebrow{display:flex;align-items:center;gap:.75rem}
.hero .eyebrow::before{content:"";width:1.8rem;height:1px;background:#c6d9ab}
.hero-photo{position:relative;min-height:430px;border-radius:48% 48% 1.15rem 1.15rem / 36% 36% 1.15rem 1.15rem;border:1px solid #ffffff55;background-color:#698b73}
.hero-photo::after{content:"";position:absolute;inset:.65rem;border:1px solid #fff7;border-radius:inherit;pointer-events:none}
.quick{position:relative;margin-top:-2.1rem;padding-top:0;gap:.7rem}
.quick a{box-shadow:0 12px 30px #123b3014;padding:1.15rem 1.4rem;border-radius:1rem}
.quick strong span{display:grid;place-items:center;background:#e9f1e8;border-radius:50%;width:1.75rem;height:1.75rem}
.quick a:first-child{background:#eaf1df}
.section h2,.band h2{font-family:Georgia,serif;font-weight:500;color:var(--green)}
.grid{gap:1rem}
.grid article{border-radius:1.15rem;padding:1.55rem;min-width:0}
.grid article:has(.icon){background:linear-gradient(145deg,#fff 45%,#f0f5ed);transition:transform .2s,box-shadow .2s}
.grid article:has(.icon):hover{transform:translateY(-4px);box-shadow:0 12px 26px #123b3014}
.grid article:nth-child(3n+2) .icon{background:#f4e8e3;color:#843329}
.grid article:nth-child(3n+3) .icon{background:#e8ede0;color:#344d36}
.icon{width:3.15rem;height:3.15rem;border-radius:50%;margin-bottom:1.25rem}
.icon svg{width:1.5rem;height:1.5rem}
.band{background:#e5eddf}
.band .split>div:last-child{background:#f9fbf6;border:1px solid #cfddcb;border-radius:1rem;padding:1.3rem 1.6rem;overflow-wrap:anywhere}
@media(max-width:850px){.hero-photo{min-height:350px}}
@media(max-width:650px){.hero-inner{grid-template-columns:1fr;padding-bottom:3.6rem}.hero-photo{min-height:255px}.quick{margin-top:-1.4rem}.nav{min-height:0}}
@media(prefers-reduced-motion:reduce){.grid article{transition:none}}
/* Identidad visual de GESFINMAR */
:root {
  --green: #007844;
  --red: #ad1734;
  --soft: #eaf6ef;
  --line: #d6e7dc;
  --ink: #102d22;
}
body { background: #f4f8f5; color: var(--ink); }
.wrap { width: min(1240px, calc(100% - 3rem)); }
header { background: #fff; border-top: 5px solid var(--green); }
.nav { min-height: 92px; gap: .85rem 1.5rem; }
.brand { display: inline-flex; align-items: center; color: var(--green); font-size: 1.25rem; line-height: 1; }
.brand img { display: block; width: 145px; height: auto; }
.nav nav { gap: .3rem; }
.nav nav a { padding: .55rem .7rem; border-radius: .45rem; font-size: .9rem; font-weight: 680; }
.nav nav a:hover, .nav nav a[aria-current] { background: var(--soft); color: #005d34; text-decoration: none; }
.btn { background: #007844; border-radius: .55rem; padding: .78rem 1.15rem; }
.btn.light { color: var(--green); border-color: #a6c9b4; }
.btn.outline { background: #eaf6ef; border-color: transparent; }
.hero { background: #fff; color: var(--ink); }
.hero-inner { position: relative; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4.5rem) 5rem; }
.hero h1, .section h2, .band h2 { font-family: inherit; font-weight: 800; }
.hero h1 { font-size: clamp(2.35rem, 4.85vw, 4.55rem); line-height: 1.01; margin: .65rem 0 1.1rem; }
.hero h1 em { display: block; color: var(--green); font-style: normal; }
.hero .lead { color: #425b4e; }
.hero .eyebrow { color: #205540; margin: 0; }
.hero .eyebrow::before { width: .65rem; height: .65rem; border-radius: .18rem; background: var(--red); box-shadow: .22rem .22rem 0 #9bdec0; }
.hero-photo { display: flex; align-items: end; justify-content: start; min-height: clamp(350px, 36vw, 510px); border-radius: 1.5rem; border: 0; box-shadow: 0 20px 36px #123b3020; background-color: #276349; overflow: hidden; isolation: isolate; }
.hero-photo::after { inset: 0; border: 0; background: linear-gradient(0deg, #092c21d9, transparent 54%); z-index: -1; }
.hero-caption { padding: 1.5rem; color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.8rem); font-weight: 750; letter-spacing: -.035em; }
.accreditation { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; color: #76404b; font-size: .88rem; font-weight: 650; }
.accreditation img { width: 158px; height: auto; }
.quick { margin-top: -2.15rem; gap: .85rem; }
.quick a { border-radius: .8rem; }
.quick a:first-child { background: #006d3e; color: #fff; border-color: #006d3e; }
.quick a:first-child:hover { background: #005e36; }
.quick a:first-child small { color: #ddf6e7; }
.quick a:first-child span { background: #ffffff25; }
.section h2, .band h2 { color: var(--ink); }
.grid article, .grid article:has(.icon) { border-radius: .9rem; background: #fff; box-shadow: 0 5px 16px #173d2408; }
.grid article:has(.icon) { border-top: 3px solid #86c9a3; }
.grid article:nth-child(3n+2):has(.icon) { border-top-color: #ce8191; }
.grid article .icon { border-radius: .7rem; color: #006d3e; }
.grid article:nth-child(3n+2) .icon { background: #faebef; color: var(--red); }
.band { background: #00633b; color: #fff; }
.band h2 { color: #fff; }
.band .split { align-items: center; }
.band .split > div:last-child { color: var(--ink); background: #fff; }
.band .btn { background: #fff; color: #00633b; }
footer { background: #102f24; }
footer .brand { color: white; }
@media (max-width: 1040px) {
  .nav nav { order: 1; width: 100%; }
}
@media (max-width: 760px) {
  .wrap { width: min(1240px, calc(100% - 2rem)); }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 3.75rem; }
  .hero-photo { min-height: 290px; }
  .quick { margin-top: -1.5rem; grid-template-columns: 1fr; }
  .nav nav { gap: .2rem; }
  .nav nav a { padding: .48rem .55rem; }
}
@media (max-width: 430px) {
  .brand img { width: 120px; }
  .nav > .btn { padding: .55rem .65rem; font-size: .85rem; }
  .hero .actions { gap: .6rem; }
}

.accreditation img { width: 62px; height: 62px; border-radius: .45rem; }

/* Portada GESFINMAR */
.home .hero {
  color: white;
  background: radial-gradient(ellipse at 12% 12%, #176344, transparent 64%), #092f24;
}

.home .hero-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch;
  padding-block: clamp(1.65rem, 3.5vw, 3rem) clamp(3rem, 4.5vw, 3.75rem);
}

.home .hero h1 { max-width: none; font-size: clamp(2rem, 4vw, 3.6rem); margin: .55rem 0 .8rem; }
.home .hero .lead { margin-block: .75rem 0; }
.home .hero .actions { margin-top: 1rem; }
.home .hero h1 em { color: #b9ecce; }
.home .hero .eyebrow, .home .hero .lead { color: #e2f2e9; }
.home .hero .eyebrow::before { background: #ef8297; box-shadow: .22rem .22rem 0 #b9ecce; }
.home .hero .btn:not(.light) { background: #ad1734; }
.home .hero .btn.light { color: white; border-color: #a9c9b9; }

.home .hero-photo {
  min-height: 0;
  border-radius: 1.2rem 5rem 1.2rem 1.2rem;
  background-color: #28694d;
  background-position: center;
  box-shadow: 0 22px 48px #041b1380;
}

.home .hero-photo::after {
  inset: .75rem;
  border: 1px solid #ffffff80;
  background: none;
}

.home .accreditation {
  display: grid;
  grid-template-columns: clamp(6rem, 10vw, 8rem) minmax(0, 1fr);
  gap: clamp(.7rem, 2vw, 1.2rem);
  width: fit-content;
  margin-top: 1.1rem;
  padding: .65rem 1.15rem .65rem .65rem;
  border-left: 4px solid #ad1734;
  border-radius: .85rem;
  background: #fff;
  color: #123529;
  box-shadow: 0 10px 24px #041b1340;
}

.home .accreditation img { width: 100%; height: auto; }
.home .accreditation strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.home .accreditation span { display: block; margin-top: .45rem; color: #425b4e; font-size: .85rem; }
.home .quick a { display: grid; align-content: center; min-height: 5.75rem; }
.home .home-services .grid article { padding: clamp(1.25rem, 2.6vw, 2.15rem); background: linear-gradient(140deg, #fff 58%, #e7f3eb); }
.home .home-services .grid article:nth-child(3n+2) { background: linear-gradient(140deg, #fff 58%, #f9eef0); }
.home .home-services .icon { width: 3.5rem; height: 3.5rem; }

@media (max-width: 760px) {
  .home .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .home .hero-photo { min-height: clamp(170px, 42vw, 280px); border-top-right-radius: 3rem; }
  .home .accreditation { margin-top: .9rem; }
}

/* Páginas de despacho, contacto y presupuestos */
.page-intro { padding-block: clamp(2.6rem, 6vw, 5rem); background: radial-gradient(ellipse at 12% 12%, #176344, transparent 70%), #092f24; color: white; }
.page-intro h1 { max-width: 22ch; margin-bottom: .25em; }
.page-intro .lead { color: #e2f2e9; margin-bottom: 0; }
.location-label { color: #b9ecce; font-weight: 750; margin-top: 0; }
.detail-grid, .quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
.detail-card { padding: clamp(1rem, 3vw, 2rem); background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; box-shadow: 0 12px 30px #123b3010; overflow-wrap: anywhere; }
.professional-card { justify-self: center; text-align: center; }
.professional-card img { display: block; width: min(150px, 100%); height: auto; margin: 0 auto 1rem; border-radius: .5rem; }
.professional-card p { margin-bottom: 0; }
.location-section { background: #e6f2ea; }
.location-section .detail-grid, .contact-location { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.office-map { width: 100%; min-height: 365px; border: 1px solid var(--line); border-radius: 1rem; background: #e6f2ea; }
.contact-virtual { padding-bottom: 2rem; }
.quote-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.quote-form { max-width: none; margin: 0; gap: 1.4rem; }
.quote-form p { margin: 0; }
.quote-form fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.quote-form legend { margin-bottom: .8rem; color: #005d34; font-size: 1.25rem; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.quote-form select { width: 100%; min-width: 0; padding: .6rem; border: 1px solid #8ca397; border-radius: .45rem; background: #fff; font: inherit; }
.choices label { display: flex; align-items: center; }
.choices input { width: auto; flex: none; margin: 0 .4rem 0 0; accent-color: var(--green); }
.form-note { color: #425b4e; font-size: .9rem; }
.quote-aside { border-top: 4px solid var(--red); }
@media (max-width: 760px) {
  .detail-grid, .location-section .detail-grid, .contact-location, .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .professional-card { justify-self: start; }
  .office-map { min-height: 300px; }
}
@media (max-width: 480px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Colegiación y horario en la cabecera */
header .nav { column-gap: 1rem; }
.header-office { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; }
.header-office a { text-decoration: none; }
.header-office a:hover { text-decoration: underline; }
.header-accreditation { display: flex; align-items: center; gap: .55rem; color: #82142a; font-size: .8rem; font-weight: 750; line-height: 1.2; }
.header-accreditation img { width: 58px; height: auto; border-radius: .3rem; }
.header-hours { display: grid; gap: .15rem; color: #205540; font-size: .78rem; line-height: 1.3; }
.header-hours strong { text-decoration: underline; }
@media (max-width: 1180px) {
  header .nav nav { order: 1; width: 100%; }
}
@media (max-width: 550px) {
  .header-office { width: 100%; padding-block: .55rem; border-block: 1px solid var(--line); justify-content: space-between; }
  .header-accreditation img { width: 46px; }
}

/* Privacidad y contenidos externos */
.home .hero-photo { background-image: url("portada-patio.jpg"); background-position: center 54%; }
.legal-copy { max-width: 850px; }
.legal-copy h2 { margin-top: 1.3em; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.map-consent:has(.office-map[hidden]) { padding: 1.4rem; background: #f3f8f4; border: 1px solid var(--line); border-radius: 1rem; }
.map-consent > button { font: inherit; cursor: pointer; }
.office-map { display: block; }
.office-map[hidden], .cookie-banner[hidden], .cookie-options[hidden] { display: none; }
.cookie-banner { position: fixed; inset: auto 1rem 1rem 1rem; z-index: 10; width: min(42rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; margin-inline: auto; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 8px 35px #092f2450; }
.cookie-banner h2 { font-size: 1.35rem; }
.cookie-banner p { margin-block: .5rem .85rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.cookie-options { margin: 0 0 .75rem; padding: .5rem .75rem; }
.cookie-options label { display: flex; align-items: center; gap: .4rem; margin: .35rem 0; }
.cookie-options input { width: auto; }

/* Teléfono del despacho */
.header-contact { display: grid; gap: .27rem; }
.header-phone { color: #005d34; font-size: clamp(1.25rem, 2.25vw, 1.7rem); font-weight: 800; line-height: 1.1; white-space: nowrap; }
.home .hero .actions a[href^="tel:"],
.contact-location a[href^="tel:"] { font-size: clamp(1.15rem, 1.8vw, 1.42rem); font-weight: 800; }

.contact-form { max-width: 46rem; }
.form-privacy { display: flex; align-items: flex-start; gap: .6rem; }
.form-privacy input { flex: none; width: auto; margin: .35rem 0 0; accent-color: var(--green); }
.form-privacy a { font-size: .88rem; }
.form-captcha { max-width: 15rem; }

/* Contacto */
.contact-intro { padding-bottom: clamp(3.75rem, 7vw, 5.5rem); }
.contact-intro .contact-call { background: var(--red); font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 850; }
.contact-intro .btn.light { color: #fff; border-color: #b9d9c7; }
.contact-cards { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: -1.75rem; }
.contact-cards .detail-card { padding: 1rem 1.25rem; border-top: 3px solid #7bb997; background: linear-gradient(145deg, #f1faf5, #fff 65%); }
.contact-cards h2 { display: flex; align-items: center; gap: .65rem; font-size: 1.15rem; }
.contact-card-icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: #dcefe4; color: #005d34; }
.contact-card-icon svg { width: 1.35rem; height: 1.35rem; }
.contact-cards .detail-card:nth-child(3) .contact-card-icon { background: #f7e7eb; color: #8a1730; }
.contact-card-link { color: #005d34; font-weight: 750; }
.contact-cards p { margin: 0; }
.contact-cards address + a { display: inline-block; margin-top: .35rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 3vw, 2rem); }
.contact-sidebar { display: grid; gap: 1rem; }
.contact-panel { scroll-margin-top: 1rem; }
.contact-panel .contact-form { max-width: none; }
.contact-panel > .btn { margin-top: 1rem; }
.contact-map .office-map { min-height: 290px; }
.contact-map:has(.office-map[hidden]) { padding: 1rem; }
.contact-map [data-map-placeholder] { margin: 0 0 .6rem; }
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* Pie de página compacto */
.site-footer { padding-block: 1.15rem; }
.footer-compact { display: grid; gap: .55rem; font-size: .86rem; line-height: 1.45; }
.footer-contact, .footer-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .95rem; }
.footer-contact .brand { font-size: 1rem; }
.footer-links { padding-top: .5rem; border-top: 1px solid #ffffff30; }
.footer-links button { color: inherit; background: transparent; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 520px) {
  .footer-contact address, .footer-contact span { flex-basis: 100%; }
}

.office-location-media { display: grid; gap: 1rem; min-width: 0; }
.office-landmark { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.office-landmark img { display: block; width: 100%; height: auto; }
.office-landmark figcaption { padding: .6rem 1rem; color: #425b4e; font-size: .9rem; }

.header-accreditation img { width: clamp(108px, 12vw, 145px); height: auto; border-radius: 0; }
.home .accreditation { grid-template-columns: clamp(7rem, 13vw, 10rem) minmax(0, 1fr); }
.home .accreditation img, .professional-card img { border-radius: 0; }
.professional-card img { width: min(200px, 100%); }

.contact-panel .office-landmark { margin-bottom: 1rem; }

/* Solicitud de presupuesto */
.quote-request .quote-form { padding: 0; background: transparent; border: 0; box-shadow: none; }
.quote-request .quote-form > fieldset { padding: clamp(1rem, 2.5vw, 1.65rem); border: 1px solid var(--line); border-radius: 1rem; background: white; }
.quote-request .quote-form legend { display: flex; align-items: center; gap: .6rem; margin: 0; padding-inline: .35rem .65rem; border-radius: .65rem; background: #eaf6ef; }
.quote-step { display: inline-grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--green); color: white; font-size: .85rem; }
.quote-request .quote-form .quote-hint { margin-bottom: .75rem; color: #425b4e; }
.quote-request .choices label { padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .55rem; cursor: pointer; }
.quote-request .choices label:has(input:checked) { background: #eaf6ef; border-color: #54866d; }
.quote-confirmation > * + * { margin-top: 1rem; }
.quote-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.quote-request .quote-confirmation .form-note { margin-top: .75rem; }
.quote-request .quote-confirmation [data-copy-status]:empty { margin: 0; }

/* Servicio inmobiliario */
.property-services {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  margin-bottom: clamp(2.5rem, 6vw, 4.8rem);
  overflow: hidden;
  background: #fff6ee;
  border: 1px solid #f1c4a4;
  border-radius: 1.15rem;
  box-shadow: 0 12px 30px #9a420916;
  color: #241a14;
}
.property-services-copy { align-self: center; padding: clamp(1.25rem, 4vw, 3rem); }
.property-services-copy h2 { max-width: 24ch; }
.property-services-copy .btn { margin-top: .4rem; background: #eb6610; color: #211208; }
.property-services-copy .btn:hover { background: #f5792a; }
.property-services-label { margin: 0; color: #963500; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.property-services-photo { display: block; width: 100%; height: 100%; max-height: 28rem; object-fit: cover; }
@media (max-width: 680px) {
  .property-services { grid-template-columns: minmax(0, 1fr); }
  .property-services-photo { height: clamp(170px, 45vw, 250px); }
}

.property-services-brand { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; margin-bottom: 1rem; }
.property-services-logo { display: block; width: clamp(105px, 13vw, 155px); height: auto; }

/* Accesos dentro de Servicios */
.services-intro { padding-top: clamp(1.7rem, 4vw, 3rem); }
.services-intro h1 { max-width: none; font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.services-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.services-jump {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .25rem .9rem;
  padding: clamp(1rem, 2.5vw, 1.7rem);
  border: 1px solid var(--service-border);
  border-top: 3px solid var(--service-accent);
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--service-tint), #fff 85%);
  color: var(--service-accent);
  text-decoration: none;
}
.services-jump strong { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.15; }
.services-jump-icon { grid-row: span 2; display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .7rem; background: var(--service-badge); }
.services-jump-icon svg { width: 1.5rem; height: 1.5rem; }
.services-jump-summary { color: #334b40; font-size: .94rem; }
.services-jump-action { grid-column: 2; margin-top: .45rem; font-size: .88rem; font-weight: 750; }
.services-jump:hover { background: var(--service-tint); text-decoration: none; }
.services-jump:hover .services-jump-action { text-decoration: underline; }
.services-jump-admin { --service-accent: #005d34; --service-border: #94c5a8; --service-tint: #edf7f0; --service-badge: #d9eee1; }
.services-jump-property { --service-accent: #87320b; --service-border: #ebba98; --service-tint: #fff3e9; --service-badge: #ffe3ce; }
.services-detail { margin-block: clamp(1.35rem, 3vw, 2.4rem); padding: clamp(1rem, 3vw, 2rem); border: 1px solid #c4dfce; border-inline-start: 4px solid #19754b; border-radius: 1rem; background: #eaf5ee; scroll-margin-top: 1rem; }
.services-page #servicio-inmobiliario { scroll-margin-top: 1rem; }
.services-detail h2, .services-page .property-services h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
@media (max-width: 520px) {
  .services-index { grid-template-columns: 1fr; }
}

.home-safti-wrap { margin-top: clamp(.9rem, 2vw, 1.4rem); }
.home .home-safti {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.55rem, 1.2vw, .9rem);
  width: 100%;
  padding: .95rem clamp(1rem, 2.3vw, 1.6rem);
  border-radius: .7rem;
  background: #ff792f;
  color: #241408;
  box-shadow: 0 5px 20px #22130755;
  line-height: 1.25;
  text-decoration: none;
}
.home .home-safti:hover { background: #ff985e; }
.home .home-safti strong, .home .home-safti small { display: block; }
.home .home-safti strong { font-size: clamp(1.05rem, 2vw, 1.25rem); }
.home .home-safti small { margin-top: .18rem; }
.home-safti-brand { display: block; width: clamp(65px, 9vw, 110px); height: auto; color: #fff; filter: brightness(0) invert(1); }
.home-safti-arrow { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: #fff5ed; font-weight: 800; }
@media (max-width: 420px) {
  .home .home-safti { padding: .75rem .7rem; font-size: .95rem; }
  .home-safti-arrow { width: 1.25rem; height: 1.25rem; }
}

/* SAFTI Connect en portada */
.home-connect { margin-top: .65rem; }
.home-connect-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem 1.25rem;
  padding: .95rem clamp(1rem, 2.3vw, 1.6rem);
  background: #fff2e8;
  color: #342015;
  border: 1px solid #ebbc9d;
  border-inline-start: 4px solid #eb6610;
  border-radius: .7rem;
}
.home-connect h2 { margin-bottom: .28rem; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: #803008; }
.home-connect p { margin: 0; }
.home-connect .home-connect-code { margin-top: .4rem; font-size: .9rem; }
.home-connect-code strong { display: inline-block; padding: .08rem .4rem; border-radius: .3rem; background: #ffe0c9; font-variant-numeric: tabular-nums; }
.home-connect-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.home-connect-actions .btn { padding: .48rem .75rem; color: #342015; background: #ff792f; }
.home-connect-actions .btn:last-child { background: #fff; border-color: #bb6941; }

.home-connect-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .8rem; margin-bottom: .4rem; }
.home-connect-heading h2 { margin: 0; }
.home-connect-logo { display: block; width: 110px; height: auto; }

.property-services-compact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 30%);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.property-services-compact .property-services-copy { padding: clamp(1rem, 2vw, 1.65rem); }
.property-services-compact .property-services-brand { margin-bottom: .45rem; }
.property-services-compact .property-services-logo { width: clamp(95px, 12vw, 130px); }
.property-services-compact h2 { margin-bottom: .35rem; font-size: 1.25rem; }
.property-services-compact .property-services-copy > p { margin-block: .35rem; }
.property-services-compact .property-services-role { font-size: .9rem; }
.property-services-compact .property-services-photo { min-height: 0; max-height: 15rem; }
@media (max-width: 680px) {
  .property-services-compact { grid-template-columns: minmax(0, 1fr); }
  .property-services-compact .property-services-photo { height: clamp(95px, 24vw, 150px); }
}

/* Cabecera flotante */
html { scroll-padding-top: var(--site-header-height, 0px); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  overflow-anchor: none;
}
.skip { z-index: 9; }
.site-header .nav { transition: padding-block .18s ease, min-height .18s ease, row-gap .18s ease; }
.site-header .nav > .brand img { width: clamp(150px, 16vw, 185px); }
.site-header .brand img, .site-header .header-accreditation img { transition: width .18s ease; }
.site-header.is-compact { box-shadow: 0 4px 16px #123b3020; }
.site-header.is-compact .nav { padding-block: .28rem; min-height: 58px; row-gap: .18rem; }
.site-header.is-compact .nav > .brand img { width: 104px; }
.site-header.is-compact .header-accreditation img { width: 95px; }
.site-header.is-compact .header-phone { font-size: 1.12rem; }
.site-header.is-compact .nav nav a { padding-block: .3rem; }
@media (max-width: 550px) {
  .site-header.is-compact .header-office { padding-block: .22rem; }
  .site-header.is-compact .nav > .brand img { width: 86px; }
  .site-header.is-compact .header-accreditation img { width: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav, .site-header .brand img, .site-header .header-accreditation img { transition: none; }
}

.quote-aside h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.quote-aside > p { margin: .65rem 0 1rem; color: #425b4e; }
.quote-help-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.quote-help-list li { display: flex; align-items: center; gap: .65rem; padding: .45rem .6rem; background: #f2f8f4; border-radius: .65rem; }
.quote-help-list .contact-card-icon { width: 2rem; height: 2rem; border-radius: .5rem; }
.quote-help-list a { color: #005d34; font-weight: 750; }

.services-detail-property { border-color: #ebba98; border-inline-start-color: #eb6610; background: #fff3e9; }
.services-detail-property .property-services-brand { margin-bottom: .5rem; }
.services-detail-property h2 { margin: 0; }
.services-detail-property .grid article:has(.icon) { border-top-color: #eb8d54; }
.services-detail-property .grid article .icon { background: #ffe3ce; color: #87320b; }
.services-detail-property .btn { background: #eb6610; color: #211208; }
.services-detail-property .actions > a:not(.btn) { color: #87320b; }
