:root {
  --primary-color: #0d6efd;
  --secondary-color: #eaf4ff;
  --dark-blue: #083b66;
  --text-color: #333333;
  --muted-color: #617083;
  --light-bg: #f8fbff;
  --white: #ffffff;
  --border-color: #dbeafe;
  --teal: #12b8a6;
  --green: #25d366;
  --warning: #f5a524;
  --shadow: 0 18px 45px rgba(8, 59, 102, 0.12);
  --shadow-soft: 0 10px 30px rgba(8, 59, 102, 0.08);
  --radius: 8px;
  --container: 1180px;
  --topbar-height: 38px;
  --header-main-height: 82px;
  --header-height: calc(var(--topbar-height) + var(--header-main-height));
  --font-main: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--primary-color) var(--secondary-color);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--secondary-color);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-color), var(--dark-blue));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0b5ed7, var(--dark-blue));
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--text-color);
  background: var(--white);
  line-height: 1.65;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--dark-blue);
  color: var(--white);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 234, 254, 0.75);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.header-top {
  color: rgba(255, 255, 255, 0.84);
  background: var(--dark-blue);
}

.header-top-inner {
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.top-link:hover,
.top-link:focus-visible {
  color: var(--white);
}

.top-link .icon {
  width: 16px;
  height: 16px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-social a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-social .icon {
  width: 15px;
  height: 15px;
}

.header-social a:hover,
.header-social a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.44);
}

.header-inner {
  height: var(--header-main-height);
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--dark-blue);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--primary-color);
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.25);
}

.brand-mark .icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.brand-logo {
  display: block;
  width: 170px;
  height: auto;
  max-height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-logo-footer {
  width: 180px;
  max-height: 58px;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-color);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--dark-blue);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.nav-item {
  position: relative;
}

.nav-dropdown-head {
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--dark-blue);
  background: var(--white);
}

.nav-dropdown-toggle .icon {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.has-dropdown.is-open .nav-dropdown-toggle .icon {
  transform: rotate(-90deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1002;
  display: grid;
  width: 238px;
  gap: 4px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
}

.has-dropdown:hover .nav-dropdown-menu,
.has-dropdown:focus-within .nav-dropdown-menu,
.has-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  justify-content: flex-start;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-blue);
  font-weight: 800;
  white-space: nowrap;
}

.contact-line:hover {
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--dark-blue);
  background: var(--white);
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--primary-color);
  box-shadow: 0 14px 26px rgba(13, 110, 253, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #075ed8;
}

.btn-outline {
  color: var(--dark-blue);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--primary-color);
  border-color: var(--border-color);
}

.btn-soft {
  color: var(--primary-color);
  background: var(--secondary-color);
  border-color: var(--border-color);
}

.btn-soft:hover,
.btn-soft:focus-visible {
  color: var(--white);
  background: var(--primary-color);
}

.section {
  padding: 86px 0;
}

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

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
h4 {
  color: var(--dark-blue);
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 3.6rem;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.25rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

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

.lead {
  font-size: 1.08rem;
  color: #506176;
}

.hero {
  position: relative;
  min-height: clamp(500px, calc(100vh - var(--header-height)), 640px);
  display: grid;
  align-items: center;
  overflow: clip;
  isolation: isolate;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(2, 16, 31, 0.92) 0%, rgba(6, 40, 70, 0.82) 48%, rgba(5, 37, 64, 0.72) 100%), url("../images/hero-clinic-bg.webp");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(3, 17, 31, 0.36), rgba(3, 17, 31, 0.1));
}

.hero-inner {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 760px;
  padding: 46px 0;
  align-self: center;
  z-index: 2;
}

.hero h1,
.hero p {
  color: var(--white);
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: 3.05rem;
}

.hero .lead {
  max-width: 610px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.cta-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 700px;
  margin-top: 28px;
}

.hero-figure {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin: 0;
  min-width: 0;
  z-index: 2;
}

.hero-doctor {
  width: min(100%, 360px);
  max-height: calc(100% - 26px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, 0.32));
}

.stat {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.stat strong {
  display: block;
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.service-card,
.blog-card,
.team-card,
.value-item,
.info-box,
.sidebar-box,
.testimonial,
.gallery-item,
.contact-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-card,
.blog-card,
.team-card,
.value-item,
.info-box,
.sidebar-box,
.testimonial,
.contact-card {
  padding: 24px;
}

.service-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.card-link {
  position: relative;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-link:hover,
.card-link:focus-visible,
.card-link:focus-within {
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.service-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.service-card-body h2,
.service-card-body h3 {
  margin-bottom: 0;
  font-size: 1.14rem;
}

.service-card-body p {
  margin-bottom: 0;
}

.service-icon,
.value-icon,
.contact-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--primary-color);
  background: var(--secondary-color);
}

.service-card .icon,
.value-icon .icon,
.contact-icon .icon {
  width: 26px;
  height: 26px;
}

.service-card p,
.blog-card p,
.value-item p,
.team-card p,
.sidebar-box p,
.contact-card p {
  margin-bottom: 0;
}

.service-card h2,
.blog-card h2,
.info-box h2,
.contact-card h2,
.sidebar-box h2 {
  font-size: 1.24rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 900;
}

.text-link:hover {
  color: var(--dark-blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 46px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  background: var(--secondary-color);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--dark-blue);
  font-weight: 700;
}

.check-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--teal);
}

.value-item {
  display: grid;
  gap: 12px;
}

.blog-card {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 0;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-body {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 22px;
}

.blog-card a.badge {
  position: relative;
  z-index: 3;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted-color);
  font-size: 0.88rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--primary-color);
  background: var(--secondary-color);
  font-size: 0.82rem;
  font-weight: 900;
}

a.badge:hover,
a.badge:focus-visible {
  color: var(--white);
  background: var(--primary-color);
}

.faq-list {
  display: grid;
  gap: 12px;
}

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

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  color: var(--dark-blue);
  background: transparent;
  font-weight: 900;
  text-align: left;
}

.faq-question span {
  min-width: 0;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-toggle {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary-color);
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.faq-toggle::before {
  content: "+";
  display: block;
  width: 1em;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.faq-item.is-open .faq-toggle::before {
  content: "-";
}

.seo-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  width: 100%;
  padding: 34px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.seo-copy .eyebrow,
.seo-copy h2 {
  grid-column: auto;
}

.seo-copy h2 {
  margin-bottom: 0;
}

.seo-copy h3 {
  margin-top: 10px;
}

.seo-copy p {
  margin-bottom: 12px;
}

.seo-copy div p:last-child {
  margin-bottom: 0;
}

.seo-copy a {
  color: var(--primary-color);
  font-weight: 800;
}

.seo-copy a:hover {
  color: var(--dark-blue);
}

.cta-band {
  padding: 58px 0;
  color: var(--white);
  background: var(--dark-blue);
}

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

.cta-inner h2,
.cta-inner p {
  color: var(--white);
}

.cta-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-banner {
  padding: 74px 0 62px;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(3, 24, 44, 0.84), rgba(8, 59, 102, 0.66)), url("../images/hero-clinic-bg.webp");
  background-position: center;
  background-size: cover;
}

.page-banner h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: 3rem;
}

.page-banner h1,
.page-banner .lead {
  color: var(--white);
}

.page-banner .lead {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--white);
  font-weight: 800;
}

.breadcrumb a:hover {
  color: #9ddcf5;
}

.content-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.content-layout.reverse {
  grid-template-columns: minmax(0, 1fr) 310px;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 18px;
}

.sidebar-box {
  display: grid;
  gap: 14px;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--dark-blue);
  font-weight: 800;
  background: var(--white);
}

.side-nav a:hover,
.side-nav a.is-active {
  color: var(--primary-color);
  background: var(--secondary-color);
}

.article-content {
  min-width: 0;
}

.article-content > img {
  width: 100%;
  margin-bottom: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-content h2,
.article-content h3 {
  margin-top: 34px;
}

.article-content p,
.article-content li {
  color: #536374;
}

.info-document {
  display: grid;
  gap: 20px;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.document-meta span {
  padding: 6px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--dark-blue);
  background: var(--secondary-color);
  font-size: 0.84rem;
  font-weight: 800;
}

.policy-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: 26px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.policy-section h2 {
  margin-top: 0;
}

.policy-section p:last-child,
.policy-section ul:last-child {
  margin-bottom: 0;
}

.policy-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.policy-list li {
  position: relative;
  padding-left: 22px;
  color: #536374;
}

.policy-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
}

.legal-note {
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  color: var(--dark-blue);
  background: #eefcff;
}

.numbered-steps {
  display: grid;
  gap: 14px;
  counter-reset: steps;
  margin: 24px 0;
}

.numbered-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--white);
  counter-increment: steps;
}

.numbered-steps li::before {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  content: counter(steps);
  color: var(--white);
  background: var(--primary-color);
  font-weight: 900;
}

.team-card img,
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  margin: 0;
}

.filter-bar,
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pagination {
  justify-content: center;
  margin-top: 34px;
  margin-bottom: 0;
}

.blog-list {
  row-gap: 34px;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: grid;
  gap: 18px;
}

.latest-post-list {
  display: grid;
  gap: 14px;
}

.latest-post {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--dark-blue);
}

.latest-post img {
  width: 82px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  object-fit: cover;
}

.latest-post strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}

.latest-post > span > span {
  display: block;
  margin-top: 4px;
  color: var(--muted-color);
  font-size: 0.82rem;
  font-weight: 700;
}

.latest-post:hover,
.latest-post:focus-visible {
  color: var(--primary-color);
}

.seo-copy + .grid {
  margin-top: 34px;
}

.info-box {
  display: grid;
  align-content: start;
  gap: 14px;
}

.info-box .service-icon {
  margin-bottom: 4px;
}

.info-box h2,
.info-box p {
  margin-bottom: 0;
}

.category-list {
  display: grid;
  gap: 8px;
}

.category-list a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--dark-blue);
  background: var(--white);
  font-weight: 800;
}

.category-list a:hover,
.category-list a:focus-visible {
  color: var(--primary-color);
  background: var(--secondary-color);
}

.filter-pill,
.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--dark-blue);
  background: var(--white);
  font-weight: 800;
}

.filter-pill.is-active,
.page-number.is-active,
.filter-pill:hover,
.page-number:hover {
  color: var(--white);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.share-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: var(--radius);
  color: var(--primary-color);
  background: var(--secondary-color);
  font-weight: 900;
}

.share-row .icon {
  width: 18px;
  height: 18px;
}

.author-box {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--secondary-color);
}

.author-box img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.24rem;
}

.author-box p {
  margin-bottom: 12px;
}

.author-box .eyebrow {
  margin-bottom: 0;
  line-height: 1.1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
}

.form-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 28px;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.checkbox-field {
  color: var(--dark-blue);
  font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 11px 13px;
  color: var(--dark-blue);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 135px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 0.95rem;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--primary-color);
}

.form-message {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--secondary-color);
  color: var(--dark-blue);
  font-weight: 800;
}

.form-message.is-visible {
  display: block;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--secondary-color);
  min-height: 360px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.hours-list {
  display: grid;
  gap: 10px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  color: var(--dark-blue);
  font-weight: 700;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #062f52;
}

.footer-cta {
  padding: 58px 0;
  color: var(--white);
  background: var(--dark-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta h2,
.footer-cta p {
  color: var(--white);
}

.footer-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand-text small {
  color: rgba(255, 255, 255, 0.72);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 34px;
  padding: 58px 0;
}

.footer-main h2,
.footer-main h3,
.footer-main a,
.footer-main strong {
  color: var(--white);
}

.footer-main p {
  color: rgba(255, 255, 255, 0.74);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: #9ddcf5;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 900;
}

.social-links .icon {
  width: 19px;
  height: 19px;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.social-links .social-instagram:hover {
  background: #e4405f;
  border-color: #e4405f;
}

.social-links .social-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-links .social-youtube:hover {
  background: #ff0033;
  border-color: #ff0033;
}

.social-links .social-linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.social-links .social-x:hover {
  background: #111111;
  border-color: #111111;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.76);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  display: grid;
  gap: 10px;
}

.float-btn {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.float-btn:hover,
.float-btn:focus-visible {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.05);
}

.float-btn.call {
  background: var(--primary-color);
}

.float-btn.whatsapp {
  background: var(--green);
}

.float-btn .icon {
  width: 24px;
  height: 24px;
}

.float-btn.whatsapp .icon {
  width: 27px;
  height: 27px;
}

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

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

  h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .page-banner h1 {
    font-size: 2.55rem;
  }

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

  .grid-3,
  .footer-main,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-layout,
  .content-layout.reverse,
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .content-layout .article-content {
    order: -1;
  }

  .content-layout .sidebar {
    order: 1;
  }

  .content-layout.reverse .article-content,
  .blog-layout .article-content {
    order: 0;
  }

  .content-layout.reverse .sidebar,
  .blog-layout .blog-sidebar {
    order: 0;
  }

  .sidebar,
  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  :root {
    --topbar-height: 40px;
    --header-main-height: 72px;
  }

  .header-top-inner {
    gap: 10px;
  }

  .header-contact {
    gap: 12px;
  }

  .header-inner {
    gap: 14px;
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 4px;
    padding: 14px 16px 18px;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
  }

  .nav-item {
    width: 100%;
  }

  .nav-dropdown-head {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 0;
    align-items: center;
  }

  .nav-dropdown-head .nav-link {
    grid-column: 2;
    justify-content: center;
  }

  .nav-dropdown-toggle {
    display: grid;
    grid-column: 3;
    flex: 0 0 42px;
  }

  .nav-dropdown-toggle:hover,
  .nav-dropdown-toggle:focus-visible {
    color: var(--primary-color);
    background: var(--secondary-color);
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, opacity 0.2s ease;
  }

  .site-nav .has-dropdown:not(.is-open) .nav-dropdown-menu,
  .has-dropdown:focus-within .nav-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
  }

  .site-nav .has-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 260px;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    justify-content: center;
    min-height: 36px;
    font-size: 0.88rem;
    color: var(--muted-color);
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    overflow: visible;
    background-position: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
  }

  .hero-figure {
    order: -1;
    width: 180px;
    height: 180px;
    justify-content: center;
    align-items: center;
    margin: 18px auto 0;
    padding: 0;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(234, 244, 255, 0.18);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
    overflow: hidden;
  }

  .hero-doctor {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    filter: none;
  }

  .hero-content {
    padding: 14px 0 26px;
    text-align: center;
    margin-inline: auto;
  }

  .hero h1 {
    margin-bottom: 12px;
    font-size: 2.15rem;
  }

  .hero .lead {
    font-size: 0.92rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .hero .stat {
    padding: 9px 0 0;
  }

  .hero .stat strong {
    font-size: 1.05rem;
  }

  .hero .stat span {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .split,
  .contact-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-main,
  .seo-copy {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.16rem;
  }

  .page-banner h1 {
    font-size: 2.1rem;
  }

  .lead,
  .page-banner .lead {
    font-size: 0.98rem;
  }

  .contact-grid .form-card {
    order: -1;
  }

  .contact-grid .contact-list {
    order: 1;
  }

  .cta-inner {
    display: grid;
  }

  .section {
    padding: 64px 0;
  }

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

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand-text small {
    display: none;
  }

  .header-top-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-contact a[href^="mailto:"] {
    display: none;
  }

  .top-link {
    font-size: 0.82rem;
  }

  .header-social {
    gap: 5px;
  }

  .header-social a {
    width: 26px;
    height: 26px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo {
    width: 146px;
    max-height: 44px;
  }

  .brand-logo-footer {
    width: 164px;
    max-height: 50px;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.48rem;
  }

  h3 {
    font-size: 1.08rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-figure {
    width: 154px;
    height: 154px;
    margin-top: 10px;
  }

  .hero-doctor {
    width: 100%;
    height: 100%;
  }

  .hero-content {
    padding: 8px 0 18px;
  }

  .hero h1 {
    font-size: 1.78rem;
  }

  .hero .lead {
    font-size: 0.88rem;
  }

  .hero-stats {
    display: none;
  }

  .hero-actions,
  .cta-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .hero-actions .btn {
    width: auto;
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .page-banner {
    padding: 54px 0 46px;
  }

  .page-banner h1 {
    font-size: 1.85rem;
  }

  .page-banner .lead {
    font-size: 0.92rem;
  }

  .value-item,
  .info-box,
  .sidebar-box,
  .testimonial,
  .contact-card,
  .form-card,
  .seo-copy {
    padding: 20px;
  }

  .service-card-body {
    padding: 18px;
  }

  .service-card-body h2,
  .service-card-body h3,
  .blog-card h2,
  .contact-card h2,
  .sidebar-box h2,
  .latest-post strong {
    font-size: 1.06rem;
  }

  .latest-post {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .latest-post img {
    width: 72px;
  }

  .author-box {
    grid-template-columns: 1fr;
    padding: 18px;
  }

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

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }
}
