/* ============================================================
   FGSC-MM — SAT Preparation page
   ============================================================ */
body.sat-page{ margin:0; background:#f8faf4; color:#1d2a21; font-family:'DM Sans', system-ui, sans-serif; }
.sat-page *, .sat-page *::before, .sat-page *::after{ box-sizing:border-box; }

body.sat-page > header.page-header{
  background:linear-gradient(135deg, #1c3d28 0%, #2d5a3d 55%, #d9a441 100%); color:#fff;
}
body.sat-page > header.page-header .header-eyebrow{ letter-spacing:0.2em; color:#6fcf87; text-transform:uppercase; }
body.sat-page > header.page-header h1{ font-family:'Cormorant Garamond', Georgia, serif; font-weight:700; }
body.sat-page > header.page-header p{ color:rgba(255,255,255,0.82); }

.sat-wrap{ width:min(1120px, 100% - 40px); margin-inline:auto; }
.sat-section{ padding:56px 0 0; }
.sat-section:last-of-type{ padding-bottom:72px; }
.sat-h2{ font-family:'Cormorant Garamond', Georgia, serif; font-size:clamp(1.9rem, 3.2vw, 2.5rem); line-height:1.05; color:#1c3d28; margin:0 0 14px; }
.sat-lede{ font-size:1.06rem; line-height:1.75; color:#36443a; margin:0 0 16px; max-width:64ch; }

/* intro: words beside the format graphic */
.sat-intro{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.05fr); gap:48px; align-items:center; }

/* ---------- graphic: the digital SAT at a glance ---------- */
.sat-fig{ margin:0; background:#fff; border:1px solid #dfe5da; border-radius:18px; padding:26px 26px 22px; box-shadow:0 18px 44px rgba(28,61,40,0.09); }
.sat-fig h3{ margin:0 0 4px; font-family:'Cormorant Garamond', Georgia, serif; font-size:1.55rem; color:#1c3d28; }
.sat-fig .src{ margin:0 0 20px; font-size:0.8rem; color:#6b7a6f; }
.sat-track{ display:flex; gap:4px; height:62px; margin-bottom:10px; }
.sat-seg{ position:relative; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:0.78rem; font-weight:600; }
.sat-seg.rw{ background:#1c3d28; }
.sat-seg.rw + .sat-seg.rw{ background:#2d5a3d; }
.sat-seg.math{ background:#b8801a; }
.sat-seg.math + .sat-seg.math{ background:#cf9a37; }
.sat-seg.brk{ background:repeating-linear-gradient(45deg, #eef2ea 0 6px, #e1e8dc 6px 12px); color:#5c6b60; }
.sat-axis{ display:flex; gap:4px; font-size:0.78rem; color:#5c6b60; margin-bottom:22px; }
.sat-axis span{ text-align:center; }
.sat-cards{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.sat-card{ border-radius:12px; padding:14px 16px; border:1px solid #dfe5da; background:#fbfcf9; }
.sat-card h4{ margin:0 0 8px; font-size:1rem; display:flex; align-items:center; gap:8px; }
.sat-card h4 i{ width:10px; height:10px; border-radius:3px; display:inline-block; }
.sat-card dl{ margin:0; display:grid; grid-template-columns:auto 1fr; gap:4px 12px; font-size:0.88rem; }
.sat-card dt{ color:#5c6b60; }
.sat-card dd{ margin:0; font-weight:600; }
.sat-score{ margin-top:14px; display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:12px; background:#1c3d28; color:#fff; }
.sat-score b{ font-family:'Cormorant Garamond', Georgia, serif; font-size:2rem; line-height:1; color:#d9a441; white-space:nowrap; }
.sat-score span{ font-size:0.88rem; line-height:1.45; color:rgba(255,255,255,0.85); }

/* ---------- what we teach ---------- */
.sat-teach{ display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:8px; }
.sat-subject{ background:#fff; border:1px solid #dfe5da; border-radius:16px; padding:26px 26px 22px; border-top:4px solid var(--c); }
.sat-subject h3{ margin:0 0 4px; font-family:'Cormorant Garamond', Georgia, serif; font-size:1.7rem; color:#1c3d28; }
.sat-subject .k{ margin:0 0 16px; color:#5c6b60; font-size:0.92rem; }
.sat-subject ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.sat-subject li{ display:grid; grid-template-columns:22px 1fr; gap:10px; font-size:0.95rem; line-height:1.5; }
.sat-subject li i{ color:var(--c); margin-top:3px; }
.sat-subject li b{ display:block; }
.sat-subject li span{ color:#5c6b60; font-size:0.88rem; }

/* ---------- not a test centre ---------- */
.sat-notice{
  display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:start;
  background:#fffaf0; border:1px solid #ecd9ae; border-left:5px solid #d9a441; border-radius:14px; padding:24px 26px;
}
.sat-notice .ic{ width:52px; height:52px; border-radius:50%; background:#f3e3bf; color:#8a5d10; display:flex; align-items:center; justify-content:center; font-size:1.3rem; }
.sat-notice h2{ margin:0 0 6px; font-family:'Cormorant Garamond', Georgia, serif; font-size:1.7rem; color:#5a3d08; }
.sat-notice p{ margin:0; line-height:1.65; color:#4a3b1c; max-width:70ch; }

.sat-steps{ list-style:none; counter-reset:s; margin:22px 0 0; padding:0; display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.sat-steps li{ counter-increment:s; background:#fff; border:1px solid #dfe5da; border-radius:14px; padding:18px 18px 16px; }
.sat-steps li::before{
  content:counter(s); display:flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%;
  background:#1c3d28; color:#fff; font-weight:700; font-size:0.9rem; margin-bottom:10px;
}
.sat-steps b{ display:block; margin-bottom:4px; }
.sat-steps span{ font-size:0.9rem; color:#5c6b60; line-height:1.5; }
.sat-link{ display:inline-flex; align-items:center; gap:8px; margin-top:18px; color:#1c3d28; font-weight:600; text-decoration:underline; text-decoration-color:#d9a441; text-underline-offset:4px; }

/* ---------- join ---------- */
.sat-join{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  background:linear-gradient(120deg, #142a1c, #1c3d28 70%); color:#fff; border-radius:18px; padding:30px 34px;
}
.sat-join h2{ margin:0 0 6px; font-family:'Cormorant Garamond', Georgia, serif; font-size:1.9rem; }
.sat-join p{ margin:0; color:rgba(255,255,255,0.8); max-width:56ch; line-height:1.6; }
.sat-join a{ display:inline-flex; align-items:center; gap:10px; background:#d9a441; color:#1d1606; text-decoration:none; font-weight:600; padding:13px 24px; border-radius:999px; }
.sat-join a:hover{ background:#e8b75a; }
.sat-join a:focus-visible, .sat-link:focus-visible{ outline:2px solid #d9a441; outline-offset:3px; }

@media (max-width:900px){
  .sat-intro{ grid-template-columns:1fr; gap:28px; }
  .sat-teach{ grid-template-columns:1fr; }
  .sat-steps{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .sat-wrap{ width:calc(100% - 32px); }
  .sat-section{ padding-top:40px; }
  .sat-fig{ padding:20px 16px 16px; }
  .sat-track{ height:52px; }
  .sat-seg{ font-size:0.68rem; }
  .sat-cards{ grid-template-columns:1fr; }
  .sat-score{ flex-direction:column; align-items:flex-start; gap:6px; }
  .sat-notice{ grid-template-columns:1fr; gap:12px; padding:20px; }
  .sat-steps{ grid-template-columns:1fr; }
  .sat-join{ padding:24px 20px; }
}

/* text-only layout: one readable column */
.sat-text-only{ display:block; max-width:780px; padding-bottom:80px; }
.sat-text-only .sat-lede{ max-width:none; }

/* ============================================================
   FOOTER (copy of footer-shared.css) so this page never depends
   on that one file being present on the server.
   ============================================================ */
footer {
  background: #142a1c; color: #c8e8c4;
  padding: 56px 40px 28px; margin: 0;
  border-top: 1px solid rgba(120, 180, 120, 0.12);
  box-sizing: border-box; width: 100%; text-align: left;
}
footer .footer-container {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; gap: 32px;
}
footer .footer-col { min-width: 0; }
footer .footer-col h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.05em;
  color: #6fcf87; margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(168, 213, 162, 0.2); display: inline-block;
}
footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
footer .footer-col ul li { margin: 9px 0; }
footer .footer-col ul li a {
  text-decoration: none; color: rgba(200, 232, 196, 0.6);
  font-size: 0.9rem; transition: color 0.25s ease;
}
footer .footer-col ul li a:hover { color: #6fcf87; }
footer .map-container iframe {
  border-radius: 12px; width: 100%; min-width: 260px; height: 200px;
  border: none; opacity: 0.9; display: block;
}
footer .social-icons { margin-top: 18px; text-align: center; }
footer .social-icons a {
  display: inline-block; margin: 0 10px; font-size: 18px;
  transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0.8;
}
footer .social-icons a:hover { transform: scale(1.2); opacity: 1; }
footer .social-icons a.facebook { color: #1877f2; }
footer .social-icons a.instagram { color: #E1306C; }
footer .footer-bottom {
  text-align: center; max-width: 1200px; margin: 34px auto 0;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1);
}
footer .meet-team-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #d9a441, #b9852f); color: #142a1c;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 13px 30px; border-radius: 50px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(217,164,65,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
footer .meet-team-btn:hover {
  background: linear-gradient(135deg, #6fcf87, #4caf7d); color: #142a1c;
  transform: translateY(-3px); box-shadow: 0 12px 28px rgba(111,207,135,0.4);
}
footer .footer-text { text-align: center; margin-top: 32px; color: rgba(168,213,162,0.45); font-size: 0.85rem; line-height: 1.8; }

/* ---------- Phones ---------- */
@media (max-width: 700px) {
  footer { padding: 40px 20px 24px; }
  footer .footer-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; justify-content: stretch;
  }
  footer .footer-col:nth-child(n+3) { grid-column: 1 / -1; }
  footer .footer-col ul li { margin: 0; }
  footer .footer-col ul li a { display: block; padding: 7px 0; font-size: 0.92rem; } /* easy to tap */
  footer .map-container iframe { min-width: 0; height: 220px; }
  footer .footer-bottom { margin-top: 28px; }
  footer .meet-team-btn { padding: 12px 24px; font-size: 0.9rem; }
}
