/* Home page — asymmetric split hero slideshow, trust strip, featured products */

/* ==========================================================================
   Hero slideshow — 55/45 asymmetric split.
   Copy sits on a dark, glowing, grained panel; imagery bleeds off the right
   edge. Deliberately NOT centered-text-over-photo (the generic banner look).
   ========================================================================== */
.hero {
  position: relative;
  background: #082A2E;
  overflow: hidden;
}

.hero .carousel,
.hero .carousel__track,
.hero .carousel__slide {
  height: 100%;
}

.hero-slide {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: clamp(560px, 76vh, 780px);
}

/* ---- Left: copy panel ---- */
.hero-slide__panel {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--space-7) clamp(var(--space-4), 5vw, var(--space-8));
  background-color: #0B3B33;
  background-image:
    radial-gradient(ellipse 760px 520px at 10% -10%, rgba(51, 204, 51, 0.30), transparent 62%),
    radial-gradient(ellipse 700px 520px at 96% 104%, rgba(0, 114, 206, 0.36), transparent 62%);
  isolation: isolate;
}

/* Banig-weave (Filipino woven mat) texture — subtle PH signature, not wallpaper */
.hero-slide__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.055;
  background-image:
    repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, #fff 0 2px, transparent 2px 14px);
}

.hero-slide__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-slide__copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin-left: auto;
  color: var(--color-white);
}

/* Colour/swoosh inversion is handled centrally in components.css; these are
   the hero-specific spacing tweaks only. */
.hero-slide__copy .eyebrow {
  letter-spacing: 0.14em;
  margin-bottom: var(--space-4);
}

.hero-slide__copy h1 {
  font-size: var(--text-display);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.hero-slide__copy p {
  font-size: var(--text-body-lg);
  line-height: 1.55;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: var(--space-5);
}

.hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ---- Right: media ---- */
.hero-slide__media {
  position: relative;
  overflow: hidden;
}

.hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Feathered seam so the panel melts into the image instead of a hard line */
.hero-slide__media::before {
  content: '';
  position: absolute;
  inset: 0 0 0 -1px;
  z-index: 2;
  width: 20%;
  background: linear-gradient(90deg, #0B3B33 0%, rgba(11, 59, 51, 0.5) 48%, transparent 100%);
}

/* Light brand wash over the imagery. Kept subtle: the supplied artwork is
   already on-brand and heavily coloured, so a strong duotone muddied it. The
   seam gradient below does the work of tying the image to the panel. */
.hero-slide__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(150deg, rgba(11, 59, 51, 0.10), rgba(0, 114, 206, 0.05) 60%, transparent);
  mix-blend-mode: multiply;
}

/* ---- Controls ---- */
.hero .carousel__arrow {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--color-white);
  backdrop-filter: blur(8px);
}

.hero .carousel__arrow:hover {
  background: rgba(255, 255, 255, 0.26);
}

.hero .carousel__controls {
  position: absolute;
  bottom: var(--space-5);
  left: clamp(var(--space-4), 5vw, var(--space-8));
  justify-content: flex-start;
  z-index: 4;
  margin-top: 0;
}

.hero .carousel__dot {
  background: rgba(255, 255, 255, 0.35);
}

.hero .carousel__dot.is-active {
  background: var(--color-white);
}

/* ---- Marquee strip closing the hero (in normal flow, so it never
   collides with the carousel dots) ---- */
.hero__marquee {
  position: relative;
  z-index: 5;
  background: #082A2E;
}

@media (max-width: 900px) {
  .hero-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-slide__panel {
    order: 2;
    padding-block: var(--space-6);
  }
  .hero-slide__copy {
    margin-left: 0;
    max-width: 100%;
  }
  .hero-slide__copy h1 {
    max-width: 18ch;
  }
  /* Image band scales with the screen instead of sitting at a fixed thin strip */
  .hero-slide__media {
    order: 1;
    height: clamp(200px, 34vw, 320px);
  }
  .hero-slide__media::before {
    inset: auto 0 -1px 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent, #0B3B33);
  }
  .hero .carousel__arrow { top: 130px; }
  .hero .carousel__controls {
    position: static;
    justify-content: center;
    padding-bottom: var(--space-4);
    background: #0B3B33;
  }
}

/* ==========================================================================
   Responsive refinements — phone
   ========================================================================== */
@media (max-width: 560px) {
  .hero-slide__panel {
    padding-inline: var(--space-4);
  }

  .hero-slide__copy p {
    font-size: 1rem;
  }

  /* Stacked CTAs read better than two cramped side-by-side pills */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .intro-strip__callouts {
    gap: var(--space-3);
  }

  .callout {
    padding: var(--space-3) var(--space-2);
  }

  .intro-strip__statement {
    margin-bottom: var(--space-5);
  }

  .trust-section {
    padding-block: var(--space-5);
  }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-section {
  background: var(--color-cream);
  border-bottom: var(--hairline);
  padding-block: var(--space-6);
}

/* ==========================================================================
   Brand intro
   ========================================================================== */
.intro-strip {
  text-align: center;
}

.intro-strip__statement {
  max-width: 62ch;
  margin: 0 auto var(--space-7);
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--color-charcoal);
}

.intro-strip__callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.callout {
  padding: var(--space-4);
}

.callout .icon-circle {
  margin: 0 auto var(--space-4);
}

@media (max-width: 640px) {
  .intro-strip__callouts {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Brand film
   Capped at 900px: the source is 848x480, so stretching it wider only
   magnifies the softness.
   ========================================================================== */
.video-section .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.video-section h2 {
  color: var(--color-white);
}

.video-section__cta {
  text-align: center;
  margin: var(--space-6) 0 0;
}

/* ==========================================================================
   Join-us teaser + disclosure
   ========================================================================== */
.join-teaser {
  text-align: center;
  color: var(--color-white);
}

.join-teaser h2,
.join-teaser p {
  color: var(--color-white);
}

.join-teaser h2 {
  max-width: 24ch;
  margin-inline: auto;
}

.join-teaser p {
  max-width: 54ch;
  margin: 0 auto var(--space-5);
  color: rgba(255, 255, 255, 0.78);
}

.disclosure {
  font-size: var(--text-small);
  color: var(--color-gray-500);
}
