/* ============ DESIGN PHILOSOPHY ============ */
.philosophy { position: relative; overflow: hidden; }
.philosophy::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 42,0.18), transparent 68%);
  pointer-events: none;
}
/* Darkened architectural backdrop */
.philosophy__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.philosophy__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.philosophy__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(28, 25, 23, 0.52), rgba(28, 25, 23, 0.8)),
    linear-gradient(180deg, rgba(28, 25, 23, 0.6), rgba(28, 25, 23, 0.7));
}

.philosophy__inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  text-align: center;
  margin-inline: auto;
  padding-block: clamp(20px, 5vw, 46px);
}
/* Large decorative quotation marks framing the block (top-left / bottom-right) */
.philosophy__inner::before,
.philosophy__inner::after {
  position: absolute;
  z-index: -1;
  color: var(--red);
  opacity: 0.9;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(90px, 13vw, 190px);
  line-height: 1;
  pointer-events: none;
}
.philosophy__inner::before {
  content: "\201C";
  top: -0.12em;
  left: clamp(28px, 6vw, 90px);
}
.philosophy__inner::after {
  content: "\201D";
  bottom: -0.46em;
  right: clamp(28px, 6vw, 90px);
}
.philosophy__eyebrow { color: var(--red); justify-content: center; }
.philosophy__eyebrow::before { background: var(--red); }

.philosophy__quote {
  margin-top: 34px;
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
}
/* Word-by-word reveal (spans injected by JS) */
.philosophy__quote .word {
  display: inline-block;
  opacity: 0.16;
  transition: opacity 0.5s var(--ease);
}
.philosophy__quote .word.is-lit { opacity: 1; }

.philosophy__sign {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.philosophy__line { width: 46px; height: 1px; background: var(--red); }

/* ---- Client-satisfaction pillars ---- */
.philosophy__pillars {
  margin-top: clamp(34px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
  text-align: left;
}
.philosophy__pillars li {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}
.philosophy__pillars li:hover {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}
.philosophy__pillar-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
}
.philosophy__pillars h3 {
  margin-top: 16px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}
.philosophy__pillars p {
  margin-top: 9px;
  font-size: var(--fs-small);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 860px) {
  .philosophy__pillars { grid-template-columns: 1fr; }
}
