/**
 * Homepage content below hero — matches hero “modern” glass / teal / navy vibe.
 * Scoped so other pages stay unchanged. Does not touch #hero home-hero-slider.
 */

.home-page-body--modern {
  --hp-accent: #294563;
  --hp-teal: #051c37;
  --hp-teal-soft: rgba(50, 179, 199, 0.15);
  --hp-radius: clamp(18px, 2.2vw, 26px);
  --hp-radius-sm: 14px;
  --hp-card-bg: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 252, 253, 0.88) 100%
  );
  --hp-shadow: 0 18px 48px -28px rgba(41, 69, 99, 0.28),
    0 8px 24px -16px rgba(50, 179, 199, 0.12);
  --hp-border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(
    180deg,
    #f4f9fb 0%,
    #eef4f8 38%,
    #f8fafc 100%
  );
}

/* ---- Section rhythm ---- */
.home-page-body--modern > .section {
  scroll-margin-top: 88px;
  padding-top: clamp(3.25rem, 6vw, 5rem);
  padding-bottom: clamp(3.25rem, 6vw, 5rem);
}

/* ---- Shared titles (align with polished hero typography) ---- */
.home-page-body--modern .section-title h2 {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  color: var(--hp-accent);
  background: linear-gradient(120deg, #1a3a54 0%, var(--hp-teal) 50%, var(--hp-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-page-body--modern .section-title p {
  font-size: clamp(0.98rem, 1.35vw, 1.125rem);
  color: rgba(5, 27, 54, 0.68);
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.home-page-body--modern .section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 1.25rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hp-accent), var(--hp-teal));
  opacity: 0.85;
}

/* Demo test — featured promo card */
.home-page-body--modern > #demo-test.demo-test-compact.section {
  padding-top: clamp(1rem, 2.2vw, 1.75rem) !important;
  padding-bottom: clamp(0.5rem, 1.5vw, 1rem) !important;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__container {
  max-width: 1140px;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "visual content"
    "visual cta";
  align-items: start;
  gap: 1rem 1.25rem;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  border-radius: var(--hp-radius);
  background: var(--hp-card-bg);
  border: var(--hp-border);
  box-shadow: var(--hp-shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.28s ease;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__inner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #32b3c7 0%, var(--hp-accent) 100%);
}

.home-page-body--modern #demo-test.demo-test-compact a.demo-test-compact__inner--link:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -32px rgba(41, 69, 99, 0.35),
    0 12px 32px rgba(50, 179, 199, 0.16);
}

.home-page-body--modern #demo-test.demo-test-compact a.demo-test-compact__inner--link {
  color: inherit;
}

.home-page-body--modern #demo-test.demo-test-compact a.demo-test-compact__inner--link:focus-visible {
  outline: 3px solid rgba(50, 179, 199, 0.45);
  outline-offset: 3px;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__visual {
  grid-area: visual;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.15rem;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  font-size: 1.45rem;
  color: var(--hp-accent);
  background: linear-gradient(
    135deg,
    rgba(50, 179, 199, 0.22) 0%,
    rgba(41, 69, 99, 0.1) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__badge {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hp-accent);
  background: rgba(50, 179, 199, 0.14);
  border: 1px solid rgba(50, 179, 199, 0.22);
  white-space: nowrap;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__content {
  grid-area: content;
  min-width: 0;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__text {
  text-align: left;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__text p {
  text-align: left;
  margin-bottom: 0;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__title {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  color: var(--hp-accent);
  line-height: 1.25;
  text-align: left;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__lede {
  margin: 0 0 0.85rem;
  font-size: clamp(0.86rem, 1.1vw, 0.95rem);
  line-height: 1.55;
  color: rgba(5, 27, 54, 0.74);
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__features li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(5, 27, 54, 0.78);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(41, 69, 99, 0.08);
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__features li i {
  color: #32b3c7;
  font-size: 0.9rem;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__cta {
  grid-area: cta;
  align-self: end;
  padding-left: 0;
}

@media (min-width: 768px) {
  .home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "visual content cta";
    align-items: center;
    gap: 1.25rem 1.5rem;
  }

  .home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__cta {
    align-self: center;
    padding-left: 0.25rem;
  }

  .home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__lede {
    margin-bottom: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  .home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "visual content"
      "cta cta";
  }

  .home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__cta {
    width: 100%;
    padding-top: 0.15rem;
  }

  .home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__link.service-link,
  .home-page-body--modern #demo-test.demo-test-compact span.demo-test-compact__link.service-link {
    width: 100%;
  }
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__link.service-link,
.home-page-body--modern #demo-test.demo-test-compact span.demo-test-compact__link.service-link {
  margin: 0;
  opacity: 1;
  transform: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  background: linear-gradient(180deg, #294563 0%, #172636 100%);
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(41, 69, 99, 0.2);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__link.service-link:hover,
.home-page-body--modern #demo-test.demo-test-compact a.demo-test-compact__inner--link:hover .demo-test-compact__link.service-link {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(41, 69, 99, 0.28);
}

.home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__link.service-link i {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-page-body--modern #demo-test.demo-test-compact a.demo-test-compact__inner--link:hover {
    transform: none;
  }

  .home-page-body--modern #demo-test.demo-test-compact .demo-test-compact__link.service-link:hover,
  .home-page-body--modern #demo-test.demo-test-compact a.demo-test-compact__inner--link:hover .demo-test-compact__link.service-link {
    transform: none;
  }
}

/* Featured services rows */
.home-page-body--modern .featured-services.light-background {
  background: radial-gradient(
      120% 70% at 15% 20%,
      rgba(50, 179, 199, 0.08) 0%,
      transparent 55%
    ),
    radial-gradient(
      90% 55% at 95% 60%,
      rgba(41, 69, 99, 0.06) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, rgba(246, 251, 253, 0.95) 0%, rgba(239, 247, 250, 0.98) 100%);
}

.home-page-body--modern .featured-services .service-item {
  height: auto;
  min-height: 100%;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--hp-radius);
  background: var(--hp-card-bg);
  border: var(--hp-border);
  box-shadow: var(--hp-shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.28s ease;
}

.home-page-body--modern .featured-services .service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px -32px rgba(41, 69, 99, 0.35),
    0 12px 32px rgba(50, 179, 199, 0.16);
}

.home-page-body--modern .featured-services .service-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(50, 179, 199, 0.2) 0%,
    rgba(41, 69, 99, 0.12) 100%
  );
  color: var(--hp-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.home-page-body--modern .featured-services .service-item h3 {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--hp-accent);
  letter-spacing: -0.015em;
}

.home-page-body--modern .featured-services .service-link {
  color: var(--hp-teal);
  font-weight: 600;
}

.home-page-body--modern .featured-services .service-link:hover {
  color: var(--hp-accent);
}

/* About */
.home-page-body--modern .about.section {
  background: linear-gradient(175deg, #f8fafc 0%, #eef5f8 48%, #f4fafb 100%);
}

.home-page-body--modern .about .content h2 {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--hp-accent);
  letter-spacing: -0.02em;
}

.home-page-body--modern .about .lead {
  color: rgba(5, 27, 54, 0.72);
}

.home-page-body--modern .about .stats-row .stat-item {
  padding: 1rem 1.15rem;
  border-radius: var(--hp-radius-sm);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(41, 69, 99, 0.07);
  box-shadow: 0 10px 28px rgba(41, 69, 99, 0.08);
}

.home-page-body--modern .about .stats-row .stat-number {
  color: var(--hp-teal);
  font-weight: 700;
}

.home-page-body--modern .about .stats-row .stat-label {
  color: rgba(5, 27, 54, 0.65);
}

.home-page-body--modern .about .btn-link {
  color: var(--hp-accent);
  font-weight: 600;
}

.home-page-body--modern .about .btn-link:hover {
  color: var(--hp-teal);
}

.home-page-body--modern .about .image-container {
  border-radius: var(--hp-radius);
  overflow: hidden;
  box-shadow: var(--hp-shadow);
  border: var(--hp-border);
}

.home-page-body--modern .about .image-overlay {
  backdrop-filter: blur(8px);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.35),
    rgba(41, 69, 99, 0.45)
  );
}

/* Skills — bento "skill lab" (light editorial / product UI) */
.home-page-body--modern .skills-bento.section {
  --sb-radius: clamp(18px, 2vw, 24px);
  --sb-navy: #294563;
  --sb-body: rgba(41, 69, 99, 0.78);
  --sb-muted: rgba(41, 69, 99, 0.55);
  --sb-teal: #2a96a8;
  --sb-line: rgba(41, 69, 99, 0.1);
  --sb-card: #ffffff;
  background: linear-gradient(180deg, #f9fbfc 0%, #f2f6f9 52%, #f6f9fb 100%);
  color: var(--sb-body);
  position: relative;
  overflow: hidden;
}

.home-page-body--modern .skills-bento.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      72% 48% at 8% -8%,
      rgba(50, 179, 199, 0.09) 0%,
      transparent 62%
    ),
    radial-gradient(
      62% 44% at 96% 100%,
      rgba(41, 69, 99, 0.04) 0%,
      transparent 52%
    );
  pointer-events: none;
}

.home-page-body--modern .skills-bento .container {
  position: relative;
  z-index: 1;
}

.home-page-body--modern .skills-bento__eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sb-teal);
  margin-bottom: 0.65rem;
}

.home-page-body--modern .skills-bento__title {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--sb-navy);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.home-page-body--modern .skills-bento__lede {
  margin: 1rem auto 0;
  max-width: 38rem;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.62;
  color: var(--sb-muted);
}

.home-page-body--modern .skills-bento__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.15rem);
}

.home-page-body--modern .skills-bento__card {
  border-radius: var(--sb-radius);
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  background: var(--sb-card);
  border: 1px solid var(--sb-line);
  box-shadow: 0 4px 22px rgba(41, 69, 99, 0.05), 0 1px 0 rgba(255, 255, 255, 0.92) inset;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.22s ease, box-shadow 0.28s ease;
}

.home-page-body--modern .skills-bento__card:hover {
  transform: translateY(-3px);
  border-color: rgba(50, 179, 199, 0.28);
  box-shadow: 0 14px 40px rgba(41, 69, 99, 0.09), 0 0 0 1px rgba(50, 179, 199, 0.06);
}

.home-page-body--modern .skills-bento__card--listening {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  background: linear-gradient(
      165deg,
      rgba(239, 250, 252, 0.95) 0%,
      #ffffff 45%,
      #ffffff 100%
    );
  border-color: rgba(50, 179, 199, 0.16);
  box-shadow: 0 6px 28px rgba(41, 69, 99, 0.06),
    0 0 0 1px rgba(50, 179, 199, 0.07);
}

.home-page-body--modern .skills-bento__card--listening:hover {
  border-color: rgba(50, 179, 199, 0.32);
}

.home-page-body--modern .skills-bento__card--reading {
  grid-column: 4 / 7;
  grid-row: 1 / 2;
}

.home-page-body--modern .skills-bento__card--writing {
  grid-column: 4 / 7;
  grid-row: 2 / 3;
}

.home-page-body--modern .skills-bento__card--speaking {
  grid-column: 1 / 7;
  grid-row: 3 / 4;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .home-page-body--modern .skills-bento__card--speaking {
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 1.25rem;
  }
}

.home-page-body--modern .skills-bento__card--time {
  grid-column: 1 / 4;
  grid-row: 4 / 5;
}

.home-page-body--modern .skills-bento__card--score {
  grid-column: 4 / 7;
  grid-row: 4 / 5;
}

.home-page-body--modern .skills-bento__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.home-page-body--modern .skills-bento__pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: #eef2f5;
  color: var(--sb-navy);
  border: 1px solid rgba(41, 69, 99, 0.07);
}

.home-page-body--modern .skills-bento__pill--accent {
  background: rgba(50, 179, 199, 0.12);
  color: #246b78;
  border-color: rgba(50, 179, 199, 0.2);
}

.home-page-body--modern .skills-bento__ico {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(
    155deg,
    rgba(239, 248, 251, 0.95),
    rgba(234, 242, 247, 0.85)
  );
  color: var(--sb-teal);
  border: 1px solid rgba(41, 69, 99, 0.08);
}

.home-page-body--modern .skills-bento__card--listening .skills-bento__ico {
  width: 50px;
  height: 50px;
  font-size: 1.35rem;
}

.home-page-body--modern .skills-bento__card-title {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
  font-weight: 700;
  color: var(--sb-navy);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.home-page-body--modern .skills-bento__card-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--sb-body);
}

.home-page-body--modern .skills-bento__card--listening .skills-bento__card-text {
  font-size: clamp(0.9rem, 1.15vw, 0.98rem);
  color: var(--sb-muted);
}

.home-page-body--modern .skills-bento__footer .skills-bento__panel {
  height: 100%;
  border-radius: var(--sb-radius);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  border: 1px solid var(--sb-line);
  background: var(--sb-card);
  box-shadow: 0 4px 24px rgba(41, 69, 99, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.94) inset;
}

.home-page-body--modern .skills-bento__panel-title {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--sb-navy);
  margin-bottom: 0.5rem;
}

.home-page-body--modern .skills-bento__panel-lede {
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--sb-muted);
  margin-bottom: 1.05rem;
}

.home-page-body--modern .skills-bento__steps li {

  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.52rem 0;
  border-bottom: 1px solid rgba(41, 69, 99, 0.07);
  font-size: 0.91rem;
  color: var(--sb-body);
}

.home-page-body--modern .skills-bento__steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-page-body--modern .skills-bento__steps li i {
  color: var(--sb-teal);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.06rem;
}

.home-page-body--modern .skills-bento__tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-page-body--modern .skills-bento__tag-cloud span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: #f4f7f9;
  color: var(--sb-navy);
  border: 1px solid rgba(41, 69, 99, 0.08);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-page-body--modern .skills-bento__tag-cloud span:hover {
  background: rgba(50, 179, 199, 0.1);
  border-color: rgba(50, 179, 199, 0.22);
  color: #1f4d57;
}

@media (max-width: 991px) {
  .home-page-body--modern .skills-bento__grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-page-body--modern .skills-bento__card--listening,
  .home-page-body--modern .skills-bento__card--reading,
  .home-page-body--modern .skills-bento__card--writing,
  .home-page-body--modern .skills-bento__card--speaking,
  .home-page-body--modern .skills-bento__card--time,
  .home-page-body--modern .skills-bento__card--score {
    grid-column: auto;
    grid-row: auto;
  }

  .home-page-body--modern .skills-bento__card--listening {
    grid-column: 1 / -1;
  }

  .home-page-body--modern .skills-bento__card--speaking {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .home-page-body--modern .skills-bento__grid {
    grid-template-columns: 1fr;
  }
}
/* Stats */
.home-page-body--modern .stats.section {
  background: linear-gradient(
    165deg,
    rgba(239, 247, 250, 0.98) 0%,
    rgba(251, 253, 254, 1) 100%
  );
}

.home-page-body--modern .stats .section-headline {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--hp-accent);
  letter-spacing: -0.02em;
}

.home-page-body--modern .stats .section-description {
  color: rgba(5, 27, 54, 0.68);
  font-size: 1.05rem;
  line-height: 1.6;
}

.home-page-body--modern .stats .stats-container .stat-item {
  border-radius: var(--hp-radius);
  background: var(--hp-card-bg);
  border: var(--hp-border);
  box-shadow: var(--hp-shadow);
  backdrop-filter: blur(10px);
}

.home-page-body--modern .stats .stats-container .stat-number {
  color: var(--hp-teal);
  font-weight: 700;
}

.home-page-body--modern .stats .achievement-badge {
  border-radius: var(--hp-radius);
  background: linear-gradient(
    135deg,
    rgba(50, 179, 199, 0.18) 0%,
    rgba(41, 69, 99, 0.1) 100%
  );
  border: var(--hp-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--hp-shadow);
  padding: 1.75rem;
}

.home-page-body--modern .stats .achievement-badge .badge-title {
  color: var(--hp-accent);
  font-weight: 700;
}

/* Services grid (second service block) */
.home-page-body--modern .services.section .service-item {
  border-radius: var(--hp-radius);
  background: var(--hp-card-bg);
  border: var(--hp-border);
  box-shadow: var(--hp-shadow);
  backdrop-filter: blur(12px);
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.home-page-body--modern .services.section .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px -30px rgba(41, 69, 99, 0.34);
}

.home-page-body--modern .services.section .service-icon {
  background: linear-gradient(
    135deg,
    rgba(50, 179, 199, 0.2),
    rgba(41, 69, 99, 0.1)
  );
  border-radius: 14px;
  color: var(--hp-accent);
}

.home-page-body--modern .services.section .service-item h3 {
  font-weight: 700;
  color: var(--hp-accent);
}

.home-page-body--modern .services.section .service-link {
  color: var(--hp-teal);
  font-weight: 600;
}

/* Testimonials — modern Swiper + editorial cards */
.home-page-body--modern #testimonials.testimonials--modern.light-background {
  background: radial-gradient(
      100% 48% at 50% 0%,
      rgba(50, 179, 199, 0.09),
      transparent 55%
    ),
    linear-gradient(180deg, #f2f8fb 0%, #ebf3f7 45%, #f6fafb 100%);
}

.home-page-body--modern #testimonials.testimonials--modern > .container.section-title {
  padding-bottom: clamp(1rem, 3vw, 1.75rem);
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-slider.testimonials-swiper {
  position: relative;
  padding: 0 0 1.5rem;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper .swiper-wrapper {
  align-items: stretch;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  height: auto;
  box-sizing: border-box;
  padding: 4px 0.75rem 12px;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper .swiper-slide .testimonial-item {
  margin-inline: auto;
  height: auto;
  min-height: 0;
  width: 100%;
  max-width: 42rem;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-item {
  position: relative;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.1rem;
  border-radius: clamp(16px, 2vw, 20px);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(248, 252, 253, 0.94) 100%
  );
  border: 1px solid rgba(41, 69, 99, 0.09);
  box-shadow: 0 14px 36px -22px rgba(41, 69, 99, 0.35),
    0 4px 14px -8px rgba(50, 179, 199, 0.15);
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-item::before {
  display: none;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-item::after {
  content: "\201D";
  position: absolute;
  top: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(2.75rem, 7vw, 3.75rem);
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(50, 179, 199, 0.12);
  pointer-events: none;
}

.home-page-body--modern #testimonials.testimonials--modern .swiper-slide-active .testimonial-item {
  border-color: rgba(50, 179, 199, 0.22);
  box-shadow: 0 20px 44px -26px rgba(41, 69, 99, 0.4),
    0 8px 22px -12px rgba(50, 179, 199, 0.22);
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-item:hover {
  transform: translateY(-3px);
  border-color: rgba(50, 179, 199, 0.28);
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  background: none;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-header__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-header img,
.home-page-body--modern #testimonials.testimonials--modern .testimonial-header .testimonial-avatar-fallback {
  width: 52px;
  height: 52px;
  margin: 0;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(50, 179, 199, 0.28);
  box-shadow: 0 6px 18px rgba(41, 69, 99, 0.12);
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-header .rating {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-header .rating i {
  font-size: 0.8rem;
  color: #f0a020;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06));
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  padding: 0.95rem 0.25rem 0;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-body p {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.62;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  color: rgba(5, 27, 54, 0.78);
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-body p::before {
  content: none;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-body p::after {
  content: none;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 0.95rem;
  text-align: center;
  border-top: 1px solid rgba(41, 69, 99, 0.07);
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-footer h5 {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem;
  color: var(--hp-accent);
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-footer span {
  display: block;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(5, 27, 54, 0.48);
}

.home-page-body--modern #testimonials.testimonials--modern .testimonial-footer .quote-icon {
  display: none;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  margin-top: 0.75rem;
  padding-top: 0.35rem;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__prev,
.home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__next {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  margin: 0 !important;
  inset: unset !important;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--hp-accent);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98),
    rgba(241, 248, 250, 0.92)
  );
  border: 1px solid rgba(41, 69, 99, 0.1);
  box-shadow: 0 10px 24px rgba(41, 69, 99, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__prev:hover,
.home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__next:hover {
  transform: translateY(-2px);
  color: #fff !important;
  background: linear-gradient(145deg, #294563, #173145);
  border-color: rgba(41, 69, 99, 0.35);
  box-shadow: 0 14px 28px rgba(41, 69, 99, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__prev::after,
.home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__next::after {
  font-size: 0.88rem !important;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .home-page-body--modern #testimonials.testimonials--modern .testimonial-item,
  .home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__prev,
  .home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__next {
    transition-duration: 0.01ms;
  }

  .home-page-body--modern #testimonials.testimonials--modern .testimonial-item:hover {
    transform: none;
  }

  .home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__prev:hover,
  .home-page-body--modern #testimonials.testimonials--modern .testimonials-swiper__next:hover {
    transform: none;
  }
}

/* AOS scroll reveals on homepage — fallback if motion is reduced */
@media (prefers-reduced-motion: reduce) {
  .home-page-body--modern [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
  }
}

/* Pricing */
.home-page-body--modern .pricing.section .price-card {
  border-radius: var(--hp-radius);
  background: var(--hp-card-bg);
  border: var(--hp-border);
  box-shadow: var(--hp-shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-page-body--modern .pricing.section .price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -32px rgba(41, 69, 99, 0.35);
}

.home-page-body--modern .pricing.section .price-card.featured {
  border-color: rgba(50, 179, 199, 0.45);
  box-shadow: 0 24px 56px -28px rgba(50, 179, 199, 0.35),
    var(--hp-shadow);
}

.home-page-body--modern .pricing.section .price-card .title {
  color: var(--hp-accent);
  font-weight: 700;
}

.home-page-body--modern .pricing.section .btn-choose {
  border-radius: 999px;
  font-weight: 600;
}

/* FAQ — compact accordion (no index numbers; overrides main.css padded layout) */
.home-page-body--modern .faq.light-background {
  background: linear-gradient(
    180deg,
    rgba(248, 252, 253, 0.98),
    rgba(237, 245, 248, 0.95)
  );
}

.home-page-body--modern > #faq.faq.section {
  padding-top: clamp(1.75rem, 3.2vw, 2.65rem);
  padding-bottom: clamp(1.75rem, 3.2vw, 2.65rem);
}

.home-page-body--modern #faq .section-title {
  padding-bottom: 1rem;
}

.home-page-body--modern #faq .faq-wrapper {
  margin: 0;
  padding: 0;
}

.home-page-body--modern .faq .faq-item {
  border-radius: var(--hp-radius-sm);
  background: var(--hp-card-bg);
  border: var(--hp-border);
  border-bottom: none;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 14px rgba(41, 69, 99, 0.05);
  backdrop-filter: blur(8px);
}

.home-page-body--modern #faq .faq-item:last-child {
  margin-bottom: 0;
}

.home-page-body--modern #faq .faq-item .faq-header {
  align-items: center;
  padding: 0.65rem 0.85rem;
  gap: 0.5rem;
}

.home-page-body--modern #faq .faq-item.faq-active .faq-header h4,
.home-page-body--modern #faq .faq-header h4 {
  color: var(--hp-accent);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin-right: 0.35rem;
}

.home-page-body--modern #faq .faq-item .faq-content .content-inner {
  padding: 0 0.85rem 0.65rem 0.85rem;
}

.home-page-body--modern #faq .faq-item .faq-content .content-inner p {
  font-size: 0.875rem;
  line-height: 1.55;
  font-weight: 400;
}

@media (max-width: 768px) {
  .home-page-body--modern #faq .faq-item .faq-header {
    padding: 0.55rem 0.7rem;
  }

  .home-page-body--modern #faq .faq-item .faq-header h4 {
    font-size: 0.93rem;
  }

  .home-page-body--modern #faq .faq-item .faq-content .content-inner {
    padding: 0 0.7rem 0.55rem 0.7rem;
  }

  .home-page-body--modern #faq .faq-item .faq-content .content-inner p {
    font-size: 0.82rem;
  }
}

@media (max-width: 576px) {
  .home-page-body--modern #faq .faq-item .faq-header {
    padding: 0.5rem 0.6rem;
  }

  .home-page-body--modern #faq .faq-item .faq-content .content-inner {
    padding: 0 0.6rem 0.5rem 0.6rem;
  }
}

/* Contact */
.home-page-body--modern .contact.section .contact-section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(50, 179, 199, 0.12);
  color: var(--hp-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-page-body--modern .contact.section .contact-form-container {
  border-radius: var(--hp-radius);
  background: var(--hp-card-bg);
  border: var(--hp-border);
  box-shadow: var(--hp-shadow);
  backdrop-filter: blur(16px);
  padding: 1.75rem;
}

.home-page-body--modern .contact.section .contact-sidebar {
  border-radius: var(--hp-radius);
  background: linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.92),
      rgba(234, 246, 249, 0.82)
    );
  border: var(--hp-border);
  box-shadow: var(--hp-shadow);
  backdrop-filter: blur(14px);
  padding: 1.75rem;
}

.home-page-body--modern .contact.section .form-intro {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.home-page-body--modern .contact.section .form-intro__icon {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(50, 179, 199, 0.14);
  color: var(--hp-accent);
  font-size: 1.35rem;
}

.home-page-body--modern .contact.section .form-intro h2 {
  font-weight: 700;
  color: var(--hp-accent);
  margin-bottom: 0.35rem;
}

.home-page-body--modern .contact.section .form-intro p {
  margin-bottom: 0;
  color: #5b6775;
}

.home-page-body--modern .contact.section .contact-method {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  border-radius: var(--hp-radius-sm);
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(41, 69, 99, 0.08);
}

.home-page-body--modern .contact.section .contact-icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(50, 179, 199, 0.15);
  color: var(--hp-accent);
}

.home-page-body--modern .contact.section .contact-details .method-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #6c7a89;
  margin-bottom: 0.2rem;
}

.home-page-body--modern .contact.section .contact-details p {
  margin-bottom: 0;
  color: #243746;
  line-height: 1.5;
}

.home-page-body--modern .contact.section .contact-details a {
  color: var(--hp-accent);
  font-weight: 600;
  text-decoration: none;
}

.home-page-body--modern .contact.section .contact-details a:hover {
  text-decoration: underline;
}

.home-page-body--modern .contact.section .contact-sidebar-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: var(--hp-radius-sm);
  background: rgba(50, 179, 199, 0.1);
  color: #355066;
  font-size: 0.92rem;
  line-height: 1.5;
}

.home-page-body--modern .contact.section .contact-sidebar-note i {
  color: var(--hp-accent);
  margin-top: 0.15rem;
}

.home-page-body--modern .contact.section .contact-header h3 {
  font-weight: 700;
  color: var(--hp-accent);
}

.home-page-body--modern .contact.section .contact-form-feedback .loading,
.home-page-body--modern .contact.section .contact-form-feedback .error-message,
.home-page-body--modern .contact.section .contact-form-feedback .sent-message {
  display: none;
  border-radius: var(--hp-radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.home-page-body--modern .contact.section .contact-form-feedback .loading {
  background: rgba(41, 69, 99, 0.08);
  color: #355066;
}

.home-page-body--modern .contact.section .contact-form-feedback .error-message {
  background: rgba(220, 53, 69, 0.1);
  color: #b02a37;
}

.home-page-body--modern .contact.section .contact-form-feedback .sent-message {
  background: rgba(25, 135, 84, 0.12);
  color: #146c43;
}

.home-page-body--modern .contact.section .send-button {
  border-radius: 999px;
  background: #c90e1b;
  border: none;
  color: #fff;
  box-shadow: 0 12px 28px rgba(201, 14, 27, 0.28);
  padding: 0.85rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-page-body--modern .contact.section .send-button:hover {
  background: #b00d18;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(201, 14, 27, 0.32);
}

.home-page-body--modern .contact.section .form-input:focus {
  border-color: rgba(50, 179, 199, 0.55);
  box-shadow: 0 0 0 4px rgba(50, 179, 199, 0.12);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .home-page-body--modern .featured-services .service-item,
  .home-page-body--modern .skills-bento__card,
  .home-page-body--modern .services.section .service-item,
  .home-page-body--modern .pricing.section .price-card {
    transition: none;
  }

  .home-page-body--modern .featured-services .service-item:hover,
  .home-page-body--modern .skills-bento__card:hover,
  .home-page-body--modern .services.section .service-item:hover,
  .home-page-body--modern .pricing.section .price-card:hover {
    transform: none;
  }
}
