/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0d7c66;
  --primary-dark: #095c4b;
  --primary-light: #10a37f;
  --secondary: #f0a500;
  --secondary-light: #ffc247;
  --accent: #e74c3c;
  --dark: #1a1a2e;
  --dark-light: #16213e;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --shadow: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-sm: 0 4px 15px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
  line-height: 1.7;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__logo-img {
  height: 65px;
  width: auto;
  transition: var(--transition);
  filter: brightness(0) invert(1); /* Assuming the logo is dark and needs to be white on transparent header */
}

.navbar.scrolled .navbar__logo-img { 
  transform: scale(0.9);
  filter: none; /* Return to original colors when scrolled (white bg) */
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__link {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
}

.navbar.scrolled .navbar__link { color: var(--dark); }

.navbar__link:hover,
.navbar__link.active {
  background: var(--primary);
  color: var(--white) !important;
}

.navbar__cta {
  padding: 10px 24px;
  background: var(--secondary);
  color: var(--dark) !important;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.navbar__cta:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,165,0,0.4);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.navbar__toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.navbar.scrolled .navbar__toggle span { background: var(--dark); }

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,124,102,0.85) 0%, rgba(26,26,46,0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide__content {
  text-align: center;
  color: var(--white);
  max-width: 700px;
  padding: 0 20px;
  animation: fadeInUp 1s ease forwards;
}

.slide__badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.slide__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.slide__text {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.6;
}

.slide__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--secondary);
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.slide__btn:hover {
  background: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(240,165,0,0.4);
}

/* Slider Controls */
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.slider__btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.slider__btn--prev { left: 30px; }
.slider__btn--next { right: 30px; }

.slider__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.slider__dot.active {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.3);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section--gray { background: var(--gray-light); }
.section--dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(13,124,102,0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section--dark .section__badge {
  background: rgba(240,165,0,0.15);
  color: var(--secondary);
}

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section__subtitle { color: rgba(255,255,255,0.7); }

/* ===== SERVICE CARDS ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13,124,102,0.1), rgba(16,163,127,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  transform: scale(1.1);
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

/* URGENCY CARD SPECIAL */
.service-card--urgent { border-left: 4px solid var(--accent); }
.service-card--urgent .service-card__icon {
  background: linear-gradient(135deg, rgba(231,76,60,0.1), rgba(231,76,60,0.05));
  color: var(--accent);
}
.service-card--urgent:hover .service-card__icon {
  background: linear-gradient(135deg, var(--accent), #c0392b);
  color: var(--white);
}

/* ===== EXPERT PROFILE ===== */
.expert-profile {
  display: flex;
  align-items: center;
  gap: 50px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.expert-profile__image {
  flex: 0 0 350px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.expert-profile__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
  pointer-events: none;
}

.expert-profile__content {
  flex: 1;
}

.expert-profile__name {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.expert-profile__role {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.expert-profile__text p {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.expert-profile__text strong {
  color: var(--dark);
}

/* ===== LAB SECTION ===== */
.lab__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lab__content { padding-right: 20px; }

.lab__title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--white);
}

.lab__text {
  color: rgba(255,255,255,0.75);
  margin-bottom: 30px;
  font-size: 1rem;
}

.lab__exams { display: flex; flex-direction: column; gap: 20px; }

.lab-exam {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.lab-exam:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(8px);
}

.lab-exam__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.lab-exam__title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.lab-exam__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.lab__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lab__illustration {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.lab__illustration-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  display: block;
}

.lab__illustration-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.lab__illustration-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* ===== ABOUT / NOSOTROS ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about__stats {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  display: flex;
  background: rgba(13,124,102,0.9);
  backdrop-filter: blur(10px);
}

.about__stat {
  flex: 1;
  text-align: center;
  padding: 18px;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
}

.about__stat:last-child { border-right: none; }

.about__stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
}

.about__stat-label {
  font-size: 0.75rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about__content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 16px;
}

.about__content p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.about__feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(13,124,102,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ===== LAB B2B SECTION ===== */
.lab-b2b__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lab-b2b__exams {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.lab-b2b__exam-card {
  flex: 1;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.lab-b2b__exam-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.lab-b2b__exam-card i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.lab-b2b__exam-card h4 {
  font-size: 0.95rem;
  color: var(--dark);
}

.lab-b2b__machines {
  display: flex;
  gap: 30px;
}

.lab-b2b__machine {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.lab-b2b__machine img {
  max-width: 100%;
  height: 250px;
  object-fit: contain;
  margin-bottom: 15px;
}

.lab-b2b__machine-label {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-info__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-info__value {
  font-weight: 600;
  font-size: 1rem;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 350px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand-text {
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer .navbar__logo-img {
  filter: brightness(0) invert(1); /* Ensure it's white on the dark footer */
}

.footer__title {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer__links li { margin-bottom: 10px; }

.footer__links a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--secondary);
  padding-left: 6px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: bounce 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  background: var(--white);
  color: var(--dark);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CHATBOT JUANITO ===== */
.chatbot {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
}

.chatbot__toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

.chatbot__toggle:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.chatbot__tooltip {
  position: absolute;
  left: 75px;
  background: var(--white);
  color: var(--dark);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.chatbot__toggle:hover .chatbot__tooltip {
  opacity: 1;
  transform: translateX(0);
}

.chatbot__window {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 320px;
  height: 450px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: var(--transition);
  transform-origin: bottom left;
}

.chatbot__window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chatbot__header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot__header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot__header-info i {
  font-size: 1.5rem;
  background: rgba(255,255,255,0.2);
  padding: 8px;
  border-radius: 50%;
}

.chatbot__close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.chatbot__close:hover { opacity: 1; }

.chatbot__messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #f4f6f9;
}

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: fadeIn 0.3s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.chat-msg--bot {
  background: var(--white);
  color: var(--gray);
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow-sm);
}

.chat-msg--user {
  background: var(--primary);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.chatbot__options {
  padding: 15px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-btn {
  background: rgba(13,124,102,0.1);
  color: var(--primary);
  border: 1px solid transparent;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.chat-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  }

  .navbar__menu.active { right: 0; }

  .navbar__link {
    color: var(--dark) !important;
    width: 100%;
    text-align: center;
  }

  .navbar__toggle { display: flex; }

  .lab__wrapper,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .expert-profile {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }

  .expert-profile__image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
  }

  .lab-b2b__grid { grid-template-columns: 1fr; }
  .lab-b2b__exams { flex-direction: column; }
  .lab-b2b__machines { flex-direction: column; }
  
  .chatbot__window {
    width: calc(100vw - 60px);
  }

  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .slider__btn { display: none; }

  .about__features { grid-template-columns: 1fr; }

  .about__stats { flex-direction: column; }
  .about__stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 12px; }
  .about__stat:last-child { border-bottom: none; }
}
