/* Levante Digital · base de la hoja visual maestra.
   Pendiente: Helvetica Neue Cyr Light 300 / Roman 400 en WOFF2,
   con licencia web. Hasta entonces se usa la pila del sistema. */
:root {
  --ink: #1f1f1f;
  --ink-hover: #353535;
  --ink-active: #111111;
  --paper: #ffffff;
  --surface: #f2f2f2;
  --line: #e0e0e0;
  --muted: #626262;
  --orange: var(--surface);
  --orange-dark: var(--ink);
  --accent-blue: var(--ink);
  --sans: "Helvetica Neue Cyr", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: var(--sans);
  --focus-color: var(--ink);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 48px;
  --space-5: 80px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body { margin: 0; min-width: 0; max-width: 100%; font-size: 17px; line-height: 1.5; font-weight: 400; -webkit-font-smoothing: antialiased; }
main, section, article, aside, nav, div, figure { min-width: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, summary { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img, video { display: block; max-width: 100%; height: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
figure, blockquote { margin: 0; }
p { margin: 0 0 24px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); font-weight: 300; }
h1 { font-size: 66px; line-height: 1; letter-spacing: -.035em; }
h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
em { font-style: normal; font-family: inherit; font-weight: inherit; }
strong { font-weight: 600; }
h1, h2, h3, h4, p, li, a, label, legend { overflow-wrap: anywhere; }
::selection { background: var(--surface); color: var(--ink); }
:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible { outline: 2px solid var(--focus-color); outline-offset: 3px; }
.dark-surface { --focus-color: var(--surface); }
.wrap { width: calc(100% - 96px); max-width: 1200px; margin-inline: auto; }
.section-space { padding-block: 80px; }
.small-label { font-size: 15px; line-height: 1.4; font-weight: 400; letter-spacing: -.02em; }
.section-title { font-size: 40px; line-height: 1.1; letter-spacing: -.035em; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.brand { display: block; width: 184px; flex: 0 0 auto; }
.brand img { width: 100%; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; max-width: 100%; min-height: 48px; padding: 14px 24px; border: 1px solid transparent; border-radius: 100px; background: var(--ink); color: var(--paper); font-size: 15px; line-height: 1.25; font-weight: 400; text-align: center; white-space: normal; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button .icon { width: 17px; height: 17px; }
.button:hover { background: var(--ink-hover); transform: translateY(-2px); }
.button:active { background: var(--ink-active); transform: translateY(0); }
.button-orange { background: var(--ink); color: var(--paper); }
.button-light { background: var(--surface); color: var(--ink); }
.button-light:hover { background: var(--paper); color: var(--ink); }
.button-light:active { background: var(--line); color: var(--ink); }
.button-outline { border-color: currentColor; background: transparent; color: inherit; }
.button-outline:hover { background: var(--ink); color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: 16px; max-width: 100%; min-height: 48px; padding-block: 10px; font-size: 15px; line-height: 1.4; text-decoration: underline; }
.text-link .icon { width: 17px; height: 17px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translate(2px, -2px); }
.skip-link { position: fixed; z-index: 300; top: 12px; left: 12px; transform: translateY(-200%); padding: 16px 24px; background: var(--surface); color: var(--ink); border: 1px solid var(--ink); }
.skip-link:focus { transform: translateY(0); }

/* Páginas comerciales y lecturas: la misma identidad fuera de la home. */
.page-hero { padding: 48px 0 80px; background: var(--ink); color: var(--paper); --focus-color: var(--surface); }
.breadcrumbs { display: block; margin-bottom: 48px; font-size: 13px; line-height: 1.7; color: var(--surface); }
.breadcrumbs a { text-decoration: underline; }
.page-hero .small-label { margin-bottom: 24px; color: var(--surface); }
.page-hero h1 { max-width: 1000px; margin-bottom: 24px; text-wrap: balance; }
.page-hero h1 + p { max-width: 760px; font-size: 20px; line-height: 1.4; }
.page-hero .button { margin-top: 24px; background: var(--surface); color: var(--ink); }
.page-hero .button:hover { background: var(--paper); }
.page-hero .button:active { background: var(--line); }
.service-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 80px; align-items: start; }
.service-copy { min-width: 0; max-width: 820px; }
.service-copy h2 { margin: 48px 0 24px; font-size: 32px; line-height: 1.15; text-wrap: balance; }
.service-copy > h2:first-child { margin-top: 0; }
.service-copy h3 { margin: 32px 0 16px; }
.service-copy p { line-height: 1.65; }
.service-copy a:not(.button):not(.text-link) { text-decoration: underline; }
.service-copy ul, .service-copy ol { padding-left: 24px; margin-block: 24px; }
.service-copy li + li { margin-top: 8px; }
.service-copy .deliverables { padding: 24px 24px 24px 44px; background: var(--surface); border: 1px solid rgba(31,31,31,.1); }
.service-copy .button { margin-block: 8px; }
.commercial-aside { position: sticky; top: 104px; padding: 32px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.commercial-aside .small-label { margin-bottom: 24px; }
.commercial-aside h2 { margin-bottom: 24px; font-size: 32px; }
.commercial-aside p { font-size: 16px; }
.commercial-aside .button { width: 100%; padding-inline: 16px; }
.service-facts { padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.article-page .section-space.wrap { max-width: 820px; }
.article-page .service-copy { max-width: none; }
.editorial-byline { margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.7; }
.table-scroll { width: 100%; max-width: 100%; margin-block: 32px; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { background: var(--surface); font-size: 15px; font-weight: 400; }
td { font-size: 15px; line-height: 1.5; }
tr:last-child td { border-bottom: 0; }
.resource-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.resource-list article { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); background: var(--paper); transition: background .2s ease, transform .2s ease; }
.resource-list h2 { margin-bottom: 16px; font-size: 32px; }
.resource-list p { color: var(--muted); }
.resource-list .text-link { align-self: start; margin-top: auto; }
.resource-list article:hover, .resource-list article.is-selected { background: var(--surface); transform: translateY(-3px); }
.project-overview { max-width: none; }
.project-overview > h2:not(:first-child) { margin-top: 80px; }
.contact-channels { display: grid; gap: 16px; margin-block: 24px; }
.contact-channels a { width: fit-content; max-width: 100%; min-height: 48px; padding-block: 12px; text-decoration: underline; }
.booking-page { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 80px; align-items: start; }
.booking-context h2 { margin: 0 0 24px; }
.booking-context p { max-width: 44ch; }
.booking-context .small-label { color: var(--muted); }
.booking-context .text-link { margin-top: 16px; }

/* Acordeones de las páginas de servicios y formularios de consulta. */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 18px; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 20px; text-align: center; font-size: 24px; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > p, .faq-list details > div { padding: 0 32px 24px 0; font-size: 16px; line-height: 1.6; }
.faq-list summary:hover { color: var(--muted); }
input, textarea, select { min-width: 0; max-width: 100%; min-height: 48px; border: 1px solid #a7a7a7; border-radius: 0; padding: 12px 16px; background: var(--paper); color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { min-height: 20px; width: 20px; height: 20px; padding: 0; accent-color: var(--ink); }
label { display: grid; gap: 8px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 16px; }
.form-grid, .lead-form { display: grid; gap: 24px; }
.form-status { padding: 16px; background: var(--surface); font-size: 15px; }

@media (max-width: 1000px) {
  .service-page-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 48px; }
  .commercial-aside { padding: 24px; }
  .booking-page { gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}
@media (max-width: 800px) {
  .service-page-grid, .booking-page { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .commercial-aside { position: static; }
  .booking-page { max-width: 620px; }
  .page-hero h1 { font-size: 54px; }
  .resource-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 48px); }
  .section-space { padding-block: 48px; }
  h1 { font-size: 42px; }
  h2, .section-title { font-size: 32px; }
  h3 { font-size: 22px; }
  .small-label { font-size: 13px; }
  .button, .text-link { font-size: 14px; }
  .button { padding-inline: 24px; }
  .page-hero { padding-block: 32px 48px; }
  .breadcrumbs { margin-bottom: 32px; font-size: 12px; }
  .page-hero h1 { font-size: 42px; line-height: 1.04; }
  .page-hero h1 + p { font-size: 16px; line-height: 1.5; }
  .service-copy h2, .commercial-aside h2, .resource-list h2 { font-size: 28px; }
  .commercial-aside, .resource-list article { padding: 24px; }
  .editorial-byline { margin-bottom: 32px; font-size: 12px; }
  th, td { padding: 12px; font-size: 13px; }
  .service-copy .deliverables { padding: 24px 16px 24px 36px; }
  .faq-list summary { min-height: 64px; font-size: 16px; gap: 16px; }
  .faq-list details > p, .faq-list details > div { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
