:root {
  color-scheme: light;
  --navy: #002147;
  --gold: #fdc800;
  --text: #34445a;
  --line: #e2e7ec;
  font-family: Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: #f5f7fa; line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2579cf; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.12; }
p { margin: 0; }
.wrap { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }
.header { background: white; border-top: 4px solid var(--gold); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav img { width: min(380px, 100%); height: auto; }
.contact-link { font-weight: 700; color: var(--navy); white-space: nowrap; text-underline-offset: 5px; }

.hero {
  padding: clamp(68px, 10vw, 142px) 0;
  color: white;
  background: linear-gradient(90deg, rgba(0, 26, 57, .99), rgba(0, 28, 59, .88) 45%, rgba(0, 33, 71, .28)), var(--navy) url("assets/new-york.jpg") center 48% / cover no-repeat;
  border-bottom: 5px solid var(--gold);
}
.hero h1 { color: white; font-size: clamp(2.65rem, 7vw, 5.25rem); letter-spacing: -.045em; }
.hero p { max-width: 550px; margin: 20px 0 28px; font-size: clamp(1.06rem, 2vw, 1.23rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 17px; background: var(--gold); color: var(--navy); border-radius: 3px; font-weight: 700; text-decoration: none; }
.button:hover { background: #ffdb57; }
.button span { font-size: 1.15em; }

.destinations { padding-block: clamp(48px, 7vw, 88px); }
h2 { font-size: clamp(1.75rem, 4vw, 2.55rem); letter-spacing: -.025em; }
.destinations h2::after { content: ""; display: block; width: 58px; height: 4px; margin-top: 15px; background: var(--gold); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 28px; }
.card { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; box-shadow: 0 6px 20px #0021470d; }
.card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px, 3vw, 30px); }
.country { color: #435971; font-weight: 700; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; }
h3 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin-top: 5px; }
.campus { color: var(--navy); font-weight: 700; margin-top: 6px; }
.facts { color: #435971; width: 100%; border-block: 1px solid var(--line); margin: 13px 0; padding-block: 7px; font-size: .91rem; }
.card-body > p:last-of-type { margin-bottom: 20px; }
.card .button { margin-top: auto; }

.dates { background: var(--navy); border-top: 4px solid var(--gold); color: white; padding-block: 46px; }
.dates-content { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; }
.dates h2 { color: white; }
.dates p { margin-top: 12px; max-width: 680px; }
.dates .button { flex-shrink: 0; }
.footer { background: white; padding-block: 20px; font-size: .9rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a { color: var(--navy); font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .hero { background-image: linear-gradient(90deg, rgba(0, 26, 57, .98), rgba(0, 28, 59, .68)), url("assets/new-york.jpg"); }
  .dates-content { flex-direction: column; align-items: flex-start; }
  .nav { min-height: 62px; }
  .contact-link { font-size: .81rem; }
}
