.thaaraf-page {
  background: #f6fafc;
  color: #153d57;
}

.thaaraf-hero {
  min-height: 560px;
  border-bottom: 4px solid #76bddb;
}

.thaaraf-hero-media::after {
  background: linear-gradient(90deg, #05345020, #05345066 48%, #053450bb), linear-gradient(0deg, #05345080, transparent 70%);
}

.thaaraf-hero::after {
  display: none;
}

.thaaraf-hero-inner {
  padding: 170px 0 88px;
}

.thaaraf-kicker {
  padding: 6px 16px;
  border: 1px solid #ffffff50;
  border-radius: 999px;
  background: #ffffff14;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.8;
}

.thaaraf-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ce6e0;
}

.thaaraf-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.4;
  text-shadow: 0 3px 18px #003b6030;
}

.thaaraf-hero-lead {
  margin-top: 18px;
  max-width: 680px;
}

.thaaraf-main {
  padding: 64px 0 88px;
  background-image: linear-gradient(#fffffff7, #fffffff7), url("body-contours.svg?v=2");
  background-size: auto, 640px 480px;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 56px;
}

.section-label {
  color: #08798c;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.8;
}

.intro-copy h2,
.section-title {
  color: #153d57;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.5;
}

.fact-panel {
  margin: 0;
  padding: 28px;
  border-color: #dfedf3;
  border-radius: 20px;
  box-shadow: 0 8px 28px #064b920a;
}

.fact-panel::before {
  inset: 28px 0 auto auto;
  width: 4px;
  height: 38px;
  border-radius: 4px;
  background: linear-gradient(#0066cc, #00a6b5);
}

.fact-panel h2 {
  color: #153d57;
  padding-inline-start: 0;
  line-height: 1.6;
}

.fact-icon {
  color: #007f9a;
  background: linear-gradient(135deg, #eaf7fc, #e1f7f2);
}

.fact dd {
  color: #153d57;
  font-weight: 500;
}

.values-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 72px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 24px;
  background: linear-gradient(115deg, #064b92, #087fba 58%, #009b9d);
  box-shadow: 0 16px 42px #064b9218;
}

.values-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("body-contours.svg?v=2") center / 640px 480px repeat;
  opacity: 0.14;
  pointer-events: none;
}

.value-grid {
  gap: 20px;
}

.value-card {
  padding: 26px;
  border-color: #ffffff40;
  border-radius: 18px;
  background: #ffffff12;
}

.value-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 1px solid #ffffff30;
  border-radius: 12px;
  color: #fff;
  background: #ffffff14;
  font-size: 0.85rem;
}

.value-card h3 {
  line-height: 1.6;
}

.value-card p,
.values-heading > p {
  color: #e2f2fa;
}

.story-section {
  margin-top: 80px;
  gap: 56px;
}

.story-image img {
  min-height: 400px;
  border-radius: 22px;
  box-shadow: 0 12px 36px #064b9218;
}

.story-seal {
  inset-inline-end: 18px;
  inset-inline-start: auto;
  background: linear-gradient(135deg, #0066cc, #008d9e);
  border-color: #fff;
}

.story-seal strong {
  font-family: "DAM Kathivalhi", Faruma, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.5;
}

.contact-strip {
  margin-top: 88px;
  border: 1px solid #d9eaf1;
  border-radius: 20px;
  box-shadow: 0 8px 28px #064b920a;
}

.contact-strip h2 {
  color: #153d57;
  line-height: 1.6;
}

.contact-actions {
  flex-wrap: wrap;
}

.contact-action {
  border-radius: 12px;
  background: linear-gradient(110deg, #0066cc, #008d9e);
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.contact-action.secondary {
  border: 1px solid #c8e4ef;
  color: #0066cc;
  background: #edf8fc;
}

.contact-action:hover {
  filter: brightness(0.95);
}

@media (max-width: 850px) {
  .intro-grid,
  .story-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .thaaraf-hero {
    min-height: 480px;
  }

  .thaaraf-main {
    padding-top: 42px;
  }
}

@media (max-width: 620px) {
  .thaaraf-hero-inner {
    padding: 140px 0 56px;
  }

  .thaaraf-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .values-section {
    margin: 48px 0 0;
    padding: 28px 20px;
  }

  .story-section,
  .contact-strip {
    margin-top: 56px;
  }

  .story-image img {
    min-height: 300px;
  }

  .contact-actions {
    display: grid;
  }

  .contact-action {
    min-width: 0;
    text-align: center;
  }
}
