:root {
  --blue: #1d2c7b;
  --blue-900: #101947;
  --blue-100: #eef3ff;
  --ink: #162033;
  --muted: #5f6b7c;
  --line: #dce3f1;
  --white: #ffffff;
  --soft: #f8fafc;
  --mint: #2da99b;
  --mint-soft: #e7f7f5;
  --warm: #f7f4ed;
  --shadow: 0 20px 60px rgba(16, 25, 71, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--blue);
}

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

.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;
}

.topbar {
  color: var(--white);
  background: var(--blue);
  font-size: 0.88rem;
}

.topbar__inner,
.nav,
.section__inner,
.footer__inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 241, 0.7);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 2rem;
}

.brand img {
  width: auto;
  height: 92px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav__links a:not(.nav__cta) {
  border-bottom: 2px solid transparent;
}

.nav__links a:not(.nav__cta):hover,
.nav__links a:not(.nav__cta):focus-visible {
  border-color: var(--mint);
}

.nav__cta {
  color: var(--white);
  background: var(--blue);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav__toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 25, 71, 0.93), rgba(29, 44, 123, 0.78)),
    var(--blue);
}

.hero__mark {
  position: absolute;
  right: -0.5rem;
  top: -30rem;
  transform: translateX(20rem);
  width: min(1550px, 82vw);
  opacity: 0.09;
  filter: brightness(0) invert(1);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 5.5rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #aaf0e8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
}

h2 {
  margin-bottom: 1rem;
  color: var(--blue-900);
  font-size: 2.35rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 0.6rem;
  color: var(--blue-900);
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

.hero__actions,
.contact-methods {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

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

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

.button--secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.hero__facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  color: var(--blue-900);
  background: var(--white);
  border-radius: 8px 8px 0 0;
  box-shadow: var(--shadow);
}

.hero__facts div {
  padding: 1.35rem;
  border-right: 1px solid var(--line);
}

.hero__facts div:last-child {
  border-right: 0;
}

.hero__facts strong,
.hero__facts span {
  display: block;
}

.hero__facts strong {
  font-size: 1.12rem;
}

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

.hero__facts .hero__hours strong,
.hero__facts .hero__hours span {
  display: inline;
  color: var(--blue-900);
  font-size: 1rem;
  font-weight: 800;
}

.hero__facts .hero__hours strong::after {
  content: ": ";
}

.section {
  padding: 5rem 0;
}

.intro {
  background: var(--warm);
}

.intro__grid,
.care__grid,
.faq__grid,
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.intro__grid p:last-child,
.care__content p,
.faq__grid > div:first-child p,
.contact__details p,
.service-card p,
.feature p,
.process-grid p,
.faq__items p {
  color: var(--muted);
}

.section__heading {
  max-width: 680px;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about {
  background: var(--white);
}

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

.team-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center top;
}

.team-card__content {
  align-self: center;
  padding: 2rem;
}

.team-card__role {
  margin-bottom: 0.5rem;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-card__content p:not(.team-card__role) {
  color: var(--muted);
}

.service-card,
.feature,
.process-grid article,
.appointment-form,
.faq__items details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  padding: 1.4rem;
  min-height: 220px;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--mint);
  font-weight: 800;
}

.service-card--accent {
  background: var(--blue-100);
  border-color: #cbd8ff;
}

.work {
  background: var(--blue-100);
}

.work .section__heading p:last-child {
  color: var(--muted);
}

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

.work-card {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbd8ff;
  border-radius: 8px;
  background: var(--blue-900);
  box-shadow: var(--shadow);
}

.work-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  color: var(--white);
  background: linear-gradient(180deg, rgba(16, 25, 71, 0), rgba(16, 25, 71, 0.88));
  font-weight: 800;
}

.care {
  background: var(--soft);
}

.care__content {
  position: sticky;
  top: 120px;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature {
  padding: 1.35rem;
}

.feature h3 {
  margin-bottom: 0.35rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.process-grid article {
  padding: 1.4rem;
  background: var(--blue);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1.5rem;
  color: var(--blue);
  background: var(--white);
  border-radius: 999px;
  font-weight: 800;
}

.process-grid h3,
.process-grid p {
  color: var(--white);
}

.faq {
  background: var(--warm);
}

.faq__items {
  display: grid;
  gap: 0.75rem;
}

.faq__items details {
  padding: 1.1rem 1.2rem;
}

.faq__items summary {
  color: var(--blue-900);
  font-weight: 800;
  cursor: pointer;
}

.faq__items p {
  margin: 0.85rem 0 0;
}

.contact-methods {
  margin-top: 1.5rem;
  flex-direction: column;
}

.contact-methods a {
  color: var(--blue);
  font-weight: 800;
}

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

.appointment-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.appointment-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--blue-900);
  font-weight: 800;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: var(--soft);
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  outline: 3px solid rgba(45, 169, 155, 0.24);
  border-color: var(--mint);
}

.form-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.map-card a {
  display: block;
  padding: 1rem 1.2rem;
  color: var(--blue);
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.footer {
  padding: 2rem 0;
  color: var(--muted);
  background: var(--soft);
  border-top: 1px solid var(--line);
}

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

.footer img {
  width: auto;
  height: 58px;
}

@media (max-width: 900px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .service-grid,
  .team-grid,
  .work-gallery,
  .process-grid,
  .intro__grid,
  .care__grid,
  .faq__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card img {
    height: 420px;
    min-height: 0;
  }

  .work-card--featured {
    grid-column: auto;
    grid-row: auto;
  }

  .care__content {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    justify-content: flex-start;
    gap: 0.5rem 1rem;
  }

  .brand img {
    height: 72px;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 4.5rem 0 3.5rem;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .hero__actions,
  .hero__actions .button,
  .appointment-form .button {
    width: 100%;
  }

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

  .hero__facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__facts div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 3.5rem 0;
  }

  .team-card__content {
    padding: 1.4rem;
  }

  .team-card img {
    height: 360px;
  }

  .work-card {
    min-height: 320px;
  }

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