:root {
  --navy: #0b3954;
  --navy-deep: #06273d;
  --teal: #0a8ca0;
  --aqua: #eaf8fb;
  --gold: #c9a24b;
  --orange: #f47b2a;
  --ink: #273342;
  --muted: #6c7784;
  --line: #dfe8ec;
  --white: #ffffff;
  --shadow: 0 14px 32px rgba(6, 39, 61, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
  background: var(--white);
  padding: 0.6rem 1rem;
}

.quick-strip {
  color: var(--white);
  background: var(--navy-deep);
  font-size: 0.88rem;
}

.quick-inner {
  width: min(1180px, calc(100% - 28px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.quick-inner a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.quick-inner a:first-child {
  color: var(--gold);
}

.quick-inner span {
  color: rgba(255, 255, 255, 0.76);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(6, 39, 61, 0.08);
}

.nav-wrap {
  width: min(1180px, calc(100% - 28px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1;
}

.brand small {
  display: block;
  max-width: 260px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a,
.nav-dropdown summary {
  text-decoration: none;
  color: var(--navy);
  cursor: pointer;
}

.nav-links a {
  padding: 0.65rem 0;
}

.nav-links a.active,
.nav-links a:hover,
.nav-dropdown summary.active,
.nav-dropdown summary:hover {
  color: var(--orange);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0;
  list-style: none;
}

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

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 40;
  display: grid;
  min-width: 340px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 0.55rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.dropdown-menu a {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid #eef3f5;
  font-size: 0.83rem;
  line-height: 1.2;
  text-transform: none;
}

.dropdown-menu a:hover {
  color: var(--white);
  background: var(--teal);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 0;
  color: var(--white) !important;
  background: var(--orange);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(244, 123, 42, 0.22);
}

.btn.secondary {
  color: var(--navy) !important;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

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

.section {
  padding: clamp(3rem, 7vw, 5.8rem) 0;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.35rem, 7vw, 5.1rem);
}

h2 {
  font-size: clamp(1.85rem, 4.5vw, 3.1rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0 0 1rem;
}

.center-head {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 700;
}

.page-hero .eyebrow {
  color: var(--gold);
}

.band {
  background: #f6fbfd;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.confident-hero {
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 39, 61, 0.95), rgba(10, 140, 160, 0.84)),
    radial-gradient(circle at 76% 30%, rgba(255, 255, 255, 0.24), transparent 30%),
    var(--navy);
}

.hero-inner {
  width: min(1180px, calc(100% - 28px));
  min-height: min(680px, calc(100vh - 126px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 5.8rem) 0;
}

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

.hero-kicker {
  margin-bottom: 0.4rem;
  color: var(--gold) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  font-style: italic;
}

.hero-copy > p:not(.hero-kicker) {
  max-width: 640px;
  font-size: 1.15rem;
}

.hero-slider-dots {
  display: flex;
  gap: 0.45rem;
  padding: 0;
  margin: 0 0 1.2rem;
  list-style: none;
}

.hero-slider-dots li {
  width: 9px;
  height: 9px;
  background: var(--gold);
}

.hero-actions,
.card-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.center-actions {
  justify-content: center;
}

.hero-doctor {
  position: relative;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-doctor img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.doctor-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 0.9rem 1rem;
  color: var(--white);
  background: rgba(6, 39, 61, 0.86);
}

.doctor-caption strong,
.doctor-caption span {
  display: block;
}

.metrics-band {
  background: var(--navy-deep);
}

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

.metrics-grid div {
  min-height: 118px;
  padding: 1.3rem;
  color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.metrics-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.metrics-grid strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.metrics-grid span {
  display: block;
  margin-top: 0.45rem;
}

.specialities-section,
.life-section,
.testimonials-section {
  background: #f6fbfd;
}

.speciality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.speciality-item {
  display: grid;
  min-height: 150px;
  place-items: center;
  gap: 0.75rem;
  padding: 1.2rem;
  color: var(--navy);
  background: var(--white);
  text-align: center;
  text-decoration: none;
}

.speciality-item:hover {
  color: var(--white);
  background: var(--teal);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.about-section,
.advantages-section,
.certificates-section {
  background: var(--white);
}

.about-grid,
.success-grid,
.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.doctor-portrait {
  padding: 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.doctor-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.quote-text {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.tile-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1.3rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.tile-links a {
  padding: 1rem;
  color: var(--navy);
  background: #f8fbfc;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.tile-links a:hover {
  color: var(--white);
  background: var(--teal);
}

.experts-section {
  color: var(--white);
  background: var(--navy);
}

.experts-section h2,
.experts-section h3 {
  color: var(--white);
}

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

.expert-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.expert-card img {
  width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.expert-card p,
.expert-card small {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.expert-text {
  display: block;
  min-height: 220px;
  padding: 2rem;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.life-card {
  min-height: 190px;
  padding: 1rem;
  background: var(--white);
  text-align: center;
}

.life-card .icon-badge {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.life-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.advantage-grid article,
.service-card,
.info-card,
.form-shell,
.admin-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(6, 39, 61, 0.07);
}

.advantage-grid article {
  text-align: center;
}

.success-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 39, 61, 0.93), rgba(10, 140, 160, 0.84)),
    var(--navy);
}

.success-section h2,
.success-section p {
  color: var(--white);
}

.story-card {
  padding: 2rem;
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow);
}

.story-card strong {
  display: block;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

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

blockquote {
  margin: 0;
  padding: 1.5rem;
  color: var(--muted);
  background: var(--white);
  border-left: 4px solid var(--orange);
  box-shadow: 0 10px 22px rgba(6, 39, 61, 0.07);
}

.clinic-mark {
  width: 110px;
  margin-bottom: 1rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.doctor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(6, 39, 61, 0.07);
}

.doctor-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.doctor-card .content {
  padding: 1.3rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--orange);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.6rem;
}

.feature-list li::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  font-weight: 800;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 39, 61, 0.95), rgba(10, 140, 160, 0.82)),
    var(--navy);
}

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

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

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

label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.85rem;
  border: 1px solid #cfdde2;
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(10, 140, 160, 0.18);
  border-color: var(--teal);
}

.hidden-field {
  display: none;
}

.map-frame {
  min-height: 360px;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--aqua);
}

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

.success-box,
.error-box {
  padding: 1rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.success-box {
  color: #0a5138;
  background: #dcfce7;
}

.error-box {
  color: #7f1d1d;
  background: #fee2e2;
}

.site-footer {
  color: var(--white);
  background: var(--navy-deep);
}

.footer-grid {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-grid h2,
.footer-grid h3 {
  color: var(--white);
}

.footer-logo {
  width: 76px;
  margin-bottom: 1rem;
}

.footer-bottom {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.floating-call {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 20;
  display: none;
  min-width: 68px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--orange);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.admin-body {
  min-height: 100vh;
  background: #eef6f9;
}

.admin-shell {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
  padding: 2rem 0;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: #f5fbfd;
}

@media (min-width: 901px) {
  .nav-dropdown:hover .dropdown-menu {
    display: grid;
  }
}

@media (max-width: 1100px) {
  .life-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (max-width: 900px) {
  .quick-inner {
    justify-content: center;
    gap: 0.65rem 1rem;
    padding: 0.45rem 0;
    text-align: center;
  }

  .quick-inner span {
    flex-basis: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--white);
    box-shadow: 0 18px 30px rgba(6, 39, 61, 0.13);
  }

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

  .nav-links a,
  .nav-dropdown summary {
    padding: 0.85rem 0.2rem;
  }

  .nav-dropdown summary {
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    max-height: 310px;
    box-shadow: none;
    transform: none;
    background: #f6fbfd;
  }

  .nav-cta,
  .nav-links .nav-cta {
    width: 100%;
  }

  .hero-inner,
  .about-grid,
  .success-grid,
  .location-grid,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-doctor {
    max-width: 420px;
  }

  .experts-grid,
  .testimonial-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-inner,
  .nav-wrap,
  .quick-inner,
  .footer-grid {
    width: min(100% - 22px, 1180px);
  }

  .brand small {
    display: none;
  }

  .speciality-grid,
  .advantage-grid,
  .metrics-grid,
  .life-grid,
  .form-grid,
  .tile-links {
    grid-template-columns: 1fr;
  }

  .metrics-grid div {
    min-height: 92px;
  }

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

  .expert-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .hero-actions .btn,
  .card-actions .btn,
  .center-actions .btn,
  .form-shell .btn {
    width: 100%;
  }

  .floating-call {
    display: inline-flex;
  }
}
