/* Mallikarjuna Neuro & Spine Care Hospital — clean white + red theme, plain Arial, no decorative animation */
:root {
  --red: #d7141f;
  --red-deep: #9c0a14;
  --rose: #faf5f5;
  --rose-2: #fde8ea;
  --ink: #1d0d10;
  --muted: #5f4a4d;
  --line: #ead6d8;
  --wa: #25D366;
  --font: Arial, "Noto Sans Telugu", "Nirmala UI", Gautami, Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden
}

body.menu-open {
  overflow: hidden
}

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

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

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

h1,
h2,
h3,
p,
ul {
  margin: 0
}

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

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2
}

em {
  font-style: normal;
  color: var(--red)
}

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

.section-pad {
  padding: clamp(56px, 7vw, 96px) 0
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10000;
  background: var(--red);
  color: #fff;
  padding: 10px 16px
}

.skip-link:focus {
  top: 12px
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px
}

[hidden] {
  display: none !important
}

.ico-stroke {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none
}

.ico-fill {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none
}

/* Top bar */
.topline {
  background: var(--red-deep);
  color: #fff;
  font-size: .85rem
}

.topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0
}

.topline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  min-width: 0
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0
}

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

.language-toggle {
  flex: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
  padding: 4px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: .8rem
}

.language-toggle:hover {
  background: #fff;
  color: var(--red-deep)
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line)
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0
}

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

.brand-mark {
  width: 54px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  /* background: var(--red) */
}

.brand-mark svg {
  width: 28px;
  height: 28px
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15
}

.brand-copy strong {
  font-size: 1.25rem
}

.brand-copy small {
  font-size: .62rem;
  letter-spacing: .14em;
  color: var(--red);
  font-weight: 700;
  margin-top: 2px
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px
}

.main-nav a {
  padding: 8px 12px;
  font-weight: 700;
  font-size: .92rem;
  color: #3a2427
}

.main-nav a:not(.nav-cta):hover {
  color: var(--red)
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 18px !important;
  background: var(--red);
  color: #fff !important
}

.nav-cta:hover {
  background: var(--red-deep)
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  position: relative
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--red)
}

.menu-toggle span:first-child {
  top: 16px
}

.menu-toggle span:last-child {
  top: 25px
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg)
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg)
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent
}

.button-primary {
  background: var(--red);
  color: #fff
}

.button-primary:hover {
  background: var(--red-deep)
}

.button-whatsapp {
  background: #fff;
  color: #128c4a;
  border-color: var(--wa)
}

.button-whatsapp:hover {
  background: var(--wa);
  color: #fff
}

/* Shared type */
.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--red);
  margin-bottom: 14px
}

.eyebrow-light {
  color: #ffd0d3
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem)
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 48px)
}

/* Hero (static — no animation) */
.hero {
  background: linear-gradient(180deg, #fff, var(--rose));
  padding: clamp(28px, 4vw, 56px) 0
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  margin-bottom: 20px
}

.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.hero-visual {
  display: flex;
  justify-content: center
}

.hero-photo {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 4/5;
  background: var(--rose-2);
  border: 1px solid var(--line)
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%
}

.doc-nameplate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(94, 7, 16, 0), rgba(94, 7, 16, .88) 55%);
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  padding-top: 48px
}

.doc-nameplate strong {
  font-size: 1.25rem
}

.doc-nameplate span {
  font-weight: 700;
  font-size: .95rem
}

.doc-nameplate small {
  font-size: .85rem;
  opacity: .9
}

/* Emergency band */
.critical {
  background: var(--red);
  color: #fff;
  padding: 36px 0
}

.critical-inner {
  display: grid;
  grid-template-columns: .9fr 1.6fr;
  gap: 32px;
  align-items: center
}

.critical-title h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 10px
}

.critical-title p {
  opacity: .92
}

.critical-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.critical-list li {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.4
}

.critical-list strong {
  font-size: 1rem
}

.critical-list span {
  font-size: .85rem;
  opacity: .9
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  padding: 26px 26px 22px
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px
}

.service-card li {
  position: relative;
  padding: 5px 0 5px 18px;
  color: var(--muted);
  border-bottom: 1px solid #f3e6e7
}

.service-card li:last-child {
  border-bottom: 0
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  background: var(--red)
}

.service-card .li-feature {
  color: var(--red-deep);
  font-weight: 700
}

/* Diagnostics */
.diagnostics {
  background: var(--rose)
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px
}

.tag {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.tag strong {
  color: var(--red);
  font-size: 1.05rem
}

.tag span {
  font-size: .88rem;
  color: var(--muted)
}

/* Dental */
.dental-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center
}

.dental-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.dental-list li {
  padding: 18px 20px;
  background: var(--rose);
  border-left: 4px solid var(--red);
  font-weight: 700
}

/* Doctors */
.doctors {
  background: var(--rose)
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: stretch
}

.doctor-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column
}

.doctor-card-main {
  flex-direction: row
}

.doctor-photo {
  width: 100%;
  aspect-ratio: 4/4.6;
  object-fit: cover;
  object-position: 50% 15%
}

.doctor-card-main .doctor-photo {
  width: 42%;
  aspect-ratio: auto;
  min-height: 100%
}

.doctor-info {
  padding: 24px 26px
}

.doctor-info h3 {
  font-size: 1.5rem;
  margin-bottom: 6px
}

.doctor-quals {
  font-weight: 700;
  color: var(--red)
}

.doctor-role {
  color: var(--muted);
  margin-bottom: 14px
}

.doctor-card:not(.doctor-card-main) .doctor-role {
  margin-bottom: 0
}

.cred-list {
  display: grid;
  gap: 8px;
  font-size: .92rem;
  color: var(--muted)
}

.cred-list strong {
  color: var(--ink)
}

/* Gallery */
.slideshow {
  max-width: 900px;
  margin-inline: auto
}

.slide-stage {
  position: relative;
  aspect-ratio: 16/10;
  background: #f1e7e8;
  overflow: hidden;
  border: 1px solid var(--line)
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto
}

.slide-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(.9)
}

.slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain
}

.slide-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 2
}

.slide-arrow:hover {
  background: var(--red);
  color: #fff
}

.slide-prev {
  left: 12px
}

.slide-next {
  right: 12px
}

.slide-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: .8rem;
  padding: 4px 10px;
  z-index: 2
}

.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 6px
}

.thumb {
  flex: none;
  width: 76px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  background: #eee;
  cursor: pointer;
  opacity: .65
}

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

.thumb.is-active {
  border-color: var(--red);
  opacity: 1
}

/* Contact */
.contact {
  background: var(--red-deep);
  color: #fff
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start
}

.contact-copy h2 {
  margin-bottom: 28px
}

.contact-copy h2 em {
  color: #ffd0d3
}

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

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start
}

.contact-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff
}

.contact-icon svg {
  width: 22px;
  height: 22px
}

.contact-list div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.45
}

.contact-list strong {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8
}

.phone-big {
  font-size: 1.7rem;
  font-weight: 700
}

.inline-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px
}

.appointment-form {
  background: #fff;
  color: var(--ink);
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  gap: 16px
}

.appointment-form h3 {
  font-size: 1.5rem
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.appointment-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: .85rem;
  color: #4a3235
}

.appointment-form input,
.appointment-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  background: var(--rose);
  outline: none;
  font-weight: 400
}

.appointment-form input:focus,
.appointment-form select:focus {
  border-color: var(--red);
  background: #fff
}

.form-submit {
  width: 100%
}

.form-privacy {
  font-size: .8rem;
  color: var(--muted)
}

.form-message {
  padding: 12px 14px;
  background: var(--rose-2);
  color: var(--red-deep);
  font-size: .9rem;
  font-weight: 700
}

.form-message.success {
  background: #e9f8ee;
  color: #12673a
}

/* Footer */
.site-footer {
  background: #2e0409;
  color: rgba(255, 255, 255, .8);
  padding: 36px 0 24px
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .16)
}

.footer-brand .brand-copy strong {
  color: #fff
}

.footer-brand .brand-copy small {
  color: #ff9aa0
}

.footer-brand .brand-mark {
  background: #fff;
  color: var(--red)
}

.footer-addr {
  max-width: 460px;
  font-size: .92rem
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: .8rem
}

.footer-note {
  opacity: .7
}

/* Floating social icons (right side overlay) */
.social-float {
  position: fixed;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.sf {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25)
}

.sf .ico-fill,
.sf .ico-stroke {
  width: 26px;
  height: 26px
}

.sf-wa {
  background: #25D366
}

.sf-fb {
  background: #1877F2
}

.sf-ig {
  background: linear-gradient(45deg, #f09433, #e6683c 30%, #dc2743 55%, #cc2366 75%, #bc1888)
}

.sf:hover {
  filter: brightness(1.1);
  width: 54px;
  margin-left: -6px
}

/* Responsive */
@media (max-width:1020px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .tag-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .critical-inner,
  .dental-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .doctor-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:900px) {
  .menu-toggle {
    display: block
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 12px 4% 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
    display: none
  }

  .main-nav.open {
    display: flex
  }

  .main-nav a {
    font-size: 1.05rem;
    padding: 14px 8px;
    border-bottom: 1px solid var(--line)
  }

  .nav-cta {
    margin: 14px 0 0;
    text-align: center;
    border-bottom: 0 !important
  }

  .hero-grid {
    grid-template-columns: 1fr
  }

  .hero-visual {
    order: -1
  }

  .hero-photo {
    width: min(86vw, 380px)
  }

  .hero-copy {
    text-align: center
  }

  .hero-lead {
    margin-inline: auto
  }

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

@media (max-width:640px) {
  .topline {
    font-size: .78rem
  }

  .topline-inner {
    align-items: flex-start
  }

  .brand-copy small {
    display: none
  }

  .service-grid,
  .form-row,
  .dental-list {
    grid-template-columns: 1fr
  }

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

  .critical-list {
    grid-template-columns: 1fr
  }

  .doctor-card-main {
    flex-direction: column
  }

  .doctor-card-main .doctor-photo {
    width: 100%;
    aspect-ratio: 4/4.6;
    min-height: 0
  }

  .slide-stage {
    aspect-ratio: 4/5
  }

  .sf {
    width: 42px;
    height: 42px
  }

  .sf .ico-fill,
  .sf .ico-stroke {
    width: 22px;
    height: 22px
  }

  .button {
    width: 100%
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important
  }
}

/* Icons in section boxes */
.icon-box {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--rose-2);
  color: var(--red)
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.service-card {
  display: flex;
  flex-direction: column
}

.service-card>.icon-box {
  width: 60px;
  height: 60px;
  margin-bottom: 16px
}

.service-card>.icon-box svg {
  width: 32px;
  height: 32px
}

.service-card:hover>.icon-box {
  background: var(--red);
  color: #fff
}

.critical-list li {
  flex-direction: row;
  align-items: center;
  gap: 14px
}

.critical-list li>div {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.critical-list .icon-box {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  width: 46px;
  height: 46px
}

.tag {
  flex-direction: row;
  align-items: center;
  gap: 14px
}

.tag-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0
}

.tag .icon-box {
  width: 46px;
  height: 46px
}

.dental-list li {
  display: flex;
  align-items: center;
  gap: 14px
}

.dental-list .icon-box {
  background: #fff
}

/* Bigger circular slots: icon by default, photo if assets/media/<name>.jpg|png|webp exists */
.icon-box {
  border-radius: 50%;
  overflow: hidden;
  width: 72px;
  height: 72px;
  border: 2px solid #f6c9cd
}

.icon-box svg {
  width: 38px;
  height: 38px
}

.icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.icon-box.has-img {
  border-color: var(--red);
  background: #fff
}

.service-card>.icon-box {
  width: 104px;
  height: 104px;
  margin-bottom: 18px
}

.service-card>.icon-box svg {
  width: 52px;
  height: 52px
}

.critical-list .icon-box {
  width: 68px;
  height: 68px;
  border-color: rgba(255, 255, 255, .55)
}

.critical-list .icon-box svg {
  width: 36px;
  height: 36px
}

.critical-list li {
  padding: 14px 16px
}

.tag .icon-box {
  width: 72px;
  height: 72px
}

.dental-grid {
  grid-template-columns: .7fr 1.5fr
}

.dental-list {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.dental-list li {
  flex-direction: column;
  text-align: center;
  gap: 12px;
  padding: 22px 12px;
  border-left: 0;
  border-top: 4px solid var(--red)
}

.dental-list .icon-box {
  width: 120px;
  height: 120px;
  border-color: #f6c9cd
}

.dental-list .icon-box svg {
  width: 60px;
  height: 60px
}

@media (max-width:1020px) {
  .dental-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:640px) {
  .dental-list {
    grid-template-columns: repeat(2, 1fr)
  }

  .dental-list .icon-box {
    width: 96px;
    height: 96px
  }

  .service-card>.icon-box {
    width: 88px;
    height: 88px
  }
}

/* Portrait photos: hero + doctors */
.hero-photo {
  width: min(100%, 430px);
  aspect-ratio: 4/5;
  background: #fff;
  border: 0;
  box-shadow: 14px 14px 0 var(--red)
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%
}

.doc-nameplate {
  padding-top: 64px;
  background: linear-gradient(180deg, rgba(94, 7, 16, 0), rgba(94, 7, 16, .55) 40%, rgba(94, 7, 16, .92))
}

.doctor-grid {
  grid-template-columns: 1fr 1fr;
  max-width: 880px;
  margin-inline: auto;
  gap: 28px
}

.doctor-card,
.doctor-card-main {
  flex-direction: column;
  border: 0;
  background: #fff;
  box-shadow: 0 6px 24px rgba(60, 10, 16, .1)
}

.doctor-photo,
.doctor-card-main .doctor-photo {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 12%;
  border-bottom: 4px solid var(--red)
}

.doctor-info {
  padding: 22px 24px 26px
}

@media (max-width:900px) {
  .hero-photo {
    width: min(78vw, 360px);
    box-shadow: 10px 10px 0 var(--red);
    margin-right: 10px
  }
}

@media (max-width:700px) {
  .doctor-grid {
    grid-template-columns: 1fr;
    max-width: 420px
  }
}

/* ===== Hero: clean split layout (text left, portrait right) ===== */
.hero {
  background: #fff;
  padding: clamp(24px, 4vw, 56px) 0
}

.hero-grid {
  grid-template-columns: 1fr minmax(300px, 520px);
  gap: clamp(32px, 6vw, 96px);
  align-items: center
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .85rem;
  letter-spacing: .1em;
  margin-bottom: 22px
}

.hero-copy .eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--red);
  flex: none
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 700
}

.hero-tagline {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 18px
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 30px;
  line-height: 1.75
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px
}

.hero-actions .button {
  width: auto
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 700
}

.hero-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px
}

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

.hero-meta .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none
}

.hero-visual {
  display: block
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  max-height: 78vh;
  object-fit: cover;
  object-position: 50% 10%;
  display: block;
  box-shadow: none;
  border: 0;
  margin-left: auto
}

/* ===== Doctors: compact, short section ===== */
.doctors.section-pad {
  padding: clamp(32px, 4vw, 48px) 0
}

.doctors .section-heading {
  margin-bottom: 20px
}

.doctors h2 {
  font-size: clamp(1.5rem, 3vw, 2rem)
}

.doctors .eyebrow {
  margin-bottom: 8px
}

.doctor-grid {
  grid-template-columns: 1fr 1fr;
  max-width: none;
  gap: 20px;
  align-items: stretch
}

.doctor-card,
.doctor-card-main {
  flex-direction: row;
  align-items: stretch;
  min-height: 360px;
  box-shadow: none;
  border: 1px solid var(--line)
}

.doctor-photo,
.doctor-card-main .doctor-photo {
  width: 280px;
  flex: none;
  aspect-ratio: auto;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
  border-bottom: 0;
  border-right: 4px solid var(--red)
}

.doctor-info,
.doctor-card .doctor-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.doctor-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px
}

.doctor-role {
  margin-bottom: 8px
}

.cred-list {
  gap: 4px;
  font-size: .85rem
}

.doctor-card:not(.doctor-card-main) .doctor-role {
  margin-bottom: 0
}

@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr
  }

  .hero-visual {
    order: -1
  }

  .hero-image {
    max-height: none;
    width: min(100%, 420px);
    margin-inline: auto
  }

  .hero-copy {
    text-align: left
  }

  .hero-lead {
    margin-inline: 0
  }

  .hero-actions {
    justify-content: flex-start
  }
}

@media (max-width:820px) {
  .doctor-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:480px) {

  .doctor-photo,
  .doctor-card-main .doctor-photo {
    width: 110px
  }

  .hero-actions .button {
    width: 100%
  }
}

/* ===== Floating social icons: round buttons like reference ===== */
.social-float {
  right: 14px;
  gap: 14px
}

.sf {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25)
}

.sf:hover {
  width: 50px;
  margin-left: 0;
  filter: brightness(1.08)
}

@media (max-width:640px) {
  .social-float {
    display: none
  }
}

/* Small-screen layout refinements */
@media (max-width:820px) {
  .tag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .tag-text {
    min-width: 0;
    overflow-wrap: anywhere
  }
}

@media (max-width:640px) {
  .topline {
    display: none
  }

  .container {
    width: calc(100% - 32px)
  }

  .topline-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px
  }

  .topline-links {
    flex-direction: column;
    gap: 8px
  }

  .top-link {
    align-items: flex-start
  }

  .top-link span {
    min-width: 0;
    overflow-wrap: anywhere
  }

  .language-toggle {
    align-self: flex-start
  }

  .header-inner {
    gap: 8px
  }

  .brand {
    min-width: 0;
    gap: 8px
  }

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

  .brand-copy {
    min-width: 0
  }

  .brand-copy strong {
    font-size: 1.1rem
  }

  .menu-toggle {
    flex: none
  }

  .main-nav {
    max-height: calc(100vh - 80px);
    overflow-y: auto
  }

  .hero-grid {
    gap: 28px
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem)
  }

  .hero-meta {
    align-items: flex-start
  }

  .hero-meta>span:last-child {
    min-width: 0;
    overflow-wrap: anywhere
  }

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

  .tag {
    min-width: 0;
    gap: 8px;
    padding: 12px
  }

  .tag .icon-box {
    width: 52px;
    height: 52px;
    flex: none
  }

  .tag .icon-box svg {
    width: 28px;
    height: 28px
  }

  .tag-text {
    min-width: 0;
    overflow-wrap: anywhere
  }

  .tag strong,
  .tag span {
    overflow-wrap: anywhere
  }

  .thumbs {
    max-width: 100%
  }

  .doctor-info {
    min-width: 0
  }

  .doctor-info h3,
  .cred-list {
    overflow-wrap: anywhere
  }

  .footer-inner,
  .footer-bottom {
    align-items: flex-start
  }

  .footer-addr {
    min-width: 0;
    overflow-wrap: anywhere
  }
}

@media (max-width:480px) {
  .tag-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .tag {
    gap: 12px;
    padding: 14px
  }

  .tag .icon-box {
    width: 60px;
    height: 60px
  }

  .tag .icon-box svg {
    width: 32px;
    height: 32px
  }

  .doctor-card,
  .doctor-card-main {
    flex-direction: column;
    min-height: 0
  }

  .doctor-photo,
  .doctor-card-main .doctor-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    min-height: 0;
    border-right: 0;
    border-bottom: 4px solid var(--red)
  }

  .doctor-info,
  .doctor-card .doctor-info {
    padding: 18px
  }

  .hero-actions .button {
    width: 100%
  }
}

/* Photo-backed slots are larger rounded squares; icon placeholders stay circular. */
.icon-box.has-img {
  border-radius: 12px
}

.service-card>.icon-box.has-img {
  width: 116px;
  height: 116px
}

.critical-list .icon-box.has-img {
  width: 78px;
  height: 78px
}

.tag .icon-box.has-img {
  width: 80px;
  height: 80px
}

.dental-list .icon-box.has-img {
  width: 132px;
  height: 132px
}

@media (max-width:640px) {
  .service-card>.icon-box.has-img {
    width: 96px;
    height: 96px
  }

  .tag .icon-box.has-img {
    width: 60px;
    height: 60px
  }

  .dental-list .icon-box.has-img {
    width: 104px;
    height: 104px
  }
}

.diagnostics .tag {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px
}

.diagnostics .tag .icon-box.has-img {
  align-self: stretch;
  width: 100%;
  height: 250px;
  flex: none;
  border-radius: 10px
}

.dental-grid {
  grid-template-columns: 1fr;
  align-items: start
}

.dental-list .icon-box,
.dental-list .icon-box.has-img {
  width: 180px;
  height: 180px
}

@media (max-width:640px) {
  .dental-list .icon-box,
  .dental-list .icon-box.has-img {
    width: 140px;
    height: 140px
  }
}