/* =========================================================================
   DJL Group — sistema visual "corporativo con foto"
   Berenjena (derivado del púrpura del logo) + blanco + fotografía.
   Serif para titulares, sans para texto. Degradado solo en el logo.
   ========================================================================= */
:root {
  --aub-950: #1a0a1f;
  --aub-900: #241029;
  --aub-800: #2e1435;
  --aub-700: #44204d;
  --plum: #86378c;
  --plum-dark: #6a2a70;
  --plum-soft: #f3eaf3;
  --ink: #231a27;
  --muted: #5d5562;
  --paper: #f6f4f1;
  --white: #ffffff;
  --line: #e4dfe2;
  --on-dark: #f4eef5;
  --on-dark-muted: #cbbccd;

  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(64px, 8vw, 104px);
  --r-sm: 4px;
  --r-md: 8px;
  --shadow: 0 1px 2px rgba(36, 16, 41, .06), 0 8px 24px rgba(36, 16, 41, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mt { margin-top: 32px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* Dato pendiente */
.tbd { background: #fff3c4; color: #5b4500; border-radius: 3px; padding: 0 5px; font-size: .92em; }

/* ---------- Tipografía ---------- */
.h1 { font: 700 clamp(2.3rem, 4.8vw, 3.9rem)/1.08 var(--display); letter-spacing: -0.03em; max-width: 18ch; text-wrap: balance; }
.h2 { font: 700 clamp(1.7rem, 2.8vw, 2.4rem)/1.15 var(--display); letter-spacing: -0.025em; color: var(--aub-900); text-wrap: balance; }
.h3 { font: 700 1.4rem/1.25 var(--display); color: var(--aub-900); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.lead-light { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 52ch; }
.link { color: var(--plum); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { color: var(--plum-dark); text-decoration-thickness: 2px; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 64px; align-items: end; margin-bottom: 48px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: var(--plum-dark); }
.btn-light { background: var(--white); color: var(--aub-900); }
.btn-light:hover { background: var(--plum-soft); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-link { font: 600 1rem/1 var(--sans); color: var(--aub-900); text-decoration: none; background: none; border: 0; padding: 10px 0; cursor: pointer; }
.nav-link:hover { color: var(--plum); }
.nav-link[aria-current="page"], .nav-link[data-current="true"] { color: var(--plum); box-shadow: inset 0 -2px 0 var(--plum); }
.mega-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-cta { min-height: 44px; padding: 0 20px; }
.nav-toggle { display: none; }

.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(36,16,41,.12); }
.has-mega.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-block: 36px; }
.mega-head { display: block; font: 700 1.2rem/1.2 var(--display); color: var(--aub-900); text-decoration: none; margin-bottom: 14px; }
a.mega-head:hover { color: var(--plum); }
.mega-head-sm { font-size: 1.05rem; color: var(--muted); }
.mega-list li + li { border-top: 1px solid var(--line); }
.mega-list a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink); }
.mega-list a:hover { color: var(--plum); }
.mega-list b { color: var(--plum); font-weight: 700; margin-right: 6px; }
.mega-photo { border-radius: var(--r-md); background-size: cover; background-position: center; position: relative; overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; }
.mega-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,16,41,.1), rgba(36,16,41,.88)); }
.mega-photo > div { position: relative; padding: 24px; color: var(--white); display: grid; gap: 14px; justify-items: start; font: 700 1.15rem/1.3 var(--display); }

/* ---------- Hero con foto ---------- */
.hero {
  position: relative; color: var(--white);
  background-color: var(--aub-900); background-position: center; background-size: cover; background-repeat: no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,16,41,.94) 0%, rgba(36,16,41,.82) 42%, rgba(46,20,53,.35) 100%); }
.hero-inner { position: relative; padding-block: clamp(80px, 11vw, 150px) clamp(96px, 12vw, 160px); }
.hero-home .hero-inner { padding-bottom: clamp(140px, 14vw, 190px); }
.hero-page .hero-inner { padding-block: clamp(56px, 7vw, 96px); }
.hero-lead { margin-top: 24px; max-width: 56ch; font-size: 1.2rem; color: var(--on-dark); }
.hero-aud { margin-top: 16px; display: inline-block; padding: 4px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: .95rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .95rem; color: var(--on-dark-muted); margin-bottom: 24px; }
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }

/* Slider del inicio */
.slider { background: var(--aub-900); overflow: hidden; }
.slider::before { display: none; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; background-color: var(--aub-900); background-position: center; background-size: cover; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,16,41,.95) 0%, rgba(36,16,41,.84) 45%, rgba(46,20,53,.4) 100%); }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.slide .hero-inner { padding-bottom: clamp(170px, 16vw, 220px); }
.slide-linea { font-size: .95rem; font-weight: 600; color: var(--on-dark-muted); margin-bottom: 14px; }
.slide-linea::before { content: ""; display: inline-block; width: 28px; height: 2px; background: linear-gradient(90deg, #86378c, #d2005b); vertical-align: middle; margin-right: 10px; }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 104px; z-index: 3; pointer-events: none; }
.slider-controls { display: flex; align-items: center; gap: 10px; pointer-events: auto; width: max-content; }
.slider-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(36,16,41,.35); color: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.slider-btn:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.slider-pause { margin-left: 6px; }
.slider-pause .ico { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.slider-pause.is-paused .ico { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.dots { display: flex; gap: 8px; padding-inline: 6px; }
.dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: width .3s, background-color .3s; }
.dot[aria-current="true"] { width: 28px; border-radius: 5px; background: var(--white); }
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } }
@media (max-width: 960px) { .slide::before { background: linear-gradient(180deg, rgba(36,16,41,.9), rgba(36,16,41,.82)); } }
@media (max-width: 640px) { .slider-ui { bottom: 80px; } .slide .hero-inner { padding-bottom: 150px; } }

/* Cifras superpuestas al hero */
.stats-wrap { position: relative; z-index: 2; margin-top: -72px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); border: 1px solid var(--line); }
.stats li { padding: 28px 28px 30px; }
.stats li + li { border-left: 1px solid var(--line); }
.cifra { font: 700 2.6rem/1 var(--display); color: var(--plum); }
.stats li p:last-child { margin-top: 10px; color: var(--muted); font-size: .98rem; line-height: 1.45; }

/* ---------- Bandas ---------- */
.band { padding-block: var(--band); }
.band-white { background: var(--white); }
.band-paper { background: var(--paper); }
.band-aub { background: var(--aub-900); color: var(--on-dark); }
.band-aub .h2 { color: var(--white); }

/* ---------- Tarjetas de servicio ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: #d5ccd6; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--aub-800); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-aud { font-size: .9rem; font-weight: 600; color: var(--plum); }
.card-title { font: 700 1.3rem/1.2 var(--display); color: var(--aub-900); }
.card-link:hover .card-title { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.card-text { color: var(--muted); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tags li { font-size: .85rem; padding: 3px 10px; border-radius: 999px; background: var(--plum-soft); color: var(--plum-dark); font-weight: 600; }
.tags-lg { margin-top: 24px; }
.tags-lg li { font-size: .95rem; padding: 6px 14px; }

/* Marca de texto de relleno (quitar cuando haya contenido real) */
.relleno { display: inline-block; align-self: flex-start; justify-self: start; margin-bottom: 10px; padding: 2px 10px; border-radius: 3px; background: #fff3c4; color: #5b4500; font: 700 .8rem/1.5 var(--sans); }
.mt-sm { margin-top: 12px; }

/* ---------- Líneas de servicio ---------- */
.lineas { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.linea { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.linea-img { aspect-ratio: 16 / 7; overflow: hidden; background: var(--aub-800); }
.linea-img img { width: 100%; height: 100%; object-fit: cover; }
.linea-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.linea-title { font: 700 1.75rem/1.15 var(--display); color: var(--aub-900); }
.linea-title a { text-decoration: none; }
.linea-title a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.linea-body > p { color: var(--muted); }
.linea-servs { width: 100%; margin-bottom: 8px; }
.linea-servs li { border-top: 1px solid var(--line); }
.linea-servs a { display: block; padding: 9px 0; text-decoration: none; font-weight: 600; color: var(--ink); }
.linea-servs a:hover { color: var(--plum); }
.linea .btn { margin-top: auto; }
.lineas-4 { grid-template-columns: repeat(2, 1fr); }
.sol-area { font-size: .9rem; font-weight: 700; color: var(--plum); margin-bottom: -6px; }
.btn-outline { border-color: var(--aub-900); color: var(--aub-900); background: transparent; }
.btn-outline:hover { background: var(--aub-900); color: var(--white); }
.mega-head .ext { font-size: .85em; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }

/* ---------- Normas ISO ---------- */
.normas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.norma a { display: grid; gap: 8px; align-content: start; height: 100%; padding: 28px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--plum); border-radius: var(--r-sm); text-decoration: none; transition: box-shadow .2s; }
.norma a:hover { box-shadow: var(--shadow); }
.norma-num { font: 700 2.4rem/1 var(--display); color: var(--plum); }
.norma-num::before { content: "ISO "; font-size: .45em; vertical-align: .9em; color: var(--muted); font-family: var(--sans); font-weight: 600; letter-spacing: .02em; }
.norma-nombre { font: 700 1.2rem/1.25 var(--display); color: var(--aub-900); }
.norma-desc { color: var(--muted); font-size: .98rem; }
.norma-link { margin-top: 8px; color: var(--plum); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- KIOMU ---------- */
.kiomu-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.kiomu-side .lead-light { margin-top: 18px; }
.kiomu-foto { margin-top: 36px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.kiomu-foto img { width: 100%; height: 100%; object-fit: cover; }
.pasos li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--aub-700); }
.pasos li:first-child { padding-top: 0; }
.paso-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--on-dark-muted); font: 700 1.25rem/1 var(--display); color: var(--white); }
.pasos h3 { font: 700 1.3rem/1.25 var(--display); color: var(--white); }
.pasos p { margin-top: 6px; color: var(--on-dark-muted); }

/* ---------- Por qué elegirnos ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.why-foto { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; }
.why-foto img { width: 100%; height: 100%; object-fit: cover; }
.why-body .lead { margin-top: 16px; }
.ventajas { margin-top: 28px; display: grid; gap: 0; }
.ventajas li { padding: 18px 0 18px 28px; border-top: 1px solid var(--line); position: relative; }
.ventajas li::before { content: ""; position: absolute; left: 2px; top: 27px; width: 10px; height: 10px; border-radius: 50%; background: var(--plum); }
.ventajas h3 { font: 700 1.15rem/1.3 var(--display); color: var(--aub-900); }
.ventajas p { margin-top: 4px; color: var(--muted); }
.quote { margin-top: 32px; padding: 28px 30px; background: var(--white); border-left: 4px solid var(--plum); border-radius: var(--r-sm); }
.quote blockquote { font: 500 1.2rem/1.5 var(--display); color: var(--aub-900); }
.quote figcaption { margin-top: 14px; color: var(--muted); font-size: .98rem; }
.quote strong { color: var(--ink); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote-card { margin-top: 0; }

/* ---------- Clientes ---------- */
.clientes-band { padding-block: 72px; }
.clientes { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 44px; margin: 32px 0; }
.clientes li { font: 700 1.2rem/1.2 var(--sans); color: #9a919c; letter-spacing: .01em; }
.clientes-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clientes-grid li { display: grid; place-items: center; min-height: 112px; padding: 12px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Logos de clientes y partners */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 32px 0; }
.logos li { display: grid; place-items: center; height: 84px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.logos img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos-7 { grid-template-columns: repeat(7, 1fr); }
.logos-grid { margin: 0; }
.logos-grid li { height: 110px; }
.logos-grid img { max-height: 56px; }
.logos-partners { grid-template-columns: repeat(4, 1fr); margin: 0; flex: 1; }
.logos-partners li { height: 96px; border: 0; background: transparent; }
.logos-partners img { max-height: 54px; filter: none; opacity: 1; }

/* ---------- Grupo ---------- */
.grupo-band { padding-block: 64px; }
.grupo { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.grupo .muted { margin-top: 8px; }
.marcas { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.marca { display: grid; gap: 12px; align-content: start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.marca img { height: 36px; width: auto; justify-self: start; filter: grayscale(1) contrast(1.15); opacity: .8; }
.marca p { color: var(--muted); font-size: .98rem; }

/* ---------- CTA ---------- */
.cta { position: relative; color: var(--white); background-color: var(--aub-900); background-position: center; background-size: cover; background-repeat: no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(36,16,41,.88); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 80px; }
.cta .h2 { color: var(--white); }
.cta .lead-light { margin-top: 12px; }

/* ---------- Páginas internas ---------- */
.split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.split-text .lead { margin-top: 18px; }
.split-text > p:not(.lead) { margin-top: 16px; color: var(--muted); max-width: 62ch; }
.split-foto { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.split-foto img { width: 100%; height: 100%; object-fit: cover; }

.pendiente { margin-top: 32px; padding: 24px 28px; border: 2px dashed #d9b84a; background: #fffbea; border-radius: var(--r-md); color: #5b4500; }
.pendiente-t { font-weight: 700; }
.pendiente ul { margin-top: 10px; display: grid; gap: 4px; list-style: disc; padding-left: 20px; }

.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.faq-item { padding: 24px 0; border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font: 700 1.2rem/1.3 var(--display); color: var(--aub-900); }
.faq dd { margin-top: 8px; color: var(--muted); max-width: 70ch; }

.etapas { display: grid; gap: 0; }
.etapa { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.etapa-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--aub-900); color: var(--white); font: 700 1.4rem/1 var(--display); }
.etapa p { margin-top: 8px; color: var(--muted); }

.equipo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.persona-foto { aspect-ratio: 1; border-radius: var(--r-md); background: linear-gradient(160deg, #e9e3ea, #d7ccd9); display: grid; place-items: center; margin-bottom: 14px; }
.persona-foto span { font: 700 2.4rem/1 var(--display); color: #a593a8; }
.persona h3 { font: 700 1.15rem/1.25 var(--display); color: var(--aub-900); }
.persona p { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.partners-band { padding-block: 56px; }
.partners { display: flex; align-items: center; gap: 24px 48px; }
.partners .h3 { flex: none; }
.partners .clientes { margin: 0; }

/* ---------- Formulario ---------- */
.form-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.form-aside .lead { margin-top: 16px; }
.canales-t { margin-top: 32px; font-weight: 700; color: var(--aub-900); }
.canales { margin-top: 12px; display: grid; }
.canales > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.canales > div:last-child { border-bottom: 1px solid var(--line); }
.canales dt { color: var(--muted); font-size: .95rem; }
.canales dd { font-weight: 600; }
.canales a { color: var(--ink); text-underline-offset: 4px; }

/* ---------- Nuestras soluciones ---------- */
.solD { display: grid; grid-template-columns: 300px 1fr; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.solD-tabs { border-right: 1px solid var(--line); background: var(--paper); padding-bottom: 12px; }
.solD-grupo { padding: 18px 22px 8px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.solD-tab { display: grid; gap: 1px; width: 100%; text-align: left; padding: 11px 22px; background: none; border: 0; border-left: 3px solid transparent; cursor: pointer; font: inherit; }
.solD-tab:hover { background: var(--white); }
.solD-tab[aria-selected="true"] { background: var(--white); border-left-color: var(--plum); }
.solD-n { font-weight: 700; color: var(--aub-900); }
.solD-n .ext { color: var(--muted); font-weight: 600; font-size: .9em; }
.solD-a { display: block; font-size: .86rem; color: var(--muted); }
.solD-panel { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.solD-panel[hidden] { display: none; }
.solD-img { min-height: 260px; }
.solD-img img { width: 100%; height: 100%; object-fit: cover; }
.solD-body { padding: 36px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.solD-body .sol-area { margin-bottom: -4px; }
.solD-body h3 { font: 700 1.6rem/1.2 var(--display); color: var(--aub-900); }
.solD-body > p:not(.sol-area) { color: var(--muted); }
.solD-servs { width: 100%; margin-bottom: 8px; }
.solD-servs li { padding: 9px 0 9px 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: .95rem; position: relative; }
.solD-servs li:last-child { border-bottom: 1px solid var(--line); }
.solD-servs li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 2px; background: var(--plum); }
.solD-body .btn { margin-top: auto; }
.solD-accordion { display: none; }
@media (max-width: 960px) {
  .solD { display: none; }
  .solD-accordion { display: block; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
  .solD-accordion > .solD-grupo { background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 18px 8px; }
  .solD-acc { border-bottom: 1px solid var(--line); }
  .solD-acc h3 { margin: 0; }
  .solD-acc-btn { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 18px; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; }
  .solD-acc-btn[aria-expanded="true"] { border-left: 3px solid var(--plum); padding-left: 15px; }
  .solD-chev { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--aub-900); border-bottom: 2px solid var(--aub-900); transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
  .solD-acc-btn[aria-expanded="true"] .solD-chev { transform: rotate(-135deg); margin-top: 4px; }
  .solD-acc-panel .solD-img { min-height: 0; aspect-ratio: 16 / 8; }
  .solD-acc-panel .solD-body { padding: 18px 18px 22px; }
  .solD-acc-panel .solD-body h3 { display: none; }
}

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-title { font: 700 1.6rem/1.2 var(--display); color: var(--aub-900); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field span { font-size: .95rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); min-height: 48px; padding: 10px 14px; border: 1px solid #cfc6cf; border-radius: var(--r-sm); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--plum); outline-offset: 0; border-color: var(--plum); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form-status { min-height: 1.5em; margin: 16px 0 8px; color: #b3261e; }
.form-status.ok { color: #1d6b3f; }
.datos dl { margin-top: 20px; }
.datos dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.datos dt { font-size: .9rem; color: var(--muted); }
.datos dd { font-weight: 600; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--aub-950); color: var(--on-dark-muted); padding-top: 56px; font-size: .95rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; padding-bottom: 40px; }
.footer-grid > div { flex: 1 1 170px; }
.footer-grid > .footer-brand { flex: 1.4 1 220px; }
.footer-brand img { width: 112px; }
.footer-brand p { margin-top: 14px; max-width: 30ch; }
.footer-ruc { font-size: .9rem; }
.footer-h { font: 700 1.05rem/1.2 var(--display); color: var(--white); margin-bottom: 12px; }
.footer-h a { color: var(--white) !important; }
.footer-list li + li { margin-top: 6px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 20px; border-top: 1px solid #3a2140; font-size: .9rem; }
.footer-group { display: flex; align-items: center; gap: 24px; }
.footer-marcas { display: flex; gap: 28px; align-items: center; }
.footer-marcas img { height: 24px; width: auto; opacity: .75; }
.footer-marcas .invert { filter: grayscale(1) brightness(0) invert(1); }
.footer-marcas a:hover img { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 0 16px; background: var(--white); color: var(--aub-900); border: 1px solid var(--line); border-radius: var(--r-sm); font: 600 1rem/1 var(--sans); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--white); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); max-height: calc(100vh - 80px); overflow-y: auto; box-shadow: 0 24px 40px rgba(36,16,41,.12); }
  .nav.open { display: flex; }
  .nav-link { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; font-size: 1.05rem; }
  .nav-link[aria-current="page"], .nav-link[data-current="true"] { box-shadow: none; }
  .nav-cta { margin-top: 20px; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega-grid { grid-template-columns: 1fr; gap: 16px; padding: 8px 0 16px; }
  .mega-photo { display: none; }
  .sec-head, .kiomu-grid, .why, .split, .faq-grid, .form-wrap, .grupo { grid-template-columns: 1fr; }
  .sec-head { gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .normas { grid-template-columns: 1fr 1fr; }
  .why-foto { aspect-ratio: 16 / 9; }
  .kiomu-foto { display: none; }
  .equipo { grid-template-columns: repeat(3, 1fr); }
  .clientes-grid { grid-template-columns: repeat(4, 1fr); }
  .logos, .logos-7 { grid-template-columns: repeat(4, 1fr); }
  .partners { flex-direction: column; align-items: flex-start; }
  .logos-partners { width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero::before { background: linear-gradient(180deg, rgba(36,16,41,.88), rgba(36,16,41,.8)); }
}
@media (max-width: 640px) {
  .logo img { height: 42px; }
  .cards, .normas, .marcas, .quotes, .form-grid, .lineas, .lineas-4 { grid-template-columns: 1fr; }
  .stats li { padding: 20px 18px; }
  .cifra { font-size: 2rem; }
  .stats-wrap { margin-top: -56px; }
  .equipo { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .clientes-grid { grid-template-columns: 1fr 1fr; }
  .logos, .logos-7, .logos-partners { grid-template-columns: repeat(2, 1fr); }
  .logos li { height: 72px; }
  .clientes-grid li { min-height: 80px; }
  .clientes { gap: 12px 28px; }
  .footer-grid { gap: 28px 24px; }
  .footer-grid > div { flex: 1 1 calc(50% - 12px); }
  .footer-grid > .footer-brand { flex-basis: 100%; }
  .footer-bottom, .footer-group { flex-direction: column; align-items: flex-start; }
  .actions .btn, .cta .btn { width: 100%; }
  .etapa { grid-template-columns: 1fr; gap: 12px; }
}
