/* ============================================================
   Grupo LH — website premium layer
   Sits on top of the design-system tokens (../../styles.css).
   Adds the agency-grade motifs: layered navy depth, an engineered
   grid texture, the ghost LH monogram, justified prose, refined
   cards and the branded media-placeholder frames.
   ============================================================ */

body {
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.003em;
}

::selection { background: var(--lh-cyan); color: #fff; }

h1, h2, h3 { letter-spacing: -0.025em; }

/* wider, more generous container option */
.lh-container--wide { max-width: 1320px; }
.lh-container--narrow { max-width: 880px; }

/* ---- vertical rhythm ---- */
.lh-section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.lh-section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }

/* =====================================================
   Premium navy "anchor" sections (hero / CTA / heroes)
   ===================================================== */
.lh-dark {
  position: relative;
  isolation: isolate;
  background: var(--grad-navy);
  color: #fff;
  overflow: hidden;
}
/* engineered grid texture */
.lh-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 70% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 70% 0%, #000 30%, transparent 78%);
}
/* cyan glow bloom */
.lh-dark::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70vw;
  height: 70vw;
  max-width: 820px;
  max-height: 820px;
  right: -16%;
  top: -34%;
  background: radial-gradient(circle, rgba(41, 169, 224, 0.20) 0%, rgba(41, 169, 224, 0) 62%);
  pointer-events: none;
}
.lh-dark--center::after { left: 50%; right: auto; transform: translateX(-50%); top: -45%; }

/* big ghost LH monogram */
.lh-monogram {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.035);
  user-select: none;
  pointer-events: none;
  z-index: -1;
}

/* hairline that separates stacked dark bands */
.lh-hairline-top { border-top: 1px solid rgba(255, 255, 255, 0.10); }

/* =====================================================
   Eyebrow + rule label
   ===================================================== */
.lh-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}
.lh-eyebrow--bright { color: var(--brand-bright); }
.lh-eyebrow--line {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.lh-eyebrow--line::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
  flex: none;
}

/* the short rule under section headings */
.lh-accent-rule {
  width: 54px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-cyan-line);
}
.lh-accent-rule--center { margin-inline: auto; }

/* =====================================================
   Justified premium prose
   ===================================================== */
.lh-prose {
  color: var(--text-body);
  font-size: var(--fs-md);
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}
.lh-prose > p + p { margin-top: 1.15rem; }
/* last line of justified blocks shouldn't stretch oddly on short paras */
.lh-prose p { text-align-last: left; }

.lh-lead {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-heading);
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* =====================================================
   Premium cards
   ===================================================== */
.lh-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.lh-card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand-bright) 55%, var(--border-default));
}

/* =====================================================
   Branded media placeholder frame
   (used everywhere a real photo will be dropped in)
   ===================================================== */
.lh-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(150deg, #0a1838 0%, #0e2456 100%);
  color: #fff;
  isolation: isolate;
}
.lh-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 12px);
  mask-image: radial-gradient(120% 120% at 30% 20%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 120% at 30% 20%, #000 20%, transparent 80%);
}
.lh-media__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(6, 16, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.lh-media__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 24px;
}
/* media frame that actually holds an <img> */
.lh-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* glass chip (over dark imagery / navy) */
.lh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
}

/* =====================================================
   Reveal: content is visible by default. `.is-in` (added by
   JS when the element scrolls into view) plays a one-shot
   rise+fade. If JS never runs, content simply stays visible.
   ===================================================== */
@media (prefers-reduced-motion: no-preference) {
  .lh-reveal.is-in { animation: lhRise 0.6s var(--ease-out) both; }
}
@keyframes lhRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
/* image hover-zoom wrapper */
.lh-zoom { overflow: hidden; }
.lh-zoom .lh-media,
.lh-zoom img { transition: transform var(--dur-slow) var(--ease-out); }
.lh-zoom:hover .lh-media,
.lh-zoom:hover img { transform: scale(1.05); }

/* link with animated chevron */
.lh-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand-secondary);
}
.lh-arrow-link span[aria-hidden] {
  transition: transform var(--dur-base) var(--ease-out);
}
.lh-arrow-link:hover span[aria-hidden] { transform: translateX(4px); }

/* divider */
.lh-divider { height: 1px; background: var(--border-default); border: 0; }

/* sticky side column (un-sticks on stacked layouts) */
.lh-sticky-col { position: sticky; top: calc(var(--header-h) + 28px); }
@media (max-width: 980px) {
  .lh-sticky-col { position: static; top: auto; }
}
