/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.cg-page {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #1a1a1a;
  background: #fff;
}

/* ── BANNER ── */
.cg-banner {
  background: #e91e8c;
  color: #fff;
  text-align: center;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ── NAV ── */
.cg-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: #fff;
  border-bottom: 1px solid #f0e0ea;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(233,30,140,.06);
}
.cg-nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.cg-nav-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}
.cg-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.cg-nav-links > li { position: relative; }
.cg-nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
  white-space: nowrap;
}
.cg-nav-links a:hover { color: #e91e8c; }
.cg-caret { font-size: 12px; }
.cg-dropdown {
  display: none;
  position: fixed;
  background: #fff;
  border: 1px solid #e8d0dc;
  border-radius: 10px;
  min-width: 220px;
  overflow: hidden;
  z-index: 99999;
  box-shadow: 0 4px 20px rgba(233,30,140,.1);
}
.cg-dropdown a {
  display: block;
  padding: 13px 20px;
  font-size: 16px;
  border-bottom: 1px solid #f5eaf0;
  color: #333;
}
.cg-dropdown a:last-child { border-bottom: none; }
.cg-dropdown a:hover { background: #fdf0f7; color: #e91e8c; }
.cg-mobile-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: #333; }

/* ── HERO ── */
.cg-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}
.cg-hero-text {
  padding: 64px 48px;
  background: linear-gradient(135deg, #fff5f9 0%, #fff 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cg-hero-text h1 {
  font-size: 34px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 22px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.cg-hero-text p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}
.cg-hero-calc {
  background: #0f1b2d;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  overflow-y: auto;
}
.cg-calc-placeholder {
  border: 2px dashed rgba(255,255,255,.2);
  border-radius: 14px;
  width: 85%;
  padding: 48px 32px;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: 15px;
}

/* ── ARTICLE CONTENT ── */
.cg-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 32px;
}
.cg-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 52px 0 16px;
  padding-top: 8px;
  border-top: 2px solid #f5d0e4;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.cg-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 36px 0 12px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.cg-content p {
  font-size: 17px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}
.cg-content ul,
.cg-content ol { padding-left: 24px; margin-bottom: 16px; }
.cg-content li { font-size: 17px; color: #444; line-height: 1.75; margin-bottom: 6px; }
.cg-content strong { color: #1a1a1a; font-weight: 600; }

/* ── FUNC BOX ── */
.cg-func-box {
  background: #fdf0f7;
  border: 1px solid #f0c8de;
  border-radius: 14px;
  padding: 24px 28px;
  margin: 24px 0;
}
.cg-func-label {
  font-size: 13px;
  font-weight: 700;
  color: #e91e8c;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 12px;
}
.cg-func-box ul { padding-left: 20px; margin: 0; }
.cg-func-box li { font-size: 17px; color: #333; line-height: 1.75; margin-bottom: 6px; }

/* ── TABLE ── */
.cg-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid #e8d5e8;
}
.cg-table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; }
.cg-table-wrap thead tr { background: #fdf0f7; }
.cg-table-wrap th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  color: #c91e80;
  border-bottom: 1px solid #e8d5e8;
}
.cg-table-wrap td {
  padding: 13px 18px;
  border-bottom: 1px solid #f0eaf4;
  color: #444;
}
.cg-table-wrap tbody tr:last-child td { border-bottom: none; }
.cg-table-wrap tbody tr:nth-child(even) { background: #fdf8fb; }

/* ── HIGHLIGHT ── */
.cg-highlight {
  background: linear-gradient(135deg, #fdf0f7, #eef5fb);
  border-left: 3px solid #e91e8c;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.cg-highlight p { margin: 0; font-size: 17px; color: #333; }
.cg-highlight strong { color: #e91e8c; }

/* ── STEPS ── */
.cg-steps {
  counter-reset: cg-s;
  padding-left: 0;
  list-style: none;
  margin: 16px 0;
}
.cg-steps li {
  counter-increment: cg-s;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f5eaf0;
  font-size: 17px;
  color: #444;
}
.cg-steps li:last-child { border-bottom: none; }
.cg-steps li::before {
  content: counter(cg-s);
  min-width: 30px;
  height: 30px;
  background: #e91e8c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── INFO CARDS ── */
.cg-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.cg-card {
  background: #fff;
  border: 1px solid #e8d5e8;
  border-radius: 14px;
  padding: 22px 20px;
}
.cg-card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e91e8c;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cg-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  margin-top: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.cg-card p { font-size: 15px; color: #666; line-height: 1.65; margin: 0; }

/* ── TRIMESTER CARDS ── */
.cg-tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}
.cg-tri-card {
  border: 1px solid #e8d5e8;
  border-radius: 14px;
  padding: 22px 18px;
}
.cg-tri-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e91e8c;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cg-tri-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.cg-tri-card ul { padding-left: 18px; margin: 0; }
.cg-tri-card li { font-size: 15px; color: #555; line-height: 1.65; margin-bottom: 4px; }

/* ── MILESTONES ── */
.cg-milestones { margin: 20px 0; }
.cg-mile-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #f0eaf4;
}
.cg-mile-row:last-child { border-bottom: none; }
.cg-mile-week { min-width: 110px; font-size: 14px; font-weight: 700; color: #e91e8c; }
.cg-mile-desc { font-size: 16px; color: #444; }

/* ── FAQ ── */
.cg-faq {
  background: linear-gradient(135deg, #fdf5f9 0%, #f0f5fb 100%);
  padding: 64px 32px;
  position: relative;
  z-index: 1;
}
.cg-faq-inner { max-width: 860px; margin: 0 auto; }
.cg-sec-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #e91e8c;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cg-faq-inner h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.cg-faq-intro { font-size: 17px; color: #666; margin-bottom: 32px; }
.cg-faq-item {
  background: #fff;
  border: 1px solid #e8d5e8;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.cg-faq-q {
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
  user-select: none;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.cg-faq-q:hover { background: #fdf0f7; }
.cg-faq-arrow {
  font-size: 18px;
  color: #e91e8c;
  transition: transform .25s;
  flex-shrink: 0;
  margin-left: 12px;
  pointer-events: none;
}
.cg-faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}
.cg-faq-a ol, .cg-faq-a ul { padding-left: 20px; margin-top: 8px; }
.cg-faq-a li { margin-bottom: 4px; }
.cg-faq-item.open .cg-faq-a { display: block; }
.cg-faq-item.open .cg-faq-arrow { transform: rotate(180deg); }

/* ── BLOG ── */
.cg-blog { padding: 64px 48px; background: #fff; }
.cg-blog-inner { max-width: 1100px; margin: 0 auto; }
.cg-blog-inner h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.cg-blog-intro { font-size: 16px; color: #666; margin-bottom: 36px; }
.cg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cg-blog-cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e91e8c;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cg-blog-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 10px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.cg-status { font-size: 14px; color: #999; }
.cg-btn-read {
  display: inline-block;
  margin-top: 18px;
  background: #e91e8c;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s;
}
.cg-btn-read:hover { background: #c91570; color: #fff; }
.cg-btn-soon { background: #aaa; opacity: 0.75; cursor: default; }
.cg-btn-soon:hover { background: #999; }

/* ── FOOTER ── */
.cg-footer {
  background: linear-gradient(135deg, #fce4f0 0%, #e8f0f8 100%);
  padding: 52px 48px 0;
}
.cg-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.cg-footer-brand p { font-size: 15px; font-weight: 700; margin-top: 14px; color: #1a1a1a; }
.cg-footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.cg-footer-col a {
  display: block;
  font-size: 16px;
  color: #555;
  text-decoration: none;
  margin-bottom: 10px;
}
.cg-footer-col a:hover { color: #e91e8c; }
.cg-footer-bottom {
  background: #c0185e;
  color: #fce4f0;
  padding: 18px 48px;
  text-align: center;
  font-size: 14px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .cg-hero { grid-template-columns: 1fr; }
  .cg-hero-text { padding: 40px 24px; }
  .cg-hero-text h1 { font-size: 26px; }
  .cg-cards,
  .cg-tri-grid,
  .cg-blog-grid { grid-template-columns: 1fr; }
  .cg-footer-grid { grid-template-columns: 1fr 1fr; }
  .cg-nav { padding: 16px 20px; }
  .cg-blog { padding: 40px 20px; }
  .cg-faq { padding: 40px 20px; }
  .cg-content { padding: 40px 20px; }
}
@media (max-width: 640px) {
  .cg-nav-links { display: none; }
  .cg-nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid #f0e0ea; gap: 16px; z-index: 999; }
  .cg-mobile-toggle { display: block; }
  .cg-footer-grid { grid-template-columns: 1fr; }
  .cg-content h2 { font-size: 22px; }
  .cg-content h3 { font-size: 18px; }
}
