:root {
  --navy: #08263a;
  --deep: #0d3b30;
  --green: #00a650;
  --orange: #f18900;
  --sky: #86d5f7;
  --cream: #fff7ea;
  --white: #ffffff;
  --ink: #14253a;
  --muted: #617084;
  --line: #dce5ee;
  --shadow: 0 24px 70px rgba(8, 38, 58, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #eef6f1;
  overflow-x: hidden;
}

main {
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  isolation: isolate;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 24px 8vw 34px;
  background: url("assets/school-wide.jpg") center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 24%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.hero::after {
  display: none;
}

.topbar,
.hero-grid,
.contact-band {
  position: relative;
  z-index: 2;
  width: min(100%, 1480px);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 100px;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}

.brand > span {
  display: grid;
  gap: 2px;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.brand strong {
  font-size: 30px;
  line-height: 1;
}

.brand small {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-initial {
  color: var(--orange);
}

.quick-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 19px;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.quick-contact svg {
  width: 21px;
  height: 21px;
  color: var(--orange);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 520px);
  gap: 78px;
  align-items: center;
  padding-top: 48px;
}

.hero-copy {
  position: relative;
  color: var(--white);
  padding: 28px 30px 30px 0;
  border-radius: 8px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.46);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -28px -42px -28px -8vw;
  z-index: -1;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(8, 38, 58, 0.42) 58%, rgba(8, 38, 58, 0));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 10px 17px;
  color: var(--white);
  border: 1px solid rgba(241, 137, 0, 0.5);
  border-radius: 999px;
  background: rgba(8, 38, 58, 0.35);
  font-size: 15px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(241, 137, 0, 0.17);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 50px;
  line-height: 1;
  font-weight: 900;
}

.slogan {
  margin-bottom: 6px;
  color: #ffd18a;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.subline {
  max-width: 760px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}

.subhead {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.promise-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 650;
}

.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.promise-list svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-top: 1px;
  padding: 4px;
  color: var(--white);
  border: 2px solid rgba(241, 137, 0, 0.72);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.promise-list strong {
  color: var(--white);
  font-weight: 900;
}

.lead-panel {
  width: 100%;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.lead-panel h2 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 29px;
  line-height: 1.1;
  font-weight: 900;
}

.lead-panel h2 span {
  color: var(--orange);
}

.form-intro {
  margin-bottom: 14px;
  color: #3f5066;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 650;
}

form {
  display: grid;
  gap: 9px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #33465c;
  font-size: 12px;
  font-weight: 850;
}

.field label span {
  color: #7b8794;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 9px 15px;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  outline: none;
  font-size: 15px;
  font-weight: 650;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 86px;
  resize: vertical;
  line-height: 1.45;
}

input::placeholder,
textarea::placeholder {
  color: #718197;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(241, 137, 0, 0.16);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #617084 50%),
    linear-gradient(135deg, #617084 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 20px,
    calc(100% - 15px) 20px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.message-toggle {
  justify-self: start;
  min-height: 28px;
  padding: 2px 0;
  color: #33465c;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 850;
}

.message-field[hidden] {
  display: none;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: #3d4f66;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.consent a {
  color: var(--orange);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 1px 0 0;
  padding: 0;
  border-radius: 5px;
  accent-color: var(--orange);
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 13px 20px;
  color: var(--navy);
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #f5aa24, #f18900);
  box-shadow: 0 18px 34px rgba(241, 137, 0, 0.28);
  font-size: 17px;
  font-weight: 950;
}

.submit-button svg {
  width: 23px;
  height: 23px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.trust-badges div {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 1px 7px;
  align-items: start;
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid #e2ebf2;
  border-radius: 8px;
  background: #fbfdff;
}

.trust-badges svg {
  grid-row: span 2;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--green);
}

.trust-badges strong {
  min-width: 0;
  color: #304258;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
}

.trust-badges small {
  min-width: 0;
  color: #6b7786;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
}

.contact-band {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
  padding: 18px 8vw 22px;
  color: var(--ink);
  background: #eef6f1;
}

.contact-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 12px;
  align-items: center;
  min-height: 78px;
  padding: 13px 16px;
  border: 1px solid #d7e6df;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(8, 38, 58, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 137, 0, 0.42);
  box-shadow: 0 18px 42px rgba(8, 38, 58, 0.13);
}

.contact-card svg {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--white);
  border-radius: 50%;
  background: var(--orange);
}

.contact-band strong {
  color: var(--navy);
  font-size: 13px;
}

.contact-band span {
  min-width: 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.float-button {
  position: fixed;
  right: 28px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.float-button svg {
  width: 32px;
  height: 32px;
}

.float-button.call {
  bottom: 114px;
  background: var(--navy);
}

.float-button.whatsapp {
  bottom: 32px;
  background: #25d366;
}

.whatsapp svg {
  width: 34px;
  height: 34px;
  fill: var(--white);
  stroke: none;
}

@media (max-width: 1160px) {
  .hero {
    padding-inline: 5vw;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-copy::before {
    inset: -24px -26px -24px -5vw;
  }

  .lead-panel {
    max-width: 640px;
  }
}

@media (min-width: 1161px) and (max-height: 860px) {
  .hero {
    padding: 16px 7vw 24px;
  }

  .topbar {
    min-height: 82px;
  }

  .brand img {
    width: 84px;
    height: 84px;
  }

  .brand strong {
    font-size: 25px;
  }

  .brand small {
    font-size: 19px;
  }

  .quick-contact a {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .hero-grid {
    gap: 60px;
    padding-top: 24px;
  }

  .eyebrow {
    margin-bottom: 18px;
    padding: 8px 14px;
    font-size: 14px;
  }

  h1 {
    max-width: 680px;
    margin-bottom: 12px;
    font-size: 44px;
  }

  .slogan {
    margin-bottom: 6px;
    font-size: 20px;
  }

  .subline {
    margin-bottom: 14px;
    font-size: 17px;
  }

  .subhead {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .promise-list {
    gap: 9px;
    font-size: 15px;
  }

  .lead-panel {
    padding: 22px;
  }

  .lead-panel h2 {
    font-size: 28px;
  }

  .form-intro {
    margin-bottom: 12px;
    font-size: 13px;
  }

  form {
    gap: 8px;
  }

  input,
  select,
  textarea {
    min-height: 44px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  select {
    background-position:
      calc(100% - 21px) 20px,
      calc(100% - 15px) 20px;
  }

  .submit-button {
    min-height: 50px;
  }

  .trust-badges {
    gap: 6px;
  }

  .trust-badges div {
    padding: 7px 6px;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding: 18px 16px 40px;
  }

  .topbar {
    align-items: flex-start;
    border-radius: 22px;
    min-height: 84px;
    padding: 0;
  }

  .brand img {
    width: 82px;
    height: 82px;
  }

  .brand strong {
    font-size: 25px;
  }

  .brand small {
    font-size: 19px;
  }

  .quick-contact {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-contact a {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 14px;
  }

  h1 {
    font-size: 42px;
    line-height: 1;
  }

  .subhead {
    font-size: 18px;
  }

  .slogan {
    font-size: 20px;
  }

  .subline {
    font-size: 17px;
  }

  .contact-band {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }
}

@media (max-width: 1200px) {
  .hero::before {
    height: 170px;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.52) 0%,
      rgba(0, 0, 0, 0.18) 62%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .hero {
    padding: 14px 14px 30px;
  }

  .topbar {
    display: grid;
    gap: 12px;
    min-height: auto;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 66px;
    height: 66px;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand small {
    font-size: 16px;
  }

  .quick-contact {
    display: none;
  }

  .quick-contact a {
    width: 100%;
    min-height: 38px;
    gap: 6px;
    padding: 7px 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .quick-contact svg {
    width: 17px;
    height: 17px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 16px;
  }

  .hero-copy {
    display: contents;
    padding: 0;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-title-box {
    order: 1;
    padding: 15px;
    border-radius: 8px;
    background: rgba(8, 38, 58, 0.66);
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
  }

  .lead-panel {
    order: 2;
    width: 100%;
  }

  .hero-detail-box {
    order: 3;
    padding: 16px;
    border-radius: 8px;
    background: rgba(8, 38, 58, 0.62);
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
  }

  .eyebrow {
    gap: 9px;
    margin-bottom: 12px;
    padding: 7px 10px;
    font-size: 11px;
    line-height: 1.25;
  }

  .eyebrow::before {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 5px rgba(241, 137, 0, 0.17);
  }

  h1 {
    font-size: 20px;
    line-height: 1.12;
  }

  .subhead {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.45;
  }

  .subline {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.35;
  }

  .slogan {
    font-size: 17px;
  }

  .promise-list {
    gap: 8px;
    font-size: 13px;
    line-height: 1.35;
  }

  .promise-list li {
    gap: 9px;
  }

  .promise-list svg {
    width: 21px;
    height: 21px;
    padding: 4px;
  }

  .lead-panel {
    padding: 16px;
  }

  .lead-panel h2 {
    font-size: 21px;
  }

  .form-intro {
    display: none;
  }

  form {
    gap: 8px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .field {
    gap: 5px;
  }

  .field label {
    font-size: 11px;
  }

  .form-row .field label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  input,
  select,
  textarea {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 14px;
  }

  select {
    background-position:
      calc(100% - 19px) 19px,
      calc(100% - 13px) 19px;
  }

  .message-toggle {
    min-height: 24px;
    font-size: 13px;
  }

  .consent {
    grid-template-columns: 20px 1fr;
    gap: 8px;
    font-size: 10px;
  }

  .consent input {
    width: 18px;
    min-height: 18px;
    height: 18px;
  }

  .submit-button {
    min-height: 50px;
    padding-inline: 14px;
    font-size: 15px;
  }

  .trust-badges {
    display: none;
  }

  .float-button {
    right: 14px;
    width: 52px;
    height: 52px;
  }

  .float-button svg {
    width: 26px;
    height: 26px;
  }

  .float-button.call {
    display: grid;
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .float-button.whatsapp {
    bottom: calc(18px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .quick-contact {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 19px;
  }

  .lead-panel h2 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.thanks-page {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgba(8, 38, 58, 0.9), rgba(13, 59, 48, 0.76)),
    url("assets/school-wide.jpg") center / cover no-repeat;
}

.thanks-wrap {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 24px;
}

.thanks-card {
  width: min(100%, 560px);
  padding: 36px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.thanks-card img {
  width: 92px;
  height: 92px;
  margin-bottom: 14px;
}

.thanks-card .eyebrow {
  color: var(--navy);
  background: #fff1d8;
}

.thanks-card h1 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 42px;
}

.thanks-card p {
  color: #3f5066;
  font-size: 17px;
  font-weight: 700;
}

.thanks-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 13px 20px;
  color: var(--navy);
  border: 2px solid #dce5ee;
  border-radius: 8px;
  background: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

@media (max-width: 768px) {
  .thanks-card {
    padding: 24px;
  }

  .thanks-actions {
    grid-template-columns: 1fr;
  }
}
