/* Global styles for Vedpath Diagnostics
   - Mobile-first responsive UI
   - Breakpoint: 768px (mobile ≤768px, desktop ≥769px)
*/

/* RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #020617;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Accessibility: skip to main content (visible on focus) */
.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.5rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: #0d5bb5;
  color: #fff;
  font-weight: 600;
  border-radius: 0.25rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0.5rem;
  outline: 2px solid #0d5bb5;
  outline-offset: 2px;
}

/* Prevent horizontal scroll: constrain all content */
.site-wrapper,
main {
  overflow-x: hidden;
  max-width: 100%;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* LAYOUT */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  min-width: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #020617;
}

.section-header p {
  margin: 0;
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

/* TOKENS */
:root {
  --primary: #137fec;
  --primary-dark: #0c63bc;
  --slate-900: #020617;
  --slate-800: #0f172a;
  --slate-700: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-100: #e2e8f0;
  --teal-accent: #14b8a6;
  /* Mobile spacing (≤768px) */
  --mobile-section-padding: 2.5rem 0;
  --mobile-gap: 1.25rem;
  --mobile-container-padding: 1.25rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background-color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  transition: box-shadow 0.16s ease-out, background-color 0.16s ease-out, border-color 0.16s ease-out;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.site-header.is-scrolled .header-left,
.site-header.is-scrolled .brand-link,
.site-header.is-scrolled .brand-logo {
  background: none !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 1.2rem;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 35px rgba(19, 127, 236, 0.3);
  transform-origin: center;
  transition: transform 0.18s ease-out;
}

.brand-link:hover .brand-icon {
  transform: rotate(5deg);
}

.brand-logo {
  height: 50px;
  width: auto;
  max-width: min(220px, 45vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  background: none;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 44px;
    max-width: min(180px, 50vw);
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 40px;
    max-width: min(160px, 55vw);
  }
}

.brand-icon .material-icons {
  color: #ffffff;
  font-size: 24px;
}

.brand-wordmark {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.brand-wordmark span {
  color: var(--primary);
}

.header-left {
  flex-shrink: 0;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background-color: #f8fafc;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background-color 0.16s ease-out, border-color 0.16s ease-out, box-shadow 0.16s ease-out;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: #020617;
  transition: transform 0.18s ease-out, opacity 0.16s ease-out, background-color 0.16s ease-out;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] {
  background-color: #020617;
  border-color: #020617;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.28);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background-color: #ffffff;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  position: relative;
  padding-bottom: 0.2rem;
  padding-inline: 0.4rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--teal-accent));
  transition: width 0.18s ease-out;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.nav-link-active {
  color: var(--primary);
}

.nav-link.nav-link-active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

/* Call Now button in header (desktop) */
.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--primary, #137fec);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(19, 127, 236, 0.35);
}

.header-call-btn:hover {
  background: #0d6ed4;
  color: #fff;
  transform: translateY(-1px);
}

.header-call-btn:focus-visible {
  outline: 2px solid var(--primary, #137fec);
  outline-offset: 2px;
}

.header-call-btn .material-symbols-outlined {
  font-size: 1.2rem;
}

/* Call Now in mobile nav (hidden on desktop, shown in hamburger menu) */
.nav-call-wrap {
  display: none;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--primary, #137fec);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.header-link {
  display: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background-color: #020617;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background-color 0.12s ease-out;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.5);
}

.primary-btn .material-symbols-outlined {
  font-size: 18px;
}

.cart-btn {
  padding-inline: 1.3rem;
}

/* HERO */
.hero {
  padding: 4.5rem 0 4.5rem;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background-color: rgba(20, 184, 166, 0.08);
  color: var(--teal-accent);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(20, 184, 166, 0.32);
  margin-bottom: 1.5rem;
}

.hero-badge .material-symbols-outlined {
  font-size: 18px;
}

.hero-title {
  margin: 0 0 1.4rem;
  font-size: clamp(1.75rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  color: #020617;
}

.hero-title span {
  background: linear-gradient(90deg, var(--primary), var(--teal-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 32rem;
  font-size: 1.05rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-btn {
  min-width: 210px;
  padding-block: 1.05rem;
  border-radius: 1.5rem;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 1.5rem;
  border: 2px solid #e2e8f0;
  background-color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  transition: background-color 0.12s ease-out, border-color 0.12s ease-out, transform 0.12s ease-out;
}

.secondary-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5f5;
  transform: translateY(-1px);
}

.secondary-btn .material-symbols-outlined {
  font-size: 18px;
}

.hero-right {
  position: relative;
}

.hero-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.4;
}

.hero-blob-teal {
  width: 260px;
  height: 260px;
  background-color: rgba(20, 184, 166, 0.5);
  top: -80px;
  left: -80px;
}

.hero-blob-blue {
  width: 320px;
  height: 320px;
  background-color: rgba(19, 127, 236, 0.5);
  bottom: -100px;
  right: -80px;
}

.hero-image-frame {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  border: 12px solid #ffffff;
  box-shadow: 0 36px 80px rgba(15, 23, 42, 0.45);
  transform: rotate(2deg);
  transition: transform 0.5s ease-out;
}

.hero-image-frame:hover {
  transform: rotate(0);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* STATS SECTION */
.stats {
  padding: 3.5rem 0;
  background-color: #020617;
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: linear-gradient(to right, #475569 1px, transparent 1px),
    linear-gradient(to bottom, #475569 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  z-index: 1;
}

.stat-card {
  padding: 2rem 1.75rem;
  border-radius: 1.8rem;
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(10px);
  text-align: center;
}

.stat-value {
  margin: 0 0 0.5rem;
  font-size: 2.4rem;
  font-weight: 800;
}

.stat-value-teal {
  color: var(--teal-accent);
}

.stat-value-blue {
  color: var(--primary);
}

.stat-label {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
  font-weight: 700;
}

/* PACKAGES */
.packages {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.packages-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.packages-header p {
  font-size: 1.05rem;
}

.secondary-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background-color: #e2e8f0;
  color: #020617;
  font-size: 0.85rem;
  font-weight: 800;
  transition: background-color 0.12s ease-out, color 0.12s ease-out, transform 0.12s ease-out;
}

.secondary-chip:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.secondary-chip .material-symbols-outlined {
  font-size: 18px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.home-packages-grid {
  justify-items: stretch;
}

@media (min-width: 1025px) {
  .home-packages-grid {
    justify-items: center;
  }

  .home-packages-grid > .package-card {
    width: 100%;
  }

  .home-packages-grid > .package-card:nth-child(4),
  .home-packages-grid > .package-card:nth-child(5) {
    max-width: 320px;
  }
}

.package-card {
  padding: 2rem;
  border-radius: 2rem;
  background-color: #f8fafc;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: border-color 0.18s ease-out, background-color 0.18s ease-out, box-shadow 0.18s ease-out,
    transform 0.18s ease-out;
}

.package-card:hover {
  background-color: #ffffff;
  border-color: rgba(19, 127, 236, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.package-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.package-icon {
  width: 52px;
  height: 52px;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.primary-icon {
  background-color: rgba(19, 127, 236, 0.12);
}

.teal-icon {
  background-color: rgba(20, 184, 166, 0.12);
}

.red-icon {
  background-color: rgba(239, 68, 68, 0.12);
}

.package-icon .material-symbols-outlined {
  font-size: 32px;
}

.primary-icon .material-symbols-outlined {
  color: var(--primary);
}

.teal-icon .material-symbols-outlined {
  color: var(--teal-accent);
}

.red-icon .material-symbols-outlined {
  color: #ef4444;
}

.badge {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.badge-accent {
  background-color: var(--teal-accent);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.35);
}

.package-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #020617;
}

.package-description {
  margin: 0 0 1.6rem;
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

.package-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}

.package-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.5rem;
}

.package-points .material-symbols-outlined {
  font-size: 18px;
  color: var(--teal-accent);
}

.package-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.1rem;
  border-top: 1px solid #e2e8f0;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 1.75rem;
}

/* Home page packages: keep price row, move button below full width */
.packages .package-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
}

.packages .package-footer .primary-btn.small-btn {
  width: 100%;
  justify-content: center;
}

.price-now {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary, #137fec);
}

.price-old {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: line-through;
}

.price-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

/* Highlight "Offer" label in price rows */
.packages .price > div:first-child .price-label,
.packages-book .package-price .price-label:first-child {
  color: var(--primary, #137fec);
  font-weight: 800;
}

.price-old-inline {
  margin-left: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
}

.small-btn {
  padding-inline: 1.25rem;
  padding-block: 0.8rem;
  border-radius: 1rem;
  font-size: 0.85rem;
}

/* TESTIMONIALS – slider: 3 visible at a time */
.testimonials {
  padding: 4.5rem 0;
  background-color: #020617;
  color: #e2e8f0;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 0 3.5rem;
}

.testimonial-track {
  display: flex;
  width: 200%;
  transition: transform 0.45s ease-out;
  padding-bottom: 1.5rem;
}

.testimonial-track[data-slide="0"] {
  transform: translateX(0);
}

.testimonial-track[data-slide="1"] {
  transform: translateX(-50%);
}

.testimonial-slide {
  display: flex;
  gap: 2rem;
  flex: 0 0 50%;
  min-width: 0;
  padding: 0 0.25rem;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.34rem);
  min-width: 0;
  background-color: #0f172a;
  border-radius: 2.4rem;
  padding: 2.4rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75);
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--primary, #137fec);
  color: #fff;
  border-color: transparent;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.testimonial-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.testimonial-dot.is-active {
  background: var(--primary, #137fec);
  transform: scale(1.2);
}

.testimonial-card .stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.4rem;
  color: #eab308;
}

.testimonial-text {
  margin: 0 0 1.8rem;
  font-size: 1.02rem;
  color: #e5e7eb;
  font-style: italic;
  font-weight: 500;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 1.5rem;
  object-fit: cover;
  background-color: #0f172a;
}

.testimonial-person h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-person p {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* BLOG */
.blog {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.blog-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #020617;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
}

.link-btn .material-symbols-outlined {
  font-size: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.blog-card {
  border-radius: 1.8rem;
  overflow: hidden;
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-media {
  position: relative;
  border-radius: 1.8rem;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.4s ease-out;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background-color: #ffffff;
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.blog-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #020617;
  transition: color 0.12s ease-out;
}

.blog-card:hover h3 {
  color: var(--primary);
}

.blog-excerpt {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: #64748b;
}

.blog-meta {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
}

/* BLOG LISTING PAGE */
.blog-page {
  padding: 3rem 0 4.5rem;
  background-color: #ffffff;
}

.blog-page .page-title {
  margin: 0 0 0.5rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: #020617;
}

.blog-page .page-subtitle {
  margin: 0 0 3rem;
  font-size: 1.1rem;
  color: #64748b;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.blog-list-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e2e8f0;
  text-decoration: none;
  color: inherit;
}

.blog-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-list-item .blog-media {
  margin-bottom: 0;
}

.blog-list-item .blog-image {
  aspect-ratio: 16 / 10;
}

.blog-list-item .blog-list-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #020617;
  line-height: 1.3;
  transition: color 0.2s;
}

.blog-list-item:hover h2 {
  color: var(--primary);
}

.blog-list-item .blog-list-excerpt {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

.blog-list-item .blog-meta {
  margin-bottom: 1rem;
}

.blog-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.blog-cta-btn .material-symbols-outlined {
  font-size: 18px;
}

/* SINGLE BLOG POST */
.blog-single {
  padding: 2rem 0 4.5rem;
  background-color: #ffffff;
}

.blog-single-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.blog-single-hero h1 {
  margin: 0 0 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  color: #020617;
  line-height: 1.25;
}

.blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.blog-single-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-single-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.blog-single-body h2 {
  margin: 2.25rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #020617;
}

.blog-single-body h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.blog-single-body p {
  margin: 0 0 1.25rem;
}

.blog-single-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.blog-single-body li {
  margin-bottom: 0.5rem;
}

.blog-single-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 1.5rem;
  text-align: center;
  color: #e2e8f0;
}

.blog-single-cta h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.blog-single-cta p {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: #cbd5e1;
}

.blog-single-cta .primary-btn {
  margin: 0;
}

@media (max-width: 768px) {
  .blog-list-item {
    grid-template-columns: 1fr;
  }
}

/* PARTNERS */
.partners {
  padding: 4.5rem 0;
  background-color: #ffffff;
  color: #1e293b;
}

.partners-inner {
  background: #f8fafc;
  border-radius: 2.8rem;
  border: 1px solid #e2e8f0;
  padding: 3rem 2.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background-color: rgba(19, 127, 236, 0.25);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1.4rem;
}

.pill .material-symbols-outlined {
  font-size: 18px;
}

.partners-left h2 {
  margin: 0 0 1rem;
  font-size: 2.3rem;
  font-weight: 800;
  color: #020617;
}

.partners-text {
  margin: 0 0 2rem;
  font-size: 1.02rem;
  color: #475569;
  font-weight: 500;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.partners-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: rgba(19, 127, 236, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon.teal {
  background-color: rgba(20, 184, 166, 0.2);
}

.feature-icon .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary);
}

.feature-icon.teal .material-symbols-outlined {
  color: var(--teal-accent);
}

.partners-feature h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #020617;
}

.partners-feature p {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.light-btn {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(19, 127, 236, 0.35);
}

.light-btn:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.partners-right {
  background-color: #ffffff;
  border-radius: 2.2rem;
  border: 1px solid #e2e8f0;
  padding: 2rem 2.2rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.partners-right h3 {
  margin: 0 0 1.4rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: #020617;
}

.partner-form {
  display: grid;
  gap: 0.8rem;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  color: #020617;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}

.partner-form textarea {
  resize: vertical;
}

.partner-form input::placeholder,
.partner-form textarea::placeholder {
  color: #94a3b8;
}

.partner-form select option {
  color: #020617;
}

.partner-form input:focus-visible,
.partner-form select:focus-visible,
.partner-form textarea:focus-visible {
  border-color: rgba(19, 127, 236, 0.9);
  box-shadow: 0 0 0 1px rgba(19, 127, 236, 0.6);
}

/* FOOTER */
.site-footer {
  --footer-bg: #1a223b;
  --footer-accent: #137fec;
  background-color: var(--footer-bg);
  color: #fff;
  padding: 3.5rem 0 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-column {
  min-width: 0;
}

.footer-column.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
  color: inherit;
}

.footer-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--footer-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-brand-icon .material-icons {
  color: #fff;
  font-size: 26px;
}

.footer-brand-logo {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand-wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--footer-accent);
}

.footer-brand-wordmark span {
  color: #fff;
}

.footer-text {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  line-height: 1.5;
}

.footer-heading {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-heading-bar {
  width: 4px;
  height: 1.1em;
  background-color: var(--footer-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.footer-follow-heading {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-quick-links ul,
.footer-legal ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-quick-links li {
  margin-bottom: 0.5rem;
}

.footer-quick-links a,
.footer-legal a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-quick-links a:hover,
.footer-legal a:hover {
  color: var(--footer-accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
}

.footer-contact-item .material-symbols-outlined {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
}

.footer-contact-item a:hover {
  color: var(--footer-accent);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.footer-social a:hover {
  background-color: var(--footer-accent);
  transform: translateY(-2px);
}

.footer-social .material-icons,
.footer-social-icon {
  font-size: 20px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-social-placeholder {
  background-color: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.footer-bottom {
  padding: 1.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

/* FLOATING QUICK ACTIONS (WhatsApp + Call) */
.floating-actions {
  position: fixed;
  right: calc(1.4rem + env(safe-area-inset-right));
  bottom: calc(1.6rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
  z-index: 70;
}

.floating-action {
  --floating-pill-width: 210px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, max-width 0.35s ease, padding 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.floating-action:hover,
.floating-action:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
}

.floating-action__icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
}

.floating-action__label {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* WhatsApp (icon-only by default, expands on hover) */
.floating-action--whatsapp {
  background: radial-gradient(circle at 30% 0, #6af3b1 0, #1aae5b 45%, #0b8b3f 100%);
  box-shadow: 0 12px 30px rgba(7, 69, 35, 0.42);
  max-width: 54px;
  padding: 0;
  overflow: hidden;
  justify-content: center;
}

.floating-action--whatsapp .floating-action__label {
  max-width: 0;
  opacity: 0;
  transform: translateX(-6px);
  overflow: hidden;
  transition: max-width 0.35s ease, opacity 0.25s ease, transform 0.35s ease;
}

.floating-action--whatsapp:hover,
.floating-action--whatsapp:focus-visible {
  max-width: 280px;
  padding-right: 1rem;
  justify-content: flex-start;
  box-shadow: 0 16px 34px rgba(7, 69, 35, 0.52);
}

.floating-action--whatsapp:hover .floating-action__label,
.floating-action--whatsapp:focus-visible .floating-action__label {
  max-width: 220px;
  opacity: 1;
  transform: translateX(0);
}

/* Call (icon + text always visible) */
.floating-action--call {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  width: var(--floating-pill-width);
  padding-right: 1.1rem;
  gap: 0.2rem;
}

.floating-action__svg {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 420px) {
  .floating-action {
    --floating-pill-width: 190px;
  }

  .floating-action__label {
    font-size: 0.9rem;
  }
}

/* On touch devices (no hover), keep WhatsApp label visible */
@media (hover: none) {
  .floating-action--whatsapp {
    max-width: 280px;
    padding-right: 1rem;
    justify-content: flex-start;
  }

  .floating-action--whatsapp .floating-action__label {
    max-width: 220px;
    opacity: 1;
    transform: translateX(0);
  }
}

.floating-action--call .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

/* ABOUT PAGE */
.about-hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f9fafb;
}

.about-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(19, 127, 236, 0.85), rgba(15, 23, 42, 0.92));
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background-color: rgba(15, 23, 42, 0.25);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-hero-badge .material-symbols-outlined {
  font-size: 18px;
}

.about-hero-title {
  margin: 1.1rem 0 0.9rem;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
}

.about-hero-title span {
  color: var(--teal-accent);
}

.about-hero-subtitle {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.06rem;
  font-weight: 500;
  color: #cbd5f5;
}

.about-gallery {
  padding: 4rem 0;
  background-color: #f8fafc;
}

.about-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-gallery-image {
  border-radius: 12px;
  width: 100%;
  height: 220px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

@media (max-width: 1024px) {
  .about-gallery-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .about-gallery {
    padding: 3rem 0;
  }

  .about-gallery-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.about-journey {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.journey-grid {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  align-items: center;
}

.journey-media {
  position: relative;
}

.journey-blob {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background-color: rgba(19, 127, 236, 0.16);
  filter: blur(16px);
}

.journey-image-frame {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  border: 8px solid #e2e8f0;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.journey-image {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.journey-stat-card {
  position: absolute;
  right: -2.4rem;
  bottom: -2.4rem;
  max-width: 280px;
  padding: 1.6rem 1.7rem;
  border-radius: 1.8rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.journey-stat-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}

.journey-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 1.4rem;
  background-color: rgba(20, 184, 166, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-stat-icon .material-symbols-outlined {
  color: var(--teal-accent);
}

.journey-stat-card h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #020617;
}

.journey-stat-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.journey-copy .section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.journey-title {
  margin: 0 0 1.4rem;
  font-size: 2.3rem;
  font-weight: 800;
  color: #020617;
}

.journey-text {
  font-size: 1rem;
  color: #475569;
  font-weight: 500;
}

.journey-text p {
  margin: 0 0 0.9rem;
}

.journey-stats {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 1.3rem;
}

.journey-stat-number {
  margin: 0 0 0.2rem;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
}

.journey-stat-number-teal {
  color: var(--teal-accent);
}

.journey-stat-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
}

.journey-divider {
  width: 1px;
  height: 48px;
  background-color: #e2e8f0;
}

.mission-vision {
  padding: 4.5rem 0;
  background-color: #f8fafc;
}

.mv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.8rem;
}

.mv-card {
  padding: 2.3rem;
  border-radius: 2.3rem;
  background-color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.mv-card-accent {
  background-color: var(--primary);
  color: #e0f2fe;
  border-color: transparent;
  box-shadow: 0 18px 45px rgba(19, 127, 236, 0.4);
}

.mv-icon {
  width: 64px;
  height: 64px;
  border-radius: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.mv-icon.primary {
  background-color: rgba(19, 127, 236, 0.1);
}

.mv-icon.light {
  background-color: rgba(255, 255, 255, 0.12);
}

.mv-icon .material-symbols-outlined {
  font-size: 32px;
  color: var(--primary);
}

.mv-card-accent .mv-icon .material-symbols-outlined {
  color: #ffffff;
}

.mv-card h2 {
  margin: 0 0 1rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: #020617;
}

.mv-card-accent h2 {
  color: #ffffff;
}

.mv-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #475569;
}

.mv-card-accent p {
  color: #dbeafe;
}

.why-choose {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.why-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-content: center;
}

.why-card {
  padding: 2rem 1.9rem;
  border-radius: 2rem;
  background-color: #f8fafc;
  border: 1px solid transparent;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out, background-color 0.16s ease-out,
    transform 0.16s ease-out;
}

.why-card:hover {
  background-color: #ffffff;
  border-color: rgba(19, 127, 236, 0.18);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 1.8rem;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.why-icon .material-symbols-outlined {
  font-size: 30px;
  color: var(--primary);
}

.why-icon .material-symbols-outlined.teal {
  color: var(--teal-accent);
}

.why-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #020617;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.about-cta {
  padding: 0 0 4rem;
}

.about-cta-inner {
  border-radius: 3rem;
  padding: 2.7rem 2.2rem;
  background: linear-gradient(135deg, var(--primary), #0c63bc);
  color: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
}

.about-cta-inner::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.08);
  top: -80px;
  right: -60px;
  filter: blur(10px);
}

.about-cta-copy {
  position: relative;
  z-index: 1;
}

.about-cta-copy h2 {
  margin: 0 0 0.8rem;
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
}

.about-cta-copy p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #bfdbfe;
}

.about-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.about-cta-phone {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
}

.about-cta-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 69, 35, 0.6);
  border-radius: 1.6rem;
  padding-inline: 1.9rem;
  padding-block: 1rem;
  border: none;
}

.about-cta-whatsapp:hover {
  background-color: #128c7e;
  color: #ffffff;
  transform: translateY(-1px);
}

.about-cta-whatsapp-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* BOOK TESTS PAGE */
.book-hero {
  position: relative;
  padding: 4.5rem 0;
  background-color: #ffffff;
  overflow: hidden;
}

.book-hero-pattern {
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  background-image: radial-gradient(#137fec 0.5px, transparent 0.5px);
  background-size: 32px 32px;
  background-position: 0 0;
  opacity: 0.35;
}

.book-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.book-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 127, 236, 0.18);
  background-color: rgba(19, 127, 236, 0.04);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.book-hero-badge .material-symbols-outlined {
  font-size: 18px;
}

.book-hero-title {
  margin: 0 0 0.9rem;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 800;
  color: #020617;
}

.book-hero-title span {
  color: var(--primary);
}

.book-hero-subtitle {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: #64748b;
}

.book-tests {
  padding: 4.5rem 0;
  background-color: #f8fafc;
}

.book-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.book-header-row h2 {
  margin: 0 0 0.4rem;
  font-size: 2rem;
  font-weight: 800;
  color: #020617;
}

.book-header-row p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
}

.test-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.test-card {
  padding: 1.7rem 1.7rem 1.8rem;
  border-radius: 2rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out, transform 0.16s ease-out;
}

.test-card:hover {
  border-color: rgba(19, 127, 236, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.test-icon {
  width: 56px;
  height: 56px;
  border-radius: 1.6rem;
  background-color: rgba(19, 127, 236, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.test-icon .material-symbols-outlined {
  font-size: 30px;
}

.test-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #020617;
}

.test-card p {
  margin: 0;
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 500;
}

.test-footer {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.test-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: #020617;
}

.test-btn {
  padding-inline: 1rem;
  padding-block: 0.55rem;
  border-radius: 1rem;
  font-size: 0.72rem;
}

.packages-book {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.packages-book .packages-grid {
  gap: 1.8rem;
}

.packages-book .package-card {
  display: flex;
  flex-direction: column;
}

.packages-book .package-price {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-weight: 800;
}

.packages-book .package-price .price-label {
  display: inline-block;
  margin-right: 0.25rem;
}

.packages-book .package-select {
  margin-top: auto;
}

.booking-section {
  padding: 4.5rem 0;
  background-color: #f8fafc;
}

.booking-container {
  max-width: 720px;
}

.booking-card {
  border-radius: 3rem;
  background-color: #ffffff;
  padding: 2.3rem 2.1rem 2.6rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: visible;
}

.booking-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.booking-header h2 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
  font-weight: 800;
  color: #020617;
}

.booking-header p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
}

.booking-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-form {
  display: grid;
  gap: 1.6rem;
}

.field-help {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label,
.field-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f172a;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  padding: 0.9rem 1.1rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: #020617;
  background-color: #f8fafc;
  outline: none;
  resize: vertical;
  transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out, background-color 0.12s ease-out;
}

.form-field textarea {
  border-radius: 1.7rem;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible {
  background-color: #ffffff;
  border-color: rgba(19, 127, 236, 0.8);
  box-shadow: 0 0 0 1px rgba(19, 127, 236, 0.4);
}

/* Book tests – native <select>; do not use max-height/overflow (breaks iOS/Android picker) */
#tests {
  position: relative;
  z-index: 5;
  min-height: 48px;
  box-sizing: border-box;
}

.form-field select {
  min-height: 48px;
}

.field-hint {
  margin: 0;
  font-size: 0.7rem;
  font-style: italic;
  color: #9ca3af;
}

.form-column {
  display: grid;
  gap: 1.4rem;
}

.location-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  border-radius: 1.6rem;
  padding: 0.2rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
}

.toggle-option {
  position: relative;
  display: block;
}

.toggle-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
}

.toggle-option span {
  display: block;
  text-align: center;
  padding: 0.55rem 0.8rem;
  border-radius: 1.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  transition: background-color 0.12s ease-out, color 0.12s ease-out;
}

.toggle-option input:checked + span {
  background-color: var(--primary);
  color: #ffffff;
}

.booking-submit {
  width: 100%;
  margin-top: 0.4rem;
  border-radius: 2rem;
  padding-block: 1rem;
  font-size: 1rem;
}

.booking-submit .material-symbols-outlined {
  font-size: 20px;
}

.book-whatsapp-cta {
  position: fixed;
  right: 1.4rem;
  bottom: 6.7rem;
  z-index: 61;
}

.book-whatsapp-inner {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(7, 69, 35, 0.6);
  position: relative;
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out;
}

.book-whatsapp-inner .material-icons {
  font-size: 30px;
}

.book-whatsapp-tooltip {
  position: absolute;
  right: 100%;
  margin-right: 0.7rem;
  padding: 0.5rem 0.8rem;
  border-radius: 0.9rem;
  background-color: #ffffff;
  color: #020617;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.3);
  opacity: 0;
  transform: translateY(2px);
  pointer-events: none;
  transition: opacity 0.16s ease-out, transform 0.16s ease-out;
}

.book-whatsapp-inner:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(7, 69, 35, 0.7);
}

.book-whatsapp-inner:hover .book-whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* LOCATIONS PAGE */
.locations-hero {
  position: relative;
  padding: 4.5rem 0;
  background-color: #0f172a;
  color: #e5e7eb;
  overflow: hidden;
}

.locations-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#137fec 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  opacity: 0.65;
}

.locations-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(19, 127, 236, 0.25), transparent);
}

.locations-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.locations-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(15, 23, 42, 0.8);
  color: var(--teal-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.locations-hero-badge .material-symbols-outlined {
  font-size: 18px;
}

.locations-hero-title {
  margin: 0 0 0.7rem;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
}

.locations-hero-title span {
  color: var(--primary);
}

.locations-hero-subtitle {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: #cbd5f5;
}

.branch-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.branch-section-alt {
  background-color: #f8fafc;
}

.branch-card {
  border-radius: 3rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.branch-section-alt .branch-card {
  background-color: #ffffff;
}

.branch-layout {
  display: flex;
  flex-direction: row;
}

.branch-layout-reverse {
  flex-direction: row-reverse;
}

.branch-media {
  flex: 1 1 50%;
  min-height: 280px;
}

.branch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.branch-copy {
  flex: 1 1 50%;
  padding: 2.4rem 2.6rem;
}

.branch-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.branch-badge.primary {
  background-color: rgba(19, 127, 236, 0.15);
  color: var(--primary);
}

.branch-badge.teal {
  background-color: rgba(20, 184, 166, 0.15);
  color: var(--teal-accent);
}

.branch-copy h2 {
  margin: 0 0 1.1rem;
  font-size: 2.1rem;
  font-weight: 800;
  color: #020617;
}

.branch-details {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.branch-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: #475569;
}

.branch-detail .material-symbols-outlined {
  color: var(--primary);
}

.branch-phone {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #020617;
}

.branch-services h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 800;
  color: #020617;
}

.branch-services ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.branch-services li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.branch-services .material-symbols-outlined {
  font-size: 18px;
  color: var(--teal-accent);
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.branch-call {
  padding-inline: 1.8rem;
  padding-block: 0.9rem;
  border-radius: 1.6rem;
}

.branch-directions {
  padding-inline: 1.7rem;
  padding-block: 0.9rem;
  border-radius: 1.6rem;
  font-size: 0.9rem;
}

.map-shell {
  width: 100%;
  height: 260px;
  position: relative;
}

.map-shell-alt .map-placeholder::before {
  background-color: rgba(20, 184, 166, 0.06);
}

.map-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuABoE1qpl5JX9jUOQkLZTtRi7as-ctnAHpzXx9GgzvVPrKr1FRInm8BpvBFQJ-OpDK3M6MWUEFOtfqr8XkUoo-xubdhy7LN7gUevpb1TS8qz0TSFFncAluwe0nv1tcxjGSFiPAGT908Fr3RTfFEx1jqYXpld6e_hf2BWb4eoviKnLLncCyKXItbtg_ZacT122IYn4qVD9rclfccfVwlT_84m6ZKNZVlGk2XvE4HaPcCy4soNAE3ZGnPOsoYZDJ-x8R9uJKlZzVaNwA");
  background-size: cover;
  background-position: center;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(19, 127, 236, 0.06);
}

.map-glass {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 1.5rem;
  pointer-events: none;
}

.map-glass > div,
.map-glass {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 1.4rem;
  padding: 0.9rem 1.2rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.map-glass span:last-child {
  font-size: 0.86rem;
  font-weight: 700;
  color: #020617;
}

.map-glass .material-symbols-outlined {
  color: var(--primary);
}

.branch-map-frame {
  width: 100%;
  height: 400px;
  margin-top: 1.25rem;
  border-radius: 10px;
  overflow: hidden;
}

.branch-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.why-labs {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.contact-bottom-map {
  padding: 3rem 0 3.5rem;
  background-color: #ffffff;
}

/* CONTACT PAGE */
.contact-hero {
  position: relative;
  padding: 4.2rem 0 4.8rem;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 127, 236, 0.06), rgba(255, 255, 255, 0.95));
}

.contact-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#137fec 0.5px, transparent 0.5px);
  background-size: 32px 32px;
  background-position: 0 0;
  opacity: 0.12;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background-color: rgba(19, 127, 236, 0.08);
  border: 1px solid rgba(19, 127, 236, 0.3);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.contact-hero-badge .material-symbols-outlined {
  font-size: 18px;
}

.contact-hero-title {
  margin: 0 0 0.8rem;
  font-size: clamp(2.3rem, 3.6vw, 3.2rem);
  font-weight: 800;
  color: #020617;
}

.contact-hero-title span {
  color: var(--primary);
}

.contact-hero-subtitle {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: #64748b;
}

.contact-summary {
  padding: 1.8rem 0 2.5rem;
  margin-top: -1.7rem;
  position: relative;
  z-index: 2;
}

.contact-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 2rem;
  padding: 1.7rem 1.6rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out, transform 0.16s ease-out;
  min-width: 0;
}

.contact-card:hover {
  border-color: rgba(19, 127, 236, 0.3);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.contact-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.contact-card-icon.primary {
  background-color: rgba(19, 127, 236, 0.08);
}

.contact-card-icon.teal {
  background-color: rgba(20, 184, 166, 0.08);
}

.contact-card-icon.whatsapp {
  background-color: rgba(37, 211, 102, 0.08);
}

.contact-card-icon.facebook {
  background-color: rgba(24, 119, 242, 0.08);
}

.contact-card-icon.primary .material-symbols-outlined,
.contact-card-icon.primary .material-icons {
  color: var(--primary);
}

.contact-card-icon.teal .material-symbols-outlined,
.contact-card-icon.teal .material-icons {
  color: var(--teal-accent);
}

.contact-card-icon .contact-card-icon-facebook {
  color: #1877f2;
  flex-shrink: 0;
}

.contact-card-icon .contact-card-icon-whatsapp {
  color: #25d366;
  flex-shrink: 0;
}

.contact-card-icon .contact-card-icon-instagram {
  color: #e4405f;
  flex-shrink: 0;
}

.contact-card-icon .material-symbols-outlined,
.contact-card-icon .material-icons {
  font-size: 30px;
}

.contact-card h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 800;
  color: #020617;
}

.contact-card-meta {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 600;
}

.contact-card-text {
  margin: 0;
  font-size: 0.86rem;
  color: #475569;
  font-weight: 500;
}

.contact-card-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 900;
  margin-top: 0.1rem;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.contact-card-link.main-phone {
  color: #020617;
}

.contact-card-link.whatsapp-link {
  color: #25d366;
}

.contact-body {
  padding: 3.2rem 0 4.2rem;
  background-color: #f8fafc;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.4rem;
}

.contact-form-card {
  background-color: #ffffff;
  border-radius: 2.5rem;
  padding: 2.1rem 2.2rem 2.4rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.contact-form-header h2 {
  margin: 0 0 0.4rem;
  font-size: 2rem;
  font-weight: 800;
  color: #020617;
}

.contact-form-header p {
  margin: 0 0 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.contact-aside {
  display: grid;
  gap: 1.5rem;
  align-content: flex-start;
}

.contact-info-card {
  background-color: #ffffff;
  border-radius: 2.1rem;
  padding: 1.9rem 1.9rem 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.contact-info-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #020617;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info-card h2 .material-symbols-outlined {
  color: var(--primary);
}

.contact-info-card p {
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  color: #475569;
  font-weight: 500;
}

.contact-info-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.info-pill {
  padding: 0.7rem 0.9rem;
  border-radius: 1.1rem;
}

.info-pill.primary {
  background-color: rgba(19, 127, 236, 0.06);
}

.info-pill.teal {
  background-color: rgba(20, 184, 166, 0.06);
}

.pill-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.pill-value {
  font-size: 0.86rem;
  font-weight: 700;
  color: #020617;
}

.contact-home-collection {
  background-color: var(--primary);
  border-radius: 2.1rem;
  padding: 1.7rem 1.9rem 1.9rem;
  color: #e0f2fe;
  box-shadow: 0 20px 50px rgba(19, 127, 236, 0.5);
}

.home-collection-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.home-collection-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.contact-home-collection p {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: #dbeafe;
}

.home-collection-btn {
  background-color: #ffffff;
  border-radius: 1.4rem;
  padding-inline: 1.6rem;
  padding-block: 0.7rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.home-collection-btn .material-symbols-outlined {
  font-size: 18px;
}

.contact-map {
  background-color: #ffffff;
}

.map-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 420px;
  overflow: hidden;
}

.map-frame iframe {
  max-width: 100%;
  display: block;
}

.contact-map-overlay {
  position: relative;
  margin-top: -5.5rem;
  padding-bottom: 0.8rem;
}

.contact-map-card {
  max-width: 320px;
  background-color: #ffffff;
  border-radius: 1.8rem;
  padding: 1.5rem 1.6rem 1.6rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
}

.contact-map-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #020617;
}

.contact-map-card p {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: #64748b;
}

.contact-cta-band {
  padding: 1.15rem 0 1.35rem;
  background-color: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact-cta-copy h2 {
  margin: 0 0 0.15rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.contact-cta-copy p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #bfdbfe;
}

.contact-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.contact-cta-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 1.25rem;
  padding-inline: 1rem;
  padding-block: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.contact-cta-actions .material-symbols-outlined,
.contact-cta-actions .material-icons,
.contact-cta-actions .cta-facebook-icon,
.contact-cta-actions .cta-instagram-icon,
.contact-cta-actions .cta-whatsapp-icon {
  width: 18px;
  height: 18px;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-cta-call {
  background-color: #ffffff;
  color: var(--primary);
}

.contact-cta-call .material-symbols-outlined {
  font-size: 18px;
}

.contact-cta-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border-color: transparent;
}

.contact-cta-whatsapp .cta-whatsapp-icon,
.contact-cta-whatsapp .contact-cta-whatsapp-text {
  color: inherit;
}

.contact-cta-whatsapp:hover {
  background-color: #128c7e;
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-1px);
}

.contact-cta-whatsapp:hover .cta-whatsapp-icon,
.contact-cta-whatsapp:hover .contact-cta-whatsapp-text {
  color: #ffffff;
}

.contact-cta-actions .cta-facebook-icon {
  fill: #1877f2;
  color: #1877f2;
}

.contact-cta-actions .cta-instagram-icon {
  fill: #e4405f;
  color: #e4405f;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .header-inner {
    gap: 0.75rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .packages-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Tablet & below: hamburger menu, stacked sections */
@media (max-width: 768px) {
  .header-nav {
    justify-content: flex-end;
  }

  .header-right {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem clamp(1rem, 4vw, 1.5rem) 1rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.26s ease-in-out, opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 40;
  }

  .nav-menu.is-open {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.4rem;
    min-height: 44px;
  }

  .nav-call-wrap {
    display: block;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
    width: 100%;
    max-width: 100%;
  }

  .hero-image-frame {
    max-width: 100%;
    overflow: hidden;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .journey-grid,
  .mv-grid,
  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .branch-layout,
  .branch-layout-reverse {
    flex-direction: column;
  }

  .journey-stat-card {
    position: static;
    margin-top: 1.2rem;
    max-width: 100%;
  }
}

/* Mobile: single column, full-width buttons, reduced spacing (≤768px) */
@media (max-width: 768px) {
  .container {
    padding-inline: var(--mobile-container-padding);
  }

  /* Prevent grid/flex children from causing horizontal scroll */
  .stats-grid > *,
  .packages-grid > *,
  .blog-grid > *,
  .contact-summary-grid > *,
  .footer-grid > *,
  .test-grid > *,
  .why-grid > * {
    min-width: 0;
  }

  .header-inner {
    height: 72px;
  }

  .header-right {
    gap: 0.4rem;
  }

  .cart-btn span:last-child {
    display: none;
  }

  .hero {
    padding: clamp(2.5rem, 8vw, 3.5rem) 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn,
  .hero-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .packages-grid,
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-header,
  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--mobile-gap);
    margin-bottom: 2rem;
  }

  .section-header.center {
    align-items: center;
    text-align: center;
  }

  /* Full-width buttons and CTAs on mobile */
  .section-header .secondary-chip,
  .packages-header .secondary-chip,
  .blog-header .link-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .package-card .small-btn,
  .package-footer .primary-btn {
    width: 100%;
    justify-content: center;
  }

  /* Responsive images: prevent overflow */
  .hero-image,
  .hero-image-frame img,
  .blog-image,
  .branch-media img,
  .journey-image,
  .about-hero-media img,
  .testimonial-avatar {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Testimonials: vertical stack, one by one, full width, no row flex */
  .testimonials {
    padding: 3rem 0;
    overflow-x: hidden;
  }

  .testimonial-slider {
    padding: 0 1rem;
    overflow-x: hidden;
  }

  .testimonial-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 1rem;
    transition: none;
    transform: none !important;
  }

  .testimonial-track[data-slide="0"],
  .testimonial-track[data-slide="1"] {
    transform: none !important;
  }

  .testimonial-slide {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    gap: 1.25rem;
    padding: 0;
    min-width: 0;
  }

  .testimonial-slide + .testimonial-slide {
    margin-top: 1.5rem;
  }

  .testimonial-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1.5rem 1.25rem;
    margin-bottom: 0;
    box-sizing: border-box;
  }

  .testimonial-slide .testimonial-card:not(:last-child) {
    margin-bottom: 0;
  }

  .testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .testimonial-nav {
    margin-top: 1.5rem;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .testimonial-prev,
  .testimonial-next {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }

  .testimonial-dots {
    justify-content: center;
  }

  .testimonial-dot {
    min-width: 12px;
    min-height: 12px;
  }

  /* Contact page – mobile: one card per row, full width, no horizontal flex */
  .contact-hero {
    padding: 3rem 0 3.5rem;
  }

  .contact-hero-title {
    font-size: 1.65rem;
  }

  .contact-hero-subtitle {
    font-size: 0.95rem;
  }

  .contact-summary {
    padding: 1.25rem 0 2rem;
    margin-top: -1rem;
    overflow-x: hidden;
  }

  .contact-summary-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contact-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1.5rem 1.25rem;
    box-sizing: border-box;
  }

  .contact-card-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .contact-body {
    padding: 2rem 0 3rem;
    overflow-x: hidden;
  }

  .contact-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .contact-form-header h2 {
    font-size: 1.5rem;
  }

  .contact-form-header p {
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
  }

  .contact-form .booking-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-info-card {
    padding: 1.5rem 1.25rem;
  }

  .contact-info-card h2 {
    font-size: 1.15rem;
  }

  .contact-info-badges {
    flex-direction: column;
  }

  .contact-home-collection {
    padding: 1.4rem 1.25rem;
  }

  .home-collection-header h2 {
    font-size: 1.1rem;
  }

  .home-collection-btn {
    min-height: 44px;
    width: 100%;
    justify-content: center;
  }

  .contact-map .map-frame {
    height: 280px;
  }

  .contact-map-overlay {
    margin-top: -3rem;
  }

  .contact-map-card {
    max-width: 100%;
    padding: 1.25rem 1.25rem 1.35rem;
  }

  .contact-map-card a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .contact-cta-band {
    padding: 1.25rem 0;
  }

  .contact-cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
  }

  .contact-cta-copy h2 {
    font-size: 1.1rem;
  }

  .contact-cta-copy p {
    font-size: 0.8rem;
  }

  .contact-cta-actions {
    justify-content: center;
    gap: 0.6rem;
  }

  .contact-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .contact-cta-actions a {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding-inline: 1rem;
    padding-block: 0.65rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-contact-item {
    min-width: 0;
    flex-wrap: wrap;
  }

  .footer-contact-item span:last-child {
    word-break: break-word;
    min-width: 0;
    flex: 1 1 auto;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1.2rem;
  }

  .about-hero {
    height: auto;
    padding: 3.5rem 0 3.2rem;
  }

  .about-journey {
    padding: 2.5rem 0 3rem;
  }

  .journey-title {
    font-size: 1.65rem;
  }

  .mission-vision {
    padding: 3rem 0;
  }

  .why-choose {
    padding: 3rem 0;
  }

  .about-cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }

  .about-cta-copy h2 {
    font-size: 1.5rem;
  }

  .about-cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .about-cta-actions .primary-btn,
  .about-cta-actions .secondary-btn {
    width: 100%;
    justify-content: center;
  }

  /* Lab locations: stack vertically, image first then contact details */
  .branch-section,
  .branch-section-alt {
    overflow-x: hidden;
  }

  .branch-card {
    overflow-x: hidden;
  }

  .branch-layout,
  .branch-layout-reverse {
    flex-direction: column;
    display: flex;
  }

  .branch-layout .branch-media,
  .branch-layout-reverse .branch-media {
    order: 1;
  }

  .branch-layout .branch-copy,
  .branch-layout-reverse .branch-copy {
    order: 2;
  }

  .branch-media {
    min-height: 220px;
    flex: 1 1 auto;
    width: 100%;
  }

  .branch-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .branch-copy {
    padding: 1.75rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }
  .branch-map-frame {
    height: 280px;
    margin-top: 1rem;
  }

  .branch-copy h2 {
    font-size: 1.5rem;
  }

  .branch-actions {
    flex-direction: column;
  }

  .branch-actions .primary-btn,
  .branch-actions .secondary-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .branch-services ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .branch-detail {
    min-width: 0;
  }

  .branch-detail p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .map-shell {
    height: 220px;
  }

  .locations-hero {
    padding: 3rem 0;
  }

  .locations-hero-title {
    font-size: 1.65rem;
  }

  .locations-hero-subtitle {
    font-size: 0.9rem;
  }

  .partners {
    padding: 3rem 0;
  }

  .partners-inner {
    padding: 2rem 1.25rem;
    gap: 1.75rem;
  }

  .partners-left .primary-btn,
  .partners-right .primary-btn,
  .partner-form button {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .partners-left h2 {
    font-size: 1.5rem;
  }

  .partners-text {
    font-size: 0.95rem;
  }

  .partners-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-hero {
    padding: 3rem 0;
  }

  .book-hero-title {
    font-size: 1.65rem;
  }

  .book-hero-subtitle {
    font-size: 0.9rem;
  }

  .booking-form .booking-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tests-multi-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-column {
    gap: 1rem;
  }

  .packages-book {
    padding: 3rem 0;
  }

  .blog-page .section-header h1 {
    font-size: 1.65rem;
  }

  .blog-list-item .blog-list-content h2 {
    font-size: 1.25rem;
  }

  .blog-single {
    padding: 1.5rem 0 3rem;
  }

  .blog-single-hero h1 {
    font-size: 1.6rem;
  }

  .blog-single-meta {
    gap: 0.75rem;
  }

  .blog-single-cta {
    margin-top: 2rem;
    padding: 1.5rem 1.25rem;
  }

  .blog-single-cta h2 {
    font-size: 1.25rem;
  }

  .blog-single-cta .primary-btn {
    min-height: 44px;
    width: 100%;
    justify-content: center;
  }

  .why-labs {
    padding: 3rem 0;
  }

  .search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .search-results-list li {
    margin-bottom: 0.5rem;
  }

  .search-results-list a {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    min-height: 44px;
  }

  .floating-actions {
    right: calc(1rem + env(safe-area-inset-right));
    bottom: calc(1.2rem + env(safe-area-inset-bottom));
    gap: 0.6rem;
  }

  .floating-action {
    height: 48px;
  }

  .floating-action__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .brand-logo {
    max-height: 42px;
    width: auto;
  }

  .book-tests {
    padding: 3rem 0;
  }

  .book-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .book-header-row h2 {
    font-size: 1.5rem;
  }

  .book-header-row p {
    font-size: 0.9rem;
  }

  .book-header-row .link-btn {
    width: 100%;
    justify-content: center;
  }

  .test-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .test-card {
    padding: 1.4rem 1.25rem;
  }

  .test-card h3 {
    font-size: 0.98rem;
  }

  .test-footer {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .test-btn {
    min-height: 44px;
    padding-inline: 1.25rem;
    padding-block: 0.65rem;
  }

  .booking-section {
    /* Clear fixed WhatsApp + Call so submit and fields stay tappable */
    padding: 3rem 0 calc(5.5rem + env(safe-area-inset-bottom));
  }

  .booking-card {
    padding-inline: 1.25rem;
    padding-block: 1.5rem 1.75rem;
  }

  /* iOS: <16px inputs zoom on focus; keep form usable */
  .booking-form .form-field input,
  .booking-form .form-field textarea,
  .booking-form .form-field select {
    font-size: 16px;
  }

  .link-btn,
  .secondary-chip {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .primary-btn,
  .secondary-btn {
    min-height: 44px;
  }
}

/* Small mobile: tighter padding and spacing */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .header-inner {
    height: 68px;
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  }

  .section-header {
    margin-bottom: 2rem;
    gap: 1rem;
  }

  .section-header h2 {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .stats {
    padding: 2.5rem 0;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-value {
    font-size: clamp(1.75rem, 6vw, 2.4rem);
  }

  .packages,
  .blog,
  .testimonials {
    padding: 2.5rem 0;
  }

  .package-card {
    padding: 1.5rem 1.25rem;
  }

  .footer-grid {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-bottom {
    padding: 1.25rem 1rem;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }

  .floating-actions {
    right: 1rem;
    bottom: 1rem;
  }

  .floating-action {
    height: 48px;
  }

  .floating-action__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }
}

