/* ===========================================================
   Our Home — shared styles
   Palette sampled from the brand logo (teal/blue roof, green
   "Home" script, gold sun/window accents).
=========================================================== */

:root {
  --teal: #0e7c93;
  --teal-dark: #0a5c6e;
  --blue: #1868a8;
  --navy: #0b3550;
  --green: #4b8f2a;
  --green-dark: #396c20;
  --gold: #f0b429;
  --gold-dark: #c98e14;

  --cream: #f8f6ef;
  --paper: #ffffff;
  --ink: #20242a;
  --muted: #5c6570;
  --line: #e3ded0;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 53, 80, 0.08);
  --shadow-sm: 0 4px 14px rgba(11, 53, 80, 0.07);

  --container: 1120px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0 0 12px;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: 2.6rem; font-weight: 700; }
h2 { font-size: 1.9rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 16px; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(75, 143, 42, 0.3);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(240, 180, 41, 0.35);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}
.btn-outline-dark:hover { background: var(--cream); }

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand:hover { text-decoration: none; }

.brand img { height: 46px; width: auto; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text .full-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.brand-text .sub {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { text-decoration: none; color: var(--teal); }
.main-nav a[aria-current="page"] {
  color: var(--teal-dark);
  border-bottom-color: var(--gold);
  font-weight: 600;
}
.main-nav .nav-cta {
  background: var(--green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  border-bottom: none;
  font-weight: 600;
}
.main-nav .nav-cta:hover { background: var(--green-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* ---------------- Notice banner (preview / coming soon) ---------------- */
.notice-banner {
  background: #fdf3da;
  border-bottom: 1px solid #eeddac;
}
.notice-banner .container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 0.92rem;
  color: #6b5518;
}
.notice-banner .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-dark);
  flex-shrink: 0;
}

/* ---------------- Hero ---------------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 55%, var(--teal) 100%);
  color: #fff;
  padding: 84px 0 96px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero h1 { color: #fff; font-size: 2.9rem; }
.hero p.lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-art {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img { max-height: 260px; width: auto; }

/* small page hero used on inner pages */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: #fff;
  padding: 56px 0 60px;
}
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.page-hero .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.page-hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: 8px; }
.page-hero p { color: rgba(255, 255, 255, 0.85); max-width: 62ch; margin-bottom: 0; }

/* ---------------- Sections ---------------- */
.section { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-header { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-header .eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

/* Feature / step cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.card .badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.96rem; }

.badge-teal { background: var(--teal); }
.badge-green { background: var(--green); }
.badge-gold { background: var(--gold-dark); }

/* Eligibility / checklist */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.check-list li:last-child { border-bottom: none; }
.check-list .mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* CTA banner */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin-bottom: 0; }

/* ---------------- Forms ---------------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-section + .form-section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.form-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.form-section .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-section .section-note { color: var(--muted); font-size: 0.9rem; margin: -4px 0 18px 38px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-top: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.field .hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 147, 0.15);
}

.radio-row, .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}
.radio-row input, .checkbox-row input { margin-top: 4px; }

.address-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 0.7fr 1fr;
  gap: 14px;
}

.form-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-footnote { font-size: 0.84rem; color: var(--muted); margin: 14px 0 0; }

/* success state */
.form-success {
  display: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 46px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.form-success.visible { display: block; }
.form-success .check {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.form-success .success-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.field-error {
  font-size: 0.8rem;
  color: #b3261e;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3261e;
}
.field.has-error .field-error { display: block; }

/* Interview self-scheduling page (schedule/index.html) */
.slot-list { display: flex; flex-direction: column; gap: 10px; }
.slot-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.slot-option:hover { border-color: var(--teal); }
.slot-option input[type="radio"] { accent-color: var(--teal); width: 18px; height: 18px; flex: none; }
.slot-option.selected { border-color: var(--teal); background: rgba(14, 124, 147, 0.06); }
.slot-option .slot-label { font-weight: 600; color: var(--navy); }
.zoom-link-note {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--ink);
}
.schedule-loading { color: var(--muted); }

/* Applications layout with aside */
.apply-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items: start;
}
.aside-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 96px;
}
.aside-card h3 { font-size: 1.05rem; }
.aside-card .check-list li { border-bottom-color: #e9e2d0; font-size: 0.92rem; }
.aside-contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e9e2d0;
  font-size: 0.92rem;
}
.aside-contact p { margin-bottom: 6px; }

/* ---------------- Coming soon ---------------- */
.coming-soon {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
}
.coming-soon-card {
  max-width: 560px;
  padding: 20px;
}
.coming-soon-card img { height: 88px; margin: 0 auto 22px; }
.coming-soon-card .eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.coming-soon-card h1 { font-size: 2.1rem; }
.coming-soon-card p { color: var(--muted); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 26px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-brand img { height: 40px; }
.footer-brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}
.footer-tagline { color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; max-width: 34ch; }
.footer-operated-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}
.footer-operated-by img { height: 22px; width: auto; }
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.staff-login {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.staff-login:hover { color: #fff; }
.built-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
}
.built-by img { height: 16px; width: 16px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .apply-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px 24px 22px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  h1 { font-size: 2.1rem; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 2.1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .address-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
}
