/* Homepage — PTUK / SO brand */
:root {
  --so-navy: #1c1b3b;
  --so-navy-soft: #182b3a;
  --so-green: #3db166;
  --so-green-dark: #2f9a52;
  --so-text: #243447;
  --so-muted: #5f6f7c;
  --so-line: #e4e8ee;
  --so-bg: #f3f5f8;
  --so-white: #ffffff;
  --so-radius: 14px;
  --so-shadow: 0 10px 30px rgba(28, 27, 59, 0.08);
}

.so-home {
  background: var(--so-bg);
  direction: ltr;
  color: var(--so-text);
}

.so-home a {
  text-decoration: none;
}

/* Hero */
.so-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(28, 27, 59, 0.94) 0%, rgba(28, 27, 59, 0.78) 55%, rgba(61, 177, 102, 0.45) 100%),
    var(--so-navy);
}

.so-hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 177, 102, 0.35), transparent 70%);
  pointer-events: none;
}

.so-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 16px;
  color: #fff;
}

.so-hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.so-hero__title {
  margin: 0 0 12px;
  color: #fff !important;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
}

.so-hero__text {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.7;
}

/* Sections */
.so-section {
  padding: 64px 0;
}

.so-section--alt {
  background: var(--so-white);
}

.so-section__head {
  text-align: center;
  margin-bottom: 36px;
}

.so-section__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--so-green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.so-section__title {
  margin: 0;
  color: var(--so-navy) !important;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
}

.so-section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--so-green);
  border-radius: 3px;
}

.so-about-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--so-white);
  border-radius: var(--so-radius);
  box-shadow: var(--so-shadow);
  padding: 36px 40px;
}

.so-about-card h3 {
  margin: 0 0 16px;
  color: var(--so-navy) !important;
  font-size: 28px;
  text-align: center;
}

.so-about-card p,
.so-prose {
  margin: 0;
  color: var(--so-text);
  font-size: 16px;
  line-height: 1.85;
  text-align: justify;
}

.so-prose-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--so-white);
  border-radius: var(--so-radius);
  box-shadow: var(--so-shadow);
  padding: 32px 36px;
}

/* News grid */
.so-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.so-news-card {
  background: var(--so-white);
  border-radius: var(--so-radius);
  box-shadow: var(--so-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.so-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(28, 27, 59, 0.12);
}

.so-news-card__img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #dfe5ec;
}

.so-news-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.so-news-card__title {
  margin: 0 0 14px;
  color: var(--so-navy) !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.so-news-card__btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--so-navy);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.so-news-card__btn:hover {
  background: var(--so-green);
  color: #fff !important;
}

.so-news-empty {
  text-align: center;
  color: var(--so-muted);
  padding: 24px;
}

/* Contact */
.so-contact {
  background: linear-gradient(90deg, var(--so-navy), #2a294f);
  color: #fff;
  padding: 52px 0;
  text-align: center;
}

.so-contact h3 {
  margin: 0;
  color: #fff !important;
  font-size: 28px;
  letter-spacing: 0.04em;
}

@media (max-width: 991px) {
  .so-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .so-about-card,
  .so-prose-wrap {
    padding: 24px 20px;
  }
}

@media (max-width: 575px) {
  .so-news-grid {
    grid-template-columns: 1fr;
  }

  .so-hero {
    min-height: 220px;
  }

  .so-section {
    padding: 48px 0;
  }
}
