:root {
  --primary: #0b5ea8;
  --primary-dark: #083f70;
  --secondary: #17a2b8;
  --accent: #d9eefc;
  --bg: #f5f9fc;
  --surface: #ffffff;
  --surface-alt: #eef5fa;
  --text: #183047;
  --muted: #5f7487;
  --border: #d7e2eb;
  --shadow: 0 12px 35px rgba(11, 94, 168, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

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

.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.95rem;
}

.topbar__inner {
  min-height: 48px;
  display: flex;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.7rem 0;
}

.topbar__item {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.topbar__label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.topbar a {
  color: #fff;
}

.divider {
  opacity: 0.7;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215, 226, 235, 0.9);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
}

.brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text strong {
  font-size: 1rem;
}

.brand__text small {
  color: var(--muted);
  margin-top: 0.2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--text);
  font-weight: 600;
  padding: 0.55rem 0.2rem;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15rem;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0.7rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
  transition: 0.3s ease;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(23, 162, 184, 0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(11, 94, 168, 0.15), transparent 32%),
    linear-gradient(180deg, #f8fcff 0%, #eaf4fb 100%);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 52px,
      rgba(11, 94, 168, 0.03) 52px,
      rgba(11, 94, 168, 0.03) 53px
    );
  pointer-events: none;
}

.hero__content,
.page-hero__grid {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero__content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero__copy h1,
.page-hero h1 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1.08;
  margin: 0.5rem 0 1rem;
  max-width: 12ch;
}

.hero__text,
.page-hero__text {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow,
.section-tag {
  display: inline-block;
  margin: 0 0 0.5rem;
  color: var(--primary);
  background: rgba(11, 94, 168, 0.08);
  border: 1px solid rgba(11, 94, 168, 0.15);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #1177d3);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  color: #fff;
}

.btn--secondary {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}

.btn--light {
  background: #fff;
  color: var(--primary-dark);
}

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

.hero__card {
  display: grid;
  gap: 1rem;
}

.stat-card,
.highlight-box,
.feature-panel,
.info-card,
.form-card,
.hours-card,
.card,
.mission-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.5rem;
}

.stat-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
}

.stat-card--accent {
  background: linear-gradient(180deg, #f5fbff, #eaf6ff);
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2,
.section h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.85rem;
}

.section-heading p:last-child,
.section p {
  color: var(--muted);
}

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

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.feature-panel {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.feature-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-item:last-child {
  border-bottom: 0;
}

.feature-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.feature-item p {
  margin: 0;
}

.text-link {
  font-weight: 700;
  display: inline-block;
  margin-top: 0.75rem;
}

.card-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--locations {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.hours-card {
  padding: 1.45rem;
}

.card h3,
.hours-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.card__muted {
  color: var(--primary);
  font-weight: 700;
}

.card--soft {
  background: linear-gradient(180deg, #f8fbfe, #eef6fb);
}

.service-card {
  text-align: left;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.centered-action {
  text-align: center;
  margin-top: 2rem;
}

.hours-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hours-card p {
  margin: 0.3rem 0;
}

.page-hero {
  padding: 4.8rem 0 3.8rem;
}

.services-list {
  display: grid;
  gap: 1.25rem;
}

.service-block {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.service-block__badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 800;
  font-size: 1.1rem;
}

.service-block h2 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
}

.service-block p {
  margin: 0 0 0.8rem;
}

.highlight-box,
.mission-card {
  padding: 1.6rem;
}

.check-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.check-list li + li {
  margin-top: 0.6rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
}

.contact-info {
  display: grid;
  gap: 1.4rem;
}

.info-card,
.form-card {
  padding: 1.5rem;
}

.mini-hours {
  display: grid;
  gap: 1rem;
}

.mini-hours div {
  display: grid;
  gap: 0.15rem;
}

.mini-hours span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

.form-group {
  display: grid;
  gap: 0.45rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.96rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 94, 168, 0.12);
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 600;
}

.form-message.success {
  color: #137b41;
}

.form-message.error {
  color: #b42318;
}

.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 2.2rem 0;
}

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

.cta-band h2 {
  margin: 0.2rem 0 0;
  color: #fff;
}

.cta-band .section-tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.footer {
  background: #0f2130;
  color: rgba(255, 255, 255, 0.86);
  padding-top: 3rem;
}

.footer a {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.footer__grid h3,
.footer__grid h4 {
  margin-top: 0;
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding: 1.2rem 0 1.8rem;
}

@media (max-width: 1080px) {
  .card-grid,
  .hours-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__content,
  .grid--2,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.25s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .card-grid,
  .card-grid--locations,
  .hours-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar__inner {
    justify-content: center;
  }

  .hero,
  .page-hero,
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero__copy h1,
  .page-hero h1 {
    max-width: 100%;
  }

  .brand__text strong {
    font-size: 0.92rem;
  }

  .brand__text small {
    font-size: 0.78rem;
  }
}

.hero__content--image {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
}

.hero__media,
.about-home__media,
.home-promo__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image,
.about-home__image,
.home-promo__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-home__image {
  min-height: 420px;
  object-fit: cover;
}

.card--profile {
  overflow: hidden;
  padding: 0;
}

.card__image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.service-grid-home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card--image {
  overflow: hidden;
  padding: 0;
}

.service-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card__content {
  padding: 1.25rem;
}

.home-promo {
  align-items: center;
}

.hours-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

@media (max-width: 1080px) {
  .hero__content--image,
  .about-home,
  .home-promo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .service-grid-home,
  .hours-grid--compact {
    grid-template-columns: 1fr;
  }

  .card__image,
  .service-card__image {
    height: 220px;
  }
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.page-hero__content,
.page-hero__media {
  position: relative;
  z-index: 1;
}

.page-hero__image {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-story {
  align-items: center;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .page-hero__grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.service-block--image {
  grid-template-columns: 340px 1fr;
  gap: 1.5rem;
  overflow: hidden;
  padding: 0;
}

.service-block__image-wrap {
  height: 100%;
}

.service-block__image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.service-block__content {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  align-items: start;
}

.gallery-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gallery-card__body {
  padding: 1rem 1.2rem 1.2rem;
}

.gallery-card__body h3 {
  margin: 0;
  font-size: 1.05rem;
}

@media (max-width: 1080px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-block--image {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .gallery-grid,
  .service-block__content {
    grid-template-columns: 1fr;
  }

  .service-block__image {
    min-height: 220px;
  }
}

.branch-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.branch-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.branch-card__content {
  padding: 1.25rem 1.25rem 0.75rem;
}

.branch-card__content h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.branch-card__content p {
  margin: 0;
  color: var(--muted);
}

.branch-card__map {
  padding: 1rem 1.25rem 1.25rem;
}

.branch-card__map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 16px;
  display: block;
}

@media (max-width: 1080px) {
  .branch-grid {
    grid-template-columns: 1fr;
  }
}