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

:root {
  --primary: #005A9C;
  --secondary: #008080;
  --accent: #E53935;
  --bg-light: #F4F7F6;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #E0E0E0;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-family: "Inter", "Roboto", Arial, sans-serif;
}

body,
input,
button,
select,
textarea,
table,
menu,
.modal {
  font-family: var(--font-family);
}

body {
  color: var(--text-main);
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Base styles and Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  margin: 10px auto 0;
  border-radius: 2px;
}
.section {
  padding: 4rem 0;
  background-color: var(--white);
}
.section-alt {
  background-color: var(--bg-light);
}

/* Premium Header */
.hospital-header {
  width: 100%;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
}

.header-top {
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top a {
  color: var(--white);
  text-decoration: none;
  margin-left: 20px;
}
.header-top a:hover {
  color: #d1e5f0;
}
.top-info {
  margin-right: 20px;
}
.top-info i, .top-link i {
  margin-right: 5px;
}

.header-middle {
  padding: 15px 0;
  background: var(--white);
}
.header-middle-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}
.logo-box img {
  height: 65px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
  border-radius: 8px;
}
.logo-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.site-title,
.logo-title-main {
  font-size: 24px;
  font-weight: 600;
  color: #005b96;
  line-height: 1.15;
  text-transform: uppercase;
}
.site-subtitle,
.logo-title-sub {
  font-size: 42px;
  font-weight: 800;
  color: #008c8c;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-info-boxes {
  display: flex;
  align-items: center;
  gap: 30px;
}
.info-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-icon {
  font-size: 28px;
  color: var(--secondary);
}
.info-text {
  display: flex;
  flex-direction: column;
}
.info-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.info-value {
  font-size: 15px;
  color: var(--text-main);
}
.btn-appointment {
  background: var(--accent);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
.btn-appointment:hover {
  background: #c62828;
  color: var(--white);
  transform: translateY(-2px);
}

.header-nav-wrapper {
  background: var(--primary);
}
.header-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-nav .nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav .nav-item {
  position: relative;
}
.main-nav .nav-link {
  display: block;
  padding: 15px 12px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13.5px;
  white-space: nowrap;
  transition: background 0.3s;
}
.main-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}
.desktop-icon {
  margin-left: 5px;
  font-size: 12px;
}
.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-top: 3px solid var(--secondary);
}
.main-nav .nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .dropdown-menu li {
  position: relative;
}
.main-nav .dropdown-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--bg-light);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.main-nav .dropdown-menu li:last-child a {
  border-bottom: none;
}
.main-nav .dropdown-menu li a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 25px;
}
.main-nav .dropdown-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 240px;
  margin: 0 0 0 6px;
  padding: 10px 0;
  list-style: none;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.2s ease;
  z-index: 110;
}
.main-nav .has-submenu:hover > .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.submenu-arrow {
  margin-left: auto;
  font-size: 12px;
}

.nav-search-box form {
  display: flex;
}
.nav-search-box input {
  padding: 8px 15px;
  border: none;
  border-radius: 20px 0 0 20px;
  outline: none;
  width: 200px;
}
.nav-search-box button {
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 8px 15px;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
}

/* Mobile Toggles */
.mobile-menu-toggle {
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: none;
}
.mobile-dropdown-toggle {
  display: none;
}
.d-mobile-only {
  display: none !important;
}
.mobile-header-actions {
  display: none;
}
.mobile-menu-backdrop {
  display: none;
}

/* Utilities */
@media (max-width: 992px) {
  .d-none-tablet {
    display: none !important;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow-x: hidden;
  background: #eaf8ff;
}
.hero-slider {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  background: #eaf8ff;
}
.hero-slider .slick-list,
.hero-slider .slick-track,
.hero-slider .slick-slide,
.hero-slider .slick-slide > div {
  height: auto;
}
.hero-slider .slick-slide > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-slider .slick-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
/* Slick Arrows */
.hero-section .slick-prev,
.hero-section .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  border: none;
  color: transparent;
  outline: none;
  transition: all 0.3s;
}
.hero-section .slick-prev { left: 20px; }
.hero-section .slick-next { right: 20px; }
.hero-section .slick-prev:hover,
.hero-section .slick-next:hover {
  background: rgba(0, 0, 0, 0.6);
}
.hero-section .slick-prev:before,
.hero-section .slick-next:before {
  content: '\f104'; /* FontAwesome angle-left */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--white);
  font-size: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-section .slick-next:before {
  content: '\f105'; /* FontAwesome angle-right */
}

/* Quick Actions */
.quick-actions {
  margin-top: -80px;
  position: relative;
  z-index: 5;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}
.quick-card {
  background: var(--white);
  padding: 20px 15px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}
.quick-icon {
  font-size: 2.5rem;
  color: var(--secondary);
}
.quick-title {
  font-weight: 700;
  font-size: 1rem;
}
.quick-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Intro Section */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.intro-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 400px;
  object-fit: cover;
}
.intro-text h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.stat-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Departments */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.dept-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.dept-card:hover {
  box-shadow: var(--shadow-lg);
}
.dept-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.dept-info {
  padding: 20px;
  flex: 1;
}
.dept-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.dept-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* News Section */
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.news-tabs li a {
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--bg-light);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}
.news-tabs li a.active, .news-tabs li a:hover {
  background: var(--primary);
  color: var(--white);
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.main-news {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.main-news img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.main-news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 30px 20px 20px;
  color: var(--white);
}
.main-news-title {
  font-size: 1.5rem;
  color: var(--white);
  text-decoration: none;
}
.side-news {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.news-item {
  display: flex;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.news-item:hover {
  transform: translateX(5px);
}
.news-item img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.news-item-title {
  font-size: 1rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Doctors Slider */
.doctor-slider {
  margin: 0 -10px;
}
.doctor-card {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  display: block;
}
.doctor-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 4px solid var(--bg-light);
}
.doctor-name {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 5px;
}
.doctor-role {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Gallery Tabs */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}
.gallery-tabs li a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 10px;
  transition: all 0.3s;
  position: relative;
}
.gallery-tabs li a:hover,
.gallery-tabs li a.active {
  color: var(--text-main);
}
.gallery-tabs li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary);
}

/* Gallery Card */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.gallery-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.gallery-card-img {
  width: 100%;
  height: 200px;
  position: relative;
}
.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card-title {
  padding: 15px;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
}
.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.view-all-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
}
.view-all-link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #111b26;
  color: #e5edf6;
  padding: 60px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) minmax(520px, 1.65fr) minmax(260px, .9fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 44px;
}
.footer-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.footer-logo-wrap {
  display: inline-block;
  margin-bottom: 15px;
}
.footer-logo,
.footer-logo-wrap img {
  max-width: 110px;
  width: auto;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  border-radius: 12px;
}
.footer-logo-text {
  font-size: 1.08rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.45;
  text-transform: uppercase;
}
.footer-contact p {
  margin: 0 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.7;
  font-size: 15.5px;
  color: #e3edf7;
  word-break: normal;
  overflow-wrap: normal;
}
.footer-contact .value {
  white-space: normal;
}
.footer-contact .email,
.footer-contact .phone {
  white-space: nowrap;
}
.footer-contact p i {
  margin-top: 4px;
  color: #8fd3ff;
  font-size: 1.08rem;
  width: 20px;
  text-align: center;
  flex: 0 0 20px;
}
.footer-contact strong {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.footer-contact a {
  color: #b9e6ff;
  font-weight: 700;
  text-decoration: none;
}
.footer-contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-fanpage-link {
  color: #b9e6ff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-fanpage-link:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-title {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0 0 18px;
  font-weight: 700;
}
.footer-section-title {
  text-align: center;
}
.footer iframe {
  border-radius: 14px !important;
  box-shadow: none;
  width: 100%;
}
.footer-map-card {
  min-width: 0;
  text-align: center;
}
.footer-maps .footer-title {
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-map-frame {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  background: #e8eef3;
  border-radius: 14px;
}
.footer-map-btn,
.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 14px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
  border-radius: 999px;
  background: #0e8bb8;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-map-btn:hover {
  background: #0b769d;
  color: #ffffff;
  transform: translateY(-1px);
}
.footer-app {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.footer-app-card {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 20px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  text-align: center;
}
.footer-app-card .footer-title {
  margin-bottom: 14px;
  font-size: 1.05rem;
  line-height: 1.4;
}
.footer-app-qr-list,
.footer-app-qr-grid {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 14px;
  margin-bottom: 4px;
}
.footer-app-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.footer-app-qr {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
}
.footer-app-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #0e92b8;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.footer-app-link:hover {
  background: #0b769d;
  color: #ffffff;
}
.footer-app-card p {
  margin: 10px 0 0;
  color: #d9e8f5;
  line-height: 1.5;
  font-size: 13px;
  text-align: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  color: #b9c8d7;
  font-size: 14.5px;
  text-align: center;
}
.footer-bottom p {
  font-size: 14.5px;
  color: #b9c8d7;
  margin: 0;
  background: transparent;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
}
.footer-counters {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-counter-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #8fadc7;
}
.footer-counter-item i {
  font-size: 11px;
  color: #6b8fa8;
}
.footer-counter-item strong {
  color: #c8dff0;
  font-weight: 700;
}
.footer-counter-online i {
  color: #22c55e;
  animation: fcpulse 2s infinite;
}
@keyframes fcpulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  .footer-counters {
    justify-content: center;
  }
}

/* Floating Contact */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform 0.3s;
}
.float-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}
.float-call {
  background-color: #4CAF50;
}
.float-msg {
  background-color: #0084ff;
}
.float-zalo {
  background-color: #0068ff;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-maps {
    grid-template-columns: 1fr 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .d-none-mobile {
    display: none !important;
  }
  .d-mobile-only {
    display: block !important;
  }
  
  .header-middle-inner {
    padding: 0 10px;
    gap: 10px;
  }
  .header-middle {
    padding: 12px 0;
  }
  .logo-box {
    min-width: 0;
    flex: 1;
    gap: 10px;
  }
  .logo-box img {
    height: 50px;
    max-width: 64px;
    flex: 0 0 auto;
  }
  .logo-titles {
    min-width: 0;
  }
  .site-title,
  .logo-title-main {
    font-size: 16px;
  }
  .site-subtitle,
  .logo-title-sub {
    font-size: 26px;
  }
  .mobile-header-actions {
    display: block !important;
    padding-top: 12px;
  }
  .header-appointment-btn {
    display: flex !important;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    min-height: 44px;
    border-radius: 10px;
    box-sizing: border-box;
  }
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
  }
  
  .header-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: min(86vw, 360px);
    max-width: 100vw;
    background: var(--primary);
    box-shadow: var(--shadow-lg);
    display: none;
    overflow-y: auto;
    z-index: 1200;
  }
  .header-nav-wrapper.show,
  .header-nav-wrapper.active {
    display: block;
  }
  .header-nav-inner {
    display: block;
    padding: 12px 0;
  }
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1190;
    display: none !important;
  }
  .mobile-menu-backdrop.active {
    display: block !important;
  }
  
  .main-nav .nav-list {
    flex-direction: column;
    width: 100%;
  }
  .main-nav .nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .main-nav .nav-link {
    flex: 1;
    padding: 12px 15px;
    white-space: normal;
  }
  .desktop-icon {
    display: none;
  }
  .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.1);
    border: none;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
  }
  
  .main-nav .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    border-top: none;
    background: #004a80;
    padding: 0;
  }
  .main-nav .dropdown-submenu {
    position: static;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: rgba(0,0,0,0.12);
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-nav .nav-item.show-dropdown .dropdown-menu {
    display: block;
  }
  .main-nav .dropdown-menu li a {
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 15px 12px 30px;
    white-space: normal;
  }
  .main-nav .dropdown-submenu li a {
    padding-left: 45px;
  }
  .main-nav .dropdown-menu li a:hover {
    background: rgba(0,0,0,0.2);
    color: var(--white);
    padding-left: 30px;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-maps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-map-frame {
    height: 180px;
  }
  .footer-bottom-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-maps {
    grid-template-columns: 1fr;
  }
  .footer-app-card {
    max-width: 100%;
  }
  .footer-app-qr-list,
  .footer-app-qr-grid {
    flex-wrap: wrap;
  }
}
@media (max-width: 500px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
