:root {
  --navy: #062653;
  --navy-deep: #031d45;
  --teal: #08a9a8;
  --ink: #082557;
  --muted: #64758e;
  --bg: #f6fbfd;
  --card: #ffffff;
  --line: #dbe8ef;
  --shadow: 0 20px 54px rgba(6, 38, 83, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.45;
}

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

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

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

.contact-topbar {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  min-height: 30px;
  padding: 7px 8%;
  background: var(--navy-deep);
  color: #d4edf4;
  font-size: 13px;
  font-weight: 700;
}

.contact-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 0 8%;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.contact-brand img {
  width: 86px;
  height: 64px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.nav a:hover,
.nav a:focus-visible,
.nav .active {
  color: var(--teal);
}

.nav .active {
  padding-bottom: 8px;
  border-bottom: 3px solid var(--teal);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.nav-dropdown-toggle {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  min-width: 270px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  max-height: min(420px, calc(100vh - 120px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(6, 38, 83, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.has-dropdown::after {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 29;
  width: 270px;
  height: 14px;
  content: "";
  transform: translateX(-50%);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  background: #e9fbfb;
  color: var(--teal);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown .sub-active {
  background: #e9fbfb;
  color: var(--teal);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(6, 38, 83, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 28px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.contact-btn:hover {
  transform: translateY(-1px);
}

.contact-btn:focus-visible,
.menu-toggle:focus-visible,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(8, 169, 168, 0.33);
  outline-offset: 3px;
}

.contact-btn-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(8, 169, 168, 0.22);
}

.contact-btn-secondary {
  background: #ffffff;
  border-color: var(--navy);
  color: var(--navy);
}

.contact-btn-light {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 70px;
  align-items: center;
  min-height: 490px;
  padding: 72px 8% 62px;
  background: radial-gradient(circle at 87% 9%, rgba(8, 169, 168, 0.17), transparent 34%), linear-gradient(135deg, #ffffff 0%, #edf8fb 100%);
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #c9ffff;
}

.hero-copy h1 {
  max-width: 670px;
  margin: 18px 0 18px;
  color: var(--navy);
  font-size: clamp(42px, 4.2vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-copy > p {
  max-width: 690px;
  margin: 0;
  color: #52657e;
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.quick-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.quick-icon,
.info-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--teal);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.quick-card h2 {
  margin: 24px 0 12px;
  color: var(--navy);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.12;
}

.quick-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.contact-row strong {
  color: var(--navy);
}

.contact-row a,
.contact-row span {
  text-align: right;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 28px;
  padding: 64px 8% 42px;
}

.form-panel,
.info-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(6, 38, 83, 0.06);
}

.form-panel {
  padding: 34px;
}

.form-panel h2 {
  max-width: 680px;
  margin: 16px 0 14px;
  color: var(--navy);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 900;
  line-height: 1.12;
}

.form-intro {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contact-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.contact-trust-row span {
  position: relative;
  min-height: 54px;
  border: 1px solid #d7eaf0;
  border-radius: 12px;
  padding: 12px 12px 12px 34px;
  background: #f7fcff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.22;
}

.contact-trust-row span::before {
  position: absolute;
  top: 15px;
  left: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px #daf9f8;
  content: "";
}

.contact-form {
  margin-top: 24px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 9px;
  border: 1px solid #cfe0ea;
  border-radius: 13px;
  padding: 15px 14px;
  color: var(--ink);
  background: #fbfdff;
}

textarea {
  resize: vertical;
}

.message-field {
  margin-top: 16px;
}

.consent-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.form-button {
  width: 100%;
  margin-top: 18px;
}

.contact-form.is-submitting .form-button {
  opacity: 0.72;
  pointer-events: none;
}

.contact-form-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--teal);
  font-weight: 900;
}

.contact-success-panel {
  display: none;
  margin-top: 16px;
  border: 1px solid rgba(8, 169, 168, 0.28);
  border-radius: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #e8fbfa, #ffffff);
  box-shadow: 0 14px 34px rgba(8, 169, 168, 0.12);
}

.contact-success-panel strong,
.contact-success-panel span {
  display: block;
}

.contact-success-panel strong {
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.contact-success-panel span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.contact-form.is-submitted .contact-success-panel {
  display: block;
}

.privacy-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.info-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.info-card {
  padding: 24px;
}

.info-card .info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8fbfc;
  color: var(--teal);
  font-size: 12px;
}

.info-card h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
}

.info-card p,
.info-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.info-card ul {
  margin: 0;
  padding-left: 20px;
}

.info-card.highlight {
  background: var(--navy);
  color: #ffffff;
}

.info-card.highlight .info-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.info-card.highlight h3 {
  color: #ffffff;
}

.info-card.highlight p {
  color: #d9e9f2;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 8% 56px;
}

.trust-strip article {
  min-height: 86px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f4f9fc;
}

.trust-strip strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.trust-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.contact-faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 30px;
  padding: 12px 8% 54px;
}

.contact-faq h2 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.12;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-faq article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(6, 38, 83, 0.05);
}

.contact-faq h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.contact-faq p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.local-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 0 8% 70px;
  padding: 38px;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--teal), var(--navy));
  color: #ffffff;
}

.local-cta h2 {
  max-width: 720px;
  margin: 14px 0 16px;
  color: #ffffff;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 900;
  line-height: 1.12;
}

.local-cta p {
  max-width: 920px;
  margin: 0;
  color: #e8ffff;
  font-size: 17px;
  line-height: 1.55;
}

.contact-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr 1.1fr;
  gap: 48px;
  padding: 42px 8% 58px;
  background: var(--navy-deep);
  color: #ffffff;
}

.footer-logo img {
  width: 92px;
  height: 74px;
  object-fit: contain;
}

.footer-logo p,
.contact-footer p,
.contact-footer a {
  display: block;
  margin: 4px 0;
  color: #b9ccdd;
  font-size: 15px;
  line-height: 1.6;
}

.footer-logo p {
  color: var(--teal);
}

.contact-footer h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px;
}

@media (max-width: 980px) {
  .contact-topbar,
  .header-action {
    display: none;
  }

  .contact-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 24px;
  }

  .contact-brand img {
    width: 78px;
    height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 11px 15px;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    min-height: 44px;
    border-top: 1px solid var(--line);
    padding-top: 13px;
  }

  .nav-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 44px;
    height: 44px;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-dropdown {
    position: static;
    display: none;
    grid-column: 1 / -1;
    min-width: 0;
    max-height: none;
    border: 0;
    border-radius: 0;
    width: 100%;
    overflow: hidden;
    overflow-y: visible;
    overscroll-behavior: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-dropdown::after {
    display: none;
  }

  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    display: none;
  }

  .has-dropdown.is-open .nav-dropdown {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    display: block;
    min-height: 40px;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 0 0 18px;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .contact-hero,
  .contact-section,
  .contact-faq,
  .local-cta,
  .contact-footer {
    grid-template-columns: 1fr;
  }

  .field-grid,
  .trust-strip,
  .contact-trust-row,
  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero,
  .contact-section,
  .trust-strip,
  .contact-faq {
    padding-right: 24px;
    padding-left: 24px;
  }

  .local-cta {
    margin-right: 24px;
    margin-left: 24px;
  }

  .contact-footer {
    gap: 28px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy > p,
  .local-cta p {
    font-size: 16px;
  }

  .hero-actions,
  .contact-btn {
    width: 100%;
  }
}
