:root {
  --brand: #435a98;
  --brand-dark: #29395f;
  --accent: #61a9df;
  --text: #1f2937;
  --muted: #5b6472;
  --white: #ffffff;
  --soft: #f4f7fb;
  --border: #dbe3ef;
  --container: 1160px;
  --radius: 14px;
  --shadow: 0 12px 36px rgba(18, 40, 84, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: var(--white);
  color: var(--brand-dark);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 10000;
}

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

.top-contact-bar {
  background: var(--brand);
  color: var(--white);
  font-size: 0.94rem;
}

.top-contact-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.6rem 0;
}

.top-contact-item {
  opacity: 0.95;
}

.top-contact-item:hover,
.top-contact-item:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.top-contact-item.address {
  margin: 0;
}

.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: min-height 0.22s ease, padding 0.22s ease;
}

.brand-logo,
.custom-logo-wrap {
  display: block;
  width: clamp(190px, 20vw, 230px);
  transition: width 0.22s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.site-header.is-scrolled .site-header-inner {
  min-height: 72px;
}

.site-header.is-scrolled .brand-logo,
.site-header.is-scrolled .custom-logo-wrap {
  width: clamp(138px, 14vw, 165px);
}

.brand-logo img,
.custom-logo-wrap img {
  width: 100%;
  height: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.4rem;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: var(--brand-dark);
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-weight: 600;
}

.primary-menu a {
  color: var(--brand-dark);
  line-height: 1.2;
  transition: color 0.2s ease;
}

#services,
#contact,
#faq {
  scroll-margin-top: 90px;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
  color: var(--accent);
}

.hero {
  position: relative;
  background: #10192b var(--abcbci-hero-bg-image) center/cover no-repeat;
  color: var(--white);
  min-height: clamp(520px, 76vh, 760px);
  display: grid;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(15, 24, 43, 0.9), rgba(25, 41, 76, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: 4rem 0;
}

.hero-eyebrow {
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #d7ecff;
  margin-bottom: 0.6rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
}

.hero-description {
  margin-top: 1.1rem;
  max-width: 780px;
  color: #edf4ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  margin-top: 1rem;
  background: var(--accent);
  color: #0d2a44;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #79bbec;
}

.section-block {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(circle at 20% 20%, #f7fbff 0%, transparent 40%),
    radial-gradient(circle at 80% 40%, #edf4fb 0%, transparent 45%),
    var(--white);
}

.section-block h2 {
  margin-top: 0;
  color: var(--brand-dark);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.services-grid {
  margin-top: 1.5rem;
  display: grid;
  align-items: stretch;
  gap: 1.3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe6f5;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(18, 40, 84, 0.08);
  display: grid;
  gap: 1rem;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #eef6ff;
  border: 1px solid #cfe2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.service-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 40px;
  border-radius: 999px;
  background: #e9f5ff;
  color: var(--brand-dark);
  border: 1px solid #cce4f8;
  font-weight: 800;
  font-size: 1.05rem;
}

.service-copy {
  margin-top: 0;
}

.service-copy h3 {
  margin: 0 0 0.4rem;
  color: var(--brand-dark);
  font-size: 1.2rem;
}

.service-copy p {
  margin: 0;
}

.service-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.service-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
  line-height: 1.45;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}

.service-badge {
  margin-top: 1rem !important;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: #f3f7fc;
  border: 1px solid #d9e5f2;
  color: var(--brand-dark);
  padding: 0.35rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.partner-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  padding: clamp(2.6rem, 5vw, 4.4rem) 0;
}

.partners-intro {
  max-width: 720px;
  margin: 0 auto 1.6rem;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partners-intro h2 {
  margin-bottom: 0.45rem;
}

.partners-intro p {
  margin: 0;
  color: var(--muted);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 780px;
  margin: 0 auto;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  text-align: center;
  display: grid;
  gap: 0.8rem;
  align-items: center;
}

.partner-logo-frame {
  min-height: 110px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #e2eaf6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.partner-logo-frame img {
  max-height: 76px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-card h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 1rem;
  line-height: 1.3;
}

.contact-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.4rem;
}

.map-wrap,
.contact-form,
.hours-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  border: 0;
  min-height: 420px;
  border-radius: inherit;
}

.form-message {
  border-radius: 10px;
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
}

.form-message.success {
  background: #e8f8ee;
  border: 1px solid #b8e4c5;
  color: #17683a;
}

.form-message.error {
  background: #fff1f1;
  border: 1px solid #efc5c5;
  color: #8e2121;
}

.contact-form {
  padding: 1.1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd9ea;
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.85rem;
  font: inherit;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
}

.faq-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.4rem;
}

.faq-intro {
  text-align: center;
}

.faq-intro h2 {
  margin-bottom: 0.35rem;
}

.faq-subheading {
  margin: 0;
  color: var(--muted);
}

.faq-accordion-wrap {
  align-self: start;
}

.accordion {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

.faq-item h3 {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--brand-dark);
  padding: 0.9rem 1rem;
  cursor: pointer;
  position: relative;
}

.faq-trigger::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
}

.faq-trigger[aria-expanded="true"]::after {
  content: "−";
}

.faq-panel {
  padding: 0 1rem 1rem;
}

.faq-panel p,
.faq-panel ul {
  margin: 0;
}

.hours-block {
  padding: 1.15rem;
}

.hours-block h3 {
  margin-top: 0;
  color: var(--brand-dark);
}

.hours-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.site-footer {
  color: var(--white);
  background: linear-gradient(180deg, #415b9f, #334b85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 1rem;
  padding: 2.25rem 0;
}

.footer-heading {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  color: #d9e8ff;
}

.footer-logo img {
  max-height: 94px;
  width: auto;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
}

.copyright-bar p {
  margin: 0;
  padding: 0.85rem 0;
  text-align: center;
}

@media (max-width: 980px) {
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-accordion-wrap {
    order: 1;
  }

  .hours-block {
    order: 2;
  }

  .map-wrap iframe {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .top-contact-inner {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .site-header-inner {
    min-height: 76px;
  }

  .brand-logo,
  .custom-logo-wrap {
    width: clamp(145px, 38vw, 170px);
  }

  .site-header.is-scrolled .site-header-inner {
    min-height: 68px;
  }

  .site-header.is-scrolled .brand-logo,
  .site-header.is-scrolled .custom-logo-wrap {
    width: clamp(125px, 34vw, 140px);
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    display: none;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--border);
    position: absolute;
    left: 0;
    top: 100%;
    padding: 0.8rem 1rem;
  }

  .site-header {
    position: sticky;
  }

  .site-header-inner {
    position: relative;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.1rem;
  }

  .service-card-top {
    align-items: flex-start;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    padding: 1rem;
  }

  .partner-logo-frame {
    min-height: 96px;
  }

  .partner-logo-frame img {
    max-height: 66px;
  }
}

@media (max-width: 560px) {
  .partners-intro {
    margin-bottom: 1.2rem;
  }
}
