/* ═══════════════════════════════════════════════════════════
   components.css — 1:1 layout language of the reference site
═══════════════════════════════════════════════════════════ */

/* ─── Topbar — thin dark strip, phone right, italic ────── */
.topbar { background: var(--topbar-bg); color: #ddd; font-size: 12.5px; }
.topbar__row { display: flex; align-items: center; justify-content: flex-end; min-height: 30px; gap: var(--sp-5); }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: #ddd; font-style: italic; }
.topbar__item svg { width: 12px; height: 12px; }
.topbar__item:hover { color: #fff; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social-link { display: inline-flex; color: #bbb; }
.topbar__social-link:hover { color: #fff; }
.rating-badge { display: none; }

/* ─── Info ticker — scrolling highlights + latest updates ── */
.ticker {
  display: flex; align-items: stretch; overflow: hidden;
  background: linear-gradient(90deg, #6ea844 0%, #7fb85a 100%);
  color: #fff; border-top: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow-sm); position: relative; z-index: 40;
}
.ticker__label {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px;
  background: var(--orange); color: #fff; font-weight: 800;
  font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase;
  padding: 0 14px; white-space: nowrap;
}
.ticker__viewport { flex: 1; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker-scroll 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; align-items: center; flex-shrink: 0; }
.ticker__item {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 8px 4px; font-size: 13px; font-weight: 600; color: #fff;
}
.ticker__item--new { color: #fff2c9; font-weight: 800; }
.ticker__item--new:hover { text-decoration: underline; }
.ticker__sep { padding: 0 6px; color: rgba(255,255,255,.6); font-size: 11px; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ─── Navbar — light bar, uppercase links, orange pill ─── */
#site-header { position: sticky; top: 0; z-index: 100; }
.nav { background: rgba(244,244,244,.97); box-shadow: 0 1px 0 rgba(0,0,0,.06); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav__row { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: var(--sp-4); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__img { height: 52px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link {
  font-size: 13px; font-weight: 700; color: var(--heading-dark);
  text-transform: uppercase; letter-spacing: .03em;
  padding: 10px 13px; border-radius: 6px; transition: color .2s;
}
.nav__link:hover { color: var(--orange); background: transparent; }
.nav__link.active { color: var(--orange); background: transparent; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 24px; height: 2.5px; background: var(--heading-dark); border-radius: 2px; transition: all .3s; }

/* Mobile drawer */
.nav__drawer {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 200;
}
.nav__drawer.open { opacity: 1; pointer-events: auto; }
.nav__drawer-inner {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
  background: #fff; padding: var(--sp-6); overflow-y: auto;
  transform: translateX(100%); transition: transform .35s ease;
  display: flex; flex-direction: column;
}
.nav__drawer.open .nav__drawer-inner { transform: none; }
.nav__drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); }
.nav__drawer-close { font-size: 20px; color: var(--muted); padding: 6px 10px; }
.nav__drawer-link {
  display: block; padding: 13px 10px; font-weight: 700; color: var(--heading-dark);
  border-bottom: 1px solid var(--border); font-size: 13px; text-transform: uppercase; letter-spacing: .03em;
}
.nav__drawer-link:hover { color: var(--orange); }
.nav__drawer-social { display: flex; gap: 10px; margin-top: var(--sp-5); }
.nav__drawer-social-link {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; color: #fff;
}
.nav__drawer-social-link.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.nav__drawer-social-link.facebook { background: #1877f2; }

/* ─── Hero — blurred photo, centered giant title (reference) */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 600px; display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.hero__bg { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(10,15,23,.62) 0%, rgba(10,15,23,.48) 50%, rgba(10,15,23,.62) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 940px; margin: 0 auto; padding: var(--sp-16) 0; }
.hero__badge { display: none; }
.hero__title {
  font-weight: 700; font-size: var(--text-4xl); color: #fff; line-height: 1.15;
  margin-bottom: var(--sp-8);
  text-shadow: 0 2px 6px rgba(0,0,0,.55), 0 6px 28px rgba(0,0,0,.45);
}
.hero__title span { color: #fff; }
.hero__phone { display: block; font-weight: 700; }
.hero__desc { display: none; }
.hero__meta {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-10);
  flex-wrap: wrap; margin-bottom: var(--sp-8); font-size: var(--text-base);
}
.hero__meta-item { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.hero__meta-item a { text-decoration: underline; }
.hero__meta-icon {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center; color: var(--orange);
}
.hero__meta-icon svg { width: 16px; height: 16px; }
.hero__actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; justify-content: center; margin-bottom: 0; }
/* Title + meta fade away a few seconds after load so the photos show fully */
.hero__title, .hero__meta { transition: opacity 1.4s ease; }
.hero--text-hidden .hero__title, .hero--text-hidden .hero__meta { opacity: 0; pointer-events: none; }
.hero__stats { display: none; }
.hero__dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); transition: all .3s; }
.hero__dot.is-active { background: #fff; }

/* ─── Story — white card overlapping the hero (reference) ─ */
.story-overlap { position: relative; z-index: 5; margin-top: -84px; padding: 0 0 var(--sp-16); }
.story-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: var(--sp-12); display: grid; grid-template-columns: 380px 1fr; gap: var(--sp-12);
  align-items: start;
}
.story-card__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--border); }
.story-card__title { font-weight: 300; font-size: var(--text-xl); color: var(--heading); margin-bottom: var(--sp-5); }
.story-card__body p { margin-bottom: var(--sp-4); }

/* legacy story grid kept for the About page */
.story__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--sp-12); align-items: center; }
.story__media { position: relative; }
.story__media img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story__badge {
  position: absolute; bottom: -18px; right: -14px; background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 14px 22px; text-align: center;
}
.story__badge-num { font-size: var(--text-lg); font-weight: 800; color: var(--orange); }
.story__badge-label { font-size: var(--text-xs); color: var(--muted); font-weight: 600; }
.story__points { display: grid; gap: var(--sp-3); margin: var(--sp-6) 0; }
.story__point { display: flex; gap: 12px; align-items: flex-start; }
.story__point-icon {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.story__point strong { color: var(--heading-dark); }

/* ─── Service cards — reference: minimal white cards ───── */
.svc-slider { position: relative; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.svc-card { overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius-md); }
.svc-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--grad-card); }
.svc-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-card__img-wrap img { transform: scale(1.05); }
.svc-card__icon { display: none; }                    /* reference cards have no icon badge */
.svc-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.svc-card__title { font-size: var(--text-base); font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.svc-card__desc { font-size: var(--text-sm); color: var(--muted); flex: 1; margin-bottom: var(--sp-4); }
.svc-card__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: var(--sp-4); }
.svc-card__wa { display: inline-flex; align-items: center; gap: 6px; color: var(--green-wa); font-weight: 700; font-size: var(--text-xs); }

/* Horizontal slider track (3 cards visible, like the reference) */
.svc-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: var(--sp-6); overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px;
}
.svc-track::-webkit-scrollbar { display: none; }
@media (max-width: 1024px) { .svc-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px)  { .svc-track { grid-auto-columns: 88%; } }

/* Carousel arrows below content (reference square gray buttons) */
.slider-nav { display: flex; gap: 10px; justify-content: center; margin-top: var(--sp-8); }
.slider-nav button {
  width: 44px; height: 40px; border: 1px solid #ccc; background: #e9e9e9; color: #666;
  border-radius: 4px; font-size: 18px; display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.slider-nav button:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ─── Feature strip (kept, restyled subtle) ────────────── */
.features-strip { background: var(--grad-orange); padding: var(--sp-6) 0; }
.features-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.feature-pill { display: flex; align-items: center; gap: 12px; color: #fff; }
.feature-pill__icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center;
}
.feature-pill__text { display: flex; flex-direction: column; line-height: 1.35; }
.feature-pill__text strong { font-size: var(--text-sm); }
.feature-pill__text span { font-size: var(--text-xs); color: rgba(255,255,255,.85); }

/* ─── Updates cards (reference: image, title, days-ago) ── */
.ann-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); max-width: 1180px; }
.ann-card { overflow: hidden; border-radius: var(--radius-md); }
.ann-card__img { width: 100%; height: auto; display: block; object-fit: contain; cursor: zoom-in; background: #fff; }
.ann-card__img-ph {
  width: 100%; aspect-ratio: 16/8; background: #fff; display: flex; align-items: center; justify-content: center;
}
.ann-card__img-ph img { height: 64px; opacity: .35; filter: grayscale(1); }
.ann-card__body { padding: var(--sp-5) var(--sp-6); border-top: 1px solid var(--border); }
.ann-card__title { font-size: var(--text-base); font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.ann-card__desc { font-size: var(--text-sm); color: var(--muted); white-space: pre-line; }
.ann-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-6); border-top: 1px solid var(--border);
}
.ann-card__date { font-size: 12px; color: #999; font-style: italic; }
.ann-card__more { color: var(--orange); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }

/* ─── Testimonials (reference: ringed avatar, italic name) */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.review-card { padding: var(--sp-8); position: relative; border-radius: var(--radius-lg); }
.review-card::before { content: none; }
.review-card__header { display: flex; align-items: center; gap: 14px; margin-bottom: var(--sp-4); }
.review-card__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: #999;
  border: 3px solid var(--orange); outline: 3px solid #fff; outline-offset: -6px;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-md);
}
.review-card__name { font-weight: 600; color: var(--heading); font-size: var(--text-base); font-style: italic; }
.review-card__stars { color: #f0a500; font-size: var(--text-sm); letter-spacing: 2px; }
.review-card__text { font-size: var(--text-base); color: var(--body); }

/* ─── Subscribe band (reference: gray overlay band) ────── */
.subscribe { position: relative; color: #fff; padding: 96px 0; overflow: hidden; }
.subscribe__bg {
  position: absolute; inset: -20px;
  background: url('../images/hero-3.jpg') center/cover;
  filter: blur(6px) grayscale(.5); transform: scale(1.06);
}
.subscribe::after { content: ""; position: absolute; inset: 0; background: rgba(120,120,120,.72); }
.subscribe__inner { position: relative; z-index: 2; text-align: center; max-width: 640px; }
.subscribe__title { color: #fff; font-weight: 400; font-size: var(--text-xl); margin-bottom: 4px; }
.subscribe__title span { color: #fff; }
.subscribe__desc { color: rgba(255,255,255,.9); font-size: 13px; font-style: italic; margin-bottom: var(--sp-5); }
.subscribe__form { display: flex; max-width: 460px; margin: 0 auto; background: #fff; border-radius: 4px; overflow: hidden; }
.subscribe__form input { flex: 1; padding: 13px 18px; border: none; font-size: var(--text-sm); min-width: 0; }
.subscribe__form input:focus { outline: none; }
.subscribe__form .btn {
  border-radius: 0; background: #fff; color: var(--orange);
  padding: 13px 22px; font-size: 13px; box-shadow: none; border-left: 1px solid var(--border);
}
.subscribe__form .btn:hover { transform: none; background: var(--orange); color: #fff; }

/* ─── Gallery (reference: rounded photo cards, 4-across) ─ */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.gal-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4/3; background: var(--grad-card); box-shadow: var(--shadow-sm);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.06); }
.gal-item__overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 55%);
  opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: var(--sp-4);
}
.gal-item:hover .gal-item__overlay { opacity: 1; }
.gal-item__cap { color: #fff; font-size: var(--text-xs); font-weight: 700; }
.gal-masonry { columns: 3; column-gap: var(--sp-4); }
.gal-masonry .gal-item { aspect-ratio: auto; margin-bottom: var(--sp-4); break-inside: avoid; }
.gal-masonry .gal-item img { height: auto; }
/* Filter pills */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: var(--sp-8); }
.filter-pill {
  padding: 9px 22px; border-radius: var(--radius-pill); border: 1.5px solid #ddd;
  background: #fff; color: var(--muted); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; transition: all .2s;
}
.filter-pill:hover { border-color: var(--orange); color: var(--orange); }
.filter-pill.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ─── Lightbox ────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; background: rgba(15,15,15,.93); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-xl); object-fit: contain; }
.lightbox__close { position: absolute; top: 20px; right: 26px; color: #fff; font-size: 26px; padding: 8px; z-index: 2; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14);
  color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center;
}
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }

/* ─── Tests catalog ───────────────────────────────────── */
.tests__toolbar { display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: center; justify-content: center; margin-bottom: var(--sp-8); }
.tests__search { position: relative; width: min(420px, 100%); }
.tests__search input {
  width: 100%; padding: 13px 18px 13px 44px; border-radius: var(--radius-pill);
  border: 1.5px solid #ddd; font-size: var(--text-sm); background: #fff;
}
.tests__search input:focus { outline: none; border-color: var(--orange); }
.tests__search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.tests__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.test-chip {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; cursor: pointer; transition: all .2s; user-select: none;
}
.test-chip:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.test-chip.selected { border-color: var(--orange); background: var(--orange-soft); }
.test-chip__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.test-chip__name { flex: 1; font-size: var(--text-sm); font-weight: 600; color: var(--heading-dark); }
.test-chip__meta { font-size: var(--text-xs); color: var(--muted); white-space: nowrap; }
.test-chip__wa { display: inline-flex; flex-shrink: 0; }
.test-chip__check {
  width: 20px; height: 20px; border-radius: 6px; border: 2px solid #ddd;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: transparent; transition: all .2s; font-size: 12px; font-weight: 800;
}
.test-chip.selected .test-chip__check { background: var(--orange); border-color: var(--orange); color: #fff; }
/* Sticky WhatsApp inquiry bar */
.inquiry-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: #222; color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.3);
  transform: translateY(110%); transition: transform .35s ease;
}
.inquiry-bar.show { transform: none; }
.inquiry-bar__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: 13px 0; }
.inquiry-bar__count { font-weight: 700; font-size: var(--text-sm); }
.inquiry-bar__count b { color: var(--orange); }

/* ─── Packages ────────────────────────────────────────── */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.pkg-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-md); }
.pkg-card--featured { border: 2px solid var(--orange); position: relative; }
.pkg-card__ribbon {
  position: absolute; top: 14px; right: -34px; transform: rotate(45deg);
  background: var(--orange); color: #fff; font-size: 10px; font-weight: 800;
  padding: 4px 40px; letter-spacing: .05em; z-index: 2;
}
.pkg-card__head { background: #f7f7f7; border-bottom: 1px solid var(--border); color: var(--heading-dark); padding: var(--sp-6) var(--sp-5); text-align: center; }
.pkg-card__name { font-weight: 700; font-size: var(--text-md); color: var(--heading-dark); }
.pkg-card__head [data-sub], .pkg-card__head div:last-child { color: var(--muted) !important; }
.pkg-card__price { font-size: var(--text-2xl); font-weight: 800; color: var(--orange); margin-top: 4px; }
.pkg-card__body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.pkg-card__list { flex: 1; display: grid; gap: 9px; margin-bottom: var(--sp-5); }
.pkg-card__item { display: flex; gap: 9px; font-size: var(--text-sm); color: var(--body); align-items: flex-start; }
.pkg-card__item::before { content: "✓"; color: var(--orange); font-weight: 800; }

/* Package flyer cards — uniform card size, full image shown uncropped, enquiry button below */
.pkg-img-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); align-items: stretch; }
.pkg-img-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}
.pkg-img-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pkg-img-card__media { height: 460px; display: flex; align-items: center; justify-content: center; background: #fff; padding: var(--sp-3); }
.pkg-img-card__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; object-fit: contain; cursor: zoom-in; }
.pkg-img-card__foot { margin-top: auto; padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--border); }
.pkg-img-card__foot .btn { width: 100%; justify-content: center; }

/* ─── Timeline (about) ────────────────────────────────── */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: #eee; }
.tl-item { position: relative; padding-bottom: var(--sp-8); }
.tl-dot { position: absolute; left: -30px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--orange); border: 4px solid var(--orange-soft); }
.tl-year { font-weight: 800; color: var(--orange); font-size: var(--text-md); margin-bottom: 6px; }
.tl-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: var(--sp-5); }
.tl-card h3 { font-size: var(--text-base); margin-bottom: 6px; }
.tl-card p { font-size: var(--text-sm); color: var(--muted); }

/* ─── Contact / location ──────────────────────────────── */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-10); align-items: center; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.contact-info { display: grid; gap: var(--sp-5); }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item__icon {
  width: 44px; height: 44px; flex-shrink: 0; background: var(--orange); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-item h4 { font-weight: 700; margin-bottom: 3px; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.contact-item p, .contact-item a { font-size: var(--text-sm); color: var(--muted); }
.contact-item a.phone-link { font-weight: 700; color: var(--orange); font-size: var(--text-base); }

/* ─── Floating WhatsApp side tab (reference style) ─────── */
.wa-tab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 140;
  background: #2b2b2b; color: #fff; border-radius: 10px 0 0 10px;
  padding: 16px 8px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg); transition: background .2s;
}
.wa-tab:hover { background: #000; }
.wa-tab__icon { width: 26px; height: 26px; border-radius: 50%; background: var(--green-wa); display: flex; align-items: center; justify-content: center; }
.wa-tab__icon svg { width: 16px; height: 16px; color: #fff; }
.wa-tab__label { writing-mode: vertical-rl; font-size: 13px; letter-spacing: .04em; }
/* small extra float buttons above the tab (call) */
.float-buttons { position: fixed; right: 14px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 140; }
.float-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: var(--shadow-lg); transition: transform .25s;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 21px; height: 21px; }
.float-btn.whatsapp { background: var(--green-wa); animation: pulse 2.4s infinite; }
.float-btn.call { background: var(--orange); }
.float-btn.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.float-btn.facebook { background: #1877f2; }
.float-btn__tooltip {
  position: absolute; right: 56px; top: 50%; transform: translateY(-50%);
  background: #222; color: #fff; font-size: var(--text-xs); font-weight: 700;
  padding: 6px 12px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.float-btn:hover .float-btn__tooltip { opacity: 1; }

/* ─── Appointment modal ───────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s; padding: var(--sp-4);
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal__card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  width: min(460px, 100%); max-height: 92vh; overflow-y: auto;
  transform: translateY(24px); transition: transform .3s;
}
.modal.open .modal__card { transform: none; }
.modal__head { background: var(--orange); color: #fff; padding: var(--sp-5) var(--sp-6); border-radius: var(--radius-lg) var(--radius-lg) 0 0; display: flex; align-items: center; justify-content: space-between; }
.modal__head h3 { color: #fff; font-size: var(--text-md); }
.modal__close { color: rgba(255,255,255,.9); font-size: 20px; padding: 4px 8px; }
.modal__body { padding: var(--sp-6); }
.slot-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot-pill {
  padding: 9px 4px; text-align: center; border: 1.5px solid #ddd; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; color: var(--muted); transition: all .2s;
}
.slot-pill.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ─── Footer — near-black over a dimmed lab photo (reference) ── */
.footer {
  background: linear-gradient(rgba(10,10,10,.9), rgba(10,10,10,.9)), url('../images/gallery/lab-1.jpg') center/cover;
  color: #aaa; padding: var(--sp-20) 0 0;
}
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--sp-16); margin-bottom: var(--sp-16); }
.footer h4 { color: #fff; font-size: var(--text-lg); font-weight: 400; margin-bottom: var(--sp-6); }
.footer__contact-item { margin-bottom: var(--sp-5); }
.footer__contact-label {
  display: flex; align-items: center; gap: 10px;
  color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 6px;
}
.footer__contact-label svg { width: 15px; height: 15px; }
.footer__contact-value { color: #ccc; font-style: italic; font-size: var(--text-sm); }
.footer__contact-value a { color: #ccc; text-decoration: underline; }
.footer__contact-value a:hover { color: #fff; }
.footer__social { display: flex; gap: 16px; margin-top: var(--sp-3); }
.footer__social-link {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #444;
  display: inline-flex; align-items: center; justify-content: center; color: #bbb; transition: all .2s;
}
.footer__social-link:hover { border-color: var(--orange); color: var(--orange); }
.footer__social-link svg { width: 16px; height: 16px; }
.footer__links-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--sp-3); }
.footer__links-inline a { color: #999; font-size: 13px; }
.footer__links-inline a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid #2a2a2a; padding: var(--sp-5) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap;
  font-size: 12.5px; color: #888;
}
.footer__bottom a { color: var(--orange); }
.footer__bottom-links { display: flex; gap: var(--sp-5); }
.footer__bottom-links a { color: #888; }
.footer__bottom-links a:hover { color: var(--orange); }

/* ─── FAQ (kept) ──────────────────────────────────────── */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: var(--sp-3); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: var(--sp-5); font-weight: 700; color: var(--heading-dark); text-align: left; }
.faq-q::after { content: "+"; font-size: 20px; color: var(--orange); transition: transform .3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 var(--sp-5) var(--sp-5); font-size: var(--text-sm); color: var(--muted); }
