@font-face {
  font-family: "Roboto Local";
  src: url("../fonts/roboto-v30-latin-regular.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "Roboto Local";
  src: url("../fonts/roboto-v30-latin-700.woff") format("woff");
  font-weight: 700;
}

@font-face {
  font-family: "Lato Local";
  src: url("../fonts/lato-v23-latin-700.woff") format("woff");
  font-weight: 700;
}

:root {
  --blue: #55a8fe;
  --blue-dark: #0a70b7;
  --ink: #393d45;
  --muted: #6c737c;
  --soft: #f1f1f7;
  --white: #ffffff;
  --line: #dfe7ef;
  --shadow: 0 18px 45px rgba(57, 61, 69, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Roboto Local", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

body.test-page {
  background: #f4f4f9;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

a,
button,
.button,
.nav-menu a,
.nav-menu summary,
.contact-card,
.service-card,
.appointment-card,
.test-list a,
.contact-form input,
.contact-form textarea {
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease, opacity .22s ease;
}

.top-bar {
  background: var(--blue);
  color: var(--white);
  font-family: "Lato Local", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.top-bar__inner,
.nav__inner,
.section__inner,
.footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top-bar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  text-transform: uppercase;
}

.top-bar a {
  text-decoration: none;
}

.top-bar a:hover,
.top-bar a:focus-visible {
  opacity: .82;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, .97);
  box-shadow: 1px 1px 19px rgba(83, 90, 95, .28);
}

.nav__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  font-family: "Lato Local", Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  color: #535a5f;
}

.brand:hover,
.brand:focus-visible {
  color: var(--blue-dark);
}

.nav-toggle {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  width: 46px;
  height: 46px;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 18px rgba(85, 168, 254, .18);
}

.nav-toggle:hover span {
  background: var(--blue);
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 6px auto;
  background: var(--ink);
}

.nav-menu {
  position: absolute;
  inset: 100% 0 auto 0;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 12px 16px 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.nav-menu a,
.nav-menu summary {
  display: block;
  padding: 24px 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu summary:hover,
.nav-menu a[aria-current="page"] {
  color: var(--blue);
  border-color: var(--blue);
}

.nav-menu a:hover,
.nav-menu summary:hover {
  transform: translateY(-1px);
}

.nav-menu details {
  position: relative;
}

.nav-menu summary {
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.submenu {
  position: static;
  width: 100%;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.submenu a {
  padding: 13px 16px;
  font-size: 12px;
  text-align: center;
}

.submenu a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: none;
}

.nav-cta {
  background: rgba(85, 168, 254, .77);
  color: var(--white) !important;
  border: 1px solid transparent !important;
}

.nav-cta:hover {
  background: var(--blue);
  color: var(--white) !important;
  box-shadow: 0 10px 22px rgba(85, 168, 254, .28);
}

.hero {
  position: relative;
  min-height: calc(100vh - 126px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 37, 50, .48), rgba(20, 37, 50, .42)),
    url("../images/aquino-urogin-ja-2.jpg") center / cover;
  animation: heroSwap 10s infinite alternate ease-in-out;
}

@keyframes heroSwap {
  100% {
    background-image: linear-gradient(rgba(20, 37, 50, .48), rgba(20, 37, 50, .42)),
      url("../images/o68z4k0.jpg");
  }
}

.hero__content {
  position: relative;
  width: min(950px, calc(100% - 32px));
  padding: 88px 0;
}

.hero h1 {
  margin: 0 0 10px;
  font-family: "Lato Local", Arial, sans-serif;
  font-size: clamp(34px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  margin: 0;
  font-size: clamp(18px, 2.3vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.scroll-cue {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  margin-top: 42px;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.scroll-cue:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(4px);
}

.section {
  padding: 76px 0;
}

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

.section--blue {
  background: var(--blue-dark);
  color: var(--white);
}

.section-title {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.section--blue .section-title {
  color: var(--white);
}

.lead {
  max-width: 940px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 20px;
  text-align: center;
}

.section--blue .lead {
  color: rgba(255,255,255,.9);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.icon-stack {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.icon-stack img {
  width: 186px;
  height: 186px;
  object-fit: contain;
}

.content-card,
.service-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-card {
  padding: 30px;
}

.doctor-card ul {
  margin-bottom: 20px;
}

.doctor-location {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.doctor-qr {
  display: block;
  width: 116px;
  height: 116px;
  margin-top: 18px;
  opacity: .82;
}

.image-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  overflow: hidden;
}

.service-card:hover,
.contact-card:hover,
.test-list a:hover {
  transform: translateY(-6px);
  border-color: rgba(85, 168, 254, .45);
  box-shadow: 0 24px 55px rgba(57, 61, 69, .18);
}

.service-card:hover h3,
.contact-card:hover h2,
.test-list a:hover {
  color: var(--blue-dark);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  display: block;
}

.service-card__body {
  padding: 24px;
}

.service-card h3 {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-card ul,
.content-card ul {
  margin: 0;
  padding-left: 20px;
}

.cta {
  text-align: center;
  background: linear-gradient(rgba(10, 112, 183, .78), rgba(10, 112, 183, .78)),
    url("../images/que es-u1461-fr2.png") center / cover;
  color: var(--white);
}

.cta .section-title {
  color: var(--white);
}

.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.button:hover,
.button:focus-visible {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(10, 112, 183, .24);
}

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

.button--light:hover,
.button--light:focus-visible {
  background: var(--blue);
  color: var(--white);
}

.button--outline {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--blue);
}

.button--outline:hover,
.button--outline:focus-visible {
  background: var(--blue);
  color: var(--white);
}

.appointment-section {
  padding-top: 34px;
  background: #f4f4f9;
}

.appointment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.appointment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(57, 61, 69, .18);
}

.appointment-kicker {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-family: "Lato Local", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.appointment-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  text-transform: uppercase;
}

.appointment-card p {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--muted);
}

.appointment-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.page-hero {
  padding: 70px 0;
  background: var(--soft);
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.8vw, 52px);
  text-transform: uppercase;
}

.test-frame {
  width: 100%;
  min-height: 70vh;
  border: 0;
  background: var(--white);
}

body.test-page main > .section:first-child {
  padding-top: 44px;
}

body.test-page .section--soft {
  background: #f4f4f9;
}

.test-list {
  display: grid;
  gap: 16px;
  max-width: 840px;
  margin: 0 auto;
}

.test-list a {
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

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

.contact-page {
  background: var(--soft);
}

.contact-map-strip {
  height: 270px;
  background: #dce6ef;
}

.contact-map-strip iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.88);
}

.contact-title-band {
  padding: 34px 0 30px;
  background: var(--white);
  text-align: center;
}

.contact-title-band h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.contact-panel {
  padding-top: 60px;
  background: var(--soft);
}

.contact-card {
  min-height: 265px;
  padding: 48px 24px 38px;
  text-align: center;
  border-color: transparent;
}

.contact-card img {
  height: 58px;
  width: auto;
  margin-bottom: 18px;
}

.contact-card h2 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 26px;
  line-height: 1.2;
}

.contact-card a {
  color: var(--muted);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--blue-dark);
}

.form-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form--center {
  width: min(402px, 100%);
  margin: 68px auto 0;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd8e3;
  border-radius: 0;
  font: inherit;
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(85, 168, 254, .14);
  outline: none;
}

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

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

.recaptcha-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.g-recaptcha {
  min-height: 78px;
}

.form-status {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #f8fbff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.form-status[data-status] {
  display: block;
}

.form-status[data-status="ok"] {
  border-color: #b7dfc1;
  background: #f0fff4;
  color: #256238;
}

.form-status[data-status="error"],
.form-status[data-status="recaptcha"] {
  border-color: #f0c1c1;
  background: #fff6f6;
  color: #8d2f2f;
}

.contact-submit {
  width: 100%;
  margin-top: 4px;
  border-radius: 0;
  text-transform: uppercase;
}

.map {
  min-height: 480px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  border-top: 3px solid var(--blue);
}

.footer__inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.footer__inner a {
  text-decoration: none;
}

.footer__inner a:hover,
.footer__inner a:focus-visible {
  color: #d7ecff;
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    box-shadow: none;
  }

  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    border: 0;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 900px) {
  .top-bar__inner,
  .nav__inner {
    width: min(100% - 24px, 720px);
  }

  .top-bar__inner {
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }

  .nav-menu a,
  .nav-menu summary {
    padding: 12px;
    text-align: center;
  }

  .hero {
    min-height: 680px;
  }

  .two-col,
  .services,
  .contact-grid,
  .form-map,
  .appointment-card {
    grid-template-columns: 1fr;
  }

  .appointment-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 520px) {
  .section {
    padding: 54px 0;
  }

  .brand {
    font-size: 21px;
  }

  .hero {
    min-height: 620px;
  }

  .hero__content {
    width: calc(100% - 56px);
  }

  .hero h1 {
    font-size: 29px;
    line-height: 1.16;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.35;
  }

  .section-title {
    font-size: 26px;
  }

  .nav-toggle {
    position: fixed;
    right: 14px;
    top: 84px;
    z-index: 3;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
  }

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

  .footer__inner {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
    text-align: center;
  }
}
