/* Shared typography, palette, navigation and focus treatment come from style.css. */
.institutional { --ink: #0e1012; font-family: var(--sans); background: var(--paper); color: var(--ink); }
.shell { margin-inline: var(--gutter); }
.site-header, .page-hero, .site-footer-static { background: var(--ink); color: var(--cream); }
.site-header .mast-inner { gap: clamp(1.2rem, 3vw, 4rem); }
.return-home { white-space: nowrap; }
.return-home span { font-size: 1.2em; color: var(--light-gold); }

.page-hero { padding-block: clamp(3rem, 6vw, 7rem); }
.page-hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  column-gap: clamp(2rem, 8vw, 10rem);
  align-items: end;
}
.eyebrow {
  display: block;
  font: 650 .74rem/1.2 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.page-hero .eyebrow { grid-column: 1 / -1; margin-bottom: clamp(1rem, 2.6vw, 2.8rem); color: var(--light-gold); }
.page-hero h1 {
  margin: 0;
  font: 400 clamp(3.35rem, 6.4vw, 8.6rem)/1.01 var(--sans);
  letter-spacing: -.035em;
}
.page-hero h1 strong { font-weight: 400; color: var(--light-gold); }
.politicas .page-hero h1 strong { display: block; }
.page-hero p { color: #deddd8; font-size: clamp(.99rem, 1.12vw, 1.23rem); line-height: 1.72; max-width: 49ch; }
.titular-rights {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 2rem;
  list-style: none;
  padding: 1.4rem 0 0;
  margin: clamp(2.3rem, 4.5vw, 5rem) 0 0;
  border-top: 1px solid var(--light-line);
}
.titular-rights li { border-left: 2px solid var(--gold); padding-left: .8rem; font-size: .87rem; color: #deddd8; }

.page-section { padding-block: clamp(3.5rem, 6.6vw, 8rem); }
.politicas .page-section.cream { background: #e7e7e1; }
.dpo-card, .politicas .page-section:not(.cream) .shell {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  column-gap: clamp(3rem, 7vw, 8rem);
}
.dpo-card h2, .content h2 {
  max-width: 18ch;
  font: 400 clamp(2.15rem, 3.3vw, 4.7rem)/1.07 var(--sans);
  letter-spacing: -.025em;
}
.dpo-card h2 { grid-row: span 3; }
.dpo-card p, .content p, .acc-body, .titular-aviso, .titular-dpo { max-width: 67ch; line-height: 1.75; }
.dpo-data { margin-block: 1rem; }
.dpo-data strong { font-weight: 650; }
.content .eyebrow { margin-bottom: 1.2rem; color: #705934; }
.content p { margin-top: 1.3rem; }
.dpo-card a:not(.button), .acc-body a, .titular-aviso a, .titular-dpo a {
  color: #624b2b;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.button {
  display: inline-flex;
  min-height: 46px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  padding: .75rem 1.25rem;
  font: 650 .9rem/1.35 var(--sans);
}
.button:hover { background: var(--ink); border-color: var(--ink); }
.acc { min-width: 0; margin: 0; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem .2rem 1.15rem 0;
  list-style: none;
  font: 400 clamp(1.35rem, 1.75vw, 2.15rem)/1.21 var(--sans);
}
.acc summary:hover { color: #775b37; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; flex: none; color: #705934; font: 400 1.35rem/1 var(--sans); }
.acc details[open] summary::after { content: '−'; }
.acc-body { padding-bottom: 1.2rem; }
.acc-body p, .acc-body ul { margin: 0 0 .85rem; }
.acc-body li + li { margin-top: .25rem; }
.acc-body ul { padding-left: 1.1rem; }
.cookie-table-wrap { overflow-x: auto; margin: .75rem 0; }
.cookie-table { border-collapse: collapse; font-size: .89rem; line-height: 1.55; min-width: 485px; }
.cookie-table th, .cookie-table td { padding: .65rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.cookie-table th { color: var(--navy); }
.titular-card { max-width: 860px; margin: auto; }
.field { min-width: 0; margin: 0 0 1.6rem; padding: 0; border: 0; }
.lbl { display: block; margin-bottom: .45rem; font-size: .9rem; font-weight: 650; color: var(--navy); }
.req { color: #8c3b27; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.field input:not([type='radio'], [type='checkbox']), .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid #92958d;
  border-radius: 0;
  font: inherit;
}
.field textarea { resize: vertical; }
.field :is(input, select, textarea):focus-visible, .motivos label:has(:focus-visible) { outline: 2px solid #876a3e; outline-offset: 3px; }
.motivos { display: grid; gap: .5rem .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.motivos label, .consent { display: flex; align-items: baseline; gap: .72rem; }
.motivos label { padding: .75rem .9rem; border: 1px solid var(--line); cursor: pointer; }
.motivos label:has(:checked) { background: #e8dfd0; border-color: #876a3e; }
.motivos input, .consent input { margin: 0; flex: none; accent-color: var(--navy); }
.titular-aviso { margin-top: 1.15rem; font-size: .82rem; }
.titular-dpo { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; font-size: .93rem; }

.site-footer-static { padding-top: clamp(3rem, 5.5vw, 7rem); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 10rem); }
.footer-logo { display: inline-block; margin-bottom: .9rem; }
.footer-logo img { width: clamp(135px, 10vw, 172px); height: auto; }
.footer-grid p { max-width: 50ch; color: #d8dadb; }
.footer-grid h4 { margin: 0 0 .85rem; color: var(--light-gold); font: 650 .75rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .1em; }
.footer-contact > p, .footer-dpo { margin-top: .6rem; }
.footer-dpo { font-size: .84rem; }
.site-footer-static a:hover { text-decoration: underline; text-underline-offset: .2em; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; border-top: 1px solid var(--light-line); margin-top: 3rem; padding-block: 1.5rem; font-size: .76rem; color: #ccd0d2; }
.legal nav { display: flex; flex-wrap: wrap; gap: .75rem 1.3rem; }
.institutional .dmr-cc, .institutional .dmr-cc h2 { font-family: var(--sans); }
.institutional .dmr-banner, .institutional .dmr-modal { border-radius: 0; }
.institutional .dmr-reopen { left: auto; right: 14px; }

@media (max-width: 850px) {
  .page-hero .shell, .dpo-card, .politicas .page-section:not(.cream) .shell { grid-template-columns: 1fr; }
  .dpo-card h2 { grid-row: auto; margin-bottom: 1.15rem; }
  .page-hero p { margin-top: 1.5rem; }
  .titular-rights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc { margin-top: 2rem; }
  .site-header .desktop-nav { display: none; }
  .legal { padding-right: 2.5rem; }
}
@media (max-width: 600px) {
  .page-hero h1 { font-size: clamp(2.55rem, 10.5vw, 4.35rem); }
  .site-header .mast-inner { height: 82px; gap: 10px; }
  .site-header .identity img { width: 115px; }
  .site-header .return-home { display: inline-flex; gap: .45rem; padding: .65rem .75rem; font-size: .77rem; }
  .two-col, .motivos, .footer-grid { grid-template-columns: 1fr; }
  .titular-rights { gap: .9rem 1.1rem; }
  .titular-rights li { font-size: .79rem; }
  .institutional .dmr-banner { max-height: 62svh; overflow-y: auto; }
}
