/* ─────────────────────────────
   HOME-HERO.CSS — Lo Castro homepage hero carousel
   wp-content/themes/twentytwentyfive-child/styles/home-hero.css
   ───────────────────────────── */

/* Editorial — hero-only accent, deliberately not a global token. */
.lc-home-hero {
  --lc-hero-gold: #d9b876;
}

/* ~70% of the screen, so that with the promo stripe and header above it
   the category tiles start to show below the fold on desktop (it used to
   fill the screen: 100vh minus the header). min-height keeps the
   composition on short laptop screens, max-height on very tall monitors.
   svh = the visible viewport on mobile browsers (vh is the fallback). */
.lc-home-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 70vh;
  height: 70svh;
  min-height: 480px;
  max-height: 860px;
}

/* Text sits at the bottom of the image on phones/tablets, so a little
   more height; no cap (portrait tablets are tall). */
@media (max-width: 900px) { /* System breakpoint: mobile */
  .lc-home-hero {
    height: 72vh;
    height: 72svh;
    min-height: 440px;
    max-height: none;
  }
}

.lc-home-hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.lc-home-hero-slide.is-active {
  opacity: 1;
}

.lc-home-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.lc-home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 480px at 78% 50%, rgba(74, 47, 27, 0.14) 0%, transparent 60%),
    linear-gradient(270deg, rgba(74, 47, 27, 0.48) 0%, rgba(74, 47, 27, 0.14) 55%, transparent 100%);
}

@media (max-width: 900px) { /* System breakpoint: mobile */
  .lc-home-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(74, 47, 27, 0.04) 0%,
      rgba(74, 47, 27, 0.1) 35%,
      rgba(74, 47, 27, 0.58) 100%
    );
  }
}

.lc-home-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 120px 0 24px;
  font-family: var(--lc-font-serif);
  text-align: right;
  box-sizing: border-box;
}

@media (max-width: 900px) { /* System breakpoint: mobile */
  .lc-home-hero-content {
    align-items: flex-end;
    justify-content: flex-start;
    /* Clears the dots/arrows bar (bottom 20px + 38px arrows) so the CTA
       never runs into the slide dots. */
    padding: 0 20px 76px;
    text-align: left;
  }
}

.lc-home-hero-textblock {
  max-width: 520px;
}

@media (max-width: 900px) { /* System breakpoint: mobile */
  .lc-home-hero-textblock {
    max-width: 260px;
  }
}

.lc-home-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.6);
  margin-bottom: 10px;
}

.lc-home-hero-title {
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--lc-hero-gold);
}

@media (max-width: 900px) { /* System breakpoint: mobile */
  .lc-home-hero-title {
    font-size: 34px;
    line-height: 1.05;
    max-width: 10ch;
  }
}

.lc-home-hero-sub {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.78);
}

@media (max-width: 900px) { /* System breakpoint: mobile */
  .lc-home-hero-sub {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }
}

.lc-home-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-bottom: 4px;
  color: rgba(247, 241, 230, 0.92);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  border-bottom: 1px solid rgba(247, 241, 230, 0.5);
  transition: border-color 200ms ease, gap 200ms ease;
}

.lc-home-hero-cta:hover {
  border-color: rgba(247, 241, 230, 0.92);
  gap: 12px;
}

.lc-home-hero-cta svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

@media (max-width: 900px) { /* System breakpoint: mobile */
  .lc-home-hero-cta {
    margin-top: 18px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }
}

.lc-home-hero-bottombar {
  position: absolute;
  z-index: 3;
  bottom: clamp(16px, 4vh, 32px);
  left: 0;
  right: 0;
  padding: 0 clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  box-sizing: border-box;
}

@media (max-width: 900px) { /* System breakpoint: mobile */
  .lc-home-hero-bottombar {
    bottom: 20px;
    padding: 0 20px;
  }
}

.lc-home-hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lc-home-hero-dot {
  appearance: none;
  cursor: pointer;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(247, 241, 230, 0.35);
  transition: width 300ms ease, background 300ms ease;
}

.lc-home-hero-dot.is-active {
  width: 22px;
  background: rgba(247, 241, 230, 0.92);
}

.lc-home-hero-arrows {
  display: inline-flex;
  gap: 10px;
}

@media (max-width: 900px) { /* System breakpoint: mobile */
  .lc-home-hero-arrows {
    gap: 8px;
  }
}

.lc-home-hero-arrow {
  appearance: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(247, 241, 230, 0.34);
  background: rgba(74, 47, 27, 0.18);
  backdrop-filter: blur(10px);
  color: rgba(247, 241, 230, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lc-home-hero-arrow:hover {
  transform: translateY(-1px);
  background: rgba(74, 47, 27, 0.28);
  border-color: rgba(247, 241, 230, 0.5);
}

@media (max-width: 900px) { /* System breakpoint: mobile */
  .lc-home-hero-arrow {
    width: 38px;
    height: 38px;
  }
}

.lc-home-hero-arrowicon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.lc-home-hero-arrowicon-left {
  transform: rotate(135deg);
}

.lc-home-hero-arrowicon-right {
  transform: rotate(-45deg);
}