/* home.css — secciones de la portada (marca v3). Base y header/footer: brand.css. */

/* ========== HERO ========== */
.hl-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding: 28px 0 52px; }
.hl-hero > div, .hl-hero > figure { min-width: 0; }
.hl-hero .ld-eyebrow { margin-bottom: 26px; }
.hl-h1 {
  font-size: clamp(34px, 3.8vw, 54px); line-height: 1.04; letter-spacing: -.05em;
  margin: 0 0 28px; font-weight: 820; overflow-wrap: normal;
}
.hl-h1 [data-lang] span { color: var(--ld-accent); }
.hl-lead { font-size: 20px; line-height: 1.5; color: var(--ld-text-secondary); max-width: 550px; margin: 0; }
.hl-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.hl-figure { margin: 0; position: relative; padding-left: 24px; }
.hl-figure::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--ld-accent); }
.hl-figure img { display: block; width: 100%; height: 440px; object-fit: cover; object-position: center; }

/* ========== SECCIONES ========== */
.hl-section { padding-top: 76px; padding-bottom: 76px; }
.hl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.hl-split > * { min-width: 0; }
.hl-h2 { font-size: clamp(38px, 4.7vw, 62px); line-height: 1.06; letter-spacing: -.05em; margin: 18px 0 24px; font-weight: 760; }
.hl-body { font-size: 18px; color: var(--ld-text-secondary); line-height: 1.65; max-width: 560px; margin: 0; }

.hl-service { display: grid; grid-template-columns: 40px 1fr; gap: 16px; border-top: 1px solid var(--ld-border); padding: 22px 0; }
.hl-service:last-child { border-bottom: 1px solid var(--ld-border); }
.hl-service .hl-num { font: 12px var(--ld-font-mono); color: var(--ld-accent-ink); padding-top: 6px; }
.hl-service h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.03em; }
.hl-service p { margin: 0; font-size: 15px; color: var(--ld-text-secondary); line-height: 1.6; }

/* ========== AVISO, CAPACIDADES, TECNOLOGÍA ========== */
.hl-service .hl-fine { margin-top: 10px; font-size: 13px; color: var(--ld-text-secondary); }
.hl-product .hl-24 { margin-top: 12px; }
.hl-product .hl-24 a, .hl-product .hl-dealer a { color: var(--ld-accent-ink); font-weight: 600; text-underline-offset: 4px; }
.hl-product .hl-dealer { margin-top: 14px; font-size: 14px; }
.hl-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 18px 0 0; }
.hl-caps div { border-top: 1px solid var(--ld-border); padding-top: 10px; }
.hl-caps dt { font-weight: 700; font-size: 15px; }
.hl-caps dd { margin: 2px 0 0; font-size: 13px; color: var(--ld-text-secondary); line-height: 1.45; }
.hl-tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 34px; }
.hl-tech > div { border-top: 1px solid var(--ld-border-control); padding-top: 14px; min-width: 0; }
.hl-tech h3 { margin: 0 0 10px; font: 500 12px/18px var(--ld-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ld-accent-ink); }
.hl-tech ul { list-style: none; margin: 0; padding: 0; }
.hl-tech li { font-size: 16px; line-height: 1.9; }
@media (max-width: 950px) { .hl-tech { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hl-caps { grid-template-columns: 1fr; } }

.hl-chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hl-chips li { border: 1px solid var(--ld-border-control); border-radius: var(--ld-radius-control); padding: 6px 12px; font: 500 12px/18px var(--ld-font-mono); letter-spacing: .06em; }

/* ========== NOTAS DEL BLOG ========== */
.hl-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 18px; }
.hl-notes a { display: block; border-top: 1px solid var(--ld-border-control); padding-top: 18px; text-decoration: none; }
.hl-notes a strong { display: block; margin-top: 8px; font-size: 21px; line-height: 1.25; letter-spacing: -.03em; font-weight: 700; }
.hl-notes a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.hl-notes .ld-eyebrow { color: var(--ld-accent-ink); }
@media (max-width: 680px) { .hl-notes { grid-template-columns: 1fr; gap: 24px; } }

/* ========== PRODUCTOS (bloque grafito) ========== */
.hl-dark { background: var(--ld-foreground); color: var(--ld-background); }
.hl-dark .ld-eyebrow { color: #D4D0C6; }
.hl-top { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; margin-top: 25px; }
.hl-top .hl-h2 { margin: 0; }
.hl-top p { color: #D4D8D9; max-width: 460px; margin: 0; font-size: 17px; }
.hl-products { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.hl-product { background: var(--ld-background); color: var(--ld-foreground); padding: 30px; display: flex; flex-direction: column; min-width: 0; border-radius: var(--ld-radius-panel); }
.hl-product h3 { font-size: 35px; letter-spacing: -.05em; margin: 0; }
.hl-product .hl-pt { margin: 14px 0 8px; font-weight: 700; font-size: 17px; }
.hl-product p { font-size: 15px; color: var(--ld-text-secondary); margin: 0; }
.hl-product .hl-note { font: 12px/1.5 var(--ld-font-mono); letter-spacing: .04em; text-transform: uppercase; margin: 12px 0 0; color: var(--ld-text-secondary); }
.hl-product-actions { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; }
.hl-inbox { border: 1px solid var(--ld-border); border-radius: var(--ld-radius-panel); background: var(--ld-surface); padding: 18px; margin-top: 20px; }
.hl-inbox-head { display: flex; justify-content: space-between; font-size: 12px; border-bottom: 1px solid var(--ld-border); padding-bottom: 10px; }
.hl-msg { font-size: 12px; background: var(--ld-background); border-radius: 10px; padding: 12px; max-width: 85%; margin-top: 14px; }
.hl-msg.hl-reply { margin-left: auto; background: var(--ld-accent-soft); }
.hl-msg small { font-size: 11px; color: var(--ld-text-secondary); display: block; margin-bottom: 3px; letter-spacing: .08em; }
.hl-gallery { display: block; width: 100%; flex: 1 1 200px; min-height: 200px; height: auto; object-fit: cover; object-position: center; margin-top: 20px; border-radius: 5px; }
@media (max-width: 950px) { .hl-gallery { flex: 0 0 auto; height: 220px; } }

/* ========== PROCESO + FORMACIÓN ========== */
.hl-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.hl-process article { border-top: 1px solid var(--ld-border-control); padding-top: 20px; min-width: 0; }
.hl-process h3 { font-size: 22px; margin: 12px 0 10px; letter-spacing: -.03em; }
.hl-process p { font-size: 15px; color: var(--ld-text-secondary); margin: 0; }
.hl-education {
  margin-top: 46px; padding: 24px 28px; background: var(--ld-surface-muted); border-radius: var(--ld-radius-panel);
  display: flex; justify-content: space-between; gap: 30px; align-items: center;
}
.hl-education h3 { margin: 6px 0 0; font-size: 22px; }
.hl-education p { font-size: 15px; color: var(--ld-text-secondary); margin: 5px 0 0; }
.hl-education .ld-textlink { white-space: nowrap; }

/* ========== FAQ ========== */
.hl-faq details { border-top: 1px solid var(--ld-border); padding: 20px 0; }
.hl-faq details:last-child { border-bottom: 1px solid var(--ld-border); }
.hl-faq summary {
  cursor: pointer; font-size: 17px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 28px;
}
.hl-faq summary::-webkit-details-marker { display: none; }
.hl-faq summary svg { width: 22px; height: 22px; flex: none; }
.hl-faq summary .hl-minus { display: none; }
.hl-faq details[open] summary .hl-minus { display: block; }
.hl-faq details[open] summary .hl-plus { display: none; }
.hl-faq p { color: var(--ld-text-secondary); font-size: 16px; line-height: 1.7; margin: 14px 0 0; max-width: 560px; }

/* ========== CONTACTO (banda azul) ========== */
.hl-cta { background: var(--ld-accent); color: #fff; }
.hl-cta .ld-wrap { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hl-cta h2 { font-size: clamp(46px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -.05em; margin: 0; font-weight: 780; }
.hl-cta p { font-size: 19px; margin: 0 0 24px; }
.hl-cta .hl-mail { font-size: 16px; margin: 18px 0 0; }
.hl-cta .hl-mail a { color: #fff; font-weight: 600; text-underline-offset: 4px; }
.hl-cta :is(a, button):focus-visible { outline-color: #fff; }

/* ========== RESPONSIVE ========== */
@media (max-width: 950px) {
  .hl-figure img { height: 420px; }
  .hl-split, .hl-top { gap: 35px; }
  .hl-h1 { font-size: 46px; }
  .hl-products { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hl-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; padding-bottom: 36px; }
  .hl-h1 { font-size: clamp(30px, 8.6vw, 42px); }
  .hl-hero .ld-eyebrow { margin-bottom: 20px; }
  .hl-lead { font-size: 18px; }
  .hl-figure { padding-left: 15px; }
  .hl-figure img { height: 280px; }
  .hl-split, .hl-top, .hl-process, .hl-cta .ld-wrap { grid-template-columns: 1fr; gap: 28px; }
  .hl-section { padding-top: 52px; padding-bottom: 52px; }
  .hl-h2 { font-size: 40px; }
  .hl-top { margin-top: 22px; }
  .hl-product { padding: 24px; }
  .hl-education { flex-direction: column; align-items: flex-start; padding: 22px; gap: 16px; }
  .hl-cta .ld-wrap { padding-top: 46px; padding-bottom: 46px; }
  .hl-cta h2 { font-size: 46px; }
}
