/* ==========================================================================
   VA GESTÃO E QUALIDADE - DESIGN SYSTEM & STYLES (MOBILE-FIRST)
   Consultoria Especializada para Laboratórios Analíticos e Clínicos
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0a2f54;
  --primary-hover: #07233e;
  --primary-rgb: 10, 47, 84;
  --secondary: #0284c7;
  --secondary-dark: #0369a1;
  --secondary-light: #e0f2fe;
  --accent-teal: #0d9488;
  --accent-gold: #d97706;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #081d33;
  --bg-glass: rgba(255, 255, 255, 0.95);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(10, 47, 84, 0.08), 0 2px 4px -2px rgba(10, 47, 84, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(10, 47, 84, 0.1), 0 4px 6px -4px rgba(10, 47, 84, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(10, 47, 84, 0.12), 0 8px 10px -6px rgba(10, 47, 84, 0.06);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ==========================================================================
   RESET & GLOBAL BASE (Strict Anti-Overflow)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Responsive Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

/* ==========================================================================
   BUTTONS & ACCESSIBLE TOUCH TARGETS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #124d85);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover, .btn-primary:active {
  background: linear-gradient(135deg, #0d3b68, #185ea0);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover, .btn-whatsapp:active {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--primary);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover, .btn-secondary:active {
  border-color: var(--secondary);
  color: var(--secondary);
  background-color: #f0f9ff;
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  line-height: 1.3;
}

.badge-subtle {
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 3.5rem;
  }
}

.section-tag {
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   HEADER & MOBILE NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
  padding-top: env(safe-area-inset-top);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

@media (min-width: 993px) {
  .nav-wrapper {
    height: 80px;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0; /* Prevents flex overflow */
}

.brand-logo img {
  height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .brand-logo img {
    height: 52px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-size: clamp(0.95rem, 3.5vw, 1.25rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  font-size: clamp(0.65rem, 2vw, 0.75rem);
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navigation Drawer (Mobile First) */
.nav-links {
  position: fixed;
  top: 70px;
  left: -100%;
  width: 100%;
  height: calc(100dvh - 70px);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 1.75rem 1.25rem 3rem;
  gap: 0.75rem;
  transition: left var(--transition-normal);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
}

.nav-links.active {
  left: 0;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
  background-color: #f0f9ff;
}

.nav-cta-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.9rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.nav-cta-btn {
  display: none; /* Hidden on mobile by default to prevent header overflow */
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--secondary);
}

/* Desktop Navigation (>= 993px) */
@media (min-width: 993px) {
  .menu-toggle, .nav-cta-mobile {
    display: none;
  }

  .nav-links {
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 1.75rem;
    overflow-y: visible;
  }

  .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0;
    border-bottom: none;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width var(--transition-fast);
  }

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

  .nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--text-white);
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: all var(--transition-normal);
  }

  .nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.06) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(10, 47, 84, 0.04) 0%, transparent 40%),
              linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  overflow: hidden;
}

@media (min-width: 993px) {
  .hero-section {
    padding: 4.5rem 0 5rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 993px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-title {
  font-size: clamp(1.85rem, 5vw + 0.2rem, 3.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.hero-title .highlight {
  color: var(--secondary);
  background: linear-gradient(120deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-quote-box {
  background-color: #f0f7ff;
  border-left: 4px solid var(--secondary);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--primary);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

@media (min-width: 580px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }
  
  .hero-actions .btn {
    width: auto;
  }
}

@media (max-width: 579px) {
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

@media (min-width: 600px) {
  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.stat-item {
  background-color: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

@media (min-width: 600px) {
  .stat-item {
    background: none;
    padding: 0;
    border: none;
  }
}

.stat-item h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Hero Visual (Safe on Mobile) */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.image-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-card);
  border: 4px solid #ffffff;
}

@media (min-width: 993px) {
  .image-frame {
    max-width: 420px;
    box-shadow: var(--shadow-xl);
  }
}

.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 768px) {
  .hero-img {
    height: 480px;
  }
}

/* Badges: In-flow on small screens, floating on desktop */
.floating-badge {
  background: rgba(255, 255, 255, 0.96);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  width: 100%;
  max-width: 320px;
  margin-top: 0.75rem;
}

@media (min-width: 993px) {
  .floating-badge {
    position: absolute;
    width: auto;
    margin-top: 0;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
  }

  .floating-badge.badge-top-left {
    top: 1.5rem;
    left: -1.25rem;
  }

  .floating-badge.badge-bottom-right {
    bottom: 1.5rem;
    right: -1.25rem;
    animation-delay: 2s;
  }
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.badge-content strong {
  display: block;
  font-size: 0.82rem;
  color: var(--primary);
  line-height: 1.2;
}

.badge-content span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

/* ==========================================================================
   NORMS BAR
   ========================================================================== */
.norms-bar {
  background-color: #ffffff;
  padding: 1.5rem 0;
  border-block: 1px solid var(--border-light);
}

.norms-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .norms-bar {
    padding: 2rem 0;
  }
  .norms-container {
    gap: 1.25rem;
  }
}

.norm-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.norm-chip i {
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.norm-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 700;
}

.norm-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.3;
}

/* ==========================================================================
   ABOUT VIVIANE ALMEIDA
   ========================================================================== */
.about-section {
  padding: 3.5rem 0;
  background-color: #ffffff;
}

@media (min-width: 993px) {
  .about-section {
    padding: 6rem 0;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 993px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

.about-card-banner {
  background: linear-gradient(145deg, #f0f7ff, #e2effd);
  padding: 0.85rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid #d0e3fa;
}

@media (min-width: 768px) {
  .about-card-banner {
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
  }
}

.about-card-banner img {
  border-radius: var(--radius-md);
  width: 100%;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.6;
}

.about-paragraphs p {
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.credentials-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-block: 0.5rem;
}

@media (min-width: 640px) {
  .credentials-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem;
  background-color: var(--bg-main);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--secondary);
}

.cred-item i {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.cred-item div strong {
  font-size: 0.88rem;
  color: var(--primary);
  display: block;
}

.cred-item div span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .mission-vision-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.mv-card {
  padding: 1.25rem;
  background-color: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.mv-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.mv-card h4 i {
  color: var(--secondary);
}

.mv-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   SERVICES GRID (9 ESSENTIAL MODULES)
   ========================================================================== */
.services-section {
  padding: 3.5rem 0;
  background-color: var(--bg-main);
}

@media (min-width: 993px) {
  .services-section {
    padding: 6rem 0;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .services-grid {
    gap: 1.75rem;
  }
}

.service-card {
  background-color: var(--bg-card);
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .service-card {
    padding: 2.25rem 2rem;
  }
}

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: #f0f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-deliverables {
  list-style: none;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.service-deliverables li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.service-deliverables li i {
  color: var(--accent-teal);
  font-size: 0.72rem;
  flex-shrink: 0;
}

.service-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  min-height: 44px;
}

/* ==========================================================================
   RDC 978 SPOTLIGHT
   ========================================================================== */
.rdc-spotlight-section {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0c3660 100%);
  color: #ffffff;
}

@media (min-width: 993px) {
  .rdc-spotlight-section {
    padding: 6rem 0;
  }
}

.rdc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 993px) {
  .rdc-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.rdc-content h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.rdc-content .rdc-intro {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.rdc-requirements-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rdc-req-item {
  display: flex;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.07);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rdc-req-item i {
  font-size: 1.3rem;
  color: #38bdf8;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.rdc-req-item strong {
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.2rem;
  color: #f8fafc;
}

.rdc-req-item p {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
}

.rdc-card-preview {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  width: 100%;
}

.rdc-card-preview img {
  border-radius: var(--radius-md);
  width: 100%;
}

/* ==========================================================================
   INTERACTIVE LAB DIAGNOSTIC
   ========================================================================== */
.diagnostic-section {
  padding: 3.5rem 0;
  background-color: #ffffff;
}

@media (min-width: 993px) {
  .diagnostic-section {
    padding: 6rem 0;
  }
}

.diagnostic-wrapper {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .diagnostic-wrapper {
    padding: 3.5rem 2.5rem;
    box-shadow: var(--shadow-lg);
  }
}

.needs-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0.85rem;
  margin: 1.75rem 0;
}

.need-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  background-color: #ffffff;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  min-height: 48px;
}

.need-checkbox-label.checked {
  border-color: var(--secondary);
  background-color: #f0f9ff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.need-checkbox-label input {
  width: 22px;
  height: 22px;
  accent-color: var(--secondary);
  cursor: pointer;
  flex-shrink: 0;
}

.need-checkbox-label span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
}

.diagnostic-action {
  text-align: center;
  padding-top: 0.5rem;
}

.btn-diagnostic {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  line-height: 1.4;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 3.5rem 0;
  background-color: var(--bg-main);
}

@media (min-width: 993px) {
  .contact-section {
    padding: 6rem 0;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 993px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  min-height: 48px;
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.channel-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: #ffffff;
}

.channel-icon.whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.channel-icon.email {
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
}

.channel-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

.channel-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-form-wrapper {
  background-color: var(--bg-card);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  min-height: 48px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-group textarea {
  min-height: 110px;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}

@media (min-width: 993px) {
  .site-footer {
    padding: 4.5rem 0 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
  }
}

.footer-brand h4 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 360px;
}

.footer-col h5 {
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: center;
  font-size: 0.82rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Optimized Mobile vs Desktop)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
}

.floating-whatsapp span {
  display: none;
}

.floating-whatsapp i {
  font-size: 1.6rem;
}

@media (min-width: 768px) {
  .floating-whatsapp {
    width: auto;
    height: auto;
    padding: 0.85rem 1.4rem;
    gap: 0.65rem;
    font-weight: 700;
    font-size: 0.95rem;
    bottom: 2rem;
    right: 2rem;
  }

  .floating-whatsapp span {
    display: inline;
  }
}

.floating-whatsapp:hover, .floating-whatsapp:active {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}
