:root {
  --blue-900: #163b5c;
  --blue-700: #276891;
  --blue-100: #eaf6ff;
  --yellow-500: #ffd45a;
  --yellow-100: #fff7d7;
  --white: #ffffff;
  --ink: #1e2a32;
  --muted: #60717c;
  --line: #dbe8ef;
  --shadow: 0 18px 50px rgba(22, 59, 92, 0.14);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--blue-900);
  line-height: 1.15;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 0;
  scroll-margin-top: 92px;
}

.section-soft {
  background: linear-gradient(180deg, var(--blue-100), #f8fcff);
}

.section-blue {
  background: var(--blue-900);
  color: var(--white);
}

.section-blue h2,
.section-blue h3,
.section-blue .eyebrow {
  color: var(--white);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.section-heading p {
  color: var(--muted);
}

.section-blue .section-heading p {
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 76px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  flex: 0 0 40px;
  object-fit: cover;
  display: block;
  background: var(--white);
  border: 2px solid rgba(255, 212, 90, 0.9);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(22, 59, 92, 0.12);
}

.brand-text {
  min-width: 0;
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand-title {
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-subtitle {
  margin: 4px 0 0;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  padding: 0;
  background: var(--blue-100);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 999px;
}

.nav-menu {
  position: absolute;
  top: 76px;
  left: 1rem;
  right: 1rem;
  display: none;
  padding: 1rem;
  margin: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.nav-menu.is-open {
  display: grid;
  gap: 0.5rem;
}

.nav-menu a {
  display: block;
  padding: 0.75rem;
  color: var(--blue-900);
  font-weight: 700;
  border-radius: 12px;
}

.nav-menu a:hover {
  background: var(--blue-100);
}

/* Buttons */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  font-weight: 800;
  border-radius: 999px;
  text-align: center;
}

.btn-primary {
  color: var(--blue-900);
  background: var(--yellow-500);
}

.btn-secondary {
  color: var(--blue-900);
  background: var(--white);
  border: 1px solid var(--line);
}

.btn-light {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at top left, var(--yellow-100), transparent 36rem),
    linear-gradient(180deg, #f8fcff, var(--white));
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.hero-trust span {
  padding: 0.55rem 0.8rem;
  color: var(--blue-900);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.hero-card {
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Tentang */
.two-column,
.approach-grid,
.testimonial-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.section-copy p {
  color: var(--muted);
}

.section-intro {
  max-width: 620px;
  color: var(--muted);
}

/* Layanan */
.services-section {
  background: var(--white);
}

.service-pillar-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(22, 59, 92, 0.08);
}

.service-card h3 {
  margin-bottom: 0.55rem;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--blue-900);
  background:
    linear-gradient(135deg, var(--yellow-500), #ffe894);
  border: 1px solid rgba(22, 59, 92, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(22, 59, 92, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
}

.compact-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--blue-900);
  font-weight: 800;
}

.supported-children {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(22, 59, 92, 0.08);
}

.supported-children p {
  color: var(--muted);
}

.supported-children .note {
  margin: 1rem 0 0;
  color: var(--blue-900);
  font-weight: 800;
}

.support-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-content: start;
}

.support-chip-list span {
  padding: 0.68rem 0.88rem;
  color: var(--blue-900);
  background: var(--blue-100);
  border: 1px solid rgba(39, 104, 145, 0.14);
  border-radius: 999px;
  font-weight: 800;
}

.support-chip-list span:nth-child(2n) {
  background: var(--yellow-100);
  border-color: rgba(255, 212, 90, 0.72);
}

/* Cards */
.card-grid,
.feature-grid,
.step-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.program-card,
.feature-card,
.testimonial-card,
.contact-card,
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(22, 59, 92, 0.08);
}

.feature-card {
  padding: 1.3rem;
}

.program-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.program-card p,
.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.program-card__image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 18px 18px 0 0;
}

.program-card__content {
  flex: 1;
  padding: 1.1rem;
}

.program-badge {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 32px;
  padding: 0 0.7rem;
  margin-bottom: 0.8rem;
  color: var(--blue-900);
  background: var(--yellow-500);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.section-blue .feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.section-blue .feature-card p {
  color: rgba(255, 255, 255, 0.78);
}

/* Metode Pendampingan */
.step-card {
  padding: 1.25rem;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: var(--blue-900);
  background: var(--blue-100);
  border-radius: 14px;
  font-weight: 900;
}

.step-card p {
  color: var(--muted);
  margin-bottom: 0;
}

/* Galeri */
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(22, 59, 92, 0.08);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 0.9rem 1rem;
  color: var(--blue-900);
  font-weight: 800;
}

/* Lokasi */
.location-section {
  background:
    linear-gradient(180deg, var(--white), #f8fcff 52%, var(--white));
}

.location-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.location-photo-card,
.location-info-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(22, 59, 92, 0.1);
}

.location-photo-card {
  overflow: hidden;
}

.location-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.location-photo-card figcaption {
  padding: 0.9rem 1rem;
  color: var(--blue-900);
  font-weight: 800;
}

.location-info-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.25rem;
}

.location-detail {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.location-detail h3 {
  margin-bottom: 0.45rem;
}

.location-detail p {
  margin-bottom: 0;
  color: var(--muted);
}

.location-detail a {
  color: var(--blue-700);
  font-weight: 800;
}

.map-button {
  width: 100%;
}

/* Testimoni */
.testimonial-card {
  overflow: hidden;
}

.testimonial-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.testimonial-card blockquote {
  margin: 0;
  padding: 1.25rem 1.25rem 0.4rem;
  color: var(--blue-900);
  font-size: 1.08rem;
  font-weight: 700;
}

.testimonial-card p {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  margin: 0;
}

/* CTA Konsultasi */
.contact-section {
  background: var(--white);
}

.contact-card {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 59, 92, 0.96), rgba(39, 104, 145, 0.95)),
    var(--blue-900);
}

.contact-card h2,
.contact-card .eyebrow {
  color: var(--white);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card .contact-hours-note {
  margin-bottom: 0;
  color: var(--yellow-100);
  font-weight: 800;
}

/* Detail Kontak */
.contact-info-section {
  padding-bottom: 88px;
  background: linear-gradient(180deg, var(--blue-100), var(--white));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  min-height: auto;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(16, 57, 88, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16, 57, 88, 0.08);
}

.contact-info-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-info-card a {
  color: var(--blue-700);
  font-weight: 800;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-line span {
  color: var(--muted);
  font-weight: 700;
}

.contact-action {
  align-self: flex-start;
  margin-top: auto;
}

.contact-info-card .contact-action {
  margin-top: 1.25rem;
}

.contact-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.78);
  background: #102c45;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  color: var(--yellow-500);
  font-weight: 700;
}

@media (min-width: 680px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .card-grid,
  .feature-grid,
  .step-grid,
  .gallery-grid,
  .location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .supported-children,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1.1fr 1fr;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    flex-basis: 48px;
  }

  .program-card__image {
    height: 170px;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-menu a {
    padding: 0.6rem 0.8rem;
  }

  .hero-grid,
  .two-column,
  .approach-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .location-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  }

  .location-photo {
    height: 100%;
    min-height: 430px;
    aspect-ratio: auto;
  }

  .location-info-card {
    padding: 28px;
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-info-card {
    min-height: 220px;
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 0.9fr 1.25fr 1fr;
  }
}

@media (min-width: 1180px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
