/*
Theme Name: BioTest Laboratorios
Theme URI: https://biotest.com
Author: BioTest
Description: Tema profesional para BioTest Laboratorios de Análisis Clínicos
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display&display=swap');

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

:root {
  --navy: #0B1F4E;
  --navy-mid: #1a3580;
  --navy-accent: #4A90E2;
  --navy-light: #E8EDF8;
  --white: #ffffff;
  --gray: #6b7a99;
  --gray-light: #f4f6fb;
  --border: #e2e8f5;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(11,31,78,0.3);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box svg { width: 26px; height: 26px; }

.logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: white;
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 9px;
  color: #8fa4d8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: #c5d0ef;
  transition: color 0.2s;
}

.nav-links a:hover { color: white; }

.nav-cta {
  background: var(--navy-accent);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-cta:hover { background: #3a80d2; }

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.hero-left {
  background: var(--navy);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(74,144,226,0.15) 0%, transparent 70%);
  top: -50px;
  right: -50px;
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74,144,226,0.15);
  border: 1px solid rgba(74,144,226,0.3);
  color: #7eb8f7;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  width: fit-content;
}

.hero-h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 38px;
  color: white;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-p {
  font-size: 15px;
  color: #8fa4d8;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 380px;
}

.hero-btns {
  display: flex;
  gap: 12px;
}

.btn-primary {
  background: var(--navy-accent);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover { background: #3a80d2; }

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s;
}

.btn-outline:hover { border-color: rgba(255,255,255,0.5); }

.hero-right {
  background: var(--gray-light);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.hero-card-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.study-row {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  gap: 10px;
  transition: box-shadow 0.2s;
}

.study-row:hover { box-shadow: 0 4px 16px rgba(11,31,78,0.08); }

.study-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.study-name { font-size: 13px; color: #333; flex: 1; }

.study-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy-accent);
}

.stat-item {
  padding: 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  color: white;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* ===== SERVICES ===== */
.services {
  padding: 72px 80px;
  background: white;
}

.sec-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.sec-title {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  background: white;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(11,31,78,0.10);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.service-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.service-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.service-price {
  font-size: 13px;
  color: var(--navy-accent);
  font-weight: 600;
  margin-top: 14px;
}

/* ===== STEPS ===== */
.steps-section {
  padding: 72px 80px;
  background: var(--gray-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.step-card {
  background: white;
  border-radius: 14px;
  padding: 24px 20px;
  border: 1px solid var(--border);
}

.step-n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-t {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-d {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
  background: var(--navy);
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}

.cta-left p {
  font-size: 15px;
  color: #8fa4d8;
  line-height: 1.8;
}

.contact-pills {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 16px 20px;
  transition: background 0.2s;
}

.contact-pill:hover { background: rgba(255,255,255,0.10); }

.pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(74,144,226,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.pill-label {
  font-size: 11px;
  color: #8fa4d8;
  margin-bottom: 2px;
}

.pill-val {
  font-size: 15px;
  font-weight: 600;
  color: white;
}

/* ===== FOOTER ===== */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background: #071438;
}

.footer p { font-size: 12px; color: #5a6f9a; }

.footer-links { display: flex; gap: 20px; }

.footer-links a {
  font-size: 12px;
  color: #5a6f9a;
  transition: color 0.2s;
}

.footer-links a:hover { color: #8fa4d8; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 40px 24px; }
  .hero-h1 { font-size: 28px; }
  .hero-right { padding: 32px 24px; }
  .services { padding: 48px 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-section { padding: 48px 24px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
  .footer { flex-direction: column; gap: 12px; padding: 20px 24px; text-align: center; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
