:root {
  --navy: #12384b;
  --navy-deep: #0d3042;
  /*--blue: #0788d1;*/
  --blue: #ec1c24;
  --blue-dark: #056fae;
  --red: #ef2029;
  --red-dark: #d71922;
  --sky: #edf7fc;
  --sky-2: #f5faff;
  --text: #173244;
  --muted: #668092;
  --white: #ffffff;
  --border: #dce8ef;
  --shadow: 0 20px 55px rgba(18, 56, 75, 0.10);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #edf2f5;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: #5f7482;
}

.main-nav a {
  position: relative;
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  height: 2px;
  background: var(--blue);
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 12px 19px;
  border-radius: 9px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(239, 32, 41, .16);
}

.nav-cta:hover {
  background: var(--red-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* Shared */
.section {
  /*padding: 105px 0;*/
  padding: 40px 0;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 2.2px;
  font-weight: 800;
  margin-bottom: 16px;
}

.eyebrow.light {
  color: #65c3f2;
}

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

h1 {
  font-size: clamp(46px, 5.3vw, 70px);
  line-height: 1.02;
  letter-spacing: -2.7px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.7px;
  margin-bottom: 22px;
}

h3 {
  line-height: 1.25;
}

h1 span,
h2 span {
  color: var(--blue);
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 750;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 24px rgba(239, 32, 41, .17);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--blue);
  background: var(--white);
  border: 1px solid #cfe2ec;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #eef8fd 0%, #e9f5fb 100%);
  padding: 74px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 75px;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy > p:not(.call-note) {
  max-width: 590px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 25px;
}

.call-note {
  font-size: 13px;
  margin: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: min(100%, 470px);
  aspect-ratio: 1 / 1.03;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #d7ecf7, #c2dfed 50%, #8fc4dc);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.two-column {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.about-copy {
  max-width: 610px;
  padding-top: 12px;
}

.about-copy p {
  font-size: 17px;
  margin-bottom: 22px;
}

/* Specialties */
.specialties {
  background: var(--sky-2);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading p {
  font-size: 16px;
  max-width: 650px;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.specialty-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 27px;
  min-height: 225px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.specialty-card:hover {
  transform: translateY(-4px);
  border-color: #bdddec;
  box-shadow: 0 15px 35px rgba(18, 56, 75, .08);
}

.specialty-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #e8f5fc;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 22px;
}

.specialty-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.specialty-card p {
  font-size: 13px;
  margin-bottom: 0;
}

/* Why us */
.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 85px;
  align-items: center;
}

.why-copy > p {
  max-width: 640px;
  font-size: 16px;
}

.benefit-list {
  margin-top: 36px;
}

.benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  padding: 19px 0;
  border-top: 1px solid var(--border);
}

.benefit > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.benefit h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.benefit p {
  font-size: 13px;
  margin-bottom: 0;
}

.appointment-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 26px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.appointment-card h2 {
  color: var(--white);
  font-size: 34px;
}

.appointment-card p {
  color: #b7cfdb;
}

.phone-button {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.06);
}

.phone-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--red);
}

.phone-button small,
.phone-button strong {
  display: block;
}

.phone-button small {
  color: #9dbac8;
  font-size: 11px;
}

.phone-button strong {
  color: white;
  font-size: 16px;
}

/* CTA */
.appointment-section {
  /*padding: 70px 0;*/
  padding: 40px 0;
  background: var(--navy-deep);
  color: var(--white);
}

.appointment-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.appointment-inner h2 {
  max-width: 690px;
  margin-bottom: 12px;
}

.appointment-inner p {
  max-width: 680px;
  margin-bottom: 0;
  color: #b8cfda;
}

.btn-white {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--navy);
  min-width: 155px;
}

/* Contact */
.contact {
  background: var(--sky);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-details {
  display: grid;
  gap: 15px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(255,255,255,.75);
  border: 1px solid #d9e8ef;
  padding: 17px;
  border-radius: 14px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  background: #e4f3fb;
  color: var(--blue);
  border-radius: 11px;
  font-size: 18px;
}

.contact-item strong,
.contact-item a,
.contact-item span {
  display: block;
}

.contact-item strong {
  font-size: 12px;
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  color: var(--muted);
  font-size: 14px;
}

/* Error page */
.error-page {
  text-align: center;
}

.error-page .hero-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--white);
  /*padding: 58px 0 25px;*/
  padding: 25px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 45px;
}

.footer-brand {
  max-width: 310px;
}

.footer-brand img {
  width: 100px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 14px 25px;
  max-width: 560px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  color: #8499a5;
  font-size: 11px;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

/* Responsive */
@media (max-width: 980px) {
  .main-nav {
    gap: 15px;
    font-size: 12px;
  }

  .hero-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .specialty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 560px);
  }

  .site-header {
    height: auto;
    padding: 14px 0;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    order: 3;
    padding-top: 12px;
    font-size: 14px;
  }

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

  .main-nav a {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .main-nav a.active::after {
    display: none;
  }

  .main-nav .nav-cta {
    width: auto;
    margin-top: 8px;
    padding: 12px 19px;
  }

  .brand img {
    width: 95px;
  }

  .hero {
    padding: 58px 0 70px;
  }

  h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }

  h2 {
    font-size: 35px;
  }

  .section {
    padding: 75px 0;
  }

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

  .appointment-inner,
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom div {
    flex-direction: column;
    gap: 7px;
  }
}
