:root {
  --blue: #1565c0;
  --blue-dark: #0d3c78;
  --blue-light: #e8f1fc;
  --green: #3aa935;
  --green-dark: #2b8a27;
  --green-light: #eaf7e9;
  --white: #ffffff;
  --ink: #12263f;
  --muted: #5b6b82;
  --border: #dde6f1;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 60, 120, 0.1);
  --shadow-lg: 0 20px 50px rgba(13, 60, 120, 0.18);
}

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

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

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }
.topbar-inner span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { color: #a9e6a6; }
a { color: inherit; text-decoration: none; }

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

.text-green { color: var(--green); }
.text-blue { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(58, 169, 53, 0.3); }
.btn-green:hover { background: var(--green-dark); }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow.light { background: rgba(255, 255, 255, 0.15); color: var(--white); }

h1, h2, h3 { line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; }

.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); }

/* Top bar */
.topbar { background: var(--blue-dark); color: rgba(255, 255, 255, 0.9); font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: var(--white); font-weight: 600; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 74px; flex-shrink: 0; }
.brand-logo img { height: 100%; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--blue); font-size: 1.3rem; letter-spacing: 0.08em; }
.brand-text small { color: var(--green); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-weight: 600; color: var(--ink); position: relative; padding: 4px 0; }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s;
}
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--blue); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--blue); margin: 5px 0; transition: transform 0.3s, opacity 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(58, 169, 53, 0.12), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(21, 101, 192, 0.12), transparent 45%),
    linear-gradient(180deg, var(--blue-light), var(--white));
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy > p { color: var(--muted); font-size: 1.1rem; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { list-style: none; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.8rem; color: var(--blue); font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  width: min(380px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  position: relative;
  border: 10px solid var(--white);
  outline: 3px dashed rgba(58, 169, 53, 0.4);
  outline-offset: 14px;
}
.hero-logo { width: 84%; height: auto; }
.pulse-line {
  position: absolute;
  bottom: -40px;
  left: -20%;
  width: 140%;
  height: 60px;
  pointer-events: none;
}
.pulse-line svg { width: 100%; height: 100%; }
.pulse-line polyline {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0% { stroke-dashoffset: 600; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -600; }
}

.float-badge {
  position: absolute;
  background: var(--white);
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}
.badge-1 { top: -3%; left: -6%; }
.badge-2 { bottom: 0; right: -4%; animation-delay: 2s; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.green { background: var(--green); box-shadow: 0 0 0 4px var(--green-light); }
.dot.blue { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-light); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Info strip */
.info-strip { margin-top: -50px; position: relative; z-index: 2; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.info-item { display: flex; gap: 16px; padding: 28px; align-items: flex-start; }
.info-item + .info-item { border-left: 1px solid var(--border); }
.info-item:nth-child(2) { background: var(--blue); }
.info-item:nth-child(2) h3, .info-item:nth-child(2) p { color: var(--white); }
.info-icon { font-size: 1.9rem; line-height: 1; color: var(--green); }
.info-item:nth-child(2) .info-icon { color: var(--white); }
.info-item p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

/* About */
.about-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-shape {
  aspect-ratio: 1;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  animation: morph 10s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; }
  50% { border-radius: 60% 40% 45% 55% / 40% 60% 40% 60%; }
}
.cross { position: relative; width: 40%; aspect-ratio: 1; }
.cross span { position: absolute; background: var(--white); border-radius: 12px; }
.cross-v { left: 33%; width: 34%; height: 100%; }
.cross-h { top: 33%; height: 34%; width: 100%; }
.about-copy p { color: var(--muted); margin-bottom: 24px; }
.checklist { list-style: none; margin-bottom: 32px; display: grid; gap: 12px; }
.checklist li { padding-left: 34px; position: relative; font-weight: 500; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

/* Services */
.services { background: var(--blue-light); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--green-light);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: var(--green);
  margin-bottom: 20px;
}
.service-card:nth-child(even) .service-icon { background: var(--blue-light); color: var(--blue); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

/* Why */
.why { background: linear-gradient(120deg, var(--blue-dark), var(--blue) 60%, var(--green-dark)); color: var(--white); }
.why h2 { color: var(--white); }
.why-copy p { color: rgba(255, 255, 255, 0.85); }
.why-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.why-item strong { font-size: 1.05rem; }
.why-item span { color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  border: 5px solid var(--white);
  box-shadow: 0 0 0 3px var(--green-light);
}
.a1, .a3 { background: linear-gradient(135deg, var(--blue), #3d8be0); }
.a2, .a4 { background: linear-gradient(135deg, var(--green), #6cc768); }
.team-card p { color: var(--green); font-weight: 600; font-size: 0.9rem; }

/* Testimonials */
.testimonials { background: var(--green-light); }
.testimonial-slider { max-width: 760px; margin: 0 auto; text-align: center; position: relative; min-height: 200px; }
.testimonial { display: none; animation: fadeIn 0.5s; }
.testimonial.active { display: block; }
.testimonial p { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; color: var(--blue-dark); margin-bottom: 18px; }
.testimonial cite { color: var(--green-dark); font-style: normal; font-weight: 700; }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(21, 101, 192, 0.25);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}
.slider-dots button.active { width: 32px; background: var(--blue); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Appointment */
.appointment { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white); }
.appointment h2, .appointment h3 { color: var(--white); }
.appt-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.appt-copy > p { color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; }
.hours { background: rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 24px; border: 1px solid rgba(255, 255, 255, 0.2); }
.hours h3 { margin-bottom: 14px; }
.hours ul { list-style: none; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.25); }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { font-weight: 700; color: #a9e6a6; }

.appt-form { background: var(--white); color: var(--ink); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #f8fbff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.12);
}
.field .invalid { border-color: #d64545; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.contact-form {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  position: relative;
}
.contact-form h3 { font-size: 1.4rem; text-align: center; }
.form-status { font-weight: 600; text-align: center; min-height: 1.4em; }
.form-status.success { color: var(--green-dark); }
.form-status.error { color: #d64545; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--blue);
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); }
.contact-card a { color: var(--blue); font-weight: 600; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.8); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 0; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-logo { height: 96px; background: var(--white); border-radius: 50%; padding: 4px; }
.footer-brand strong { color: var(--white); }
.footer-brand p { font-size: 0.9rem; color: #a9e6a6; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; padding: 18px 16px; font-size: 0.85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .about-inner, .why-inner, .appt-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-card { width: min(300px, 80%); }
  .about-visual { max-width: 360px; margin: 0 auto; width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    box-shadow: var(--shadow);
  }
  .nav.open { max-height: 520px; padding: 12px 16px 20px; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 14px; }
}

@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .hide-sm { display: none; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 1.5rem; }
  .info-grid, .services-grid, .contact-grid { grid-template-columns: 1fr; }
  .info-item + .info-item { border-left: 0; border-top: 1px solid var(--border); }
  .why-grid, .field-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .avatar { width: 84px; height: 84px; font-size: 1.4rem; }
  .float-badge { font-size: 0.78rem; padding: 8px 12px; }
  .badge-1 { left: 0; top: -6%; }
  .badge-2 { right: 0; bottom: -4%; }
  .appt-form, .contact-form { padding: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

.directions-btn { margin-top: 16px; }
.contact-card a.directions-btn { color: var(--blue); }
.contact-card a.directions-btn:hover { color: var(--white); }

.map {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 380px;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 680px) { .map { height: 300px; } }

/* Health Hub */
.health { background: var(--white); }
.welcome {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 72px;
}
.welcome-label { display: block; color: var(--green-dark); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.welcome-copy h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: 14px; }
.welcome-copy p { color: var(--muted); }
.welcome-doctor { margin-top: 20px; padding-left: 14px; border-left: 3px solid var(--green); }
.welcome-doctor strong { display: block; color: var(--ink); }
.welcome-doctor span { color: var(--green-dark); font-weight: 600; font-size: 0.9rem; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-dark);
  box-shadow: var(--shadow-lg);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
}
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s; }
.video-play:hover img { opacity: 1; }
.video-play .play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.2s; }
.video-play:hover .play-icon { transform: translate(-50%, -50%) scale(1.08); }
.play-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: block;
}
.play-icon::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--white);
}
.video-placeholder .play-icon { position: relative; background: rgba(255, 255, 255, 0.15); box-shadow: none; }

.hub-block { margin-bottom: 64px; }
.hub-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hub-head h3 { font-size: 1.5rem; }
.tip-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.tip-filters button {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.tip-filters button:hover { border-color: var(--blue); color: var(--blue); }
.tip-filters button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }

.tips-grid, .videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tip-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
}
.tip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tip-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tip-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tip-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tip-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 4px 10px;
  border-radius: 999px;
}
.tip-meta time, .tip-dialog time { color: var(--muted); font-size: 0.82rem; }
.tip-card h4 { font-size: 1.1rem; line-height: 1.3; }
.tip-card p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.tip-read {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}
.tip-read:hover { text-decoration: underline; }
.show-more { display: block; margin: 32px auto 0; }

.video-card h4 { font-size: 1.05rem; margin: 14px 0 4px; }
.video-card p { color: var(--muted); font-size: 0.92rem; }
.video-card .video-frame { box-shadow: var(--shadow); }

.hub-note { text-align: center; color: var(--muted); font-size: 0.85rem; max-width: 640px; margin: 0 auto; }
.hub-note a { color: var(--blue); font-weight: 600; }

.tip-dialog {
  width: min(680px, 100% - 32px);
  max-height: 85vh;
  margin: auto;
  border: 0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.tip-dialog::backdrop { background: rgba(13, 60, 120, 0.55); backdrop-filter: blur(3px); }
.tip-dialog img { width: 100%; border-radius: 12px; margin-bottom: 20px; aspect-ratio: 16 / 9; object-fit: cover; }
.tip-dialog h3 { font-size: 1.6rem; margin: 12px 0 6px; }
.tip-dialog-body { margin-top: 20px; display: grid; gap: 14px; color: #33475f; }
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 960px) {
  .welcome { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .tips-grid, .videos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .welcome { padding: 20px; }
  .tips-grid, .videos-grid { grid-template-columns: 1fr; }
  .tip-dialog { padding: 28px 22px; }
}
