@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap");

:root {
  --blue: #1fa2ff;
  --blue-dark: #0b7ed4;
  --navy: #16213e;
  --deep: #002f79;
  --mint: #00ebba;
  --text: #6e6e6e;
  --heading: #16213e;
  --bg: #ffffff;
  --card: #ffffff;
  --soft: #f7fbff;
  --input: #f2f8fc;
  --line: #ececec;
  --footer: #ffffff;
  --header: #ffffff;
  --nav: #16213e;
  --shadow: 0 12px 40px rgba(22, 33, 62, 0.08);
  --radius: 8px;
}

html[data-theme="dark"] {
  --text: #c5cedd;
  --heading: #f3f7ff;
  --bg: #0e1522;
  --card: #172033;
  --soft: #121a2b;
  --input: #1c2740;
  --line: #2a3854;
  --footer: #101826;
  --header: #121a2b;
  --nav: #eef3fb;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  font-weight: 500;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-decoration: none; transition: 0.3s; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5 {
  font-family: "Poppins", sans-serif;
  color: var(--heading);
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 600;
}
p { margin: 0 0 16px; }
.container { width: min(1170px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy);
  padding: 8px 12px; z-index: 10000;
}
.skip:focus { left: 8px; }

.topbar { background: var(--blue); color: #fff; }
.topbar-inner, .nav-inner, .footer-grid, .split, .hero-grid, .form-split, .contact-grid, .detail-grid {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.topbar-inner { min-height: 46px; font-size: 14px; font-weight: 600; }
.top-meta, .top-social, .hours-list, .footer-links, .crumb { list-style: none; margin: 0; padding: 0; }
.top-meta { display: flex; gap: 28px; flex-wrap: wrap; }
.top-meta li, .top-social { display: flex; align-items: center; gap: 8px; }
.top-meta svg, .mail-line svg, .social-row svg { width: 16px; height: 16px; flex: 0 0 16px; display: block; }
.top-meta a, .top-social a { color: #fff; }
.top-meta a:hover, .top-social a:hover { color: var(--navy); }
.top-social a {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
}
.top-social a:hover { background: #fff; }
.top-social svg, .icon-btn svg, .nav-toggle svg { width: 16px; height: 16px; fill: currentColor; }

.site-header {
  background: var(--header);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(22, 33, 62, 0.08); }
.nav-inner { min-height: 86px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--heading); min-width: 210px; }
.brand img { width: 52px; height: 52px; }
.brand strong { display: block; font-family: "Poppins", sans-serif; font-size: 22px; letter-spacing: -0.3px; line-height: 1.1; }
.brand small { display: block; color: var(--text); font-size: 11px; font-weight: 600; letter-spacing: 0.2px; }
.menu { display: flex; align-items: center; gap: 6px; }
.menu a {
  color: var(--nav); font-weight: 600; font-size: 15px; padding: 8px 11px; position: relative;
}
.menu a.active, .menu a:hover { color: var(--blue); }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn, .nav-toggle {
  width: 42px; height: 42px; border: 0; background: transparent; color: var(--nav);
  border-radius: 50%; display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover, .nav-toggle:hover { background: var(--soft); color: var(--blue); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  background: linear-gradient(105deg, #06398a 0%, #0d6ed8 46%, #1fa2ff 100%);
  color: #fff; overflow: hidden; min-height: 620px;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -40px; width: 280px; height: 280px;
  background: rgba(255,255,255,0.08); transform: rotate(28deg);
}
.hero-grid { min-height: 620px; align-items: center; position: relative; z-index: 1; }
.hero-copy { max-width: 560px; padding: 70px 0; }
.eyebrow {
  color: var(--blue); font-weight: 600; display: inline-block; margin-bottom: 8px;
}
.hero .eyebrow { color: #d7f1ff; }
.hero h1 { color: #fff; font-size: 48px; line-height: 1.25; margin-bottom: 16px; }
.hero p { color: rgba(255,255,255,0.92); font-size: 16px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-photo { width: min(520px, 46%); align-self: stretch; position: relative; z-index: 1; }
.hero-photo img { width: 100%; height: 620px; object-fit: cover; object-position: center top; }

.btn, .btn-blue, .btn-navy, .btn-line, .btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; padding: 14px 26px; font-weight: 600; border-radius: 4px;
  transition: 0.35s; line-height: 1; text-align: center;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.85); }
.btn-line:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--navy); color: #fff; }
.full { width: 100%; }

.feature-wrap { margin-top: -68px; position: relative; z-index: 3; }
.feature-grid, .card-grid, .blog-grid, .price-grid, .doctor-grid, .package-grid {
  display: grid; gap: 24px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card, .plain-card, .price-card, .blog-card, .doc-card, .package-card, .info-card, .form-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.feature-card { display: flex; gap: 16px; padding: 26px 22px; align-items: flex-start; }
.bubble {
  width: 68px; height: 68px; min-width: 68px; border-radius: 50%; background: var(--blue);
  color: #fff; display: grid; place-items: center;
}
.bubble svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.8; }
.feature-card h3, .plain-card h3, .blog-card h3 { font-size: 20px; margin-bottom: 6px; }
.feature-card p, .mini { margin: 0; font-size: 14.5px; }

.section { padding: 90px 0; }
.section.soft { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: 35px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--blue); margin: 8px 0 12px; }
.ornament::before, .ornament::after { content: ""; width: 90px; height: 2px; background: var(--blue); }
.ornament span { font-size: 22px; transform: rotate(45deg); display: inline-block; }

.split { align-items: stretch; }
.split > * { flex: 1; }
.media-card { position: relative; min-height: 460px; border-radius: 6px; overflow: hidden; }
.media-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hours-card {
  position: absolute; left: 24px; bottom: 24px; width: min(320px, calc(100% - 48px));
  background: var(--navy); color: #fff; padding: 22px 22px 12px; border-radius: 4px;
}
.hours-card h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.hours-list li, .footer-hours li {
  display: flex; align-items: flex-end; gap: 8px; font-size: 14px; margin-bottom: 8px; font-weight: 500;
}
.hours-list li span:first-child,
.hours-list li span:last-child,
.footer-hours li span:first-child,
.footer-hours li span:last-child { white-space: nowrap; }
.hours-list .dots, .footer-hours .dots {
  flex: 1; border-bottom: 1px dotted rgba(255,255,255,0.45); margin-bottom: 6px;
}
.footer-hours .dots { border-bottom-color: #d5d5d5; }
.copy-block h2 { font-size: 35px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 22px; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.2 16.2 4.8 11.8l1.4-1.4 3 3 7.6-7.6 1.4 1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.form-card { padding: 28px 26px; }
.form-card h3 { font-size: 26px; }
.form-card .sub { color: var(--blue); font-weight: 600; margin-top: -6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; background: var(--input); border: 1px solid transparent; color: var(--heading);
  padding: 14px 16px; border-radius: 4px; outline: none; font-size: 15px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: var(--card); }
.field.error input:not([type="checkbox"]), .field.error select, .field.error textarea { border-color: #e35d6a; background: #fff5f6; }
html[data-theme="dark"] .field.error input:not([type="checkbox"]),
html[data-theme="dark"] .field.error select,
html[data-theme="dark"] .field.error textarea { background: #3a2230; }
.error-text { color: #d64550; font-size: 13px; margin-top: 5px; display: block; }
.checks { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 14px; }
.field label.consent, .checks label {
  display: flex; align-items: flex-start; gap: 10px; margin: 0;
  font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--text); cursor: pointer;
}
.field input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; min-width: 18px; flex: 0 0 18px;
  margin: 1px 0 0; padding: 0; border: 2px solid #b7c6d6; border-radius: 4px;
  background: var(--card); cursor: pointer; display: grid; place-items: center;
}
.field input[type="checkbox"]:checked {
  background: var(--blue); border-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.2 4.2L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 14px;
}
.field input[type="checkbox"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.field.error input[type="checkbox"] { border-color: #e35d6a; background-color: #fff5f6; }
.form-success {
  background: linear-gradient(180deg, #e9f7ff, #f3fffb); border: 1px solid #c7ebff;
  color: var(--navy); border-radius: 8px; padding: 28px 22px; text-align: center;
}
html[data-theme="dark"] .form-success { background: #17324a; border-color: #24557a; color: #f4f8ff; }
.form-success h3 { color: inherit; font-size: 22px; }
.form-success p { margin: 0; color: inherit; }

.card-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { background: var(--card); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); text-align: center; }
.service-card .pic { height: 190px; overflow: hidden; position: relative; }
.service-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-card:hover .pic img { transform: scale(1.06); }
.service-card .body { padding: 38px 20px 24px; position: relative; }
.service-card .badge {
  width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; position: absolute; left: 50%; top: -32px; transform: translateX(-50%);
  border: 4px solid var(--card);
}
.service-card .badge svg, .info-card svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.info-card li { align-items: flex-start; }
.info-card svg { color: var(--blue); margin-top: 4px; }
.service-card h3 { font-size: 20px; }
.more { color: var(--blue); font-weight: 700; font-size: 14px; }
.more:hover { color: var(--navy); }

.package-grid { grid-template-columns: repeat(4, 1fr); }
.package-card { overflow: hidden; }
.package-card img { height: 170px; width: 100%; object-fit: cover; }
.package-card .body { padding: 18px; }
.price { color: var(--blue); font-family: "Poppins", sans-serif; font-size: 22px; font-weight: 700; }
.price s { color: #9aa0ab; font-size: 15px; margin-right: 6px; font-weight: 500; }

.cta-band {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(100deg, rgba(0,47,121,.92), rgba(31,162,255,.78)), url("../images/doc-man-3.jpg") center / cover no-repeat;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 250px; padding: 40px 0; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band h2 { font-size: 36px; max-width: 640px; }
.phone-pill {
  display: inline-flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 700; color: #fff;
  font-family: "Poppins", sans-serif;
}
.phone-pill span {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.15);
}

.icon-band { background: linear-gradient(90deg, #0b4ea8, #1fa2ff); padding: 50px 0; }
.icon-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; text-align: center; color: #fff; }
.icon-grid a { color: #fff; }
.icon-grid .bubble { margin: 0 auto 10px; background: rgba(255,255,255,.16); }
.icon-grid h3 { color: #fff; font-size: 16px; }

.quote-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.quote-photo { border-radius: 8px; overflow: hidden; min-height: 340px; }
.quote-photo img { width: 100%; height: 420px; object-fit: cover; }
.quote-card {
  background: linear-gradient(160deg, #0d4cb5, #1fa2ff); color: #fff; border-radius: 8px;
  padding: 42px 36px; min-height: 340px; position: relative; box-shadow: var(--shadow);
}
.quote-card h3, .quote-card p, .quote-card strong { color: #fff; }
.quote-mark { font-family: Georgia, serif; font-size: 70px; line-height: 0.6; opacity: 0.8; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.slider-nav { display: flex; gap: 8px; margin-bottom: 12px; }
.slider-nav button {
  width: 36px; height: 36px; border-radius: 4px; border: 0; background: var(--blue); color: #fff; cursor: pointer;
}
.slider-nav button:hover { background: var(--navy); }

.blog-card { overflow: hidden; }
.blog-card img { height: 210px; width: 100%; object-fit: cover; }
.blog-card .body { padding: 20px 20px 24px; }
.meta { color: var(--blue); font-size: 13px; font-weight: 700; }

.newsletter {
  background: linear-gradient(100deg, #073a86 0%, #1fa2ff 55%, #19c7e6 100%);
  color: #fff; padding: 70px 0; position: relative;
}
.newsletter h2, .newsletter p { color: #fff; text-align: center; }
.newsletter h2 { font-size: 36px; }
.news-form { display: flex; max-width: 640px; margin: 22px auto 0; background: #fff; border-radius: 4px; overflow: hidden; }
.news-form input { flex: 1; border: 0; padding: 16px 18px; outline: none; font-size: 15px; }
.news-form button { border-radius: 0; }
.news-form.error { outline: 2px solid #ffd0d0; }
.center-note { text-align: center; color: #fff; margin-top: 10px; }

.wordmarks { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.word-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.word-row span {
  font-family: "Poppins", sans-serif; font-weight: 700; color: #8d97a8; letter-spacing: 0.4px; font-size: 20px;
}
.word-row span:nth-child(3) { font-family: Georgia, serif; font-style: italic; font-weight: 600; color: #57b7e8; }
.word-row span:nth-child(5) { letter-spacing: 2px; font-size: 16px; }

.site-footer { background: var(--footer); position: relative; padding-top: 70px; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image: radial-gradient(circle, rgba(31,162,255,.18) 1.2px, transparent 1.3px);
  background-size: 18px 18px;
}
.footer-grid { align-items: flex-start; position: relative; display: grid; grid-template-columns: 1.2fr 0.9fr 1fr 1.1fr; gap: 30px; }
.site-footer h4 { font-size: 18px; margin-bottom: 16px; }
.footer-links a, .footer-hours { color: var(--text); }
.footer-links li { margin-bottom: 8px; }
.footer-links a:hover { color: var(--blue); padding-left: 4px; }
.social-row { display: flex; gap: 8px; margin-top: 14px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue);
}
.social-row a:nth-child(2) { background: #1da1f2; }
.social-row a:nth-child(3) { background: #0a66c2; }
.social-row a:nth-child(4) { background: #e1306c; }
.social-row a:hover { transform: translateY(-2px); }
.mail-line { display: flex; gap: 8px; align-items: center; color: var(--text); }
.legal-bar {
  position: relative; margin-top: 40px; border-top: 1px solid var(--line);
  padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--text); font-size: 14px;
}
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a { color: var(--text); font-weight: 600; }
.legal-links a:hover { color: var(--blue); }

.page-banner {
  position: relative; color: #fff; background: url("../images/corridor.jpg") center / cover no-repeat; min-height: 280px;
  display: flex; align-items: center;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,47,121,.92), rgba(0,47,121,.35));
}
.page-banner .container { position: relative; z-index: 1; padding: 78px 0; }
.page-banner h1 { color: #fff; font-size: 46px; }
.crumb { display: flex; gap: 18px; color: #fff; font-weight: 600; }
.crumb a { color: #fff; }
.crumb li:not(:last-child)::after { content: ""; display: inline-block; width: 16px; height: 1px; background: #fff; margin-left: 18px; vertical-align: middle; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filters button, .chip {
  border: 0; background: var(--soft); color: var(--heading); border-radius: 30px; padding: 8px 16px; cursor: pointer; font-weight: 600;
}
.filters button.active, .filters button:hover { background: var(--blue); color: #fff; }
.doctor-grid { grid-template-columns: repeat(3, 1fr); }
.doc-card { overflow: hidden; }
.doc-card .photo {
  background: linear-gradient(180deg, #1fa2ff 0%, #7af0dc 100%);
  padding: 16px 16px 0;
}
.doc-card .photo img { width: 100%; height: 290px; object-fit: cover; object-position: top center; border-radius: 8px 8px 0 0; }
.doc-card .body { padding: 16px 18px 20px; text-align: center; }
.doc-card .role { color: var(--blue); font-weight: 700; font-size: 14px; }
.profile {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px; background: var(--card);
  border-radius: 8px; box-shadow: var(--shadow); padding: 22px; margin-bottom: 22px;
}
.profile img { width: 100%; height: 320px; object-fit: cover; object-position: top; border-radius: 8px; background: linear-gradient(180deg, #1fa2ff, #7af0dc); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.tags span { background: #e8f5ff; color: var(--deep); border-radius: 20px; padding: 4px 10px; font-size: 13px; font-weight: 700; }

.price-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.price-card { padding: 28px 22px 24px; text-align: center; border-top: 4px solid var(--blue); display: flex; flex-direction: column; }
.price-card.featured { background: linear-gradient(180deg, #0d4cb5, #1fa2ff); }
.price-card.featured h3, .price-card.featured p, .price-card.featured li, .price-card.featured .amount { color: #fff; }
.amount { font-family: "Poppins", sans-serif; font-size: 40px; color: var(--heading); font-weight: 700; }
.amount small { font-size: 15px; font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 12px 0 20px; text-align: left; }
.price-card li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.price-card.featured li::before { color: #fff; }
.price-card .btn-blue, .price-card .btn-white { margin-top: auto; }

.prose { max-width: 900px; }
.prose h2 { font-size: 26px; margin-top: 28px; }
.prose h3 { font-size: 20px; margin-top: 18px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.note {
  background: var(--soft); border-left: 4px solid var(--blue); padding: 14px 16px; border-radius: 4px; margin: 16px 0;
}

.faq details { background: var(--card); border-radius: 6px; box-shadow: var(--shadow); margin-bottom: 12px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--heading); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: rgba(13, 76, 181, 0.9); color: #fff; border-radius: 8px; min-height: 140px;
  display: grid; place-items: center; text-align: center; padding: 16px; border: 1px dashed rgba(255,255,255,.35);
}
.stat strong { display: block; font-size: 32px; font-family: "Poppins", sans-serif; }
.stat span { color: #fff; }

.contact-grid { align-items: stretch; }
.info-card { padding: 28px; }
.info-card li { display: flex; gap: 10px; margin-bottom: 12px; list-style: none; }

.search-modal, .steps-modal {
  position: fixed; inset: 0; background: rgba(10, 20, 40, 0.55); z-index: 80;
  display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px;
}
.search-modal.open, .steps-modal.open { display: flex; }
.search-panel, .steps-panel {
  width: min(680px, 100%); background: var(--card); border-radius: 10px; padding: 22px; box-shadow: var(--shadow);
}
.search-panel input { width: 100%; padding: 14px 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--input); color: var(--heading); font-size: 16px; }
.search-results { list-style: none; margin: 14px 0 0; padding: 0; max-height: 320px; overflow: auto; }
.search-results a { display: block; padding: 10px 8px; color: var(--heading); border-bottom: 1px solid var(--line); font-weight: 600; }
.search-results a:hover { color: var(--blue); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--soft); border-radius: 8px; padding: 16px; }
.step strong { color: var(--blue); }

.tools {
  position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 40;
}
.tools button {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--navy); color: #fff;
  box-shadow: var(--shadow);
}
.tools button:hover { background: var(--blue); }

.empty { text-align: center; padding: 20px; }

@media (max-width: 1100px) {
  .package-grid, .price-grid, .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1, .page-banner h1 { font-size: 38px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--header);
    flex-direction: column; align-items: flex-start; padding: 10px 16px 16px; box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .site-header { position: sticky; }
  .nav-inner { position: relative; }
  .hero-grid, .split, .quote-wrap, .form-row, .profile, .contact-grid, .cta-band .container, .topbar-inner {
    display: block;
  }
  .hero-photo { width: 100%; }
  .hero-photo img { height: 340px; }
  .feature-grid, .card-grid, .blog-grid, .doctor-grid, .package-grid, .price-grid, .steps { grid-template-columns: 1fr 1fr; }
  .media-card { min-height: 360px; }
  .hours-card { position: relative; left: auto; bottom: auto; width: auto; margin-top: -80px; }
  .top-social { margin-top: 6px; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .feature-grid, .card-grid, .blog-grid, .doctor-grid, .package-grid, .price-grid, .stats, .steps, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 32px; }
  .section { padding: 64px 0; }
  .news-form { flex-direction: column; }
  .feature-wrap { margin-top: 20px; }
  .legal-bar { display: block; }
}
