:root {
  --blue: #08798d;
  --navy: #075769;
  --accent: #2f79b7;
  --ink: #17323a;
  --mid: #52666c;
  --line: #c8dddf;
  --white: #fff;
  --sans: "Roboto", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.55;
}

a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.shell {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.site-header {
  background: #fff;
  border-bottom: 5px solid var(--accent);
}

.nav {
  min-height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}

.header-links { display: flex; align-items: center; }

.header-links a {
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.header-links a:hover,
.header-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero {
  padding: 102px 0 96px;
  color: #fff;
  background: var(--blue);
  border-bottom: 13px solid var(--accent);
}

h1 {
  max-width: 900px;
  margin-bottom: 23px;
  font-size: clamp(55px, 7vw, 88px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.05em;
}

.hero-copy {
  max-width: 720px;
  margin: 0;
  color: #e2f2f3;
  font-size: 21px;
  line-height: 1.55;
}

.schedule-factors {
  padding: 37px 0 45px;
  background: #f0f9f9;
  border-bottom: 1px solid #d7e7e8;
}

.factors-intro {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.factor-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.factor-grid article {
  min-width: 0;
  min-height: 166px;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.factor-grid span {
  display: block;
  margin-bottom: 17px;
  color: var(--accent);
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
}

.factor-grid p {
  margin: 0;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.special-dates p { line-height: 1.27; }

.section { padding: 86px 0; }
.section-title { max-width: 900px; }

h2 {
  margin-bottom: 20px;
  color: var(--blue);
  font-size: clamp(39px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 45px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-grid article {
  min-height: 360px;
  padding: 29px 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid span {
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
}

.process-grid h3 {
  margin: 46px 0 16px;
  color: var(--blue);
  font-size: 31px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.process-grid p {
  margin: 0;
  color: var(--mid);
  font-size: 19px;
  line-height: 1.48;
}

.about {
  background: #fff;
  border-top: 1px solid #d7e7e8;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(46px, 7vw, 90px);
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eef5f6;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.about-copy { max-width: 650px; }

.about-copy .about-title {
  margin-bottom: 27px;
  color: var(--blue);
  font-size: clamp(39px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.about-copy p {
  margin: 0 0 21px;
  color: var(--mid);
  font-size: 20px;
  line-height: 1.55;
}

.about-copy p:last-child { margin-bottom: 0; }

.button {
  display: inline-block;
  padding: 14px 20px;
  color: #fff;
  background: var(--accent);
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover { background: #1d639e; }
.button:disabled { opacity: .65; cursor: wait; }

.contact {
  padding: 65px 0;
  color: #fff;
  background: var(--blue);
  border-top: 7px solid var(--accent);
}

.contact-inner { max-width: 920px; }
.contact h2 { margin-bottom: 15px; color: #fff; }

.contact > .shell > .contact-inner > p {
  margin: 0 0 22px;
  color: #d7f0f1;
  font-size: 21px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px 22px;
  margin-top: 32px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid #b9e4e7;
  outline-offset: 2px;
}

.form-full { grid-column: 1 / -1; }
.form-honeypot { position: absolute !important; left: -9999px !important; }
.form-submit { display: flex; align-items: center; gap: 18px; }
.form-status { margin: 0 !important; font-size: 17px !important; }
.button-light { color: var(--blue); background: #fff; }
.button-light:hover { color: #fff; background: var(--accent); }

footer {
  padding: 21px 0;
  color: #d4ebec;
  background: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer a { color: #fff; }

@media (max-width: 950px) {
  .factor-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: minmax(220px, 310px) minmax(0, 1fr); gap: 42px; }
}

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-photo { width: min(100%, 360px); }
  .about-copy .about-title { margin-bottom: 22px; }
}

@media (max-width: 540px) {
  .shell { width: min(100% - 30px, 1180px); }
  .nav { min-height: 68px; gap: 16px; }
  .brand { font-size: 23px; }
  .brand-mark { width: 32px; height: 32px; font-size: 19px; }
  .header-links a { font-size: 15px; }
  .hero { padding: 72px 0; }
  h1 { font-size: 51px; }
  .hero-copy { font-size: 18px; }
  .schedule-factors { padding: 30px 0; }
  .factor-grid { grid-template-columns: 1fr 1fr; }
  .factor-grid article { min-height: 148px; padding: 16px; }
  .factor-grid p { font-size: 17px; }
  .section { padding: 67px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 0; }
  .process-grid h3 { margin-top: 28px; }
  .process-grid p { font-size: 19px; }
  .about-copy p { font-size: 19px; }
  .contact { padding: 58px 0; }
  .contact > .shell > .contact-inner > p { font-size: 19px; }
  .contact-form { grid-template-columns: 1fr; gap: 17px; }
  .form-full { grid-column: auto; }
  .form-submit { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-row { flex-direction: column; gap: 5px; }
}
