/* Hill Education Services — shared design system */
:root {
  --navy: #16305e; --navy-deep: #0e2145; --navy-ink: #0a1830;
  --green: #3a7d44; --green-deep: #2c6135; --green-soft: #eaf3ec; --green-line: #cfe3d3;
  --cream: #faf9f6; --card: #ffffff; --line: #e6e3dc;
  --ink: #22293a; --soft: #4e586e; --faint: #98a2b6; --gold: #e0a94e;
  --radius: 16px; --shadow: 0 14px 40px rgba(22,48,94,.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); line-height: 1.68; font-size: 16.5px; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Archivo', 'Inter', sans-serif; color: var(--navy); line-height: 1.12; letter-spacing: -0.015em; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.leaf-rule { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 12px 0 26px; }
.leaf-rule::before, .leaf-rule::after { content: ""; height: 1.5px; width: 72px; background: var(--green); opacity: .45; }
.leaf-rule svg { width: 18px; height: 18px; }
.leaf-rule.left { justify-content: flex-start; }
.leaf-rule.left::after { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15.5px; padding: 14px 28px; border-radius: 12px; text-decoration: none; border: none; cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, background .14s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .14s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 20px rgba(58,125,68,.35); }
.btn-green:hover { background: var(--green-deep); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 6px 20px rgba(10,24,48,.25); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-soft { background: var(--green-soft); color: var(--green-deep); border: 1px solid var(--green-line); }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 10px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 90; background: rgba(250,249,246,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site.on-dark { background: transparent; border-bottom: 1px solid rgba(255,255,255,.14); backdrop-filter: none; position: absolute; left: 0; right: 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 16px; }
.brand { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19.5px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand em { color: var(--green); font-style: normal; }
.on-dark .brand { color: #fff; }
.on-dark .brand em { color: #8fd19b; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--soft); text-decoration: none; transition: color .12s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--green-deep); }
.on-dark .nav-links a { color: rgba(255,255,255,.85); }
.on-dark .nav-links a:hover, .on-dark .nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.on-dark .nav-phone { color: #fff; }
@media (max-width: 900px) { .nav-phone { display: none; } .nav-links { gap: 16px; } .nav-links a { font-size: 14px; } }
@media (max-width: 620px) {
  .nav { flex-wrap: wrap; padding-block: 12px; gap: 10px; }
  .brand { font-size: 16px; }
  .nav-cta .btn-sm { padding: 9px 13px; font-size: 12.5px; border-radius: 9px; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 18px; padding-top: 10px; border-top: 1px solid rgba(128,128,128,.15); }
  .eyebrow-glass { font-size: 11.5px; letter-spacing: .08em; padding: 7px 14px; }
}

/* Landing hero */
.hero-photo { position: relative; min-height: 92vh; display: flex; flex-direction: column; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: url('/assets/hero3.jpg') center 32% / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(102deg, rgba(10,24,48,.86) 0%, rgba(14,33,69,.72) 38%, rgba(14,33,69,.30) 70%, rgba(10,24,48,.45) 100%); }
.hero-content { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 130px 0 90px; }
.hero-box { max-width: 640px; color: #fff; }
.eyebrow-glass { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #d7f0dc; background: rgba(58,125,68,.28); border: 1px solid rgba(143,209,155,.45); padding: 8px 18px; border-radius: 99px; backdrop-filter: blur(6px); margin-bottom: 26px; }
.hero-box h1 { color: #fff; font-size: clamp(38px, 5.6vw, 62px); font-weight: 800; margin-bottom: 20px; text-shadow: 0 2px 24px rgba(10,24,48,.35); }
.hero-box h1 em { font-style: normal; color: #8fd19b; }
.hero-box .lede { font-size: clamp(17px, 2vw, 20px); color: #dbe4f2; margin-bottom: 34px; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: #b9c9e2; }
.hero-badges { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.16); background: rgba(10,24,48,.35); backdrop-filter: blur(8px); }
.hero-badges .wrap { display: flex; flex-wrap: wrap; gap: 8px 40px; justify-content: center; padding: 16px 24px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 9px; color: #e7edf8; font-weight: 600; font-size: 14.5px; }
.hero-badges svg { width: 17px; height: 17px; flex: none; }
@media (max-width: 700px) { .hero-photo { min-height: 100vh; } .hero-content { padding-top: 150px; } }

/* Sections */
section { padding: 84px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto; }
.sec-head h2 { font-size: clamp(28px, 3.8vw, 40px); font-weight: 800; }
.sec-sub { text-align: center; color: var(--soft); max-width: 640px; margin: 0 auto; font-size: 17px; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Familiar cards */
.familiar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 20px; margin-top: 44px; }
.familiar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 3px 14px rgba(22,48,94,.05); position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.familiar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.familiar::before { content: "“"; font-family: Georgia, serif; font-size: 54px; line-height: 1; color: var(--green); opacity: .35; display: block; margin-bottom: 6px; }
.familiar p.q { font-style: italic; color: var(--ink); font-size: 16.5px; margin-bottom: 14px; }
.familiar p.a { font-weight: 800; color: var(--green-deep); font-size: 14.5px; letter-spacing: .02em; text-transform: uppercase; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 46px; }
.svc { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; text-decoration: none; display: block; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--green-line); }
.svc .ico { width: 54px; height: 54px; display: grid; place-items: center; background: var(--green-soft); border-radius: 15px; margin-bottom: 18px; }
.svc .ico svg { width: 27px; height: 27px; }
.svc h3 { font-size: 18px; margin-bottom: 10px; }
.svc p { color: var(--soft); font-size: 15px; margin-bottom: 14px; }
.svc .more { font-weight: 700; font-size: 14px; color: var(--green-deep); }
.svc ul { list-style: none; color: var(--soft); font-size: 15px; }
.svc li { padding: 4px 0 4px 26px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a7d44' stroke-width='3'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split.flip { grid-template-columns: 1.1fr 1fr; }
.split-img { position: relative; }
.split-img img { border-radius: 20px; box-shadow: 0 24px 60px rgba(22,48,94,.22); aspect-ratio: 4/4.6; object-fit: cover; width: 100%; }
.split-img.wide img { aspect-ratio: 4/3; }
.split-img .chip { position: absolute; bottom: -18px; right: -14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; box-shadow: var(--shadow); font-weight: 700; color: var(--navy); font-size: 14.5px; display: flex; gap: 10px; align-items: center; }
.split-img .chip svg { width: 20px; height: 20px; }
.split-text h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 18px; }
.split-text p { color: var(--soft); margin-bottom: 16px; }
.split-text strong { color: var(--navy); }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 22px; }
.pill-list li { background: var(--green-soft); color: var(--green-deep); border: 1px solid var(--green-line); font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 99px; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; gap: 40px; } .split-img .chip { right: 8px; } }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 44px; }
.stat { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; }
.stat b { display: block; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 30px; color: var(--green-deep); margin-bottom: 4px; }
.stat span { color: var(--soft); font-size: 14.5px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 15% 20%, rgba(58,125,68,.35) 0%, transparent 60%), radial-gradient(600px 300px at 90% 90%, rgba(143,209,155,.16) 0%, transparent 55%); }
.cta-inner { position: relative; text-align: center; padding: 84px 24px; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(28px, 3.8vw, 40px); margin-bottom: 14px; }
.cta-inner p { color: #c8d4e8; font-size: 17.5px; margin-bottom: 32px; }
.cta-inner .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-inner .fine { margin-top: 18px; color: #93a5c4; font-size: 14px; }

/* Page hero (sub-pages) */
.page-hero { position: relative; padding: 150px 0 76px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--ph-img, none) center 30% / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,24,48,.88) 0%, rgba(14,33,69,.72) 55%, rgba(14,33,69,.52) 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 12px; }
.page-hero p { color: #d5def0; font-size: 18px; max-width: 640px; }
.crumbs { position: relative; z-index: 2; font-size: 13.5px; color: #9fb0cd; margin-bottom: 18px; font-weight: 600; letter-spacing: .04em; }
.crumbs a { color: #cfe3d3; text-decoration: none; }

/* Detail blocks (services page) */
.detail { display: grid; grid-template-columns: 64px 1fr; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px; margin-bottom: 20px; box-shadow: 0 3px 14px rgba(22,48,94,.04); }
.detail .ico { width: 54px; height: 54px; display: grid; place-items: center; background: var(--green-soft); border-radius: 15px; }
.detail .ico svg { width: 27px; height: 27px; }
.detail h3 { font-size: 21px; margin-bottom: 8px; }
.detail p { color: var(--soft); margin-bottom: 10px; }
.detail .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.detail .tags span { background: var(--cream); border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 13.5px; padding: 6px 13px; border-radius: 99px; }
@media (max-width: 620px) { .detail { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 52px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .item { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 24px; }
.contact-info .ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--green-soft); border-radius: 12px; }
.contact-info .ic svg { width: 21px; height: 21px; }
.contact-info b { display: block; color: var(--navy); font-size: 15px; }
.contact-info a, .contact-info span.v { color: var(--soft); font-size: 15.5px; text-decoration: none; }
.contact-info a:hover { color: var(--green-deep); }
form.intake { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 38px 34px; box-shadow: var(--shadow); }
form.intake h3 { font-size: 22px; margin-bottom: 6px; }
form.intake .formsub { color: var(--soft); font-size: 14.5px; margin-bottom: 24px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .frow { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 17px; }
form label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
form label .opt { font-weight: 400; color: var(--faint); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 11px; padding: 13px 15px; outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(58,125,68,.14); background: #fff; }
textarea { min-height: 130px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
@media (max-width: 620px) { .checks { grid-template-columns: 1fr; } }
.checks label { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 14.5px; color: var(--ink); margin: 0; cursor: pointer; }
.checks input { accent-color: var(--green); width: 17px; height: 17px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg { display: none; margin-top: 14px; padding: 13px 16px; border-radius: 11px; font-size: 15px; font-weight: 600; }
.form-msg.ok { display: block; background: var(--green-soft); color: var(--green-deep); border: 1px solid var(--green-line); }
.form-msg.err { display: block; background: #fdf0ef; color: #b3423a; border: 1px solid #f2cfcc; }
.privacy { font-size: 13px; color: var(--faint); margin-top: 14px; }

/* Footer */
footer.site { background: var(--navy-ink); color: #aebcd6; padding: 56px 0 30px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.foot-brand { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 10px; }
.foot-brand em { color: #8fd19b; font-style: normal; }
footer.site h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
footer.site a { color: #c3cfe4; text-decoration: none; }
footer.site a:hover { color: #8fd19b; }
.foot-list { list-style: none; }
.foot-list li { padding: 4px 0; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; font-size: 13px; color: #7f90b0; }

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); animation: rise .7s ease forwards; }
  .reveal.d1 { animation-delay: .12s; } .reveal.d2 { animation-delay: .24s; } .reveal.d3 { animation-delay: .36s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
