/* ============================================================
   Klinik Pakar Mata Dr NAV — styles.css
   Design inspired by Optimax Eye Specialist (Malaysia)
   Palette: navy #0B2A78 · primary #3a5da5 · slate #355575
            pale ice #F7FAFD · light #F3F5F7 · peach #FFE8DA
   ============================================================ */

:root {
  --navy: #0B2A78;
  --navy-2: #24417C;
  --primary: #3a5da5;
  --slate: #355575;
  --ink: #102136;
  --pale: #F7FAFD;
  --light: #F3F5F7;
  --peach: #FFE8DA;
  --white: #ffffff;
  --shadow-sm: 0 6px 20px rgba(16, 33, 54, 0.06);
  --shadow-md: 0 16px 40px rgba(16, 33, 54, 0.10);
  --shadow-lg: 0 30px 70px rgba(11, 42, 120, 0.16);
  --radius-lg: 40px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: var(--transition);
  background: none;
}
.btn svg { flex-shrink: 0; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 10px 24px rgba(58, 93, 165, 0.28); }
.btn-primary:hover { background: var(--navy); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(11, 42, 120, 0.36); }

.btn-ghost { background: transparent; color: var(--navy-2); border-color: rgba(11, 42, 120, 0.25); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-3px); }

.btn-peach { background: var(--peach); color: var(--navy-2); }
.btn-peach:hover { background: var(--white); transform: translateY(-3px); }

.btn-peach-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-peach-outline:hover { background: var(--white); color: var(--navy-2); transform: translateY(-3px); }

.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ================= SECTION TOKENS ================= */
.section { padding: 96px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow-light { color: #9fc0ff; }

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.section-title span { color: var(--primary); }
.section-title-light { color: var(--white); }

.section-desc { margin-top: 18px; color: var(--slate); font-size: 17px; }
.section-desc-light { color: rgba(255, 255, 255, 0.82); }

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 33, 54, 0.06);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}
.site-header.scrolled .header-inner { padding-block: 10px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  transition: var(--transition);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { flex-shrink: 0; display: block; object-fit: contain; }
.site-header .brand-mark { height: 68px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-klinik {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--slate);
}
.brand-name { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }

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

.header-social { display: flex; align-items: center; gap: 8px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(11, 42, 120, 0.06);
  border: 1px solid rgba(11, 42, 120, 0.14);
  transition: var(--transition);
}
.social-link:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.social-fb:hover { background: #1877F2; border-color: #1877F2; }
.social-ig:hover { background: #E4405F; border-color: #E4405F; }
.social-tt:hover { background: #010101; border-color: #010101; }
@media (max-width: 640px) { .header-social { display: none; } }
.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-block: 6px;
  opacity: 0.92;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { width: 100%; }

.btn-nav { padding: 12px 22px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--navy); transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  background: var(--pale);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 170px 0 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--ink);
  margin: 20px 0 22px;
}
.hero-title span { color: var(--primary); }

.doctor-credentials {
  text-align: center;
  margin: 0 auto 30px;
  max-width: 780px;
}
.credentials-clinic {
  margin-bottom: 10px;
  font-size: clamp(14px, 3.2vw, 29px);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.credentials-name {
  font-size: clamp(21px, 2.7vw, 27px);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary);
}
.credentials-quals {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--slate);
}
.credentials-role {
  margin-top: 12px;
  font-size: clamp(13px, 1.8vw, 15px);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.credentials-role-bm {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-sub { font-size: 18px; color: var(--slate); max-width: 520px; }
.hero-sub strong { color: var(--navy); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.hero-points { margin-top: 30px; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.hero-points-light li { color: rgba(255, 255, 255, 0.9); }

.tick {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #dceeff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.hero-points-light .tick { background: rgba(159, 192, 255, 0.25); color: #fff; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid #e3ecf7;
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.badge-pill .star { color: #f5a623; }

.hero-visual { position: relative; }
.hero-img-wrap { position: relative; animation: floaty 7s ease-in-out infinite; }
.hero-img {
  width: 100%;
  aspect-ratio: 10 / 10.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  line-height: 1.25;
}
.float-card strong { display: block; font-size: 14.5px; color: var(--ink); }
.float-card small { font-size: 12px; color: var(--slate); }
.float-card-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--peach); color: #d97706; font-size: 20px; flex-shrink: 0; }
.float-card-org { background: var(--navy); color: var(--white); bottom: -22px; left: 26px; animation: floaty 6s ease-in-out infinite reverse; }
.float-card-org strong { color: var(--white); }
.float-card-org small { color: #bccdea; }
.float-card-org .float-card-icon { background: rgba(255, 255, 255, 0.15); color: var(--white); }
.float-card-rating { top: -22px; right: 14px; animation: floaty 5s ease-in-out infinite; }
.float-card-review { top: 14px; left: -18px; max-width: 240px; animation: floaty 6s ease-in-out infinite 0.4s; }
.float-card-review .review-quote { display: block; font-size: 12.5px; line-height: 1.5; color: var(--ink); font-weight: 600; }
.float-card-review .review-author { display: block; margin-top: 4px; font-size: 11px; color: var(--slate); }
.float-card-review .float-card-icon { background: var(--peach); color: #d97706; font-family: Georgia, serif; font-size: 24px; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ================= TRUST MARQUEE ================= */
.trust-strip { background: var(--white); border-bottom: 1px solid #edf2f8; }
.trust-marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 30px;
  padding-block: 26px;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--slate); }
.trust-ico { font-size: 19px; }

/* ================= TREATMENTS CARDS ================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 32px;
  border: 2px solid #edf3fa;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.card:hover {
  background: var(--pale);
  border-color: var(--pale);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 92px; height: 92px;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  transition: transform 0.4s ease;
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }

.card-title { font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.card-text { color: var(--slate); font-size: 15px; margin-bottom: 22px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-2);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  margin-top: auto;
}
.card-link svg { transition: transform 0.3s ease; }
.card-link:hover { color: var(--primary); border-color: var(--primary); }
.card-link:hover svg { transform: translateX(4px); }

.section-cta { text-align: center; margin-top: 48px; }

/* ================= WHY CHOOSE ================= */
.why { background: var(--light); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 46px 36px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
}
.why-card:hover { border-color: var(--navy); transform: translateY(-8px); box-shadow: var(--shadow-md); }

.why-icon {
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--navy));
  border-radius: 28px;
  box-shadow: 0 14px 28px rgba(58, 93, 165, 0.3);
  transition: transform 0.4s ease;
}
.why-card:hover .why-icon { transform: scale(1.07) rotate(3deg); }

/* ================= DOCTOR ================= */
.doctor-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.doctor-img-wrap { position: relative; }
.doctor-img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.doctor-img-wrap::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-lg);
  background: var(--peach);
  z-index: -1;
}

.doctor-badge {
  position: absolute;
  left: 22px;
  bottom: -22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 14px 22px;
  line-height: 1.3;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.doctor-badge strong { font-size: 16px; }
.doctor-badge span { font-size: 12.5px; color: #bccdea; }

.doctor-copy p { color: var(--slate); font-size: 17px; margin-bottom: 22px; }
.doctor-copy .section-title { margin-bottom: 24px; }

.check-list { display: grid; gap: 12px; margin-bottom: 32px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; margin-bottom: 0; }

/* ================= JOURNEY / STATS ================= */
.journey {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  position: relative;
  overflow: hidden;
}
.journey::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 192, 255, 0.18), transparent 60%);
  top: -160px; right: -120px;
}
.journey::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 218, 0.12), transparent 60%);
  bottom: -140px; left: -110px;
}
.journey .container { position: relative; z-index: 1; }
.journey-head { text-align: center; margin-bottom: 54px; }

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
  counter-reset: step;
}
.step {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}
.step:hover { background: rgba(255, 255, 255, 0.13); transform: translateY(-6px); }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.step h3 { color: var(--white); font-size: 16.5px; margin-bottom: 8px; }
.step p { color: rgba(255, 255, 255, 0.78); font-size: 13.5px; }

.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 40px;
}
.counter-num {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.counter-label { display: block; margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.8); letter-spacing: 0.5px; }

.journey-cta { text-align: center; }

/* ================= TESTIMONIALS ================= */
.slider { position: relative; overflow: hidden; }
.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.t-card {
  flex: 0 0 33.333%;
  padding: 8px 14px;
}
.t-card > div {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 2px solid transparent;
}
.t-card > div:hover { border-color: #dbe7f5; background: var(--white); box-shadow: var(--shadow-sm); }

.t-stars { color: #f5a623; letter-spacing: 2px; font-size: 16px; margin-bottom: 14px; }
.t-text { color: var(--slate); font-size: 15px; font-style: italic; flex-grow: 1; }
.t-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.t-avatar {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--navy));
  color: var(--white);
  font-weight: 800;
  flex-shrink: 0;
}
.t-author strong { display: block; font-size: 14.5px; }
.t-author small { color: var(--slate); font-size: 12.5px; }

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.slider-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid #dbe7f5;
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: var(--transition);
}
.slider-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ================= FAQ ================= */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid #e4ecf5; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pale);
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  transition: var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--primary); color: var(--white); }
.faq-item p { padding: 0 22px 20px; color: var(--slate); font-size: 15.5px; }
.faq-item a { color: var(--primary); font-weight: 700; }

/* ================= GALLERY ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.g-item { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); transition: transform 0.5s ease, box-shadow 0.5s ease; }
.g-item:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); }
.g-snap { object-position: top center; }
.g-wide { grid-column: span 2; }

/* ================= INSURANCE PANEL ================= */
.insurers { background: var(--white); }
.insurer-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 36px auto 0;
  align-items: center;
}
.insurer-logo {
  width: 100%;
  height: 64px;
  object-fit: contain;
  background: var(--pale);
  border: 1px solid #e2ebf7;
  border-radius: 12px;
  padding: 8px;
}
@media (max-width: 640px) {
  .insurer-logos-grid { grid-template-columns: repeat(2, 1fr); }
  .insurer-logo { height: 52px; }
}
.insurer-logos {
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 36px auto 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.insurer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  list-style: none;
  padding: 0;
}
.insurer-chip {
  background: var(--pale);
  border: 1px solid #e2ebf7;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 12px 26px;
  border-radius: 999px;
  transition: var(--transition);
}
.insurer-chip:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.insurer-note { margin-top: 30px; text-align: center; color: var(--slate); font-size: 15px; }
.insurer-note a { color: var(--primary); font-weight: 700; }

/* ================= VISIT US ================= */
.visit { background: var(--pale); }
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }

.visit-address { font-style: normal; font-size: 17px; color: var(--slate); margin: 22px 0 30px; line-height: 1.8; }
.visit-address strong { color: var(--ink); font-size: 18px; }

.contact-list { display: grid; gap: 16px; margin-bottom: 34px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--primary); }
.contact-ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.visit-hours {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border: 2px solid #edf3fa;
}
.hours-title { font-size: 22px; font-weight: 800; margin-bottom: 24px; color: var(--ink); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 13px 0; border-bottom: 1px dashed #e4ecf5; font-size: 15px; }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-time { text-align: right; font-weight: 700; color: var(--navy); }
.hours-time.closed { color: #c0392b; }
.hours-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--navy); background: #eef5ff; border-radius: 12px; padding: 12px 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.open { background: #31ca66; box-shadow: 0 0 0 5px rgba(49, 202, 102, 0.18); animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(49, 202, 102, 0.14); }
  50% { box-shadow: 0 0 0 8px rgba(49, 202, 102, 0.24); }
}

/* ================= BOOK APPOINTMENT ================= */
.book {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  position: relative;
  overflow: hidden;
}
.book::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.book .container { position: relative; z-index: 1; }

.book-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 60px; align-items: center; }
.book-copy .section-title { margin-bottom: 18px; }

.book-call { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.book-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}
.form-title { font-size: 24px; font-weight: 800; color: var(--ink); margin-bottom: 28px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.req { color: #e11d48; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e7eef7;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--light);
  outline: none;
  transition: var(--transition);
}
.form-row textarea { resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #9fb2c8; }

.submit-btn { background: var(--navy-2); }
.submit-btn:hover { background: var(--peach); color: var(--navy-2); transform: none; box-shadow: 0 12px 28px rgba(255, 232, 218, 0.4); }

.form-note { margin-top: 14px; font-size: 13px; color: var(--slate); text-align: center; }
.form-success {
  margin-top: 16px;
  background: #e9f9ef;
  color: #167a3a;
  border: 1px solid #bfe9cf;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.invalid .form-row input:invalid,
.invalid .form-row select:invalid { border-color: #f8b4c3; }

/* ================= REMINDERS ================= */
.reminders { background: var(--pale); position: relative; overflow: hidden; }
.reminders::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 218, 0.55), transparent 62%);
  bottom: -160px; right: -120px;
}
.reminders .container { position: relative; z-index: 1; }

.reminders-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 60px;
  align-items: center;
}
.reminder-copy .section-title { margin-bottom: 18px; }
.reminder-how { margin-top: 26px; }
.reminder-how li { font-size: 15px; }

.remind-form { box-shadow: var(--shadow-md); border: 2px solid #edf3fa; }
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-2col > div { min-width: 0; }
.remind-form input[type="date"] { min-height: 52px; }

/* ================= BLOG ================= */
.blog-hero { background: var(--pale); border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 160px 0 72px; }
.blog-hero-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: center; }
.blog-hero-copy .blog-kicker { color: var(--primary); font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.blog-hero-copy h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -0.6px; color: var(--ink); margin-bottom: 18px; }
.blog-hero-copy p { color: var(--slate); font-size: 17px; max-width: 500px; }
.blog-hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }

.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-pill { font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 2px solid #e3ecf7; color: var(--slate); transition: var(--transition); }
.cat-pill:hover, .cat-pill.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.post-card {
  display: flex;
  flex-direction: column;
  border: 2px solid #edf3fa;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.post-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-thumb .post-cat {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--white);
}
.cat-cataract { background: var(--navy-2); }
.cat-glaucoma { background: #1e7b4f; }
.cat-diabetic { background: #0e7490; }
.cat-kids { background: #c47a10; }
.cat-strain { background: #6d4fa3; }
.cat-infection { background: #c0392b; }

.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate); margin-bottom: 10px; }
.post-meta .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: #c3d2e4; }
.post-title-link { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.3; margin-bottom: 10px; display: block; }
.post-title-link:hover { color: var(--primary); }
.post-excerpt { color: var(--slate); font-size: 14.5px; flex-grow: 1; margin-bottom: 16px; }
.post-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-2);
  font-size: 14.5px;
}
.post-read svg { transition: transform 0.3s ease; }
.post-read:hover { color: var(--primary); }
.post-read:hover svg { transform: translateX(4px); }

/* ================= BLOG POST (article) ================= */
.post-hero { background: var(--pale); padding: 150px 0 60px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.post-hero-inner { max-width: 820px; margin-inline: auto; text-align: center; }
.post-hero-inner .post-meta { justify-content: center; }
.post-hero-inner h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; line-height: 1.14; letter-spacing: -0.5px; color: var(--ink); margin: 16px 0 16px; }
.post-hero-inner p.lead { color: var(--slate); font-size: 17px; }
.post-cat-inline { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.4px; padding: 7px 14px; border-radius: 999px; color: var(--white); margin-bottom: 8px; }

.post-cover { margin: -30px auto 0; max-width: 940px; position: relative; z-index: 2; padding-inline: 4%; }
.post-cover img { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.post-figure-caption { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--slate); font-style: italic; }

.post-wrap { max-width: 760px; margin: 0 auto; padding: 56px 4% 20px; }
.post-wrap h2 { font-size: clamp(23px, 3vw, 30px); font-weight: 800; color: var(--ink); margin: 44px 0 16px; line-height: 1.25; }
.post-wrap h2:first-child { margin-top: 0; }
.post-wrap h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin: 32px 0 12px; }
.post-wrap p, .post-wrap li { color: var(--slate); font-size: 16.5px; line-height: 1.85; }
.post-wrap p { margin-bottom: 18px; }
.post-wrap ul.bullets { margin: 0 0 18px; }
.post-wrap ul.bullets li { padding-left: 24px; position: relative; margin-bottom: 10px; }
.post-wrap ul.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

.post-img { margin: 32px auto; max-width: 720px; }
.post-img img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.post-img .post-figure-caption { margin-top: 10px; }

.post-callout {
  background: var(--pale);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 30px 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}
.post-callout strong { color: var(--navy); }

.post-cta-banner {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  margin: 48px 0;
  text-align: center;
  color: var(--white);
}
.post-cta-banner h2 { color: var(--white); margin: 0 0 12px; }
.post-cta-banner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; }

.post-author {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-top: 44px;
}
.post-author-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--navy)); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 20px; flex-shrink: 0; }
.post-author strong { display: block; font-size: 15.5px; color: var(--ink); }
.post-author p { margin: 0; font-size: 14px; color: var(--slate); }

.related-section { padding: 0 4% 80px; }
.related-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.related-title { max-width: 1100px; margin: 0 auto 30px; font-size: 26px; font-weight: 800; color: var(--ink); }

.back-to-blog { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-2); margin: 40px 4% 0; }
.back-to-blog svg { transition: transform 0.3s ease; }
.back-to-blog:hover { color: var(--primary); }
.back-to-blog:hover svg { transform: translateX(-4px); }

.credit-note { max-width: 760px; margin: 0 auto 14px; font-size: 12.5px; color: #8fa3b8; text-align: center; padding-inline: 4%; }

/* ================= RESPONSIVE BLOG ================= */
@media (max-width: 1024px) {
  .blog-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .blog-hero-copy p { margin-inline: auto; }
}
@media (max-width: 640px) {
  .blog-grid, .related-grid { grid-template-columns: 1fr; }
  .post-cta-banner { padding: 32px 24px; }
}

/* ================= FOOTER ================= */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 44px;
  padding-block: 64px;
}
.brand-footer .brand-mark { height: 76px; width: auto; }
.brand-footer .brand-klinik { color: #9fc0ff; }
.brand-footer .brand-name { color: var(--white); }
.footer-about { margin-top: 18px; font-size: 14.5px; color: rgba(255, 255, 255, 0.7); max-width: 300px; }

.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; font-size: 14.5px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact li { line-height: 1.7; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 22px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); text-align: center; }

/* ================= FLOATERS ================= */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #31ca66;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(49, 202, 102, 0.45);
  z-index: 900;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); filter: brightness(0.94); }

.back-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 900;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary); }

/* ================= REVEAL ANIMATION ================= */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Stagger support via inline transition-delay in JS */

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .card-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .doctor-grid, .book-grid, .reminders-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 150px; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .t-card { flex: 0 0 50%; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: var(--white);
    padding: 100px 34px 40px;
    gap: 6px;
    box-shadow: -20px 0 60px rgba(16, 33, 54, 0.18);
    transform: translateX(105%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link { width: 100%; padding: 12px 0; font-size: 17px; border-bottom: 1px solid #eef3f9; }
  .nav-link::after { display: none; }
  .btn-nav { margin-top: 18px; width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .card-grid, .why-grid { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr; gap: 30px; }
  .t-card { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-wide { grid-column: span 2; }
  .book-form { padding: 32px 24px; }
  .form-row-2col { grid-template-columns: 1fr; }
  .float-card { padding: 10px 14px; }
  .float-card-rating { top: -16px; right: 8px; }
  .float-card-org { left: 12px; bottom: -18px; }
  .float-card-review { top: 8px; left: 8px; max-width: 210px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
}
/* ================= AI CHAT BOT ================= */
.chat-widget { position: fixed; left: 22px; bottom: 22px; z-index: 1200; }
.chat-launcher {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--peach); color: var(--navy); border: none; cursor: pointer;
  padding: 13px 20px; border-radius: 999px; font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 26px rgba(11,42,120,.35); transition: var(--transition);
}
.chat-launcher:hover { transform: translateY(-2px); background: var(--primary); color: #fff; }
.chat-launcher-ico { font-size: 20px; line-height: 1; }
.chat-panel {
  position: absolute; left: 0; bottom: calc(100% + 14px);
  width: 360px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(15,35,90,.25);
  display: flex; flex-direction: column;
  animation: chatUp .25s ease;
}
@keyframes chatUp { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-header { display: flex; align-items: center; gap: 11px; padding: 14px 16px; background: var(--primary); color: #fff; }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800;
}
.chat-header strong { display: block; font-size: 15px; }
.chat-header small { color: rgba(255,255,255,.85); font-size: 12px; }
.chat-header small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2ee56b; margin-right: 6px; }
.chat-close { margin-left: auto; background: transparent; color: #fff; border: none; font-size: 18px; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; }
.chat-close:hover { background: rgba(255,255,255,.12); }
.chat-body {
  height: 340px; overflow-y: auto; padding: 16px;
  background: var(--pale); display: flex; flex-direction: column; gap: 10px;
}
.msg {
  max-width: 82%; padding: 10px 13px; border-radius: 14px;
  font-size: 14px; line-height: 1.5; white-space: pre-line; word-wrap: break-word;
}
.msg.bot { align-self: flex-start; background: #fff; color: #25334d; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(11,42,120,.08); }
.msg.bot a { color: var(--primary); font-weight: 700; }
.msg.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg.typing span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #9db4d0; margin-right: 4px; animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chat-chip {
  background: #e9f1fd; color: var(--navy); border: 1px solid #d5e3f8; cursor: pointer;
  padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  font-family: var(--font); transition: var(--transition);
}
.chat-chip:hover { background: var(--navy); color: #fff; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #eef2f8; background: #fff; }
.chat-input input {
  flex: 1; min-width: 0; border: 1px solid #dde5f2; border-radius: 999px;
  padding: 11px 15px; font-size: 14px; outline: none; font-family: var(--font);
}
.chat-input input:focus { border-color: var(--primary); }
.chat-input button { width: 44px; height: 44px; border: none; border-radius: 50%; background: var(--primary); color: #fff; font-size: 16px; cursor: pointer; transition: var(--transition); flex-shrink: 0; }
.chat-input button:hover { background: var(--navy); }
@media (max-width: 480px) {
  .chat-widget { left: 12px; bottom: 14px; }
  .chat-panel { width: calc(100vw - 24px); }
  .chat-body { height: 300px; }
}
/* chat bot — clinic logo icons */
.chat-avatar { padding: 0; overflow: hidden; }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat-launcher-ico { display: inline-flex; line-height: 0; }
.chat-launcher-ico img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
/* keep chat bot closed until the launcher is clicked */
.chat-widget [hidden] { display: none !important; }
.social-wa:hover { background: #25D366; border-color: #25D366; }

/* ================= RESPONSIVE ENHANCEMENTS ================= */
/* Prevent iOS auto font-zoom */
html { -webkit-text-size-adjust: 100%; }

/* Tap-friendly form controls on touch devices (prevents zoom-on-focus) */
@media (max-width: 820px) {
  .book-form input, .book-form select, .book-form textarea,
  .remind-form input, .remind-form select, .chat-input input { font-size: 16px; }
}

/* ==== Small tablets / portrait ==== */
@media (max-width: 900px) {
  .hero { padding: 150px 0 72px; }
  .hero-title { font-size: clamp(32px, 6.5vw, 44px); }
  .section-desc { font-size: 16px; }
  .btn { padding: 14px 24px; font-size: 15px; }
  .hero-points li { font-size: 15px; }
  .footer-grid { row-gap: 34px; }
}

/* ==== Short viewport heights (landscape phones / small laptops) ==== */
@media (max-height: 700px) and (min-width: 640px) {
  .hero { padding: 130px 0 56px; }
  .hero-title { font-size: clamp(30px, 4.5vw, 42px); }
}

/* ==== Very small phones ==== */
@media (max-width: 380px) {
  .chat-launcher-label { display: none; }
  .chat-launcher { padding: 12px 16px; }
  .btn { padding: 13px 20px; font-size: 14px; }
  .gallery-grid { grid-auto-rows: 120px; gap: 10px; }
  .why-grid, .card-grid { gap: 18px; }
  .insurer-logo { height: 46px; }
  .hero-img { border-radius: var(--radius-md); }
  .section { padding: 60px 0; }
}

/* ==== Doctor credentials: keep inside the page on phones ==== */
@media (max-width: 600px) {
  .credentials-clinic { white-space: normal; line-height: 1.4; font-size: clamp(12px, 3.4vw, 20px); }
  .credentials-name { font-size: clamp(17px, 4.9vw, 24px); letter-spacing: 0.6px; }
  .credentials-role { white-space: normal; font-size: clamp(12px, 3.4vw, 15px); letter-spacing: 1px; }
}

/* ==== Wide screens / desktops ==== */
@media (min-width: 1500px) {
  .container { width: min(1320px, 92%); }
  .hero { padding: 190px 0 110px; }
  .hero-grid { gap: 80px; }
  .hero-title { font-size: clamp(46px, 4.2vw, 64px); }
  .hero-img { max-height: 620px; }
  .gallery-grid { grid-auto-rows: 220px; }
  .card-grid, .why-grid { gap: 34px; }
}

/* ==== Ultra-wide monitors ==== */
@media (min-width: 2000px) {
  .container { width: min(1500px, 94%); }
  .hero-title { font-size: clamp(52px, 3.6vw, 68px); }
  .section-title { font-size: clamp(34px, 2.4vw, 52px); }
  .hero { padding-block: 210px; }
  .gallery-grid { grid-auto-rows: 260px; }
  body { font-size: 17px; }
}
