/* why-index.css — Why Choose Us page only. Shared structure comes from site.css. */

/* ---- hero: shaped photo mosaic + logo-mark shapes ---- */
.why-hero {
  position: relative;
  isolation: isolate;
}
.why-shape {
  position: absolute;
  z-index: -1;
  left: -6%;
  top: 2%;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  background: rgba(242, 101, 34, 0.12);
  clip-path: polygon(17.9% 0, 0 21.2%, 54.3% 84.3%, 100% 100%);
  animation: why-drift 16s ease-in-out infinite alternate;
}
.why-mosaic {
  position: relative;
  height: clamp(390px, 42vw, 560px);
  min-height: 390px;
}
.why-mosaic::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 36%;
  top: 30%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  animation: why-drift 9s ease-in-out infinite alternate;
}
.why-photo {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  background: var(--navy-deep);
  box-shadow: var(--shadow-lg);
}
.why-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(11, 45, 83, 0.08),
    rgba(6, 26, 50, 0.3)
  );
}
.why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.02);
}
.why-photo--a {
  width: 58%;
  height: 68%;
  left: 0;
  top: 4%;
  border-radius: var(--r-2xl) var(--r-2xl) var(--r-2xl) 0;
}
.why-photo--b {
  width: 44%;
  height: 42%;
  right: 0;
  top: 0;
  border-radius: 50%;
}
.why-photo--c {
  width: 44%;
  height: 46%;
  right: 4%;
  bottom: 0;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  box-shadow: none;
}
.why-photo--d {
  width: 36%;
  height: 29%;
  left: 8%;
  bottom: 2%;
  border: 8px solid var(--bg);
  border-radius: var(--r-xl);
}
@keyframes why-drift {
  from {
    transform: translate(0, 0) rotate(0);
  }
  to {
    transform: translate(24px, -20px) rotate(6deg);
  }
}

/* ---- marquee: the six card titles, reused ---- */
.why-marquee {
  overflow: hidden;
  padding-block: 18px;
  background: var(--orange);
  color: var(--navy-deep);
  border-block: 2px solid var(--navy-deep);
}
.why-marquee__track {
  display: flex;
  width: max-content;
  animation: why-marquee 45s linear infinite;
}
.why-marquee span {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
  font: 800 clamp(1.5rem, 3.5vw, 2.6rem)/1 var(--font-head);
  letter-spacing: -0.02em;
}
.why-marquee span::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy-deep);
}
@keyframes why-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---- values: bento grid with photo backgrounds ---- */
.why-values {
  padding-block: var(--section-pad);
  background:
    linear-gradient(rgba(11, 45, 83, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 45, 83, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
}
.why-section-head {
  max-width: 980px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}
.why-section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font: 800 0.875rem var(--font);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.why-section-kicker span {
  width: clamp(28px, 7vw, 90px);
  height: 2px;
  background: var(--orange);
}
.why-section-head h2 {
  margin-top: 24px;
  font-size: clamp(2.6rem, 7vw, 7rem);
  line-height: 0.98;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.why-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  grid-column: span 2;
  min-height: 300px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--r-2xl);
  transition:
    translate 0.35s var(--ease),
    box-shadow 0.35s;
}
.why-card:nth-child(1) {
  grid-column: span 4;
  min-height: 380px;
}
.why-card:nth-child(6) {
  grid-column: span 6;
  min-height: 260px;
}
.why-card:hover {
  translate: 0 -8px;
  box-shadow: var(--shadow-xl);
}
.why-card > img {
  transition: transform 1s var(--ease);
}
.why-card:hover > img {
  transform: scale(1.06);
}
.why-card::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0 14px,
    #c89a2a 14px 22px,
    var(--navy-light) 22px 30px,
    #f6f3ee 30px 36px
  );
  transform: scaleX(0.08);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.why-card:hover::after {
  transform: scaleX(1);
}
.why-number {
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 2;
  font: 800 clamp(3rem, 7vw, 6rem)/1 var(--font-head);
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.6);
  transition:
    color 0.35s,
    -webkit-text-stroke-color 0.35s;
}
.why-card:hover .why-number {
  color: var(--orange);
  -webkit-text-stroke-color: var(--orange);
}
.why-card h3 {
  max-width: 14em;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}
.why-card p {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.9);
}

/* ---- responsive ---- */
@media (max-width: 899px) {
  .why-mosaic {
    height: clamp(340px, 78vw, 480px);
  }
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why-card,
  .why-card:nth-child(1),
  .why-card:nth-child(6) {
    grid-column: span 1;
    min-height: 280px;
  }
  .why-card:nth-child(1),
  .why-card:nth-child(6) {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .why-mosaic {
    height: 360px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-card,
  .why-card:nth-child(1),
  .why-card:nth-child(6) {
    grid-column: span 1;
    min-height: 240px;
  }
  .why-section-kicker {
    gap: 12px;
    font-size: 0.75rem;
  }
  .why-section-head h2 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }
}

/* ---- navy theme: hero, values and CTA surround follow the About page ---- */
.why-page {
  background: var(--navy-deep);
}
.why-top {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      60% 90% at 90% 0%,
      rgba(242, 101, 34, 0.28),
      transparent 60%
    ),
    radial-gradient(70% 80% at 0% 100%, var(--navy-light), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy-mid));
}
.why-top .t-navy {
  color: #fff;
}
.why-top .hero-desc {
  color: rgba(255, 255, 255, 0.86);
}
.why-top .badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}
.why-top .btn--ghost {
  color: #fff;
  border-color: #fff;
}
.why-top .btn--ghost:hover {
  background: #fff;
  color: var(--navy-deep);
}
.why-shape {
  background: rgba(255, 255, 255, 0.07);
}
.why-photo--d {
  border-color: var(--navy-mid);
}
.why-values {
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--navy-mid), var(--navy-deep));
  background-size:
    48px 48px,
    48px 48px,
    auto;
}
.why-section-kicker {
  color: var(--orange-light);
}
.why-section-head h2 {
  color: #fff;
}
.why-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.why-cta {
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  box-shadow: var(--shadow-xl);
}
.why-cta h2 {
  color: var(--navy-deep);
}
.why-cta h2 span {
  color: var(--navy-deep);
  background: linear-gradient(#fff, #fff) 0 94%/100% 0.14em no-repeat;
}
.why-cta .btn {
  background: var(--navy-deep);
  color: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}
.why-cta .btn:hover {
  background: var(--navy-mid);
}
