:root {
  --ink: #173f3c;
  --text: #536a68;
  --muted: #6d807d;
  --brand: #0d746b;
  --brand-dark: #105b54;
  --brand-deep: #174c48;
  --surface: #ffffff;
  --surface-soft: #f4f9f8;
  --surface-tint: #eaf5f2;
  --border: #dbe9e6;
  --contact: #173f3c;
  --contact-card: #214c48;
  --shadow-sm: 0 8px 26px rgba(20, 70, 65, 0.06);
  --shadow-md: 0 16px 42px rgba(20, 70, 65, 0.10);
  --shadow-lg: 0 28px 70px rgba(23, 63, 60, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --header-height: 82px;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #243434;
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(13, 116, 107, 0.28);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--brand-deep);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.brand-name {
  position: relative;
  display: flex;
  align-items: baseline;
  width: max-content;
  gap: 10px;
  padding-bottom: 5px;
  color: var(--brand-deep);
  line-height: 1;
}

.brand-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0.65;
}

.brand-nalavind {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-medical {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-subtitle {
  margin-top: 5px;
  color: #667b79;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
}

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

.main-nav a {
  color: #385553;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

/* HERO */
.hero {
  background:
    radial-gradient(circle at 76% 18%, rgba(13, 116, 107, 0.09), transparent 34%),
    linear-gradient(135deg, #f2faf8 0%, #ffffff 64%);
}

.hero-grid {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 70px;
  padding-top: 32px;
  padding-bottom: 28px;
}

.hero-content {
  max-width: 680px;
}

.hero-kicker,
.eyebrow,
.map-eyebrow {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 21px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-tint);
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(2.45rem, 4.1vw, 3.75rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: var(--brand);
}

.hero-text {
  max-width: 610px;
  margin-top: 26px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.hero-specialties span {
  max-width: 100%;
  padding: 8px 13px;
  white-space: normal;
  border: 1px solid #c8deda;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #355d59;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 31px;
}

.hero-btn,
.btn,
.map-direction-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.hero-btn:hover,
.btn:hover,
.map-direction-btn:hover {
  transform: translateY(-1px);
}

.hero-btn-primary,
.contact-btn-primary,
.map-direction-btn {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
}

.hero-btn-primary {
  box-shadow: 0 10px 24px rgba(23, 109, 101, 0.18);
}

.hero-btn-primary:hover,
.contact-btn-primary:hover,
.map-direction-btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.hero-btn-secondary,
.contact-btn-secondary {
  border: 1px solid #bcd6d2;
  background: #fff;
  color: var(--brand);
}

.hero-btn-secondary:hover,
.contact-btn-secondary:hover {
  background: #eef8f6;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  color: #71827f;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  height: 560px;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 132px;
  border-radius: var(--radius-lg);
  background: #dce9e6;
  box-shadow: var(--shadow-lg);
}

.hero-main-wrap {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #e6efed;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.hero-signage-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(23, 63, 60, 0.12);
  background: #1d1814;
}

.hero-signage-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-location-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.hero-location-card small {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.hero-location-card strong {
  color: #244d49;
  font-size: 0.9rem;
}

.hero-hours {
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

/* QUICK STRIP */
.quick-strip {
  border-block: 1px solid var(--border);
  background: #fff;
}

.quick-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.quick-item {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.quick-item:last-child {
  border-right: 0;
}

.quick-item strong {
  margin-bottom: 5px;
  color: var(--brand);
  font-size: 1.02rem;
  font-weight: 900;
}

.quick-item span {
  color: #526966;
  font-size: 0.86rem;
  font-weight: 700;
}

/* GENERAL SECTIONS */
.section {
  padding-block: 86px;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.eyebrow {
  margin-bottom: 13px;
}

.section-heading h2,
.about-heading h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
}

.section-heading h2 {
  margin-bottom: 13px;
}

.section-heading p,
.about-content p {
  color: #607370;
}

/* ABOUT */
.about-section {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 78px;
  align-items: start;
}

.about-content {
  padding-top: 25px;
}

.about-content p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.8;
}

/* DOCTORS */
.doctor-grid,
.specialty-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.doctor-card,
.specialty-card,
.facility-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.doctor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.doctor-photo {
  height: 260px;
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #edf5f3;
  color: #79908d;
  font-size: 0.88rem;
}

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

.doctor-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 23px;
}

.doctor-specialty {
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.doctor-info h3 {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.26rem;
}

.doctor-qualification {
  margin-bottom: 15px;
  color: #6c7d7a;
  font-size: 0.87rem;
}

.doctor-care {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.68;
}

.doctor-meta {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e5eeec;
}

.doctor-meta span {
  display: block;
  margin-bottom: 3px;
  color: #82928f;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor-meta strong {
  color: #355854;
  font-size: 0.88rem;
}

.doctor-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 800;
}

.doctor-meta strong,
.doctor-meta a {
  line-height: 1.55;
}

.doctor-extra-contact {
  min-height: 1.35em;
}

/* SPECIALTIES */
.specialty-card {
  padding: 27px;
}

.specialty-card h3,
.facility-card h3,
.why-card h3 {
  color: #19534e;
}

.specialty-card h3 {
  margin-bottom: 11px;
  font-size: 1.14rem;
}

.specialty-card p {
  margin-bottom: 16px;
  color: #607370;
  font-size: 0.9rem;
}

.specialty-card ul {
  padding-left: 18px;
}

.specialty-card li {
  margin-bottom: 6px;
  color: #465f5c;
  font-size: 0.88rem;
}

.specialty-card li::marker {
  color: var(--brand);
}

/* WHY */
.why-section {
  background: #fff;
}

.why-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

.why-card h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
}

.why-card p {
  color: #607370;
  font-size: 0.9rem;
}

/* FACILITIES */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.facility-card {
  padding: 26px 22px;
}

.facility-card h3 {
  margin-bottom: 9px;
  font-size: 1.03rem;
}

.facility-card p {
  color: #637674;
  font-size: 0.9rem;
}

/* CONTACT */
.section-contact {
  background: var(--contact);
  color: #fff;
}

.section-contact .section-heading h2 {
  color: #fff;
}

.section-contact .section-heading p {
  color: #c8d9d7;
}

.section-contact .eyebrow {
  color: #93d0c9;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 18px;
}

.contact-card,
.visit-card,
.map-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.contact-card {
  padding: 30px;
  background: #fff;
  color: #314d4a;
}

.contact-card h3 {
  margin-bottom: 23px;
  color: var(--brand-deep);
  font-size: 1.45rem;
}

.contact-item {
  margin-bottom: 18px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-deep);
}

.contact-item p {
  color: #607370;
}

.contact-item a {
  color: var(--brand);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.visit-card {
  padding: 30px;
  background: var(--contact-card);
}

.visit-card h3 {
  margin-bottom: 24px;
  color: #fff;
  font-size: 1.45rem;
}

.visit-feature {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.visit-feature:last-child {
  margin-bottom: 0;
}

.feature-icon {
  flex: 0 0 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}

.visit-feature strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
}

.visit-feature p {
  color: #c7d8d5;
  font-size: 0.88rem;
}

/* MAP */
.map-card {
  grid-column: 1 / -1;
  background: #fff;
}

.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 21px 26px;
}

.map-eyebrow {
  margin-bottom: 8px;
}

.map-header h3 {
  margin-bottom: 7px;
  color: var(--brand-deep);
  font-size: 1.32rem;
}

.map-header p {
  color: #1c2e2b;
  font-size: 0.9rem;
}

.map-direction-btn {
  flex-shrink: 0;
}

.map-frame {
  width: 100%;
  height: 345px;
}

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

/* FOOTER */
.site-footer {
  padding: 24px 0;
  background: #102f2d;
  color: #abc1be;
  text-align: center;
  font-size: 0.83rem;
}

/* TABLET */
@media (max-width: 950px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    height: 520px;
    grid-template-rows: minmax(0, 1fr) 125px;
  }

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

  .about-grid {
    gap: 48px;
  }

  .main-nav {
    gap: 16px;
  }
}

@media (max-width: 850px) {
  .quick-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-item {
    border-bottom: 1px solid var(--border);
  }
}

/* MOBILE NAV + LAYOUT */
@media (max-width: 720px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand-nalavind {
    font-size: 1.48rem;
  }

  .brand-medical {
    font-size: 0.82rem;
  }

  .brand-subtitle {
    font-size: 0.58rem;
  }

  .section {
    padding-block: 64px;
  }

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

  .about-grid {
    gap: 14px;
  }

  .about-content {
    padding-top: 0;
  }

  .map-card {
    grid-column: auto;
  }

  .map-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .map-direction-btn {
    width: 100%;
  }

  .map-frame {
    height: 290px;
  }
}

@media (max-width: 620px) {
  .hero-grid {
    min-height: auto;
    gap: 34px;
    padding-block: 44px;
  }

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

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

  .hero-buttons,
  .contact-buttons {
    flex-direction: column;
  }

  .hero-btn,
  .contact-buttons .btn {
    width: 100%;
  }

  .hero-trust {
    display: none;
  }

  .hero-visual {
    height: 430px;
    grid-template-rows: minmax(0, 1fr) 92px;
    border-radius: 20px;
  }

  .hero-location-card {
    left: 13px;
    right: 13px;
    bottom: 12px;
    padding: 13px 14px;
  }

  .hero-hours {
    display: none;
  }

  .doctor-grid,
  .specialty-grid,
  .why-grid,
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .doctor-photo {
    height: 280px;
    flex-basis: 280px;
  }
}

@media (max-width: 520px) {
  .quick-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-item {
    min-height: 92px;
  }

  .quick-item:nth-child(even) {
    border-right: 0;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.05rem;
  }

  .hero-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }
}


/* RESPONSIVE NAVIGATION
   Collapse the full desktop navigation before it becomes crowded on tablets. */
@media (max-width: 1020px) {
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 5%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 12px 24px rgba(20, 70, 65, 0.08);
  }

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

  .main-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 11px 4px;
    border-bottom: 1px solid #edf2f1;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle.is-open {
    font-size: 2rem;
  }
}

@media (max-width: 720px) {
  .section-heading {
    margin-bottom: 30px;
  }

  .doctor-info {
    padding: 21px;
  }

  .specialty-card,
  .facility-card,
  .why-card {
    padding: 22px;
  }

  .contact-card,
  .visit-card {
    padding: 24px;
  }

  .hero-location-card strong {
    font-size: 0.84rem;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(1120px, 92%);
  }

  .brand-name {
    gap: 7px;
  }

  .brand-nalavind {
    font-size: 1.38rem;
  }

  .brand-medical {
    font-size: 0.76rem;
  }

  .brand-subtitle {
    font-size: 0.54rem;
    letter-spacing: 0.05em;
  }

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

  .hero-specialties span {
    font-size: 0.76rem;
  }

  .update-item {
    flex-basis: min(250px, calc(100vw - 58px));
    min-width: min(250px, calc(100vw - 58px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================
   LATEST UPDATES STRIP
========================= */
.updates-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #0b5b55 0%, #0f756d 48%, #164c64 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.updates-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 50%, rgba(255,255,255,0.10), transparent 28%);
}

.updates-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(225px, 0.72fr) minmax(0, 2.28fr);
  gap: 24px;
  align-items: center;
  padding-block: 13px;
}

.updates-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.updates-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #ffd36a;
  box-shadow: 0 0 0 5px rgba(255, 211, 106, 0.16);
  animation: updates-dot-pulse 2.8s ease-in-out infinite;
}

.updates-kicker {
  margin: 0 0 2px;
  font-size: 0.65rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.16em;
  color: #bff4ec;
}

.updates-title h2 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.3;
  color: #ffffff;
}

/* Moving ticker window */
.updates-viewport {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.updates-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: updates-scroll-ltr 38s linear infinite;
}

.updates-sequence {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding-right: 12px;
}

.update-item {
  flex: 0 0 300px;
  min-width: 300px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 11px;
  background: rgba(255,255,255,0.10);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(5px);
}

.update-label {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-bottom: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.61rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.11em;
  color: #0d3835;
  animation: updates-label-glow 3.6s ease-in-out infinite;
}

.update-camp .update-label {
  background: #ffd36a;
}

.update-free .update-label {
  background: #7ee9dc;
  animation-delay: 0.8s;
}

.update-clinic .update-label {
  background: #ffc0cc;
  animation-delay: 1.6s;
}

.update-item p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: #ffffff;
}

.updates-viewport:hover .updates-track,
.updates-viewport:focus-within .updates-track {
  animation-play-state: paused;
}

@keyframes updates-scroll-ltr {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes updates-dot-pulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.92);
    box-shadow: 0 0 0 4px rgba(255, 211, 106, 0.10);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 0 0 7px rgba(255, 211, 106, 0.22), 0 0 16px rgba(255, 211, 106, 0.28);
  }
}

@keyframes updates-label-glow {
  0%, 100% {
    filter: brightness(0.96);
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
  50% {
    filter: brightness(1.08);
    box-shadow: 0 0 13px rgba(255,255,255,0.24);
  }
}

@media (max-width: 900px) {
  .updates-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 12px;
  }

  .updates-title h2 {
    font-size: 0.9rem;
  }

  .updates-track {
    animation-duration: 34s;
  }
}

@media (max-width: 700px) {
  .updates-inner {
    gap: 9px;
  }

  .updates-title {
    padding-inline: 2px;
  }

  .update-item {
    flex-basis: 265px;
    min-width: 265px;
    padding: 9px 11px;
  }

  .update-item p {
    font-size: 0.72rem;
  }

  .updates-track {
    animation-duration: 31s;
  }
}

/* Accessibility: keep the information visible without motion when reduced motion is preferred. */
@media (prefers-reduced-motion: reduce) {
  .updates-dot,
  .update-label,
  .updates-track {
    animation: none !important;
  }

  .updates-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .updates-sequence[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-grid {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/* DOCTOR & SPECIALTY PROFILE LINKS */
.doctor-links,
.specialty-links {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #e5eeec;
}

.doctor-links[data-empty-links="true"],
.specialty-links[data-empty-links="true"] {
  display: none;
}

.doctor-link-label,
.specialty-link-label {
  display: block;
  margin-bottom: 8px;
  color: #82928f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor-links-buttons,
.specialty-links-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.doctor-link,
.specialty-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #c7ddd9;
  border-radius: 9px;
  background: #f6fbfa;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.doctor-link:hover,
.doctor-link:focus-visible,
.specialty-link:hover,
.specialty-link:focus-visible {
  background: #eaf6f3;
  border-color: #9fcac4;
  transform: translateY(-1px);
}

.practo-link::after,
.website-link::after {
  content: " ↗";
  font-weight: 700;
}

@media (max-width: 620px) {
  .doctor-links-buttons,
  .specialty-links-buttons {
    flex-direction: column;
  }

  .doctor-link,
  .specialty-link {
    width: 100%;
  }
}

/* =========================================================
   FINAL POLISH — Nalavind Medical Centre
   ========================================================= */

/* Compact, always-visible announcement ribbon */
.updates-strip {
  min-height: 74px;
}

.updates-inner {
  min-height: 74px;
  padding-block: 10px;
}

.updates-title {
  min-width: 0;
}

.updates-title h2 {
  font-size: 0.9rem;
}

.update-item {
  flex-basis: 286px;
  min-width: 286px;
  padding: 8px 12px;
}

.update-item p {
  font-size: 0.72rem;
}

/* Cleaner hero: show the Nalavind signage once, without empty space */
.hero-grid {
  gap: 58px;
}

.hero-visual {
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
}

.hero-main-wrap {
  position: relative;
  min-height: 0;
  overflow: visible;
  background: #ffffff;
}

.hero-main-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2048 / 711;
  object-fit: contain;
  display: block;
}

.hero-location-card {
  position: static;
  width: 100%;
  margin: 0;
  border-radius: 0;
  border-top: 1px solid var(--border);
  box-shadow: none;
}

.hero-signage-wrap {
  display: none !important;
}

/* Tighten large vertical gaps between major sections */
.section {
  padding-block: 70px;
}

.about-section {
  padding-top: 62px;
  padding-bottom: 56px;
}

#doctors {
  padding-top: 58px;
}

/* Quick-access facility widgets */
.quick-item {
  gap: 3px;
  padding-top: 17px;
  padding-bottom: 17px;
}

.quick-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eaf6f3;
  color: var(--brand);
}

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

.quick-item strong {
  margin-bottom: 1px;
}

/* Doctor photographs / graceful placeholders */
.doctor-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #6d8a86;
  background:
    radial-gradient(circle at 50% 35%, rgba(13,116,107,0.08), transparent 34%),
    #edf5f3;
  font-size: 0.78rem;
  font-weight: 700;
}

.doctor-photo-placeholder svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

/* Doctor / Practo links */
.doctor-link,
.specialty-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #c7ddd9;
  border-radius: 9px;
  background: #f6fbfa;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.doctor-link:hover,
.doctor-link:focus-visible,
.specialty-link:hover,
.specialty-link:focus-visible {
  background: #eaf6f3;
  border-color: #9fcac4;
}

/* Facility cards as visual widgets */
.facility-card {
  position: relative;
  min-height: 190px;
}

.facility-widget-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eaf6f3;
  color: var(--brand);
}

.facility-widget-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Contact / visit widgets */
.feature-icon {
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
}

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

/* Use the same approved facility logos here as in the quick facility strip. */
.feature-icon-image-wrap {
  overflow: hidden;
}

.visit-feature-logo {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 950px) {
  .hero-grid {
    gap: 32px;
  }

  .hero-visual {
    max-width: 720px;
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .updates-strip,
  .updates-inner {
    min-height: 0;
  }

  .section {
    padding-block: 54px;
  }

  .about-section {
    padding-block: 50px;
  }

  #doctors {
    padding-top: 50px;
  }

  .hero-visual {
    border-radius: 18px;
  }

  .hero-main-image {
    aspect-ratio: 2048 / 711;
  }

  .hero-location-card {
    padding: 14px 15px;
  }

  .quick-icon {
    width: 39px;
    height: 39px;
  }
}

@media (max-width: 520px) {
  .quick-item {
    min-height: 118px;
  }

  .facility-card {
    min-height: auto;
  }
}


/* =========================================================
   HERO COLLAGE + PREMIUM ICON REFRESH
   ========================================================= */

.hero-grid {
  align-items: center;
  gap: 56px;
}

.hero-collage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,248,246,0.98));
  border: 1px solid rgba(23, 63, 60, 0.08);
  border-radius: 26px;
  box-shadow: 0 26px 68px rgba(23, 63, 60, 0.14);
}

.hero-collage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "logo building"
    "waiting parking";
  gap: 14px;
}

.hero-collage-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #e7f0ee;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}

.hero-collage-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.08));
}

.hero-collage-logo { grid-area: logo; min-height: 208px; }
.hero-collage-building { grid-area: building; min-height: 208px; }
.hero-collage-waiting { grid-area: waiting; min-height: 176px; }
.hero-collage-parking { grid-area: parking; min-height: 176px; }

.hero-collage-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-collage-logo .hero-collage-image {
  object-position: center;
}

.hero-collage-building .hero-collage-image {
  object-position: center 42%;
}

.hero-collage-waiting .hero-collage-image {
  object-position: center;
}

.hero-collage-parking .hero-collage-image {
  object-position: center;
}

.hero-location-card {
  margin-top: 14px;
  border-top: 0;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(21, 72, 67, 0.10);
}

.quick-strip {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}

.quick-item {
  position: relative;
  min-height: 132px;
  gap: 5px;
  padding: 22px 12px 20px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.quick-item:hover {
  background: #fbfefd;
  transform: translateY(-2px);
}

.quick-icon {
  position: relative;
  width: 62px;
  height: 62px;
  margin-bottom: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(229,245,241,0.96));
  border: 1px solid rgba(13, 116, 107, 0.10);
  box-shadow: 0 12px 26px rgba(18, 90, 84, 0.10);
}

.quick-icon::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13,116,107,0.10), rgba(37,150,190,0.06));
}

.quick-icon svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-item strong {
  margin-bottom: 0;
  font-size: 1.12rem;
}

.quick-item span:last-child {
  max-width: 150px;
  line-height: 1.35;
}

.quick-item-services .quick-icon { color: #14796f; }
.quick-item-lab .quick-icon { color: #0d6c97; }
.quick-item-rx .quick-icon { color: #0a8b73; }
.quick-item-parking .quick-icon { color: #155cb7; }
.quick-item-xray .quick-icon { color: #8758c9; }

.facility-card {
  position: relative;
  min-height: 210px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.facility-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.facility-widget-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(13, 116, 107, 0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232,245,242,0.98));
  box-shadow: 0 10px 24px rgba(18, 90, 84, 0.10);
}

.facility-widget-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13,116,107,0.11), rgba(37,150,190,0.06));
}

.facility-widget-icon svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  stroke-width: 2.1;
}

.facility-card-lab .facility-widget-icon { color: #0d6c97; }
.facility-card-rx .facility-widget-icon { color: #0a8b73; }
.facility-card-parking .facility-widget-icon { color: #155cb7; }
.facility-card-xray .facility-widget-icon { color: #8758c9; }

@media (max-width: 950px) {
  .hero-collage-card {
    max-width: 760px;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero-collage-card {
    padding: 12px;
    border-radius: 20px;
  }

  .hero-collage-grid {
    gap: 10px;
  }

  .hero-collage-logo,
  .hero-collage-building {
    min-height: 150px;
  }

  .hero-collage-waiting,
  .hero-collage-parking {
    min-height: 128px;
  }

  .quick-item {
    min-height: 118px;
  }

  .quick-icon {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 520px) {
  .hero-collage-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "building"
      "waiting"
      "parking";
  }

  .hero-collage-logo,
  .hero-collage-building,
  .hero-collage-waiting,
  .hero-collage-parking {
    min-height: 176px;
  }

  .quick-item span:last-child {
    max-width: 100%;
  }
}


/* =========================================================
   BRAND + IMAGE LOGO REFRESH
   ========================================================= */
.brand-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 58px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.10));
}

.brand .brand-name {
  margin-top: 1px;
}

.hero-collage-logo {
  background: linear-gradient(180deg, #ffffff, #f7fbfa);
}

.hero-collage-logo .hero-collage-image {
  object-fit: contain;
  object-position: center;
  padding: 14px;
}

.quick-icon {
  background: linear-gradient(180deg, #ffffff, #f5fbfa);
  overflow: hidden;
}

.quick-icon::before {
  opacity: 0.65;
}

.quick-icon-image {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(16, 70, 66, 0.15));
}

.quick-item {
  min-height: 146px;
}

.facility-widget-icon {
  overflow: hidden;
}

.facility-icon-image {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(16, 70, 66, 0.14));
}

.facility-card-lab .facility-widget-icon,
.facility-card-rx .facility-widget-icon,
.facility-card-parking .facility-widget-icon,
.facility-card-xray .facility-widget-icon {
  color: inherit;
}

@media (max-width: 720px) {
  .brand-logo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand-main {
    gap: 10px;
  }

  .quick-icon-image,
  .facility-icon-image {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 520px) {
  .brand-main {
    align-items: flex-start;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}


/* Final fixes: specialist services logo + doctor images */
.quick-item-services .quick-icon {
  background: linear-gradient(180deg, #ffffff, #f4fbfa);
}

.quick-icon-brand {
  width: 46px;
  height: 46px;
}

.doctor-photo {
  position: relative;
  background: linear-gradient(180deg, #edf5f3 0%, #eef7f5 100%);
}

.doctor-photo img {
  object-fit: cover;
  object-position: center top;
  image-rendering: auto;
}

/* Doctor portrait framing — single source of truth */
.photo-vinoth {
  object-position: center 18%;
}

.photo-senthil {
  object-position: center 10%;
}

/* dr-rajeev.jpg is pre-cropped to the card aspect ratio for reliable framing. */
.photo-rajeev {
  object-position: center center;
}

.photo-sathy {
  object-position: center 10%;
}

@media (max-width: 720px) {
  .quick-icon-brand {
    width: 42px;
    height: 42px;
  }
}

/* Final doctor photo framing */
/* =========================================================
   FINAL BRAND SIGNAGE FIX
   ========================================================= */

/* Header: use the V/ECG portion of the supplied signage image
   as the compact brand mark next to the existing clinic name. */
.brand-logo {
  width: 62px;
  height: 58px;
  flex: 0 0 62px;
  object-fit: cover;
  object-position: 22% center;
  border-radius: 8px;
  background: #f5efe3;
  box-shadow: 0 5px 14px rgba(30, 53, 50, 0.10);
  filter: none;
}

/* Hero top-left: show the complete Nalavind signage photograph. */
.hero-collage-logo {
  background: #f2eadc;
}

.hero-collage-logo .hero-collage-image {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: #f2eadc;
}

/* Keep the full brand readable on small screens. */
@media (max-width: 720px) {
  .brand-logo {
    width: 52px;
    height: 50px;
    flex-basis: 52px;
    object-position: 22% center;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 48px;
    height: 46px;
    flex-basis: 48px;
  }
}

/* =========================================================
   HEADER BRAND TEXT SIZE UPDATE — 30 Aug 2026
   Increase only the text in the Nalavind brand block.
   ========================================================= */
.brand-nalavind {
  font-size: 2.28rem;
}

.brand-medical {
  font-size: 1.22rem;
}

.brand-subtitle {
  font-size: 0.80rem;
}

@media (max-width: 720px) {
  .brand-nalavind {
    font-size: 1.72rem;
  }

  .brand-medical {
    font-size: 0.94rem;
  }

  .brand-subtitle {
    font-size: 0.64rem;
  }
}

/* =========================================================
   V12 — FINAL MOBILE POLISH
   Keeps the approved desktop design unchanged while making
   the full one-page site more compact and easier to use on phones.
   ========================================================= */

/* Never show a browser scrollbar in the announcement ticker. */
.updates-viewport {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.updates-viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

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

  /* Header */
  .header-inner {
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-main {
    gap: 8px !important;
  }

  .brand-name {
    gap: 6px;
    padding-bottom: 4px;
  }

  .brand-logo {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }

  .brand-nalavind {
    font-size: 1.66rem !important;
  }

  .brand-medical {
    font-size: 0.90rem !important;
  }

  .brand-subtitle {
    margin-left: 54px !important;
    margin-top: 2px !important;
    font-size: 0.61rem !important;
    letter-spacing: 0.055em;
  }

  /* Announcement strip */
  .updates-inner {
    gap: 8px;
    padding-block: 9px;
  }

  .updates-title {
    gap: 9px;
  }

  .updates-kicker {
    font-size: 0.62rem;
  }

  .updates-title h2 {
    font-size: 0.86rem;
    line-height: 1.22;
  }

  .update-item {
    flex-basis: 245px;
    min-width: 245px;
    padding: 8px 10px;
  }

  .update-item p {
    font-size: 0.70rem;
    line-height: 1.35;
  }

  /* Hero */
  .hero-grid {
    gap: 26px !important;
    padding-top: 22px !important;
    padding-bottom: 25px !important;
  }

  .hero-kicker {
    margin-bottom: 18px;
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 2.34rem !important;
    line-height: 0.98;
  }

  .hero-text {
    margin-top: 22px;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-specialties {
    gap: 7px;
    margin-top: 22px;
  }

  .hero-specialties span {
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  .hero-buttons {
    gap: 10px;
    margin-top: 25px;
  }

  .hero-btn {
    min-height: 46px;
  }

  /* Keep the four clinic images compact on phones instead of
     turning the collage into a very long four-image stack. */
  .hero-collage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "logo building"
      "waiting parking" !important;
    gap: 8px !important;
  }

  .hero-collage-logo,
  .hero-collage-building {
    min-height: 132px !important;
  }

  .hero-collage-waiting,
  .hero-collage-parking {
    min-height: 112px !important;
  }

  .hero-collage-item {
    border-radius: 14px;
  }

  .hero-collage-card {
    padding: 9px !important;
    border-radius: 18px !important;
  }

  .hero-location-card {
    margin-top: 9px;
    padding: 12px 13px !important;
  }

  /* Quick facilities */
  .quick-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-item {
    min-height: 108px !important;
    padding: 14px 8px;
  }

  .quick-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 4px;
  }

  .quick-icon-image,
  .quick-icon-brand {
    width: 35px !important;
    height: 35px !important;
  }

  .quick-item strong {
    font-size: 1rem;
  }

  .quick-item span:last-child {
    font-size: 0.78rem;
  }

  /* Main content sections */
  .section {
    padding-block: 48px !important;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .about-heading h2 {
    font-size: 2.08rem;
    line-height: 1.08;
  }

  .about-content p {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .doctor-grid,
  .specialty-grid,
  .why-grid,
  .facility-grid {
    gap: 16px;
  }

  .doctor-photo {
    height: 235px !important;
    flex-basis: 235px !important;
  }

  .doctor-info {
    padding: 19px;
  }

  .doctor-care {
    margin-bottom: 15px;
    font-size: 0.87rem;
  }

  .specialty-card,
  .facility-card {
    padding: 21px;
  }

  .facility-widget-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
  }

  /* Contact + map */
  .contact-grid {
    gap: 16px;
  }

  .contact-card,
  .visit-card {
    padding: 23px;
  }

  .contact-buttons {
    gap: 9px;
  }

  .contact-buttons .btn {
    width: 100%;
  }

  .map-header {
    gap: 17px;
    padding: 20px !important;
  }

  .map-frame {
    height: 290px !important;
  }

  .site-footer {
    padding: 20px 0;
  }
}

@media (max-width: 520px) {
  /* Centre the fifth quick-facility tile rather than leaving an
     visually awkward empty half-row. */
  .quick-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .brand-subtitle {
    margin-left: 54px !important;
  }
}

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

  .brand-logo {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  .brand-nalavind {
    font-size: 1.48rem !important;
  }

  .brand-medical {
    font-size: 0.80rem !important;
  }

  .brand-subtitle {
    margin-left: 50px !important;
    font-size: 0.56rem !important;
  }

  .hero h1 {
    font-size: 2.12rem !important;
  }

  .update-item {
    flex-basis: 225px;
    min-width: 225px;
  }
}

/* =========================================================
   V13 MOBILE QUICK-FACILITY STRIP
   Keep all five facility tiles in one horizontal row on phones.
   ========================================================= */
@media (max-width: 520px) {
  .quick-strip .container {
    width: 100%;
  }

  .quick-strip-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .quick-item,
  .quick-item:last-child:nth-child(odd) {
    grid-column: auto !important;
    min-width: 0;
    min-height: 116px !important;
    padding: 11px 3px 10px !important;
    border-right: 1px solid var(--border) !important;
    border-bottom: 0 !important;
  }

  .quick-item:last-child {
    border-right: 0 !important;
  }

  .quick-icon {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 3px !important;
    border-radius: 13px !important;
  }

  .quick-icon-image,
  .quick-icon-brand {
    width: 31px !important;
    height: 31px !important;
  }

  .quick-item strong {
    margin-bottom: 2px !important;
    font-size: 0.88rem !important;
    line-height: 1.05;
  }

  .quick-item span:last-child {
    font-size: 0.66rem !important;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 390px) {
  .quick-icon {
    width: 38px !important;
    height: 38px !important;
  }

  .quick-icon-image,
  .quick-icon-brand {
    width: 28px !important;
    height: 28px !important;
  }

  .quick-item {
    min-height: 112px !important;
    padding-inline: 2px !important;
  }

  .quick-item strong {
    font-size: 0.82rem !important;
  }

  .quick-item span:last-child {
    font-size: 0.62rem !important;
  }
}


/* =========================================================
   V14 QUICK-FACILITY STRIP
   Four facility tiles only: Lab, Pharmacy, Parking and X-Ray.
   Keep them in one even row on desktop and mobile.
   ========================================================= */
.quick-strip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 520px) {
  .quick-strip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .quick-item {
    min-height: 112px !important;
    padding: 11px 4px 10px !important;
  }

  .quick-icon {
    width: 44px !important;
    height: 44px !important;
  }

  .quick-icon-image {
    width: 32px !important;
    height: 32px !important;
  }

  .quick-item strong {
    font-size: 0.92rem !important;
  }

  .quick-item span:last-child {
    font-size: 0.68rem !important;
    line-height: 1.2;
  }
}

@media (max-width: 390px) {
  .quick-item {
    min-height: 108px !important;
    padding-inline: 3px !important;
  }

  .quick-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .quick-icon-image {
    width: 29px !important;
    height: 29px !important;
  }

  .quick-item strong {
    font-size: 0.86rem !important;
  }

  .quick-item span:last-child {
    font-size: 0.64rem !important;
  }
}

/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 28px rgba(13, 116, 107, 0.28);
  font: inherit;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease,
    background 0.18s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--brand-dark);
}

.back-to-top span {
  display: block;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

