:root {
  --page: #e9f1f8;
  --card: #ffffff;
  --panel: #f4f8fc;
  --teal: #17555e;
  --teal-deep: #103e46;
  --teal-soft: #dcebf3;
  --ink: #12242a;
  --ink-soft: #52646c;
  --line: #dfe9f1;
  --star: #f4a83d;
  --radius-lg: 24px;
  --radius-md: 16px;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif-accent: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { color: var(--ink-soft); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-tag::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
}

/* ===== Header / pill nav ===== */
header.site-header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--page);
}
.nav-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 12px 10px 26px;
  background: var(--card);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 24px rgba(16, 62, 70, 0.06);
}
@media (max-width: 1190px) { .nav-wrap { margin: 0 24px; } }
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--teal-deep); }
nav.main-nav a.nav-cta {
  background: var(--teal-deep);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
}
nav.main-nav a.nav-cta:hover { background: var(--teal); color: #fff; }
.mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 22px; position: relative;
}
.mobile-toggle span {
  display: block; width: 100%; height: 2px; background: var(--ink);
  position: absolute; left: 0;
}
.mobile-toggle span:first-child { top: 4px; }
.mobile-toggle span:last-child { bottom: 4px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--sans);
  transition: background 0.2s ease;
}
.btn-primary { background: var(--teal-deep); color: #fff; }
.btn-primary:hover { background: var(--teal); }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--teal-soft); }
.btn .arrow {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.btn-light .arrow { background: var(--teal-soft); }

/* ===== Hero (image card with overlay) ===== */
.hero { padding: 26px 0 40px; }
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
  background:
    linear-gradient(100deg, rgba(16,62,70,0.82) 0%, rgba(16,62,70,0.45) 45%, rgba(16,62,70,0.15) 100%),
    linear-gradient(160deg, #9fb9cc 0%, #6f93ad 40%, #4c7185 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}
.hero-card h1 { color: #fff; max-width: 560px; margin-bottom: 22px; }
.hero-card .hero-sub {
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 30px;
  font-size: 1.02rem;
}
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.hero-chip {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
}
.hero-note {
  position: absolute;
  right: 60px;
  bottom: 60px;
  max-width: 300px;
  font-size: 0.85rem;
  text-align: left;
}
.hero-note p { color: rgba(255,255,255,0.85); }
.hero-note .stars { color: var(--star); letter-spacing: 2px; margin-bottom: 6px; font-size: 0.95rem; }
.hero-note .rating { color: #fff; font-weight: 700; }
.photo-hint {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  border: 1px dashed rgba(255,255,255,0.35);
  padding: 6px 12px;
  border-radius: 8px;
}

/* ===== Sections ===== */
section { padding: 70px 0; }
.section-head-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 44px;
}
.section-head-split p { max-width: 46ch; }

/* ===== Split (image + text) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 1fr; }
.img-block {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #cfdfeb, #a9c3d6 60%, #8aa9bf);
  aspect-ratio: 4/3.4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #45606f;
  font-size: 0.85rem;
  text-align: center;
  padding: 18px;
  border: 1px dashed #b7cbdb;
}
.img-block.tall { aspect-ratio: 4/4.6; }

/* ===== Service cards ===== */
.service-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--line);
}
.service-card .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.service-card p { font-size: 0.9rem; margin-bottom: 14px; }
.service-card a { color: var(--teal); font-weight: 600; font-size: 0.88rem; }

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.testimonial-quote .stars { color: var(--star); letter-spacing: 3px; margin-bottom: 18px; }
.testimonial-quote blockquote {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
  line-height: 1.75;
}
.testimonial-quote .t-name { font-weight: 700; color: var(--ink); }
.testimonial-quote .t-role { font-size: 0.85rem; color: var(--ink-soft); }

/* ===== Dark contact band ===== */
.contact-band {
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-band h2 { color: #fff; }
.contact-band .band-note { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.contact-band .rating-line { font-family: var(--serif-accent); font-style: italic; font-size: 1.1rem; color: #fff; margin-bottom: 18px; }
.form-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--ink);
}
.form-card h3 { margin-bottom: 18px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { font-size: 0.8rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  background: var(--panel);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--teal-soft); }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form button {
  border: none; cursor: pointer;
  background: var(--teal-deep); color: #fff;
  padding: 15px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--sans);
}
.contact-form button:hover { background: var(--teal); }

/* ===== Articles / Journal ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.article-card { background: transparent; }
.article-card .a-img {
  border-radius: var(--radius-md);
  aspect-ratio: 16/10;
  background: linear-gradient(140deg, #d4e2ee, #b0c8da);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #45606f; font-size: 0.8rem;
  border: 1px dashed #b7cbdb;
}
.article-card .a-date {
  font-size: 0.78rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 8px;
}
.article-card h3 { font-size: 1.05rem; }
.article-card p { font-size: 0.88rem; }

/* ===== FAQ ===== */
.faq-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 0.98rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--teal); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; font-size: 0.92rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 16px;
}
.step p { font-size: 0.92rem; }

/* ===== Cards (generic, subpages) ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.card p { font-size: 0.92rem; margin-bottom: 12px; }
.card a.card-link { color: var(--teal); font-weight: 600; font-size: 0.88rem; }

/* ===== Credentials ===== */
.cred-list { list-style: none; max-width: 720px; }
.cred-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.cred-list li strong { color: var(--ink); }

/* ===== Fees ===== */
.fee-table { max-width: 720px; border-collapse: separate; border-spacing: 0 10px; width: 100%; }
.fee-table td {
  background: var(--card);
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fee-table td:first-child { border-left: 1px solid var(--line); border-radius: var(--radius-md) 0 0 var(--radius-md); color: var(--ink-soft); font-weight: 500; }
.fee-table td:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--radius-md) var(--radius-md) 0; text-align: right; font-weight: 700; color: var(--teal-deep); }

/* ===== CTA band (subpages) ===== */
.cta-band {
  background: var(--teal);
  border-radius: var(--radius-lg);
  max-width: 1140px;
  margin: 0 auto 70px;
  color: #fff;
  text-align: center;
  padding: 64px 40px;
}
@media (max-width: 1190px) { .cta-band { margin: 0 24px 70px; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 26px; }
.cta-band .btn-primary { background: #fff; color: var(--teal-deep); }
.cta-band .btn-primary:hover { background: var(--teal-soft); }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.contact-info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.contact-info p { margin-bottom: 16px; font-size: 0.95rem; }
.contact-info strong { color: var(--ink); display: block; margin-bottom: 3px; }

/* ===== Footer ===== */
footer.site-footer {
  background: var(--teal-deep);
  color: #bfd4d9;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 56px 0 28px;
}
footer.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
footer.site-footer a { color: #9fbcc2; display: block; margin-bottom: 9px; font-size: 0.9rem; }
footer.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 38px; padding-top: 20px;
  text-align: center; font-size: 0.82rem; color: #7ba0a7;
}

.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); padding: 8px 24px 24px; }
.breadcrumb a { color: var(--teal); }

/* ===== Page hero (subpages) ===== */
.page-head { padding: 30px 0 10px; }
.page-head h1 { margin-bottom: 12px; }
.page-head p { max-width: 60ch; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .split, .split.reverse, .testimonial-grid, .faq-split,
  .contact-band, .contact-grid, .section-head-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-card { padding: 84px 28px 36px; min-height: 0; }
  .hero-note { position: static; margin-top: 30px; }
  .photo-hint { top: 16px; left: 24px; right: auto; max-width: calc(100% - 48px); }
  section { padding: 48px 0; }
  .contact-band { padding: 32px 24px; }
  .form-card { padding: 24px 20px; }
  .cta-band { padding: 48px 24px; }
  .fee-table td:first-child { font-size: 0.85rem; }
  .breadcrumb { padding-top: 4px; }
  .btn { padding: 13px 22px; font-size: 0.9rem; }
  nav.main-nav {
    display: none;
    position: absolute; top: 84px; left: 24px; right: 24px;
    background: var(--card);
    border-radius: var(--radius-md);
    flex-direction: column; align-items: flex-start;
    padding: 22px; gap: 16px;
    box-shadow: 0 12px 40px rgba(16,62,70,0.14);
  }
  nav.main-nav.open { display: flex; }
  .mobile-toggle { display: block; }
  footer.site-footer .container { grid-template-columns: 1fr; gap: 26px; }
}
