@font-face {
  font-family: Roboto;
  src: url("assets/roboto-400.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("assets/roboto-700.woff2") format("woff2");
  font-style: normal; font-weight: 700; font-display: swap;
}
:root {
  --ink: #08273e;
  --muted: #455f70;
  --navy: #071e31;
  --blue: #1054d5;
  --ice: #edf5fb;
  --rule: #d1dee6;
  --light-text: #c5d5e2;
  --gutter: clamp(1.05rem, 4.3vw, 4.5rem);
  --max: 74rem;
  font-family: "DM Sans", Roboto, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
input, textarea, button, select { font: inherit; }
button, select { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, dl { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.35rem); }
h3 { font-size: clamp(1.28rem, 1.85vw, 1.54rem); line-height: 1.18; }
p { overflow-wrap: break-word; }
button, a, input, textarea, select { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #e78c0d; outline-offset: 4px;
}
.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(3.8rem, 7.3vw, 7rem); }
.eyebrow {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .13em; margin-bottom: .9rem; color: var(--blue);
}
.icon { flex: none; display: block; }
.skip { position: fixed; z-index: 30; top: .4rem; left: .4rem; background: white; padding: .65rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid #dce5eb; background: white; }
.mast-inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); min-height: 5.2rem; }
.brand { flex: none; width: 6.2rem; display: block; }
.brand img { width: 100%; }
.navigation { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.navigation a, .header-phone, .back-link, .menu-toggle { font-size: .96rem; font-weight: 700; text-decoration: none; }
.navigation a { padding-block: .7rem; }
.navigation a:hover, .back-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .28rem; }
.header-phone, .back-link { display: inline-flex; align-items: center; gap: .6rem; }
.header-phone { border: 1px solid #b9cbd8; border-radius: .35rem; padding: .55rem .85rem; color: var(--navy); white-space: nowrap; }
.header-phone:hover { background: var(--ice); border-color: #7995a9; }
.header-phone .icon { width: 1.12rem; height: 1.12rem; }
.back-link { margin-left: auto; }
.menu-toggle { color: var(--ink); background: transparent; border: 1px solid var(--rule); border-radius: .3rem; padding: .46rem .65rem; }
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hero-visual { position: absolute; inset: 0 0 0 42%; z-index: -1; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(7,30,49,.84) 7%, rgba(7,30,49,.15) 37%, transparent 58%);
}
.hero-grid { display: flex; align-items: center; min-height: clamp(32rem, 43vw, 42rem); }
.hero-copy { padding-block: 3.7rem 4.4rem; max-width: min(44rem, 53%); }
.location { display: inline-flex; align-items: center; gap: .47rem; color: #c5e4ff; font-size: .93rem; font-weight: 700; }
.location .icon { height: 1.12rem; width: 1.12rem; color: #81b7ff; }
.hero h1 { font-size: clamp(2.95rem, 5.4vw, 5.75rem); line-height: .99; margin-top: 1.45rem; letter-spacing: -.058em; }
.hero h1 em { display: block; color: #8bbfff; font-style: normal; }
.intro { line-height: 1.55; color: #dfebf2; margin-top: 1.45rem; max-width: 31rem; font-size: clamp(1.02rem, 1.33vw, 1.2rem); }
.hero-actions, .form-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.hero-actions { margin-top: 2rem; }
.button { padding: .75rem 1.1rem; display: inline-flex; justify-content: center; align-items: center; border: 1px solid transparent;
  border-radius: .36rem; text-decoration: none; font-weight: 700; font-size: 1rem; line-height: 1.32; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: #083fa7; }
.hero .primary { background: #1960e8; }
.hero .primary:hover { background: #124cc1; }
.hero-alt { color: white; border-color: #7892a5; background: #092238; }
.hero-alt:hover { background: #17394f; }
.outline { color: var(--ink); background: transparent; border-color: #6c8a9d; }
.outline:hover, .subtle:hover { background: #daebf5; }
.subtle { color: var(--ink); background: var(--ice); border-color: #beccd6; }
.button:disabled { cursor: wait; opacity: .75; }
.section-intro, .coverage-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem 5.5rem; align-items: end; }
.section-intro > p, .coverage-grid > div:last-child, .maintenance-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; line-height: 1.62; max-width: 40rem; }
.service-grid { margin-top: clamp(2.1rem, 4vw, 3.2rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #a8bdcc; }
.service { display: flex; flex-direction: column; align-items: flex-start; gap: 1.15rem; padding: 1.9rem 1.6rem 2rem 0;
  text-decoration: none; border-bottom: 1px solid var(--rule); }
.service:nth-child(3n+2), .service:nth-child(3n+3) { border-left: 1px solid var(--rule); padding-left: 1.6rem; }
.service:hover { background: #f4f8fc; }
.service:hover h3 { color: var(--blue); text-decoration: underline; text-underline-offset: .2rem; }
.service-icon { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid #c0d5e7; color: #104b9b; border-radius: .45rem; background: #f4f8fc; }
.service p { margin-top: .65rem; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.maintenance { background: var(--ice); }
.maintenance-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 8vw, 8rem); }
.maintenance-copy h2 { max-width: 8em; margin-bottom: 1.2rem; }
.maintenance-copy > p:not(.eyebrow) + p, .coverage-grid p + p { margin-top: .9rem; }
.maintenance-copy .button { margin-top: 1.4rem; }
.visit-panel { padding: clamp(1.6rem, 3vw, 2.8rem); background: var(--navy); color: white; border-radius: .55rem; }
.panel-label { color: #9fc9fa; font-size: .82rem; font-weight: 700; letter-spacing: .04em; margin-bottom: .6rem; }
.visit-panel h3 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); }
.visit-steps { list-style: none; padding: 0; margin-top: 1.3rem; border-top: 1px solid #365064; }
.visit-steps li { display: flex; gap: .95rem; align-items: flex-start; padding-block: 1.02rem; border-bottom: 1px solid #365064; }
.visit-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.visit-steps .icon { color: #91bdff; margin-top: .15em; }
.visit-steps b, .visit-steps span, .contact address strong, .contact address small { display: block; }
.visit-steps b { margin-bottom: .14rem; }
.visit-steps span { color: #d0dee8; line-height: 1.45; }
.coverage-grid { align-items: start; }
.contact { background: var(--navy); color: white; }
.contact-grid { grid-template-columns: .84fr 1.16fr; align-items: start; }
.contact .eyebrow { color: #a5caff; }
.contact-copy > p:not(.eyebrow) { margin-top: 1.1rem; color: #d0e0eb; max-width: 31rem; font-size: 1.1rem; }
.contact address { font-style: normal; margin-top: 1.7rem; max-width: 25rem; border-top: 1px solid #324b5e; }
.contact address a { display: flex; align-items: center; gap: .85rem; border-bottom: 1px solid #324b5e; padding: .8rem 0; text-decoration: none; }
.contact address a:hover strong { text-decoration: underline; text-underline-offset: .18rem; }
.contact address .icon { color: #9bc6ff; }
.contact address small { color: var(--light-text); font-size: .84rem; }
.contact address strong { font-size: 1.05rem; }
.form-panel { background: #fff; color: var(--ink); padding: clamp(1.15rem, 3vw, 2.3rem); border-radius: .55rem; }
.form-panel h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: .7rem; }
.form-intro { font-size: 1rem; line-height: 1.4; color: var(--muted); margin-bottom: .35rem; }
#solicitud { display: grid; gap: .9rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
form label { display: block; color: var(--ink); font-weight: 700; font-size: .965rem; }
form label small { font-size: .85rem; color: var(--muted); font-weight: 400; }
input:not([type="checkbox"]), select, textarea {
  width: 100%; display: block; min-width: 0; margin-top: .22rem; padding: .53rem .63rem;
  font-size: 1rem; font-weight: 400; min-height: 2.7rem;
  border: 1px solid #879daa; border-radius: .27rem; color: var(--ink); background: #fff;
}
textarea { resize: vertical; min-height: 5.5rem; }
input::placeholder, textarea::placeholder { color: #627481; opacity: 1; }
.field-hint, .form-status { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.field-hint { margin-bottom: -.4rem; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .91rem; line-height: 1.5; font-weight: 400; }
.consent input { display: block; margin: .15rem 0 0; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--blue); }
.consent a, .legal a { color: #104eac; }
.form-status:empty { display: none; }
.form-status[data-level="error"] { color: #963424; }
.form-status[data-level="ok"] { color: #115c46; }
#verificacion { max-width: 100%; min-width: 0; }
.footer { border-top: 1px solid var(--rule); }
.footer-inner { padding-block: 1.65rem; display: flex; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.footer p { color: var(--muted); font-size: .88rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.footer a, .back-link { text-underline-offset: .2em; }
.footer a { font-size: .875rem; }
.legal { max-width: 49rem; padding-block: 3rem 4rem; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.15rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 2rem 0 .72rem; }
.legal p { line-height: 1.65; }
.legal p + p { margin-top: .68rem; }
.identity { margin: .8rem 0 1.2rem; border-top: 1px solid var(--rule); }
.identity > div { display: grid; grid-template-columns: 6.5rem 1fr; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.identity dt { font-weight: 700; }
.identity dd { margin: 0; overflow-wrap: anywhere; }
.legal-related { border-top: 1px solid var(--rule); margin-top: 2rem !important; padding-top: 1rem; }
@media(max-width: 59rem) {
  .mast-inner { flex-wrap: wrap; justify-content: space-between; row-gap: .25rem; min-height: 4.65rem; padding-block: .38rem; }
  .navigation { order: 4; margin: 0; flex-basis: 100%; justify-content: space-between; }
  .masthead.enhanced .menu-toggle { display: inline-block; margin-left: auto; }
  .masthead.enhanced .navigation:not(.open) { display: none; }
  .brand { width: 5.6rem; }
  .hero-copy { max-width: 56%; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service, .service:nth-child(n) { padding: 1.5rem 1.3rem 1.6rem 0; border-left: 0; }
  .service:nth-child(even) { padding-left: 1.3rem; border-left: 1px solid var(--rule); }
  .section-intro, .coverage-grid { gap: 1.5rem 2.2rem; }
  .contact-grid { gap: 2rem; }
}
@media(min-width: 59.001rem) { .menu-toggle { display: none; } }
@media(max-width: 45rem) {
  .section-intro, .maintenance-grid, .coverage-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.45rem; }
  .section-intro p, .maintenance-copy > p:not(.eyebrow), .coverage-grid > div:last-child { font-size: 1.02rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-grid { order: 0; min-height: 0; }
  .hero-copy { max-width: 34rem; padding-block: 2.95rem 1.8rem; }
  .hero h1 { margin-top: 1rem; font-size: clamp(3.15rem, 9.8vw, 4.15rem); }
  .hero-visual { order: 1; position: relative; z-index: 0; inset: auto; height: clamp(11.7rem, 44vw, 18.75rem); }
  .hero-visual img { object-position: center 40%; }
  .hero-visual::after { background: linear-gradient(180deg, var(--navy) 0%, transparent 28%); }
  .intro { margin-top: 1rem; font-size: 1.025rem; }
  .hero-actions { margin-top: 1.3rem; }
  .maintenance-copy h2 { max-width: none; }
  .form-panel { margin-top: .45rem; }
  .footer-inner { flex-direction: column; align-items: start; gap: .8rem; }
}
@media(max-width: 32rem) {
  .service-grid { grid-template-columns: 1fr; }
  .service:nth-child(n) { flex-direction: row; align-items: flex-start; border-left: 0; padding: 1.18rem 0; gap: .85rem; }
  .service-icon { flex: none; width: 2.4rem; height: 2.4rem; }
  .service p { margin-top: .38rem; }
  .navigation { flex-wrap: wrap; justify-content: flex-start; gap: .2rem 1.2rem; }
  .header-phone { padding: .45rem .55rem; gap: .32rem; font-size: .88rem; }
  .brand { width: 5rem; }
  .field-grid { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; }
  .form-actions .button { flex: 1 1 9rem; }
}
@media(max-width: 22rem) {
  .mast-inner { gap: .35rem; }
  .hero h1 { font-size: 2.7rem; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Páginas interiores, sectores y pie común ---------- */
.text-link { font-weight: 700; color: #104eac; text-underline-offset: .2em; }
.section-intro .text-link { white-space: normal; }
.navigation a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: .28rem; }
.maintenance-copy .hero-actions { margin-top: 1.4rem; gap: .9rem 1.3rem; }
.maintenance-copy .hero-actions .button { margin-top: 0; }
.page-hero { background: var(--navy); color: #fff; }
.page-hero .wrap { padding-block: clamp(2.2rem, 4.5vw, 3.6rem) clamp(2.6rem, 5vw, 4.2rem); }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.3rem); line-height: 1.02; letter-spacing: -.05em; max-width: 15em; }
.page-hero .eyebrow { color: #a5caff; margin: 1.6rem 0 .8rem; }
.page-hero .intro { max-width: 40rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .35rem .5rem; font-size: .9rem; color: #b8cbdb; }
.breadcrumbs a { color: #e6f0f7; text-underline-offset: .2em; }
.breadcrumbs [aria-current] { color: #9fc9fa; font-weight: 700; }
.split-section { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose { max-width: 47rem; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); margin: 2.7rem 0 .9rem; }
.prose > h2:first-child, .prose .sector:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.prose p, .prose li { color: #24415a; font-size: 1.06rem; line-height: 1.66; }
.prose p + p { margin-top: .85rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-top: .85rem; display: grid; gap: .5rem; }
.prose a { color: #104eac; text-underline-offset: .18em; }
.prose .steps { padding-left: 1.4rem; }
.prose .steps b { color: var(--ink); }
.aside-card { position: sticky; top: 1.5rem; background: var(--ice); border: 1px solid var(--rule); border-radius: .55rem; padding: 1.4rem 1.4rem 1.2rem; }
.aside-card h2 { font-size: 1.25rem; letter-spacing: -.02em; }
.aside-card ul { list-style: none; padding: 0; margin-top: .8rem; display: grid; gap: .55rem; }
.aside-card ul a { color: #104eac; font-weight: 700; text-underline-offset: .2em; }
.aside-contact { margin-top: 1.1rem; }
.aside-contact a:not(.button) { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; }
.aside-contact .icon { width: 1.1rem; height: 1.1rem; color: var(--blue); }
.related { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.related a { border: 1px solid #b9cbd8; border-radius: 99rem; padding: .38rem .85rem; font-size: .95rem; font-weight: 700; text-decoration: none; color: var(--ink); background: #fff; }
.related a:hover { background: var(--ice); border-color: #7995a9; }
.faq { margin-top: .9rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: .95rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.06rem; color: var(--ink); }
.faq details p { margin-top: .6rem; }
.cta-band { background: var(--ice); border-top: 1px solid var(--rule); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.3rem 2.5rem; padding-block: clamp(2.3rem, 4.5vw, 3.4rem); }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); max-width: 22em; }
.cta-inner p { color: var(--muted); margin-top: .45rem; max-width: 38rem; }
.cta-inner .hero-actions { margin-top: 0; }
.values-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.values-grid > div { border: 1px solid var(--rule); border-radius: .5rem; padding: 1.2rem 1.25rem; background: #fff; }
.values-grid p { font-size: 1rem; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 3rem; margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid #a8bdcc; padding-top: 1.6rem; }
.area-grid h3 { font-size: 1.25rem; margin-bottom: .7rem; }
.area-grid ul { list-style: none; padding: 0; display: grid; gap: .35rem; color: var(--muted); }
.area-grid p { color: var(--muted); line-height: 1.6; }
.sector { padding-top: 2.2rem; margin-top: 2.2rem; border-top: 1px solid var(--rule); scroll-margin-top: 1.2rem; }
.sector-head { display: flex; align-items: center; gap: .9rem; }
.sector-head h2 { margin: 0; }
.sector-grid { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.sector-card { display: block; padding: 1.4rem 1.3rem; border: 1px solid var(--rule); border-radius: .55rem; text-decoration: none; background: #fff; }
.sector-card:hover { background: #f4f8fc; border-color: #9fb7c8; }
.sector-card:hover h3 { color: var(--blue); text-decoration: underline; text-underline-offset: .2rem; }
.sector-card p { margin-top: .55rem; color: var(--muted); line-height: 1.5; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 1.6rem 2.6rem; padding-block: 2.4rem; }
.footer-grid nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-grid b { display: block; margin-bottom: .35rem; }
.footer-brand p { margin-top: .5rem; line-height: 1.5; }
@media(max-width: 59rem) {
  .split-section { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 45rem) {
  .values-grid, .area-grid, .sector-grid, .footer-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
}
.sectors-home { padding-top: 0; }
.prose .sector:first-child { border-top: 0; padding-top: 0; }
.sector-head + p { margin-top: 1rem; }
/* Empresas en la portada */
.corporate { background: var(--navy); color: #fff; }
.corporate .eyebrow { color: #a5caff; }
.corporate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.corporate-grid h2 { max-width: 12em; }
.corporate-copy > p:not(.eyebrow) { color: #d0e0eb; font-size: 1.1rem; line-height: 1.62; margin-top: 1.2rem; max-width: 34rem; }
.corporate-copy .hero-actions { margin-top: 1.6rem; }
.corporate-points { list-style: none; padding: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.corporate-points li { display: grid; gap: .3rem; padding: 1.05rem 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.corporate-points b { font-size: 1.1rem; }
.corporate-points span { color: #d0e0eb; line-height: 1.55; }
/* Textos legales y políticas */
.doc-meta { color: var(--muted) !important; font-size: .95rem !important; padding-bottom: .9rem; border-bottom: 1px solid var(--rule); }
.doc .doc-meta + h2 { margin-top: 1.8rem; }
.doc h2 { scroll-margin-top: 1.2rem; }
.doc-toc { max-height: calc(100vh - 3rem); overflow: auto; }
.doc-toc ol { padding-left: 1.2rem; margin-top: .8rem; display: grid; gap: .45rem; }
.doc-toc ol a { color: #104eac; text-underline-offset: .2em; }
.doc-toc .aside-sub { margin-top: 1.5rem; font-size: 1.05rem; }
.identity > div { grid-template-columns: 10rem 1fr; gap: 1rem; }
.identity dt { color: var(--ink); }
.identity dd { color: #24415a; }
.treatment { margin-top: 1.9rem; }
.treatment h3 { font-size: 1.25rem; }
.facts { margin-top: .75rem; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; color: #24415a; line-height: 1.6; }
.treatment > p { margin-top: .8rem; }
.table-wrap { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--rule); border-radius: .5rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: .7rem .85rem; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.data-table th { background: var(--ice); color: var(--ink); }
.data-table td { color: #24415a; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table code { font-size: .9em; white-space: nowrap; }
.table-wrap + p { margin-top: 1rem; }
/* Seis entradas de menú: entre 944 y 1088 px se compactan para no partir líneas. */
.navigation a { white-space: nowrap; }
@media(min-width: 59.001rem) and (max-width: 68rem) {
  .mast-inner { gap: 1.2rem; }
  .navigation { gap: 1.05rem; }
  .header-phone { padding-inline: .7rem; }
}
@media(max-width: 59rem) {
  .corporate-grid { grid-template-columns: 1fr; }
  .doc-toc { max-height: none; }
  /* minmax(0, 1fr): una tabla ancha no debe ensanchar la columna más allá de la pantalla. */
  .split-section { grid-template-columns: minmax(0, 1fr); }
}
.prose ul + p, .prose ol + p, .prose .table-wrap + p { margin-top: .9rem; }
@media(max-width: 45rem) {
  .identity > div, .facts > div { grid-template-columns: 1fr; gap: .2rem; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .data-table tr { display: block; padding: .55rem .85rem; border-bottom: 1px solid var(--rule); }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table td { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: .6rem; padding: .3rem 0; border: 0; }
  .data-table td::before { content: attr(data-label); font-weight: 700; color: var(--ink); }
  .data-table code { white-space: normal; overflow-wrap: anywhere; }
}
