/* =========================================================
   HOPE PATHOLOGY LABORATORY — STYLESHEET
   Design tokens follow the HOPE logo: royal blue, medical red,
   white and light-gray surfaces. Poppins for display type,
   Inter for body copy. Mobile-first, then tablet/desktop.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --blue-900: #1b2160;
  --blue: #232c87;
  --blue-100: #eceffb;
  --red: #d91f26;
  --red-dark: #ac141a;
  --gold: #c9a227;
  --ink: #14162b;
  --gray-600: #565a72;
  --gray-300: #d9dce6;
  --bg: #f7f9fc;
  --white: #ffffff;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(20, 22, 43, 0.06);
  --shadow-md: 0 12px 30px rgba(27, 33, 96, 0.12);
  --shadow-lg: 0 24px 60px rgba(27, 33, 96, 0.18);

  --container: 1180px;
  --header-h: 66px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }
svg { width: 100%; height: 100%; }

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--blue-900); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 10px;
  top: -60px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 10px; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: var(--white); color: var(--blue); border: 1.5px solid var(--blue-100); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; }

.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.55); transform: scale(0); animation: ripple 600ms ease-out; pointer-events: none; }
@keyframes ripple { to { transform: scale(3); opacity: 0; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.site-header.is-scrolled,
.site-header.force-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 66px;
}

body.no-scroll { overflow: hidden; }

.navbar { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.navbar__brand { display: flex; align-items: center; gap: 10px; }
.navbar__mark { width: 70px; height: 48px; flex: none; }
.navbar__brandtext { display: flex; flex-direction: column; line-height: 1.1; }
.navbar__name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--blue); letter-spacing: 0.5px; }
.navbar__sub { font-size: 0.6rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-600); }

.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 60;
}
.navbar__toggle span { height: 2px; width: 100%; background: var(--blue-900); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 26px;
  padding: 34px 26px;
  overflow-y: auto;
  /* box-shadow: var(--shadow-lg); */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}
.navbar__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar__links { display: flex; flex-direction: column; gap: 22px; width: 100%; }
.navbar__cta { align-self: flex-start; }
.nav-link { font-weight: 600; font-size: 1.1rem; color: var(--blue-900); position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--red); transition: width 0.25s ease; }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--red); }

@media (min-width: 900px) {
  .navbar__toggle { display: none; }
  .navbar__menu {
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
    z-index: auto;
    flex-direction: row;
    align-items: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    gap: 40px;
    /* height: 265px; */
  }
  .navbar__links { flex-direction: row; gap: 32px; width: auto; }
}

@media (max-width: 900px) {
  .navbar__menu { height:265px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 90px;
  background: radial-gradient(1200px 500px at 85% -10%, #eef0fb 0%, var(--bg) 55%, var(--bg) 100%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.floating-icon {
  position: absolute;
  width: 46px; height: 46px;
  padding: 10px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
  animation: float 6s ease-in-out infinite;
}
.floating-icon--1 { top: 14%; left: 4%; animation-delay: 0s; }
.floating-icon--2 { top: 65%; left: 9%; color: var(--red); animation-delay: 1.2s; }
.floating-icon--3 { top: 24%; right: 6%; animation-delay: 0.6s; }
.floating-icon--4 { top: 72%; right: 12%; color: var(--red); animation-delay: 1.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
.hero__subhead { font-size: 1.05rem; color: var(--gray-600); max-width: 46ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 26px; }
.hero__facts li { font-size: 0.9rem; color: var(--gray-600); }
.hero__facts strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--blue); }

/* Signature hero visual: animated lab report card */
.hero__visual { position: relative; display: flex; justify-content: center; }
.report-card {
  position: relative;
  width: min(360px, 100%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 24px 22px;
  overflow: hidden;
}
.report-card__scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(217,31,38,0.14), rgba(217,31,38,0));
  animation: scan 3.2s ease-in-out infinite;
}
@keyframes scan { 0% { transform: translateY(-100%); } 50% { transform: translateY(160%); } 100% { transform: translateY(-100%); } }

.report-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.report-card__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); }
.report-card__dot:first-child { background: var(--red); }
.report-card__title { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--blue-900); }

.report-card__barcode { display: flex; gap: 3px; align-items: flex-end; height: 34px; margin-bottom: 20px; }
.report-card__barcode span { flex: 1; background: var(--blue-900); border-radius: 1px; }
.report-card__barcode span:nth-child(odd) { height: 100%; }
.report-card__barcode span:nth-child(3n) { height: 70%; }
.report-card__barcode span:nth-child(4n) { height: 50%; background: var(--red); }

.report-card__rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.report-card__rows li { display: flex; justify-content: space-between; font-size: 0.86rem; padding-bottom: 10px; border-bottom: 1px dashed var(--gray-300); opacity: 0; animation: rowIn 0.5s ease forwards; }
.report-card__rows li:nth-child(1) { animation-delay: 0.3s; }
.report-card__rows li:nth-child(2) { animation-delay: 0.6s; }
.report-card__rows li:nth-child(3) { animation-delay: 0.9s; }
.report-card__rows li:nth-child(4) { animation-delay: 1.2s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
.report-card__rows em { font-style: normal; color: #1c9a5b; font-weight: 600; font-size: 0.78rem; }
.report-card__footer { text-align: center; font-size: 0.72rem; letter-spacing: 0.6px; color: var(--gray-600); text-transform: uppercase; }

.chip {
  position: absolute;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.chip--a { top: -6%; right: -4%; color: var(--blue); }
.chip--b { bottom: 4%; left: -8%; color: var(--red); animation-delay: 1s; }

/* ---------- Section basics ---------- */
section { padding: 90px 0; }
.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.section-head__desc { color: var(--gray-600); }

/* ---------- About ---------- */
.about { background: var(--bg); }
.about__grid { display: grid; gap: 50px; margin-bottom: 70px; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.about__text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.about__text p { color: var(--gray-600); margin-bottom: 26px; max-width: 56ch; }

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
.check-grid li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; color: var(--blue-900); }
.check-ico { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-100); color: var(--blue); font-size: 0.75rem; flex: none; }

.about__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-card { background: var(--white); border-radius: var(--radius-md); padding: 24px 18px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-card__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--red); }
.stat-card__label { font-size: 0.8rem; color: var(--gray-600); }

.doctors__heading { text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 34px; }
.doctors__grid { display: grid; gap: 22px; max-width: 720px; margin: 0 auto; }
@media (min-width: 640px) { .doctors__grid { grid-template-columns: 1fr 1fr; } }
.doctor-card { background: var(--white); border-radius: var(--radius-md); padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.doctor-card__avatar { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--font-display); font-weight: 700; margin-bottom: 16px; }
.doctor-card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.doctor-card__degree { color: var(--red); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; }
.doctor-card__desc { color: var(--gray-600); font-size: 0.88rem; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-100); color: var(--blue); padding: 11px; margin-bottom: 16px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card__desc { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 14px; }
.service-card__more { display: none; }
.service-card.is-expanded .service-card__more { display: inline; }
.read-more { font-weight: 700; font-size: 0.82rem; color: var(--red); display: inline-flex; align-items: center; gap: 4px; }
.read-more::after { content: "→"; transition: transform 0.2s ease; }
.service-card.is-expanded .read-more::after { transform: rotate(90deg); }

/* ---------- Packages ---------- */
.packages { background: var(--bg); }
.packages__grid { display: grid; gap: 26px; }
@media (min-width: 900px) { .packages__grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.package-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--blue-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.package-card--featured { background: var(--blue-900); color: var(--white); border-color: transparent; transform: scale(1.03); box-shadow: var(--shadow-lg); }
.package-card--featured:hover { transform: scale(1.03) translateY(-6px); }
.package-card--featured .package-card__name,
.package-card--featured .package-card__count { color: var(--white); }
.package-card--featured .package-card__features li { color: rgba(255,255,255,0.82); border-color: rgba(255,255,255,0.16); }
.package-card--featured .package-card__mrp { color: rgba(255,255,255,0.55); }

.package-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: var(--white); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.package-card__name { font-size: 1.25rem; margin-bottom: 4px; }
.package-card__count { color: var(--gray-600); font-size: 0.85rem; margin-bottom: 18px; }
.package-card__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.package-card__mrp { text-decoration: line-through; color: var(--gray-600); font-size: 0.95rem; }
.package-card__offer { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--red); }
.package-card__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.package-card__features li { font-size: 0.88rem; color: var(--gray-600); padding-bottom: 10px; border-bottom: 1px solid var(--blue-100); }
.package-card__features li:first-child { font-weight: 700; color: var(--blue); }
.package-card--featured .package-card__features li:first-child { color: var(--white); }

.indiv-tests { margin-top: 64px; }
.indiv-tests__heading { text-align: center; font-size: 1.3rem; margin-bottom: 26px; }
.indiv-tests__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .indiv-tests__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .indiv-tests__grid { grid-template-columns: repeat(4, 1fr); } }
.indiv-card { background: var(--white); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; box-shadow: var(--shadow-sm); font-size: 0.88rem; font-weight: 600; }
.indiv-card__price s { color: var(--gray-600); font-weight: 400; margin-right: 6px; }
.indiv-card__price { color: var(--red); font-weight: 800; white-space: nowrap; }
.indiv-tests__note { text-align: center; color: var(--gray-600); font-size: 0.82rem; margin-top: 22px; }

/* ---------- Why Us ---------- */
.why-us__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 700px) { .why-us__grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { background: var(--bg); border-radius: var(--radius-md); padding: 28px 18px; text-align: center; transition: transform 0.25s ease, background 0.25s ease; }
.why-card:hover { transform: translateY(-6px); background: var(--blue-100); }
.why-card__ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 0.9rem; margin-bottom: 14px; }
.why-card h3 { font-size: 0.95rem; }

/* ---------- Process ---------- */
.process { background: var(--blue-900); color: var(--white); }
.process .eyebrow { color: #ff8a8f; }
.process h2 { color: var(--white); }
.timeline { display: grid; gap: 40px; counter-reset: step; position: relative; }
@media (min-width: 800px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .timeline::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; background: rgba(255,255,255,0.18); }
}
.timeline__step { position: relative; text-align: center; }
.timeline__num { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; position: relative; z-index: 2; }
.timeline__step h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.timeline__step p { color: rgba(255,255,255,0.7); font-size: 0.88rem; max-width: 26ch; margin: 0 auto; }

/* ---------- Testimonials ---------- */
.slider { max-width: 720px; margin: 0 auto; }
.slider__track { position: relative; overflow: hidden; }
.slider__slide {
  display: none;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  text-align: center;
}
.slider__slide.is-active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; font-size: 1.1rem; }
.slider__slide p { color: var(--ink); font-size: 1.02rem; margin-bottom: 18px; }
.slider__name { color: var(--gray-600); font-weight: 600; font-size: 0.85rem; }

.slider__controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 26px; }
.slider__arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; color: var(--blue); transition: background 0.2s ease, color 0.2s ease; }
.slider__arrow:hover { background: var(--blue); color: var(--white); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); transition: background 0.2s ease, transform 0.2s ease; }
.slider__dots button.is-active { background: var(--red); transform: scale(1.3); }

/* ---------- Contact ---------- */
/*.contact { background: var(--bg); }*/
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: start; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 60px; } }
.contact__info h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 6px 0 26px; }
.contact__list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.92rem; color: var(--gray-600); }
.contact__list a { color: var(--blue); font-weight: 600; }
.contact__ico { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
.contact__map { width: 100%; height: 220px; border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

.contact__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }

.contact__visual { display: flex; align-items: center; justify-content: center; }
.visit-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 26px 30px;
  text-align: center;
}
.visit-card__illustration { width: 100%; max-width: 230px; margin: 0 auto 18px; }
.visit-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--blue-900); margin-bottom: 6px; }
.visit-card__desc { color: var(--gray-600); font-size: 0.86rem; max-width: 26ch; margin: 0 auto; }
.chip--c { top: -6%; left: -6%; color: var(--blue); }
.chip--d { bottom: 4%; right: -8%; color: var(--red); animation-delay: 0.7s; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,0.78); padding: 70px 0 0; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand p { margin: 12px 0 18px; font-size: 0.88rem; max-width: 32ch; }
.footer__brand .navbar__name { color: var(--white); }
.footer__brand .navbar__sub { color: rgba(255,255,255,0.6); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; padding: 8px; transition: background 0.2s ease; }
.footer__social a:hover { background: var(--red); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 4px; }
.footer__col a, .footer__col span { font-size: 0.88rem; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { text-align: center; padding: 22px 20px; font-size: 0.8rem; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding: 11px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
  z-index: 400;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
