:root {
  --lavender-900: #4a2d7a;
  --lavender-800: #5d3a9b;
  --lavender-700: #7c5cbf;
  --lavender-600: #9579d1;
  --lavender-500: #b89fdb;
  --lavender-400: #d4bff0;
  --lavender-200: #ece2f7;
  --lavender-100: #f5eefd;
  --lavender-50:  #faf6ff;
  --hero-bg-1:    #f6ecfb;
  --hero-bg-2:    #efe1f7;
  --text-900: #2a1f3d;
  --text-700: #4a3d5e;
  --text-500: #7c6e90;
  --text-400: #9a8eae;
  --surface: #ffffff;
  --surface-soft: #faf6ff;
  --line: #ece2f7;
  --line-strong: #ddccf2;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 18px rgba(93, 58, 155, 0.06);
  --shadow: 0 14px 34px rgba(93, 58, 155, 0.10);
  --shadow-lg: 0 24px 50px rgba(93, 58, 155, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--text-700);
  background: var(--surface);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

main section[id] {
  scroll-margin-top: 90px;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(93, 58, 155, 0.08);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-img {
  display: block;
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: hue-rotate(222deg) saturate(0.85) brightness(0.95);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-text {
  display: none;
}

@media (hover: hover) {
  .logo:hover .logo-img {
    transform: scale(1.04);
    transition: transform 0.25s ease;
  }
}

.site-nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--text-700);
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--lavender-700);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--lavender-700);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.2rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--lavender-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============ BUTTONS ============ */
.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.55rem;
  min-height: 46px;
  font-size: 0.93rem;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

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

.btn-primary {
  background: var(--lavender-700);
  color: #fff;
  box-shadow: 0 8px 22px rgba(124, 92, 191, 0.32);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--lavender-800);
    box-shadow: 0 12px 26px rgba(124, 92, 191, 0.42);
  }
}

.btn-outline {
  background: #fff;
  color: var(--lavender-800);
  border: 1.5px solid var(--lavender-400);
}

@media (hover: hover) {
  .btn-outline:hover {
    background: var(--lavender-100);
    border-color: var(--lavender-500);
  }
}

.btn-block {
  width: 100%;
}

/* ============ EYEBROW & HEADINGS ============ */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: var(--lavender-700);
  font-weight: 600;
}

h1, h2, h3, h4 {
  color: var(--text-900);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 100%);
  padding: 4rem 0 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 187, 240, 0.4), transparent 70%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  color: var(--text-700);
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 92, 191, 0.12);
  color: var(--lavender-800);
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 1.8px;
  font-weight: 600;
}

.hero .eyebrow::before {
  display: none;
}

.hero .eyebrow-icon {
  width: 14px;
  height: 14px;
  color: var(--lavender-700);
  flex-shrink: 0;
}

.hero h1 {
  margin-top: 1.4rem;
  color: var(--text-900);
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero h1 .accent {
  color: var(--lavender-600);
  display: block;
  margin-top: 0.1rem;
}

.hero-text {
  margin-top: 1.5rem;
  font-size: 1.04rem;
  color: var(--text-500);
  max-width: 48ch;
  line-height: 1.7;
}

.hero-cta {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badges {
  margin-top: 3rem;
  display: flex;
  gap: 1.75rem 2rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .hero-badge:hover {
    transform: translateY(-2px);
  }

  .hero-badge:hover .hero-badge-icon {
    background: #fff;
    color: var(--lavender-800);
    box-shadow: 0 8px 20px rgba(124, 92, 191, 0.2);
  }
}

.hero-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 92, 191, 0.15);
  display: grid;
  place-items: center;
  color: var(--lavender-700);
  box-shadow: 0 6px 16px rgba(124, 92, 191, 0.12);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero-badge-icon svg {
  width: 20px;
  height: 20px;
}

.hero-badge-text {
  font-size: 0.84rem;
  color: var(--text-900);
  font-weight: 600;
  line-height: 1.3;
}

.hero-visual {
  position: relative;
  display: block;
  width: 100%;
  max-width: 452px;
  justify-self: end;
  align-self: center;
  min-height: 405px;
  margin: 0;
}

.hero-visual-circle {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border-top-left-radius: 45% 35%;
  border-top-right-radius: 22px;
  border-bottom-right-radius: 22px;
  border-bottom-left-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lavender-400), var(--lavender-500));
  box-shadow: 0 30px 60px rgba(93, 58, 155, 0.18);
}

.hero-visual-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ SECTIONS ============ */
.section {
  padding: 5.5rem 0;
}

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

.section-head {
  margin-bottom: 2.8rem;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 0.7rem;
}

.section-head h2 {
  color: var(--text-900);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.8rem 1.4rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-5px);
    border-color: var(--lavender-400);
    box-shadow: var(--shadow);
  }

  .service-card:hover .service-icon {
    background: var(--lavender-700);
    color: #fff;
    transform: scale(1.05);
  }
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lavender-100);
  display: grid;
  place-items: center;
  color: var(--lavender-700);
  margin-bottom: 1.2rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  color: var(--text-900);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-500);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  min-height: 58px;
}

.service-link {
  margin-top: auto;
  color: var(--lavender-700);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.service-link span {
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  .service-link:hover {
    color: var(--lavender-800);
  }

  .service-link:hover span {
    transform: translateX(4px);
  }

  .service-card:hover .service-link {
    color: var(--lavender-800);
  }
}

/* ============ ABOUT ============ */
.section-head h2 .accent {
  color: var(--lavender-600);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-main .eyebrow {
  margin-bottom: 0.85rem;
}

.about-main h2 {
  color: var(--text-900);
  font-size: clamp(1.7rem, 2.9vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.about-intro {
  margin-top: 1.15rem;
  color: var(--text-700);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 58ch;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.about-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-700);
  font-size: 0.97rem;
  line-height: 1.55;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.62rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lavender-600);
}

.about-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.about-side h3 {
  color: var(--lavender-700);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.about-side p {
  color: var(--text-700);
  font-size: 0.95rem;
  line-height: 1.65;
}

.about-side h4 {
  margin-top: 1.3rem;
  color: var(--lavender-700);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.about-address {
  color: var(--text-700);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ============ DOCTOR ============ */
.doctor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.doctor-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 540px;
  background: linear-gradient(135deg, var(--lavender-300, #c8b1e6), var(--lavender-500));
  box-shadow: var(--shadow);
}

.doctor-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-content h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.doctor-content .doctor-title {
  margin-top: 0.6rem;
  color: var(--lavender-700);
  font-weight: 600;
}

.doctor-content > p:not(.doctor-title) {
  margin-top: 1rem;
  color: var(--text-500);
  line-height: 1.7;
}

.doctor-content .btn {
  margin-top: 1.6rem;
}

/* ============ REVIEWS ============ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
  .testimonial:hover {
    transform: translateY(-3px);
    border-color: var(--lavender-400);
    box-shadow: var(--shadow-sm);
  }
}

.stars {
  color: var(--lavender-600);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 0.85rem;
}

.testimonial-text {
  color: var(--text-700);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender-400), var(--lavender-600));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-name {
  color: var(--text-900);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
}

.testimonial-role {
  color: var(--text-500);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: 0.9rem;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.2rem 1.3rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--lavender-400);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--text-900);
  font-size: 0.98rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--lavender-100);
  color: var(--lavender-700);
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--lavender-700);
  color: #fff;
}

.faq-item p {
  padding: 0 0 1.1rem;
  color: var(--text-500);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 1.2rem;
  color: var(--text-900);
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.contact-card p {
  margin-top: 0.5rem;
  overflow-wrap: anywhere;
  font-size: 0.93rem;
  color: var(--text-700);
}

.contact-card p strong {
  color: var(--text-900);
}

.contact-card label {
  font-size: 0.86rem;
  color: var(--text-700);
  font-weight: 500;
  display: block;
  margin-top: 0.7rem;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  padding: 0.7rem 0.85rem;
  color: var(--text-900);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--lavender-500);
  box-shadow: 0 0 0 3px rgba(124, 92, 191, 0.16);
}

.form-status {
  min-height: 1.2rem;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--lavender-700);
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(93, 58, 155, 0.25);
  filter: brightness(1.05);
  outline: none;
}

.social-icon--instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.social-icon--whatsapp {
  background: #25d366;
}

.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1rem;
}

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

/* ============ FOOTER ============ */
.site-footer {
  background: var(--lavender-900);
  color: #e8dbff;
  padding: 2.2rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

/* ============ MOBILE QUICKBAR ============ */
.mobile-quickbar {
  display: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .hero-grid,
  .doctor-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.2rem;
  }

  .hero-visual {
    max-width: 380px;
    margin: 0 auto;
    justify-self: center;
    min-height: 380px;
  }

  .hero-visual-circle {
    min-height: 380px;
    border-top-left-radius: 45% 35%;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 22px;
    border-bottom-left-radius: 22px;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .about-side {
    position: static;
    max-width: 560px;
  }

  .doctor-grid {
    gap: 2rem;
  }

  .doctor-visual {
    max-width: 380px;
    margin: 0 auto;
  }

  .site-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  main section[id] {
    scroll-margin-top: 72px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
  }

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

  .logo-img {
    height: 40px;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 4%;
    width: min(330px, 92%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
  }

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

  .site-nav a {
    width: 100%;
    padding: 0.8rem 0.6rem;
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 8px;
  }

  .site-nav a::after { display: none; }

  .site-nav a.active,
  .site-nav a:hover {
    background: var(--lavender-100);
  }

  .hero {
    padding: 2.4rem 0 2.8rem;
  }

  .hero-grid {
    gap: 1.8rem;
  }

  .hero .eyebrow {
    font-size: 0.7rem;
    padding: 0.4rem 0.85rem 0.4rem 0.7rem;
    letter-spacing: 1.5px;
  }

  .hero .eyebrow-icon {
    width: 12px;
    height: 12px;
  }

  .hero h1 {
    margin-top: 1.1rem;
    font-size: clamp(1.95rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  .hero-text {
    margin-top: 1.1rem;
    font-size: 0.97rem;
    line-height: 1.65;
  }

  .hero-cta {
    margin-top: 1.6rem;
    gap: 0.7rem;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
    min-height: 50px;
  }

  .hero-badges {
    margin-top: 2.2rem;
    gap: 1rem;
    justify-content: flex-start;
  }

  .hero-badge {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 92px;
    gap: 0.55rem;
  }

  .hero-badge-icon {
    width: 38px;
    height: 38px;
  }

  .hero-badge-icon svg {
    width: 18px;
    height: 18px;
  }

  .hero-badge-text {
    font-size: 0.78rem;
  }

  .hero-visual {
    max-width: 320px;
    min-height: 340px;
  }

  .hero-visual-circle {
    min-height: 340px;
    border-top-left-radius: 45% 35%;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
  }

  .section {
    padding: 3.4rem 0;
  }

  .section-head {
    margin-bottom: 1.8rem;
  }

  .section-head h2 {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }

  .services-grid,
  .testimonials {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .service-card {
    padding: 1.6rem 1.2rem 1.4rem;
  }

  .doctor-grid,
  .contact-grid {
    gap: 1.6rem;
  }

  .about-layout {
    gap: 1.4rem;
  }

  .about-side {
    padding: 1.4rem 1.3rem;
  }

  .about-main h2 {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }

  .doctor-visual {
    max-height: 420px;
  }

  .faq-item {
    padding: 0.2rem 1rem;
  }

  .faq-item summary {
    font-size: 0.94rem;
    padding: 0.95rem 0;
  }

  .faq-item p {
    font-size: 0.92rem;
  }

  .contact-card input,
  .contact-card textarea,
  .contact-card .btn {
    min-height: 48px;
  }

  .map-wrap iframe {
    min-height: 260px;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }

  .mobile-quickbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #ffffff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(93, 58, 155, 0.14);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-quickbar a {
    min-height: 58px;
    display: grid;
    place-items: center;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--lavender-800);
  }

  .mobile-quickbar a:active {
    background: var(--lavender-100);
  }

  .mobile-quickbar a + a {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  .hero {
    padding: 2rem 0 2.4rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
    line-height: 1.18;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-visual {
    max-width: 280px;
    min-height: 300px;
  }

  .hero-visual-circle {
    min-height: 300px;
  }

  .hero-badges {
    margin-top: 1.8rem;
    gap: 0.85rem;
  }

  .hero-badge {
    flex: 1 1 calc(50% - 0.85rem);
    min-width: 0;
  }

  .section {
    padding: 2.8rem 0;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .service-card {
    padding: 1.4rem 1.1rem 1.2rem;
  }

  .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
  }

  .service-icon svg {
    width: 30px;
    height: 30px;
  }

  .testimonial {
    padding: 1.4rem 1.2rem;
  }

  .contact-card {
    padding: 1.3rem 1.2rem;
  }

  .doctor-visual {
    max-width: 320px;
    max-height: 380px;
  }

  .map-wrap iframe {
    min-height: 220px;
  }
}

@media (max-width: 380px) {
  .container {
    width: 94%;
  }

  .logo-img {
    height: 36px;
  }

  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.22;
  }

  .hero .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 1.2px;
  }

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

  .hero-badges {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-badge {
    flex: none;
    width: 100%;
  }

  .hero-visual {
    max-width: 240px;
    min-height: 260px;
  }

  .hero-visual-circle {
    min-height: 260px;
  }

  .contact-card label,
  .faq-item summary {
    font-size: 0.9rem;
  }
}
