/* ============================================
   Corporaci�n Vitalmed - Estilos
   Colores: Azul (#1e3a5f), Verde (#2d9f6e), Blanco
   ============================================ */

:root {
  --blue-900: #0f2640;
  --blue-800: #1e3a5f;
  --blue-700: #2c5282;
  --blue-600: #3b6ba4;
  --blue-50: #eef4fb;

  --green-600: #2d9f6e;
  --green-500: #38b983;
  --green-400: #5ccc9a;
  --green-50: #e8f8f1;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}

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

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

/* ========== HEADER ========== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,0.98);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.header__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.header__logo-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-800);
}

.header__logo-text strong { color: var(--green-600); }

.header__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  margin-left: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.header__wa:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
}

/* Navigation */
.nav__list { display: flex; gap: 28px; align-items: center; }

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-500);
  transition: width 0.3s;
}

.nav__link:hover, .nav__link.active { color: var(--blue-800); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

/* Dropdown */
.nav__dropdown { position: relative; }

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  border: 1px solid var(--gray-100);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 6px;
  transition: all 0.15s;
}

.nav__dropdown-link:hover {
  background: var(--blue-50);
  color: var(--blue-800);
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-800);
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO ========== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--green-50) 100%);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-600);
  background: rgba(45, 159, 110, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--blue-900);
  margin-bottom: 20px;
}

.hero__title--highlight {
  background: linear-gradient(135deg, var(--green-500), var(--blue-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--blue-800);
  color: var(--white);
  border-color: var(--blue-800);
}

.btn--primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--green-600);
  border-color: var(--green-600);
}

.btn--outline:hover {
  background: var(--green-600);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ========== HERO VISUAL ========== */

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
}

.hero__shape--1 {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(30,58,95,0.12), rgba(45,159,110,0.12));
  animation: float 6s ease-in-out infinite;
}

.hero__shape--2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(45,159,110,0.15), rgba(30,58,95,0.08));
  top: 60px;
  right: 20px;
  animation: float 8s ease-in-out infinite reverse;
}

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

.hero__brands-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.hero__brand-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  padding: 8px 18px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  height: 44px;
}

.hero__brand-pill img {
  max-height: 24px;
  width: auto;
  object-fit: contain;
  filter: saturate(0.8);
  transition: filter 0.3s;
}

.hero__brand-pill:hover img {
  filter: saturate(1);
}

/* ========== BRANDS LOGOS STRIP ========== */

.brands-logos {
  padding: 32px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.brands-logos__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.brands-logos__label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  white-space: nowrap;
}

.brands-logos__row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

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

.brands-logos__img {
  max-height: 44px;
  width: auto;
  filter: grayscale(1) opacity(0.5);
  transition: all 0.3s;
}

.brands-logos__item:hover .brands-logos__img {
  filter: grayscale(0) opacity(1);
}

.brands-logos__logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}

.brands-logos__logo--encode { color: #e67e22; }

/* ========== SECTION GENERAL ========== */

.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--gray-50);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section__badge {
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-600);
  background: rgba(45, 159, 110, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========== GRID ========== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ========== CARDS ========== */

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gray-200);
}

.card--icon { text-align: center; }

.card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-50), var(--green-50));
  color: var(--blue-800);
  margin: 0 auto 20px;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 12px;
}

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

/* ========== BRANDS ========== */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.brand-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
}

.brand-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.brand-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.brand-card__logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-card__logo--encode { color: #e67e22; }

.brand-card__logo-img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  background: var(--gray-50);
  padding: 6px 12px;
  border-radius: 6px;
}

.brand-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--blue-50);
  color: var(--blue-700);
}

.brand-card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========== TABS ========== */

.tabs__nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0;
}

.tabs__btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.tabs__btn:hover { color: var(--blue-700); }

.tabs__btn.active {
  color: var(--blue-800);
  border-bottom-color: var(--green-500);
  background: rgba(45, 159, 110, 0.05);
}

.tabs__content { display: none; }

.tabs__content.active { display: block; }

/* ========== PRODUCT LIST ========== */

.product-list {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-list__header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 14px 20px;
  background: var(--blue-800);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-list__item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 12px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.2s;
}

.product-list__item:last-child { border-bottom: none; }

.product-list__item:nth-child(even) { background: var(--gray-50); }

.product-list__item:hover { background: var(--blue-50); }

.product-list__item span:last-child,
.product-list__header span:last-child {
  text-align: right;
  min-width: 80px;
}

.product-list__more {
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  color: var(--gray-500);
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

/* ========== CLIENTS SCROLL ========== */

.clients-scroll {
  overflow: hidden;
  padding: 20px 0;
}

.clients-scroll__track {
  display: flex;
  gap: 32px;
  animation: scrollClients 24s linear infinite;
  width: fit-content;
}

.clients-scroll__item {
  flex-shrink: 0;
  padding: 16px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== CONTACT ========== */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.2s;
}

.contact__card:hover { box-shadow: var(--shadow-sm); }

.contact__card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-50), var(--green-50));
  color: var(--blue-800);
}

.contact__card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact__card p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
}

.contact__card a {
  color: var(--blue-800);
  font-weight: 600;
}

.contact__card a:hover { color: var(--green-600); }

.contact__info .btn--primary { margin-top: 8px; }

/* ========== FORM ========== */

.contact__form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.form__group { margin-bottom: 20px; }

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form__input {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border 0.2s;
  background: var(--white);
}

.form__input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(45, 159, 110, 0.1);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========== WHATSAPP FLOATING ========== */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all 0.3s;
  animation: pulseWa 2s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

@keyframes pulseWa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.6); }
}

/* ========== FOOTER ========== */

.footer {
  background: var(--blue-900);
  color: var(--gray-400);
  padding: 48px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.footer__brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.footer__brand-name strong { color: var(--green-400); }

.footer__text {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer__title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--green-400); }

.footer__bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
}

/* ========== TOAST ========== */

.toast {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: var(--green-600);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */

/* ========== EQUIPMENT ========== */
.equipment__card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.equipment__image {
  flex: 0 0 320px;
  max-width: 320px;
}

.equipment__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.equipment__info { flex: 1; }

.equipment__tag {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.equipment__title {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 2px;
  line-height: 1.3;
}

.equipment__brand {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.equipment__desc {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.equipment__specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.equipment__spec {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.equipment__spec svg {
  flex-shrink: 0;
  color: var(--green-600);
}

.equipment__tests { margin-bottom: 24px; }

.equipment__tests-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.equipment__tests-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.equipment__test-tag {
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

.equipment__info .btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 24px;
    transform: translateY(-110%);
    transition: transform 0.3s;
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    transform: translateY(0);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 16px;
  }

  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 8px 0 0 16px;
  }

  .header__menu-btn { display: flex; }
  .header__wa { margin-left: 8px; }

  .header__menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .header__menu-btn.active span:nth-child(2) { opacity: 0; }
  .header__menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { height: 280px; }
  .hero__shape--1 { width: 240px; height: 240px; }
  .hero__shape--2 { width: 140px; height: 140px; }

  .brands-logos__inner { flex-direction: column; gap: 16px; align-items: flex-start; }

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

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

  .tabs__nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .tabs__btn { white-space: nowrap; }

  .equipment__card {
    flex-direction: column;
    gap: 28px;
  }

  .equipment__tests-grid { gap: 6px; }

  .equipment__test-tag { font-size: 0.78rem; padding: 4px 10px; }

  .product-list__header,
  .product-list__item {
    grid-template-columns: 1fr auto;
    font-size: 0.85rem;
  }

  .product-list__header span:nth-child(2),
  .product-list__item span:nth-child(2) { display: none; }

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

  .section { padding: 60px 0; }

  .section__header { margin-bottom: 40px; }

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

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .tabs__btn { font-size: 0.78rem; padding: 10px 14px; }

  .contact__form { padding: 20px; }

  .brands-logos__row { gap: 12px; }
  .brands-logos__logo { font-size: 1rem; padding: 6px 14px; }
}
