:root {
  --bg: #fdfdfd;
  --text: #101828;
  --muted: #475467;
  --brand: #1d5b79;
  --brand-dark: #0f3b50;
  --accent: #f4f7fb;
  --highlight: #fff4e6;
  --shadow: 0 15px 35px rgba(16, 24, 40, 0.15);
  --radius: 1rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

a:hover,
a:focus {
  color: var(--brand);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.hero {
  background: radial-gradient(circle at top right, #15455c, #0b2735 50%);
  color: #fff;
  padding-bottom: 4rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1.5rem;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav__links a {
  text-decoration: none;
  color: #bcd8e5;
  font-weight: 500;
}

.nav__links a:focus,
.nav__links a:hover {
  color: #fff;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  padding: 0.35rem 0.75rem;
}

.brand__name {
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.brand__tagline {
  display: block;
  font-size: 0.85rem;
  color: #bcd8e5;
}

.hero__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding-bottom: 3rem;
  align-items: stretch;
}

.hero__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.hero__title-line {
  display: block;
  word-break: break-word;
}

.hero__title-line--mr {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  letter-spacing: 0.05em;
  color: #f4f1d0;
}

.hero__subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f9d99b;
  margin-top: 0;
}

.hero__subtitle--mr {
  display: block;
  font-size: 1rem;
  color: #ffe3b0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  font-size: 0.9rem;
}

.hero__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.hero .heading__mr {
  color: #ffd68f;
}

.heading__mr {
  display: block;
  font-size: 1.05rem;
  color: var(--brand);
  font-weight: 600;
  margin-top: 0.35rem;
}

.eyebrow__mr {
  display: block;
  letter-spacing: normal;
  font-weight: 600;
  color: inherit;
}

.hero__photo {
  margin: 0;
  color: #d9ecf6;
}

.hero__photo-frame {
  border-radius: var(--radius);
  min-height: 320px;
  width: 100%;
  border: 3px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
  object-fit: cover;
  display: block;
}

.hero__photo figcaption {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  color: #bcd8e5;
}

.hero__card ul {
  padding-left: 1rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid #f9f871;
  outline-offset: 2px;
}

.btn--primary {
  background: #f9b234;
  color: #121212;
  box-shadow: 0 10px 20px rgba(249, 178, 52, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: inherit;
  background: transparent;
}

.btn--secondary {
  background: #fff;
  color: var(--brand-dark);
}

.btn--block {
  width: 100%;
}

.btn__subtext {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
}

.btn--primary .btn__subtext {
  color: rgba(18, 18, 18, 0.85);
}

.btn--ghost .btn__subtext,
.hero .btn--ghost .btn__subtext {
  color: #bcd8e5;
}

.btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 600;
}

.hero .eyebrow {
  color: #9dd4f2;
}

.section {
  padding: 5rem 0;
}

.section--accent {
  background: var(--accent);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.card--highlight {
  background: var(--highlight);
  border: 1px solid rgba(255, 156, 26, 0.4);
}

.pamphlet-gallery {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pamphlet {
  margin: 0;
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
}

.pamphlet img {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #d0d5dd;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.15);
}

.pamphlet figcaption {
  font-size: 0.95rem;
  color: var(--muted);
}

.list {
  padding-left: 1.2rem;
}

.list--check {
  list-style: none;
  padding-left: 0;
}

.list--check li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.list--check li::before {
  content: '✔';
  color: var(--brand);
}

.services article ul,
.card ul {
  padding-left: 1.2rem;
}

.timeline {
  list-style: none;
  padding-left: 0;
  border-left: 3px solid var(--brand);
  margin-left: 1rem;
}

.timeline li {
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline li::before {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--brand);
  border-radius: 50%;
  position: absolute;
  left: -9px;
  top: 0.2rem;
}

.testimonials blockquote {
  margin: 0;
  font-style: italic;
}

#contact form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

input,
textarea,
select {
  font: inherit;
  padding: 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid #d0d5dd;
  margin-top: 0.3rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(29, 91, 121, 0.3);
  border-color: var(--brand);
}

.footer {
  background: #0b2735;
  color: #fff;
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer__note {
  text-align: center;
  margin-top: 2rem;
  color: #9dd4f2;
}

.audio-hint {
  font-size: 0.85rem;
  color: #bcd8e5;
  margin-top: 0.4rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
    inset: 80px 1rem auto;
    background: #0f3b50;
    border-radius: var(--radius);
    padding: 1rem;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: opacity 0.2s ease;
  }

  .nav__links[data-visible='false'] {
    opacity: 0;
    pointer-events: none;
  }

  .nav__links[data-visible='true'] {
    opacity: 1;
  }
}

@media (min-width: 1100px) {
  .hero__content {
    grid-template-columns: minmax(460px, 1.4fr) minmax(320px, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
