:root {
  --navy: #17366d;
  --navy-dark: #102a58;
  --ink: #1d2939;
  --muted: #667085;
  --line: #dce3ec;
  --soft: #f7f9fc;
  --gold: #c39a52;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  justify-content: center;
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 61px;
}

.brand img {
  display: block;
  width: min(225px, 68vw);
  height: auto;
}

.intro {
  max-width: 940px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3.75rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
}

h1,
h2 {
  margin: 0;
  color: var(--navy-dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 4.75rem);
  line-height: 1.03;
}

.lead {
  margin: 1rem 0 2.4rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 104px;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--soft);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.contact-item > span:last-child {
  min-width: 0;
}

a.contact-item:hover,
a.contact-item:focus-visible {
  border-color: #aabbd5;
  box-shadow: 0 0.4rem 1.2rem rgb(23 54 109 / 10%);
  transform: translateY(-2px);
}

.icon {
  display: grid;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--navy);
  border: 1px solid #bdcbe0;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
}

.contact-item small {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-item strong {
  display: block;
  color: var(--navy-dark);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-item[href^="mailto:"] strong {
  white-space: nowrap;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-width: 150px;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--navy);
  border-radius: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 0.45rem 1rem rgb(23 54 109 / 16%);
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--navy-dark);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #f3f6fb;
}

.map-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.25rem 1.5rem 4.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.15;
}

.section-heading p:last-child {
  margin: 0.65rem 0 1.7rem;
  color: var(--muted);
}

.map-frame {
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #e8edf3;
  box-shadow: 0 0.75rem 2rem rgb(16 42 88 / 9%);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.map-placeholder {
  display: flex;
  min-height: 380px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  background:
    linear-gradient(rgb(247 249 252 / 90%), rgb(247 249 252 / 90%)),
    repeating-linear-gradient(45deg, #dfe6ef 0, #dfe6ef 1px, transparent 1px, transparent 18px);
}

.map-placeholder h3 {
  margin: 0.65rem 0 0.4rem;
  color: var(--navy-dark);
  font-size: 1.2rem;
}

.map-placeholder p {
  max-width: 570px;
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.map-pin {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  color: var(--navy);
  border: 1px solid #bdcbe0;
  border-radius: 50%;
  background: var(--white);
  font-size: 1.65rem;
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.directions-link:hover,
.directions-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a,
.footer-link {
  color: var(--navy);
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.site-credit {
  flex-basis: 100%;
  margin: 0.1rem 0 0;
  text-align: center;
}

.privacy-banner {
  position: fixed;
  z-index: 20;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 1060px;
  margin: 0 auto;
  padding: 1.15rem;
  border: 1px solid #cbd6e6;
  border-radius: 0.8rem;
  background: var(--white);
  box-shadow: 0 1rem 3rem rgb(16 42 88 / 22%);
}

.privacy-banner[hidden] {
  display: none;
}

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

.privacy-banner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.privacy-banner p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy-banner a {
  color: var(--navy);
  font-weight: 700;
}

.privacy-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.65rem;
}

.privacy-actions .button {
  min-width: 145px;
}

.legal-main {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.legal-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.legal-header h1 {
  font-size: clamp(2.1rem, 6vw, 3.5rem);
}

.legal-header p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.legal-section {
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-section h3 {
  margin: 1.25rem 0 0.45rem;
  color: var(--navy-dark);
  font-size: 1.03rem;
}

.legal-section p,
.legal-section ul {
  margin: 0.65rem 0;
}

.legal-section li + li {
  margin-top: 0.45rem;
}

.legal-section a {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 0.16rem;
}

.privacy-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.privacy-table th,
.privacy-table td {
  padding: 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.privacy-table th {
  color: var(--navy-dark);
  background: var(--soft);
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.6rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

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

:focus-visible {
  outline: 3px solid rgb(195 154 82 / 70%);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .intro {
    padding-top: 3.25rem;
  }

  .privacy-banner-content {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .privacy-actions {
    justify-content: stretch;
  }

  .privacy-actions .button {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .contact-list {
    grid-template-columns: 1fr;
    max-width: 430px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-top: 1.25rem;
  }

  .intro {
    padding: 2.5rem 1rem 3rem;
  }

  .contact-list {
    max-width: 360px;
  }

  .contact-item {
    min-height: 88px;
    padding: 1rem;
  }

  .actions {
    flex-direction: column;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
  }

  .button {
    width: 100%;
  }

  .map-section {
    padding: 2.75rem 1rem 3.5rem;
  }

  .map-frame,
  .map-frame iframe,
  .map-placeholder {
    min-height: 320px;
    height: 320px;
  }

  .map-placeholder {
    padding: 1.25rem;
  }

  .privacy-banner {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
  }

  .privacy-actions {
    flex-direction: column;
  }

  .privacy-actions .button {
    width: 100%;
  }

  .legal-main {
    width: min(100% - 2rem, 820px);
    padding-top: 2.5rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }
}
