:root {
  --ink: #17211b;
  --muted: #5f6d63;
  --paper: #fffaf0;
  --cream: #f7ead4;
  --moss: #294438;
  --leaf: #3d6b49;
  --sun: #f6b536;
  --ember: #e65f2b;
  --sky: #d7eef0;
  --line: rgba(23, 33, 27, 0.14);
  --shadow: 0 24px 70px rgba(28, 43, 34, 0.18);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 8%, rgba(246, 181, 54, .24), transparent 26rem),
    radial-gradient(circle at 90% 18%, rgba(215, 238, 240, .9), transparent 22rem),
    linear-gradient(135deg, #fffaf0 0%, #f6ead7 58%, #eef5e9 100%);
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.hero-copy,
.hero-card,
.section-heading,
.copy-block,
.major-copy,
.info-columns,
.sticky-intro,
.lead-form,
.detail-form,
.final-card { min-width: 0; }
.narrow { width: min(880px, calc(100% - 36px)); }
.section-pad { padding: 92px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 250, 240, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
}
.main-nav { display: flex; gap: 22px; color: var(--muted); font-weight: 700; font-size: 14px; }
.main-nav a:hover { color: var(--ember); }
.header-phone {
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--moss);
  font-weight: 800;
}
.header-cta {
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ember);
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(230, 95, 43, .22);
}

.hero { position: relative; overflow: hidden; padding-top: 78px; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 33, 27, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 27, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 38px; align-items: center; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--ember);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.045em; font-weight: 900; }
h1 { font-size: clamp(46px, 8vw, 88px); max-width: 900px; }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: clamp(26px, 3vw, 40px); }
.hero-lead { margin: 26px 0 0; max-width: 720px; color: var(--muted); font-size: clamp(17px, 2vw, 22px); }
.major-pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.major-pills a {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  font-weight: 800;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--ember), #b6381c); box-shadow: 0 14px 34px rgba(230, 95, 43, .28); }
.btn-soft { color: var(--moss); background: #fff; border: 1px solid var(--line); }
.btn-dark { color: #fff; background: var(--moss); }
.full { width: 100%; }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 0; }
.quick-facts div { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.64); border: 1px solid var(--line); }
.quick-facts dt { font-size: 30px; font-weight: 900; color: var(--moss); }
.quick-facts dd { margin: 4px 0 0; color: var(--muted); font-weight: 700; }
.hero-card, .lead-form, .detail-form, .final-card {
  border: 1px solid rgba(255,255,255,.68);
  border-radius: var(--radius);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero-card { padding: 18px 18px 30px; transform: rotate(1.5deg); overflow: hidden; }
.hero-card h2 { font-size: 34px; }
.hero-photo,
.major-image,
.form-photo,
.final-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #e8e2d8;
}
.hero-photo { height: 290px; margin-bottom: 24px; border-radius: 22px; }
.hero-photo img,
.major-image img,
.form-photo img,
.final-photo img,
.reason-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.check-list { padding: 0; margin: 24px 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 700; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 0 0 5px var(--moss); }
.contact-box { padding: 20px; border-radius: 22px; background: var(--moss); color: #fff; }
.contact-box span { display: block; opacity: .72; font-size: 13px; font-weight: 700; }
.contact-box a { display: block; margin-top: 4px; font-size: 22px; font-weight: 900; }
.contact-box.light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.mini-links { display: grid; gap: 8px; margin-top: 18px; color: var(--leaf); font-weight: 800; }

.form-band { background: linear-gradient(135deg, var(--moss), #173027); color: #fff; }
.form-band .eyebrow { color: var(--sun); }
.form-band p { color: rgba(255,255,255,.76); }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.section-heading p { max-width: 720px; color: var(--muted); font-size: 18px; }
.form-band .section-heading p { color: rgba(255,255,255,.78); }
.centered { text-align: center; margin-inline: auto; }
.centered p { margin-left: auto; margin-right: auto; }
.lead-form { padding: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; color: var(--ink); }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 900; color: var(--moss); }
input, select, textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  outline: none;
}
textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}
input:focus, select:focus, textarea:focus { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(230, 95, 43, .12); }
.lead-form .full, .lead-form .form-note { grid-column: 1 / -1; }
.form-note { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }

.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; }
.copy-block p { color: var(--muted); font-size: 18px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.timeline div { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.timeline strong { display: block; font-size: 34px; color: var(--ember); }
.timeline span { display: block; color: var(--muted); font-weight: 700; }

.reasons { background: #f2e5cf; }
.reason-grid, .admission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.reason-card, .admission-card {
  padding: 26px;
  min-height: 280px;
  border-radius: 26px;
  background: #fffaf0;
  border: 1px solid rgba(23,33,27,.1);
  box-shadow: 0 14px 34px rgba(28, 43, 34, .08);
}
.reason-card.with-image {
  padding: 0;
  overflow: hidden;
}
.reason-card.with-image img {
  height: 210px;
  border-bottom: 1px solid var(--line);
  object-position: center 12%;
}
.reason-card.with-image span,
.reason-card.with-image h3,
.reason-card.with-image p {
  margin-left: 26px;
  margin-right: 26px;
}
.reason-card.with-image span { display: block; margin-top: 22px; }
.reason-card span, .admission-card span { color: var(--ember); font-size: 34px; font-weight: 900; }
.reason-card h3, .admission-card h3 { margin-top: 18px; font-size: 24px; letter-spacing: -.02em; }
.reason-card p, .admission-card p { color: var(--muted); }
.center-action { margin-top: 34px; text-align: center; }

.major-panel {
  display: grid;
  grid-template-columns: .42fr .58fr;
  gap: 28px;
  margin-top: 32px;
  padding: 28px;
  border-radius: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.major-image {
  min-height: 100%;
  height: 100%;
}
.major-copy { align-self: stretch; }
.major-panel .info-columns { grid-column: 1 / -1; }
.major-panel.ecommerce .major-image img { object-position: center center; }
.major-panel.automotive .major-image img { object-position: center 12%; }
.major-panel.ecommerce { background: linear-gradient(135deg, #fff8e5, #dcefe6); }
.major-panel.automotive { background: linear-gradient(135deg, #e7f1f2, #fff0dd); }
.major-copy { padding: 24px; border-radius: 26px; background: rgba(255,255,255,.58); }
.major-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.info-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-columns div { padding: 22px; border-radius: 24px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.76); }
.info-columns h4 { margin: 0 0 14px; font-size: 16px; }
ul { padding-left: 20px; margin: 0; }
li { margin: 8px 0; }

.admission { background: var(--moss); color: #fff; }
.admission .section-heading p, .admission-card p { color: rgba(255,255,255,.72); }
.admission-card { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.14); box-shadow: none; }
.admission-card strong { display: block; margin-top: 18px; color: var(--sun); }

.detail-form-section { background: #efe2cc; }
.form-layout { display: grid; grid-template-columns: .3fr .7fr; gap: 34px; align-items: start; }
.sticky-intro { position: sticky; top: 100px; }
.sticky-intro p { color: var(--muted); }
.detail-form { padding: 36px; }
fieldset { border: 1px solid var(--line); border-radius: 24px; padding: 22px; margin: 0 0 18px; }
legend { padding: 0 10px; font-weight: 900; color: var(--moss); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.wide { grid-column: 1 / -1; }

.faq-list { display: grid; gap: 12px; margin-top: 30px; }
details { border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
summary { padding: 20px 22px; cursor: pointer; font-weight: 900; }
details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.final-cta { padding-top: 40px; }
.final-card { padding: clamp(30px, 6vw, 70px); text-align: center; background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(247,234,212,.86)); }
.final-photo { height: 360px; margin-bottom: 36px; box-shadow: var(--shadow); }
.final-photo img { object-position: center 42%; }
.final-card p:not(.eyebrow) { max-width: 850px; margin: 22px auto 0; color: var(--muted); font-size: 18px; }
.centered-actions { justify-content: center; }
.site-footer { padding: 56px 0 86px; background: #14221b; color: #fff; }
.footer-grid { display: grid; grid-template-columns: .85fr 1.15fr .8fr; gap: 32px; align-items: start; }
.site-footer h2 { font-size: 30px; margin-bottom: 12px; }
.site-footer address { color: rgba(255,255,255,.72); font-style: normal; }
.footer-contact { display: grid; gap: 8px; font-weight: 800; color: var(--sun); }
.footer-contact strong { margin-top: 6px; color: #fff; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; }
.footer-brand p { color: rgba(255,255,255,.8); margin: 0; }
.site-footer address a { color: var(--sun); font-weight: 800; }

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 26px;
  z-index: 40;
  display: grid;
  gap: 10px;
}
.floating-cta a {
  padding: 12px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--ember);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  font-size: 13px;
  font-weight: 900;
}
.mobile-sticky { display: none; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 140%);
  z-index: 80;
  width: min(520px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 18px;
  color: #fff;
  background: var(--moss);
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 800;
  transition: transform .25s ease;
}
.toast.show { transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid, .split-grid, .two-col, .major-panel, .form-layout, .footer-grid { grid-template-columns: 1fr; }
  .reason-grid, .admission-grid, .info-columns { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: clamp(34px, 8vw, 54px); }
  .hero-copy { max-width: 100%; }
  .hero-lead { max-width: 100%; }
  .hero-actions .btn { flex: 1 1 220px; }
  .sticky-intro { position: static; }
  .detail-form { padding: 24px; }
  .hero-card { transform: none; }
  .desktop-only { display: none; }
}
@media (max-width: 680px) {
  .section-pad { padding: 64px 0; }
  .container, .narrow { width: min(100% - 28px, 1160px); }
  .site-header { padding: 10px 14px; }
  .header-phone, .header-cta { display: none; }
  .brand-logo { width: 42px; height: 42px; }
  h1 { font-size: 31px; line-height: 1.14; overflow-wrap: break-word; letter-spacing: -.035em; }
  h2 { font-size: 31px; letter-spacing: -.035em; }
  .hero { padding-top: 48px; }
  .hero-lead { font-size: 15px; max-width: 100%; }
  .hero-actions .btn { width: 100%; }
  .major-pills a { width: 100%; text-align: center; }
  .quick-facts, .lead-form, .timeline, .reason-grid, .admission-grid, .info-columns, .form-grid { grid-template-columns: 1fr; }
  .major-panel, .lead-form, .detail-form { padding: 18px; border-radius: 24px; }
  .hero-photo, .final-photo { height: 280px; min-height: 280px; }
  .hero-card h2 { font-size: 28px; }
  .quick-facts div { padding: 16px; }
  .major-image { height: 300px; }
  .wide { grid-column: auto; }
.mobile-sticky {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 22px;
    background: rgba(20, 34, 27, .92);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 44px rgba(0,0,0,.22);
  }
  .mobile-sticky a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 6px 8px;
    border-radius: 14px;
    color: #fff;
    background: rgba(255,255,255,.12);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }
  .mobile-sticky a:first-child { background: var(--ember); }
  .site-footer { padding-bottom: 96px; }
}

.popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 18, 14, .62);
  backdrop-filter: blur(4px);
  z-index: 120;
}
.popup-overlay.open { display: flex; }
.popup-card {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #0b7845;
  border-radius: 24px;
  padding: 22px;
  border: 2px solid rgba(246, 181, 54, .5);
  box-shadow: var(--shadow);
  color: #fff;
}
.popup-card h3 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.popup-card .eyebrow { color: #fff3c9; margin-bottom: 8px; }
.popup-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.popup-form {
  margin-top: 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
}
.popup-form .field label { color: #fff; }
.popup-form input,
.popup-form select,
.popup-form textarea {
  background: #fff;
}
