/* ========================================
   王眼科 (Ou Eye Clinic) - Static Site CSS
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

p {
  font-size: 16px;
}

ul {
  font-size: 15px;
}

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

a:hover {
  text-decoration: underline;
}

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

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

/* --- Color Variables --- */
:root {
  --green: #46a04d;
  --green-dark: #3a8840;
  --green-light: #89c98f;
  --dark-navy: #112631;
  --text: #333;
  --text-light: #666;
  --border: #ddd;
  --bg-light: #f5f5f5;
  --bg-blue-light: #e8f0f5;
}

/* ========================================
   HEADER
   ======================================== */
#site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
  gap: 16px;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  width: 220px;
  height: auto;
}

/* ---- Hamburger button ---- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Main Navigation */
#main-nav {
  flex: 1;
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: flex-end;
}

.nav-menu li a {
  display: block;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-menu li a:hover {
  color: var(--green);
  text-decoration: none;
}

.nav-menu li a.active {
  border-bottom: 3px solid #333;
  color: #333;
  text-decoration: none;
}

/* Patient banner bar */
.patient-bar {
  background: var(--dark-navy);
  height: 40px;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
  padding: 8px 20px;
  font-size: 12px;
  color: #888;
  max-width: 960px;
  margin: 0 auto;
}

.breadcrumb a {
  color: #888;
}

.breadcrumb span::before {
  content: " » ";
}

/* ========================================
   PAGE BANNER (sub pages)
   ======================================== */
.page-banner {
  width: 100%;
  max-width: 920px;
  margin: 16px auto;
  overflow: hidden;
  border-radius: 2px;
  padding: 0 20px;
}

.page-banner img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 2px;
}

/* ========================================
   HERO (HOME)
   ======================================== */
.hero {
  width: 100%;
  overflow: hidden;
  background-color: #fff;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   MAIN CONTENT WRAPPER
   ======================================== */
#main-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 8px;
  margin: 24px 0 20px;
}

/* ========================================
   HOME PAGE
   ======================================== */

/* Tagline section */
.tagline-section {
  text-align: center;
  padding: 60px 20px 48px;
  background: linear-gradient(180deg, #edf4ee 0%, #fff 100%);
}

.tagline-section .sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.tagline-section h1 {
  font-size: 24px;
  color: #333;
  font-weight: bold;
}

.tagline-section h1 em {
  color: var(--green);
  font-style: normal;
  font-size: 26px;
}

/* Intro section */
.intro-section {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 48px 20px;
  max-width: 960px;
  margin: 0 auto;
  background: #FEF9EF;
}

.intro-section .intro-image {
  flex-shrink: 0;
  width: 160px;
}

.intro-section .intro-text {
  flex: 1;
}

.intro-section .intro-text p {
  margin-bottom: 12px;
  line-height: 1.8;
}

/* Notice & Hours section */
.notice-hours-section {
  max-width: 960px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px 20px;
  border-top: 1px solid #ddd;
}

.notice-box h2,
.hours-box h2 {
  font-size: 15px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 12px;
}

.notice-box ul {
  list-style: disc;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
}

.notice-box ul li {
  margin-bottom: 6px;
}

/* Hours table */
.hours-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hours-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 12px;
}

.hours-table th,
.hours-table td {
  border: 1px solid #ccc;
  padding: 5px 8px;
  text-align: center;
}

.hours-table th {
  background: #f0f0f0;
  font-weight: normal;
}

.hours-table td.surgery-day {
  color: var(--green);
  font-size: 11px;
}

.hours-table td.closed {
  color: #999;
}

.hours-notice {
  margin-top: 10px;
  font-size: 12px;
}

.hours-notice .red {
  color: #cc0000;
}

/* Feature cards */
.feature-section {
  max-width: 960px;
  margin: 0 auto 60px;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid #ddd;
}

.feature-card {
  text-align: center;
}

.feature-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 253 / 191;
  object-fit: cover;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
  color: var(--green);
}

.feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.feature-card .btn-outline {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 16px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 13px;
  border-radius: 2px;
  transition: all 0.2s;
}

.feature-card .btn-outline:hover {
  background: var(--green);
  color: #fff;
  text-decoration: none;
}

/* ========================================
   GUIDANCE PAGE
   ======================================== */
.guidance-section {
  background: #FEF9EF;
  padding: 32px 32px 40px;
  border-radius: 8px;
  margin-bottom: 50px;
}

.guidance-section h2 {
  font-size: 17px;
  color: var(--green);
  font-weight: bold;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green);
}

.doctor-profile {
  display: flex;
  gap: 32px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.doctor-profile img {
  flex-shrink: 0;
  width: 150px;
  border: 1px solid #ddd;
}

.doctor-profile .doctor-info h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
}

.doctor-profile .doctor-info ul {
  list-style: disc;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.9;
}

.doctor-profile .doctor-info .note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
}

/* First visit section */
.first-visit-section {
  margin-bottom: 50px;
}

.first-visit-section h2 {
  font-size: 17px;
  color: var(--green);
  font-weight: bold;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green);
}

.first-visit-section ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.9;
}

.first-visit-section ul li {
  margin-bottom: 8px;
}

/* Services section */
.services-section {
  background: linear-gradient(135deg, #e8f4ea 0%, #f0f8f1 100%);
  padding: 32px;
  border-radius: 4px;
  margin-bottom: 50px;
}

.services-section h2 {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--green-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.services-grid h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.services-grid ul {
  font-size: 15px;
  line-height: 1.9;
}

.services-grid ul li::before {
  content: "■ ";
  color: var(--green);
}

.services-grid .note {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
}

/* ========================================
   CLINIC PAGE
   ======================================== */
.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.clinic-gallery-item {
  text-align: center;
}

.clinic-gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #ddd;
}

.clinic-gallery-item .caption {
  font-size: 11px;
  margin-top: 4px;
  color: #555;
}

/* Equipment list */
.equipment-intro {
  margin-bottom: 50px;
}

.equipment-intro h2 {
  font-size: 17px;
  color: #333;
  font-weight: bold;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: #e8f0e8;
  border-left: 4px solid var(--green);
}

.equipment-highlight {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.equipment-highlight .equip-text {
  flex: 1;
}

.equipment-highlight .equip-text h3 {
  font-size: 14px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 10px;
}

.equipment-highlight .equip-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.equipment-highlight .equip-text ul {
  list-style: disc;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
}

.equipment-highlight img {
  flex-shrink: 0;
  width: 200px;
  height: auto;
}

/* Equipment grid */
.equipment-section h2 {
  font-size: 17px;
  color: #333;
  font-weight: bold;
  margin: 24px 0 16px;
  padding: 8px 12px;
  background: #e8f0e8;
  border-left: 4px solid var(--green);
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  margin-bottom: 50px;
}

.equip-item {
  display: flex;
  flex-direction: column;
}

.equip-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}

.equip-item h3 {
  font-size: 17px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 8px;
}

.equip-item p {
  font-size: 16px;
  line-height: 1.65;
  color: #555;
  flex: 1;
}

/* ========================================
   SURGERY PAGE
   ======================================== */
.surgery-intro {
  margin-bottom: 24px;
}

.surgery-intro h1 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
}

.surgery-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.surgery-intro-grid .text-col {
  font-size: 13px;
  line-height: 1.9;
}

.surgery-intro-grid .text-col p {
  margin-bottom: 10px;
}

.surgery-intro-grid .text-col .small {
  font-size: 12px;
  color: #666;
}

.surgery-diagram {
  text-align: center;
}

.surgery-diagram img {
  max-width: 100%;
}

.surgery-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.surgery-detail .detail-text {
  font-size: 13px;
  line-height: 1.9;
}

.surgery-detail .detail-text p {
  margin-bottom: 10px;
}

.surgery-detail img {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 300 / 200;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.surgery-note {
  font-size: 13px;
  color: #333;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #f9f9f9;
  border-left: 3px solid var(--green);
}

/* Surgery steps */
.surgery-steps-section {
  background: #e8f4f0;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 30px;
  border: 1px solid #b5d9c8;
}

.surgery-steps-section h2 {
  font-size: 14px;
  font-weight: bold;
  color: var(--green-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.surgery-steps-section h2::before {
  content: "●";
  color: var(--green);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  margin-bottom: 6px;
}

.step-item .step-label {
  font-size: 12px;
  font-weight: bold;
}

/* Timeline sections */
.timeline-section {
  margin-bottom: 60px;
}

.timeline-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: start;
}

.timeline-block .timeline-text {
  font-size: 13px;
  line-height: 1.9;
}

.timeline-block .timeline-text h3 {
  font-size: 13px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 6px;
}

.timeline-block .timeline-text p,
.timeline-block .timeline-text ul {
  margin-bottom: 8px;
}

.timeline-block .timeline-text ul {
  padding-left: 0;
}

.timeline-block .timeline-text ul li {
  margin-bottom: 4px;
}

.timeline-block img {
  width: 100%;
  object-fit: cover;
}

.day-flow-section {
  margin-bottom: 20px;
}

.day-flow-section h3 {
  font-size: 14px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 12px;
  border-left: 3px solid var(--green);
  padding-left: 8px;
}

.day-flow-section ol {
  padding-left: 0;
  font-size: 13px;
  counter-reset: step;
  line-height: 1.9;
}

.day-flow-section ol li {
  counter-increment: step;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.day-flow-section ol li::before {
  content: counter(step) ".";
  font-weight: bold;
  color: var(--green);
  flex-shrink: 0;
  min-width: 20px;
}

.postop-section {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.postop-section h3 {
  font-size: 14px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 6px;
}

/* ========================================
   FAQ PAGE
   ======================================== */
.faq-list {
  margin: 20px 0;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--green);
}

.faq-question .q-marker {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.faq-question .q-text {
  flex: 1;
}

.faq-question .q-arrow {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--green);
  padding-left: 8px;
}

.faq-question[aria-expanded="true"] .q-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 0 14px 32px;
  font-size: 13px;
  line-height: 1.9;
  color: #555;
}

.faq-answer.open {
  display: block;
}

.faq-answer .a-marker {
  color: var(--green);
  font-weight: bold;
  display: inline-block;
  margin-right: 6px;
}

/* ========================================
   ACCESS PAGE
   ======================================== */
.access-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0 60px;
}

.access-info h2 {
  font-size: 18px;
  font-weight: bold;
  color: var(--green-dark);
  margin-bottom: 12px;
  margin-top: 24px;
  border-left: 4px solid var(--green);
  padding-left: 10px;
}

.access-info h2:first-child {
  margin-top: 0;
}

.access-info p,
.access-info .route {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 8px;
}

.access-map img {
  width: 100%;
  border: 1px solid #ddd;
}

.google-map-wrap {
  margin-top: 10px;
}

.google-map-wrap iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

/* ========================================
   PATIENTS PAGE
   ======================================== */
.patients-section {
  padding: 20px 0;
  font-size: 14px;
  line-height: 1.9;
}

.patients-section h2 {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin: 18px 0 8px;
}

.patients-section p {
  margin-bottom: 10px;
}

.patients-section .notice {
  color: var(--green);
  font-weight: bold;
}

/* ========================================
   FOOTER
   ======================================== */
#site-footer {
  background: #fff;
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-logo img {
  width: 150px;
}

.footer-logo .tel {
  font-size: 18px;
  font-weight: bold;
  color: var(--green);
  margin-top: 8px;
}

.footer-info {
  font-size: 13px;
  line-height: 1.8;
}

.footer-info p {
  margin-bottom: 6px;
}

.footer-access-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  border: 1px solid #999;
  font-size: 13px;
  color: #333;
  border-radius: 2px;
  transition: all 0.2s;
}

.footer-access-btn:hover {
  background: #f0f0f0;
  text-decoration: none;
}

.footer-cta {
  background: #f5f9f5;
  border: 1px solid #b5d9b5;
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.8;
  max-width: 360px;
}

.footer-cta .cta-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #333;
  margin-bottom: 6px;
}

.footer-cta .cta-header .c-icon {
  background: var(--green);
  color: #fff;
  font-weight: bold;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-size: 11px;
  flex-shrink: 0;
}

.footer-cta .cta-main {
  font-size: 13px;
  color: #cc0000;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 6px;
}

.footer-cta .cta-main em {
  font-style: normal;
  text-decoration: underline;
}

.footer-copyright {
  text-align: center;
  padding: 10px 20px;
  font-size: 11px;
  color: #888;
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-green { color: var(--green); }
.text-red { color: #cc0000; }
.text-bold { font-weight: bold; }
.text-small { font-size: 12px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

/* ========================================
   RESPONSIVE - TABLET (max 768px)
   ======================================== */
@media (max-width: 768px) {

  /* --- Header & Nav --- */
  .header-inner {
    padding: 10px 16px;
    flex-wrap: nowrap;
  }

  .site-logo img {
    width: 110px;
  }

  /* Hamburger button visible on mobile */
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  /* Slide-down mobile nav */
  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 99;
  }

  #main-nav.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid #e8e8e8;
  }

  .nav-menu li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu li a {
    padding: 14px 20px;
    font-size: 15px;
    display: block;
  }

  .nav-menu li a.active {
    border-bottom: none;
    border-left: 4px solid var(--green);
    background: #f7fdf7;
    padding-left: 16px;
  }

  /* Patient banner bar (mobile) */
  .patient-bar {
    height: 18px;
  }

  /* --- Page Banner --- */
  .page-banner {
    padding: 0 12px;
    margin: 12px auto;
  }

  .page-banner img {
    height: 130px;
  }

  /* --- Page Title --- */
  .page-title {
    font-size: 18px;
    margin: 20px 0 16px;
  }

  /* --- Hero --- */
  .hero img {
    max-height: 220px;
  }

  /* --- Tagline --- */
  .tagline-section {
    padding: 24px 16px 20px;
  }

  .tagline-section h1 {
    font-size: 20px;
  }

  .tagline-section h1 em {
    font-size: 22px;
  }

  /* --- Intro section --- */
  .intro-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    gap: 16px;
  }

  .intro-section .intro-image {
    width: 120px;
  }

  .intro-section .intro-text {
    text-align: left;
  }

  /* --- Notice + Hours: stack vertically --- */
  .notice-hours-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px;
  }

  /* --- Feature cards: stack vertically --- */
  .feature-section {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 24px;
  }

  .feature-card img {
    height: 200px;
  }

  /* --- Footer: stack vertically --- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px;
  }

  .footer-cta {
    max-width: 100%;
  }

  /* --- Doctor profile --- */
  .doctor-profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .doctor-profile img {
    width: 140px;
  }

  /* --- Services grid --- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- Clinic gallery: 2 cols on tablet --- */
  .clinic-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- Equipment highlight: stack --- */
  .equipment-highlight {
    flex-direction: column;
  }

  .equipment-highlight img {
    width: 100%;
    max-width: 260px;
    align-self: center;
  }

  /* --- Equip grid: 2 cols on tablet --- */
  .equip-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .equip-item img {
    height: 200px;
  }

  /* --- Surgery page --- */
  .surgery-intro-grid {
    grid-template-columns: 1fr;
  }

  .surgery-detail {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .timeline-block {
    grid-template-columns: 1fr;
  }

  /* --- Access page --- */
  .access-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .google-map-wrap iframe {
    height: 240px;
  }
}

/* ========================================
   RESPONSIVE - MOBILE (max 480px)
   ======================================== */
@media (max-width: 480px) {

  #main-content {
    padding: 0 14px;
  }

  /* Clinic gallery: 2 cols on small mobile */
  .clinic-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .clinic-gallery-item img {
    height: auto;
  }

  /* Equip grid: 1 col on very small screens */
  .equip-grid {
    grid-template-columns: 1fr;
  }

  .equip-item img {
    height: 180px;
  }

  /* Steps: 1 col on small mobile */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-item img {
    height: 160px;
    max-width: 100%;
  }

  /* Feature cards */
  .feature-card img {
    height: 180px;
  }

  /* Hours table: horizontal scroll */
  .hours-table {
    font-size: 11px;
  }

  .hours-table th,
  .hours-table td {
    padding: 4px 6px;
  }

  /* Footer logo smaller */
  .footer-logo img {
    width: 120px;
  }

  .footer-logo .tel {
    font-size: 16px;
  }

  /* Page banner height */
  .page-banner img {
    height: 100px;
  }
}

/* Footer text links */
.footer-links {
  text-align: center;
  padding: 12px 20px;
  font-size: 12px;
  color: #ccc;
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
  line-height: 2;
}

.footer-links a {
  color: #666;
  margin: 0 8px;
  display: inline-block;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--green);
  text-decoration: underline;
}

.footer-links span {
  margin: 0 4px;
}

