/* ============================================
   COLLEGEINTAKES — MAIN CSS
   Color: Fresh Professional (Green + Navy)
   ============================================ */

:root {
  --green:       #1a9a5c;
  --green-dark:  #158a4e;
  --green-pale:  #edfaf3;
  --green-mid:   #c8f0dc;
  --ink:         #0d1b2a;
  --ink-mid:     #1e3448;
  --slate:       #4a6278;
  --slate-light: #7a96a8;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --border:      #dde6ed;
  --font-sans:   'Inter', 'Helvetica Neue', sans-serif;
  --font-serif:  'Fraunces', Georgia, serif;
  --max:         1180px;
  --pad:         80px 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.6; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--ink); }
p { color: var(--slate); line-height: 1.75; max-width: 64ch; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- BUTTONS ---- */
.btn { display: inline-block; padding: 13px 28px; font-family: var(--font-sans); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.01em; border: none; cursor: pointer; transition: all 0.2s; text-decoration: none; border-radius: 4px; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(13,27,42,0.3); color: var(--ink); }
.btn-ghost:hover { background: rgba(13,27,42,0.06); border-color: rgba(13,27,42,0.6); }

/* ---- NAV ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #0f2819;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; text-decoration: none; }
.nav-logo span { color: var(--green); }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.6); transition: color 0.2s; text-decoration: none; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--green) !important; color: var(--white) !important; padding: 8px 20px; border-radius: 4px; font-size: 0.875rem !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-toggle { display: none; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px 0; border-radius: 1px; }

/* Mobile nav open */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #0f2819; padding: 16px 24px 24px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---- HERO ---- */
.hero { padding: 140px 24px 80px; background: var(--green-pale); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 55%; height: 100%; background: linear-gradient(135deg, transparent 0%, rgba(26,154,92,0.06) 50%, rgba(26,154,92,0.1) 100%); }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(26,154,92,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(26,154,92,0.07) 1px, transparent 1px); background-size: 60px 60px; }
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(26,154,92,0.12); border: 1px solid rgba(26,154,92,0.25); color: var(--green); padding: 6px 14px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 24px; }
.hero-eyebrow::before { content: '●'; font-size: 0.5rem; }
.hero h1 { font-family: var(--font-serif); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
.hero h1 em { font-style: italic; font-weight: 300; color: rgba(13,27,42,0.45); }
.hero-sub { color: var(--slate); font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px; max-width: 50ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-proof { display: flex; gap: 32px; padding-top: 32px; border-top: 1px solid rgba(26,154,92,0.2); }
.hero-proof-item span:first-child { display: block; font-family: var(--font-serif); font-size: 1.8rem; color: var(--ink); display: block; line-height: 1; margin-bottom: 4px; }
.hero-proof-item span:last-child { font-size: 0.72rem; color: var(--slate); font-weight: 500; }

/* ---- HERO CALC CARD ---- */
.hero-calc { background: var(--white); border-radius: 8px; padding: 32px; box-shadow: 0 12px 48px rgba(13,27,42,0.1); }
.hero-calc h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 6px; }
.hero-calc > p { font-size: 0.82rem; color: var(--slate-light); margin-bottom: 24px; max-width: none; }
.calc-field { margin-bottom: 16px; }
.calc-field label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; letter-spacing: 0.02em; }
.calc-field select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 4px; font-family: var(--font-sans); font-size: 0.9rem; color: var(--ink); background: var(--off-white); outline: none; -webkit-appearance: none; transition: border-color 0.2s; }
.calc-field select:focus { border-color: var(--green); background: var(--white); }
.calc-result { display: none; background: var(--green-pale); border-radius: 6px; padding: 16px; margin: 16px 0; }
.calc-result.visible { display: block; }
.calc-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-result-item span:first-child { display: block; font-size: 0.68rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.calc-result-item span:last-child { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.form-note { font-size: 0.72rem; color: var(--slate-light); text-align: center; }

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 14px 24px; }
.trust-bar-inner { max-width: var(--max); margin: 0 auto; display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--slate); font-weight: 500; }
.trust-icon { color: var(--green); font-size: 1rem; }

/* ---- WHAT SECTION ---- */
.what-section { background: var(--white); padding: var(--pad); }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: var(--max); margin: 0 auto; }
.what-content h2 { margin-bottom: 20px; }
.what-content p { margin-bottom: 16px; font-size: 1rem; }
.what-pillars { display: flex; flex-direction: column; gap: 2px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--off-white); border-left: 3px solid transparent; transition: all 0.2s; }
.pillar:hover { border-left-color: var(--green); background: var(--green-pale); }
.pillar-num { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--border); line-height: 1; flex-shrink: 0; margin-top: 2px; }
.pillar-text h4 { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.pillar-text p { font-size: 0.84rem; margin: 0; color: var(--slate); max-width: none; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 12px; }
h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px; }
h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }

/* ---- COUNTRIES ---- */
.countries-section { background: var(--off-white); padding: var(--pad); }
.countries-header { max-width: var(--max); margin: 0 auto 40px; display: flex; justify-content: space-between; align-items: flex-end; }
.countries-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.country-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 28px 24px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; transition: all 0.25s; position: relative; overflow: hidden; }
.country-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.country-card:hover { border-color: transparent; box-shadow: 0 8px 32px rgba(13,27,42,0.1); transform: translateY(-2px); }
.country-card:hover::before { transform: scaleX(1); }
.country-flag { font-size: 2rem; line-height: 1; }
.country-name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.country-tagline { font-size: 0.84rem; color: var(--slate); line-height: 1.5; flex: 1; max-width: none; }
.country-meta { display: flex; gap: 16px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--border); }
.country-meta-item span:first-child { display: block; font-size: 0.68rem; font-weight: 700; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.country-meta-item span:last-child { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.pr-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; }
.pr-strong { background: #dcfce7; color: #166534; }
.pr-moderate { background: #fef9c3; color: #854d0e; }
.pr-limited { background: #fee2e2; color: #991b1b; }

/* ---- PR TIMELINE ---- */
.pr-section { background: var(--green-pale); padding: var(--pad); }
.pr-section .section-label { color: var(--green); }
.pr-section h2 { color: var(--ink); margin-bottom: 16px; }
.pr-section > .container > p { color: var(--slate); margin-bottom: 48px; }
.pr-timeline { max-width: 760px; margin: 0 auto; position: relative; }
.pr-timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: rgba(26,154,92,0.25); }
.timeline-item { display: flex; gap: 24px; margin-bottom: 32px; position: relative; }
.timeline-dot { width: 40px; height: 40px; background: var(--white); border: 2px solid var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-serif); font-size: 0.9rem; font-weight: 700; color: var(--green); z-index: 1; }
.timeline-content h4 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; padding-top: 8px; }
.timeline-content p { font-size: 0.84rem; color: var(--slate); margin: 0; max-width: none; }
.timeline-year { font-size: 0.7rem; font-weight: 700; color: var(--green); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---- HONEST SECTION ---- */
.honest-section { background: var(--white); padding: var(--pad); }
.honest-grid { max-width: var(--max); margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.honest-card { padding: 28px; border: 1px solid var(--border); border-radius: 8px; transition: border-color 0.2s; }
.honest-card:hover { border-color: var(--green); }
.honest-card.highlight { background: var(--green); border-color: var(--green); }
.honest-card h4 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.honest-card.highlight h4 { color: var(--white); }
.honest-card p { font-size: 0.875rem; color: var(--slate); margin: 0; max-width: none; }
.honest-card.highlight p { color: rgba(255,255,255,0.8); }
.honest-icon { font-size: 1.4rem; margin-bottom: 12px; display: block; }

/* ---- LEAD FORM ---- */
.lead-section { background: var(--off-white); padding: var(--pad); }
.lead-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.lead-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 36px; }
.lead-form-wrap h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 6px; }
.lead-form-wrap > p { font-size: 0.84rem; color: var(--slate-light); margin-bottom: 24px; max-width: none; }
.ci-form { display: flex; flex-direction: column; gap: 12px; }
.ci-form input, .ci-form select { padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 4px; font-family: var(--font-sans); font-size: 0.9rem; color: var(--ink); background: var(--off-white); outline: none; -webkit-appearance: none; width: 100%; transition: border-color 0.2s; }
.ci-form input:focus, .ci-form select:focus { border-color: var(--green); background: var(--white); }
.ci-form input::placeholder { color: var(--slate-light); }
.ci-form .btn { width: 100%; text-align: center; padding: 14px; font-size: 0.95rem; border-radius: 4px; }

/* ---- FAQ ---- */
.faq-section { background: var(--white); padding: var(--pad); }
.faq-list { max-width: 720px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 4px; }
.faq-item { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.faq-q { width: 100%; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; color: var(--ink); text-align: left; gap: 16px; }
.faq-q:hover { background: var(--off-white); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--green); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 0.9rem; color: var(--slate); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ---- FOOTER ---- */
.site-footer { background: var(--ink); padding: 56px 24px 32px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.35); max-width: 28ch; line-height: 1.7; }
.footer-logo { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 12px; }
.footer-logo span { color: var(--green); }
.footer-col h5 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.84rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--green); }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); max-width: none; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-legal a:hover { color: var(--green); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-calc { display: none; }
  .what-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lead-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  :root { --pad: 56px 16px; }
  .hero { padding: 100px 16px 56px; }
  .countries-grid { grid-template-columns: 1fr; }
  .honest-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-proof { flex-wrap: wrap; gap: 20px; }
  .countries-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
