/* Why Charisma */
.why {
  padding: clamp(52px, 6vw, 88px) max(4vw, 24px);
  background: var(--cream);
  color: var(--ink);
}

.why__intro,
.why__principles,
.why__proof {
  width: min(100%, 1440px);
  margin-inline: auto;
}

.why__intro {
  max-width: 980px;
  text-align: center;
}

.why__eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.why__heading {
  margin: 0;
  color: var(--burgundy-deep);
  font-size: clamp(45px, 5.6vw, 82px);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 1;
}

.why__heading em {
  color: var(--gold);
  font-style: normal;
}

.why__lead {
  max-width: 670px;
  margin: 26px auto 0;
  color: rgba(50, 16, 24, 0.62);
  font-size: 14px;
  line-height: 1.85;
}

.why__principles {
  margin-top: clamp(42px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 330px;
  padding: 30px clamp(20px, 2.4vw, 36px) 34px;
  border-inline-end: 1px solid var(--line);
  background-position: center;
  background-size: cover;
}

.why-card:nth-child(1) { background-image: url("../images/why-expert-care.png"); }
.why-card:nth-child(2) { background-image: url("../images/why-personal-care.png"); }
.why-card:nth-child(3) { background-image: url("../images/why-technology.png"); }
.why-card:nth-child(4) { background-image: url("../images/why-natural-results.png"); }

.why-card:last-child {
  border-inline-end: 0;
}

.why-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.why-card__top span {
  position: absolute;
  top: -22px;
  inset-inline-start: -4px;
  z-index: -1;
  color: rgba(91, 18, 35, 0.12);
  font-size: clamp(72px, 7vw, 112px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  user-select: none;
}

.why-card__top svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-inline-start: auto;
}

.why-card__title {
  position: relative;
  z-index: 1;
  margin: 66px 0 14px;
  color: var(--burgundy);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.why-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(50, 16, 24, 0.56);
  font-size: 12px;
  line-height: 1.75;
}

.why__proof {
  padding-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.why__proof p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.why__proof strong {
  color: var(--burgundy);
  font-size: clamp(25px, 2.8vw, 40px);
  font-weight: 300;
  letter-spacing: -0.05em;
}

.why__proof p span {
  color: rgba(50, 16, 24, 0.5);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: uppercase;
}

.why__proof > a {
  padding: 15px 20px 13px;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
  transition: background-color 220ms ease, color 220ms ease;
}

.why__proof > a span {
  margin-inline-start: 10px;
  color: var(--gold);
}

.why__proof > a:hover,
.why__proof > a:focus-visible {
  background: var(--burgundy);
  color: var(--cream);
}

@media (max-width: 900px) {
  .why__principles { grid-template-columns: repeat(2, 1fr); }
  .why-card:nth-child(2) { border-inline-end: 0; }
  .why-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .why__proof { grid-template-columns: repeat(3, 1fr); }
  .why__proof > a { grid-column: 1 / 4; width: max-content; }
}

@media (max-width: 560px) {
  .why { padding-inline: 20px; }
  .why__principles { grid-template-columns: 1fr; }
  .why-card { min-height: 250px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .why-card:nth-child(3) { border-bottom: 1px solid var(--line); }
  .why-card:last-child { border-bottom: 0; }
  .why-card__title { margin-top: 42px; }
  .why__proof { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .why__proof > a { grid-column: 1 / 3; }
}

/* Why Charisma — cinematic panel redesign */
.why {
  background: var(--burgundy-deep);
  color: var(--cream);
  padding-top: clamp(30px, 3vw, 46px);
  padding-bottom: clamp(36px, 4vw, 60px);
}

.why__intro {
  max-width: 1440px;
  display: block;
  text-align: start;
}

.why__intro-top {
  padding-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(244, 234, 220, 0.2);
}

.why__eyebrow,
.why__index {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.why__index {
  color: rgba(244, 234, 220, 0.46);
  letter-spacing: 0.1em;
}

.why__intro-main {
  padding-top: 0;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(50px, 9vw, 150px);
  align-items: end;
}

.why__heading {
  color: var(--cream);
}

.why__manifesto {
  padding-bottom: 8px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: center;
}

.why__seal {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 22px;
  font-weight: 300;
}

.why__manifesto p {
  margin: 0;
  color: rgba(244, 234, 220, 0.64);
  font-size: 13px;
  line-height: 1.8;
}

.why__principles {
  margin-top: clamp(22px, 2.2vw, 32px);
  gap: 12px;
  border: 0;
}

.why-card,
.why-card:nth-child(1),
.why-card:nth-child(2),
.why-card:nth-child(3),
.why-card:nth-child(4) {
  min-height: 0;
  aspect-ratio: 2 / 3;
  padding: 0;
  display: block;
  border: 0;
  background: var(--burgundy-deep);
  background-image: none;
  color: var(--ink);
  transform: translateY(0);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), background-color 260ms ease;
}

.why-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 34% 0 0;
  display: block;
  background: linear-gradient(180deg, transparent 0%, rgba(57, 11, 22, 0.48) 38%, rgba(57, 11, 22, 0.96) 100%);
  pointer-events: none;
  transition: none;
}

.why-card:hover::before {
  background: linear-gradient(180deg, transparent 0%, rgba(57, 11, 22, 0.42) 34%, rgba(57, 11, 22, 0.98) 100%);
}

.why-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
  transform: scale(1);
  transition: filter 320ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card:nth-child(1) .why-card__image,
.why-card:nth-child(2) .why-card__image,
.why-card:nth-child(3) .why-card__image,
.why-card:nth-child(4) .why-card__image,
.why-card .why-card__image {
  object-position: center center;
}

.why-card:hover .why-card__image {
  filter: saturate(1) contrast(1.03);
}

.why-card__top {
  position: absolute;
  z-index: 2;
  top: 0;
  inset-inline: 0;
  height: auto;
  padding: 20px;
  align-items: flex-start;
  pointer-events: none;
}

.why-card__top span {
  top: 18px;
  inset-inline-start: 18px;
  z-index: 1;
  color: rgba(244, 234, 220, 0.78);
  font-size: clamp(62px, 5vw, 82px);
  font-weight: 700;
}

.why-card__top svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(244, 234, 220, 0.65);
  background: rgba(57, 11, 22, 0.72);
  stroke: var(--cream);
  transition: background-color 260ms ease, border-color 260ms ease, stroke 260ms ease, transform 320ms ease;
}

.why-card__content {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  padding: 30px 26px;
  transform: translateY(0);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card__title {
  margin: 0 0 12px;
  color: var(--cream);
  font-size: clamp(19px, 1.55vw, 23px);
  transition: color 260ms ease, transform 320ms ease;
}

.why-card p {
  margin: 0;
  padding: 0;
  color: rgba(244, 234, 220, 0.7);
  transition: color 260ms ease;
}

@media (hover: hover) {
  .why-card:hover {
    z-index: 2;
    background: var(--burgundy-deep);
    transform: translateY(-8px);
  }

  .why-card:hover::after {
    transform: scaleX(1);
  }

  .why-card:hover .why-card__image {
    filter: saturate(1.04) contrast(1.04);
    transform: scale(1.035);
  }

  .why-card:hover .why-card__top svg {
    border-color: var(--gold);
    background: var(--gold);
    stroke: var(--burgundy-deep);
    transform: rotate(-4deg);
  }

  .why-card:hover .why-card__title {
    color: var(--gold);
    transform: translateX(3px);
  }

  .why-card:hover p {
    color: rgba(244, 234, 220, 0.88);
  }

  .why-card:hover .why-card__content {
    transform: translateY(-5px);
  }
}

.why__proof {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 234, 220, 0.2);
}

.why__proof strong {
  color: var(--gold);
}

.why__proof p span {
  color: rgba(244, 234, 220, 0.52);
}

.why__proof > a {
  border-color: var(--gold);
  color: var(--cream);
}

.why__proof > a:hover,
.why__proof > a:focus-visible {
  background: var(--gold);
  color: var(--burgundy-deep);
}

@media (max-width: 1000px) {
  .why__intro-main { grid-template-columns: 1fr; gap: 26px; }
  .why__manifesto { max-width: 620px; }
  .why-card, .why-card:nth-child(1), .why-card:nth-child(2), .why-card:nth-child(3), .why-card:nth-child(4) { min-height: 0; }
  .why-card__image { height: 100%; }
  .why-card__top { height: auto; }
}

@media (max-width: 560px) {
  .why__intro-top { align-items: flex-start; gap: 14px; }
  .why__index { max-width: 130px; text-align: end; line-height: 1.6; }
  .why__manifesto { grid-template-columns: 48px 1fr; gap: 16px; }
  .why__seal { width: 48px; height: 48px; font-size: 18px; }
  .why__manifesto p { font-size: 12px; }
  .why-card, .why-card:nth-child(1), .why-card:nth-child(2), .why-card:nth-child(3), .why-card:nth-child(4) { min-height: 0; }
  .why-card__image { height: 100%; }
  .why-card__top { height: auto; }
  .why-card__title { margin-top: 0; }
}
