/* Splash Publication · Education Consultants */
:root {
  color-scheme: light;
  --navy: #0f2137;
  --ink: #1d2b3a;
  --muted: #4b5a6b;
  --teal: #0e7490;
  --teal-dark: #0b5d73;
  --teal-bright: #0891b2;
  --mist: #ecfeff;
  --sand: #f6f8fa;
  --line: #e1e7ee;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 33, 55, 0.06), 0 8px 24px rgba(15, 33, 55, 0.06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.32rem; color: var(--navy); }
.brand-tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--sand); color: var(--navy); }
.nav a.cta { background: var(--teal); color: #fff; margin-left: 6px; }
.nav a.cta:hover { background: var(--teal-dark); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 1rem; border: 2px solid transparent; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--mist) 0%, #ffffff 100%); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; flex: none; }

.consult-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
.consult-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.price { font-family: var(--serif); font-size: 2.2rem; color: var(--navy); font-weight: 700; margin: 14px 0 0; }
.price small { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.consult-card ul { padding-left: 1.1em; color: var(--muted); margin: 14px 0 20px; }
.consult-card .btn { width: 100%; }
.fine { font-size: 0.86rem; color: var(--muted); }

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: var(--sand); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; }

.fee-card { display: flex; flex-direction: column; }
.fee-card .price { font-size: 1.8rem; margin: 6px 0 10px; }
.fee-card p { flex: 1; }
.fee-card p.price { flex: none; }
.fee-card .btn { margin-top: 18px; align-self: flex-start; }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); background: var(--mist); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; align-self: flex-start; }
.note { margin-top: 26px; padding: 18px 20px; border-left: 4px solid var(--teal); background: #fff; border-radius: 0 10px 10px 0; color: var(--muted); font-size: 0.97rem; }
.note p:last-child { margin: 0; }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.facts li { padding: 14px 20px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; font-size: 0.96rem; }
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--muted); }

.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.contact-band { background: var(--navy); color: #dbe7f3; padding: 64px 0; }
.contact-band h2 { color: #fff; }
.contact-band a { color: #9be7f7; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 18px; }
.contact-grid h3 { color: #fff; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.contact-grid p { margin: 0; }

/* Contact page */
.contact-cards .card h3 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); }
.contact-cards .card p { color: var(--ink); font-size: 1.02rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }

/* Legal pages */
.page-hero { background: var(--sand); border-bottom: 1px solid var(--line); padding: 52px 0 40px; }
.page-hero p { color: var(--muted); margin: 0; }
.legal { max-width: 780px; padding: 48px 0 72px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.legal .callout { background: var(--mist); border-radius: 12px; padding: 16px 20px; margin: 1.4em 0; }

/* Footer */
.site-footer { background: #0b1a2c; color: #b9c7d6; padding: 56px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #d6e6f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: #7dd3e6; }
.footer-grid h3 { font-family: var(--sans); color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.legal-line { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.86rem; color: #8fa3b8; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-row { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 20px 8px; }
  .nav { width: 100%; overflow-x: auto; margin: 0; padding-bottom: 2px; scrollbar-width: none; gap: 0; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 6px 14px 6px 0; }
  .nav a:hover { background: none; color: var(--teal-dark); }
  .nav a.cta { display: none; }
  .site-header { position: static; }
  .hero { padding: 44px 0 40px; }
  .section { padding: 56px 0; }
  .grid-4, .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
