/* ============================================
   WELLNESS 21 — GLOBAL STYLES
   Nutricionista en Bogotá
   ============================================ */

:root {
  /* Paleta extraída del logo */
  --color-primary: #0F4C5C;
  --color-primary-dark: #0A3540;
  --color-primary-light: #1A6B7E;
  --color-accent: #14B8C9;
  --color-accent-dark: #0FA0B0;
  --color-accent-light: #5CD4E0;
  --color-wellness: #5FB873;
  --color-wellness-dark: #2D7A4F;

  /* Neutros */
  --color-white: #FFFFFF;
  --color-bg-soft: #F6FAFB;
  --color-bg-section: #EDF6F8;
  --color-border: #E2EBEE;
  --color-text: #2C3E45;
  --color-text-muted: #6B7B82;
  --color-text-light: #9AA8AE;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(15, 76, 92, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 76, 92, 0.10);
  --shadow-lg: 0 16px 40px rgba(15, 76, 92, 0.14);

  /* Tipografía */
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing y radios */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Layout */
  --container-max: 1200px;
  --section-py: clamp(60px, 8vw, 100px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { color: var(--color-text); }

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

section { padding: var(--section-py) 0; }

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(20, 184, 201, 0.32);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 184, 201, 0.42);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #1FAE54;
  transform: translateY(-2px);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.btn-block { width: 100%; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.navbar-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}
.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar-brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
}
.navbar-brand-tag {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.navbar-menu a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.navbar-menu a:hover { color: var(--color-accent-dark); }

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-cta .btn { padding: 12px 22px; font-size: 0.92rem; }

.navbar-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.navbar-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .navbar-menu, .navbar-cta { display: none; }
  .navbar-toggle { display: inline-flex; }

  .navbar.open .navbar-menu,
  .navbar.open .navbar-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    background: var(--color-white);
    padding: 12px 24px 24px;
    border-top: 1px solid var(--color-border);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-md);
  }
  .navbar.open .navbar-menu li { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
  .navbar.open .navbar-cta { padding-top: 16px; }
  .navbar.open .navbar-cta .btn { width: 100%; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand-row { display: flex; align-items: center; gap: 14px; }
.footer-brand-row img {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #000;
  object-fit: cover;
}
.footer-brand-name {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
}
.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--color-accent-light); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent-light);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--color-white);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.4;
  animation: pulseRing 2s infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.5; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb {
  background: var(--color-bg-soft);
  padding: 16px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--color-text-muted); }
.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--color-text-light);
  margin-left: 8px;
}
.breadcrumb a { color: var(--color-accent-dark); font-weight: 500; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li:last-child { color: var(--color-primary); font-weight: 600; }

/* ============================================
   HERO (compartido)
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #F6FAFB 0%, #EDF6F8 60%, #DDF0F3 100%);
  padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 201, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 184, 115, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 201, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(20, 184, 201, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-wellness);
  box-shadow: 0 0 0 4px rgba(95, 184, 115, 0.25);
}
.hero h1 { margin-bottom: 22px; }
.hero-subtitle {
  font-size: 1.12rem;
  color: var(--color-text);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(15, 76, 92, 0.12);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-trust-item .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.hero-trust-item .icon svg { width: 20px; height: 20px; }
.hero-trust-item strong {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}
.hero-trust-item span { font-size: 0.82rem; color: var(--color-text-muted); }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg-section);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-badge {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.hero-image-badge .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-wellness));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}
.hero-image-badge .icon svg { width: 22px; height: 22px; }
.hero-image-badge strong {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  display: block;
}
.hero-image-badge span { font-size: 0.82rem; color: var(--color-text-muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { aspect-ratio: 16/12; max-width: 540px; margin: 0 auto; }
}

/* ============================================
   TARJETAS DE SERVICIO / CATEGORÍA
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card-service {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-service-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--color-bg-section);
}
.card-service-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-service:hover .card-service-image img { transform: scale(1.06); }
.card-service-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.card-service-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-service-body h3, .card-service-body h2 { margin-bottom: 14px; font-size: 1.4rem; }
.card-service-body h3 a, .card-service-body h2 a { color: var(--color-primary); }
.card-service-body h3 a:hover, .card-service-body h2 a:hover { color: var(--color-accent-dark); }
.card-service-body p {
  color: var(--color-text-muted);
  font-size: 0.96rem;
  margin-bottom: 22px;
  flex: 1;
}
.card-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  align-self: flex-start;
}
.card-service-link::after {
  content: "→";
  transition: transform 0.2s ease;
}
.card-service-link:hover::after { transform: translateX(4px); }

/* SECCIÓN INTRO */
.section-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--color-accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-intro h2 { margin-bottom: 18px; }
.section-intro p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* SECCIÓN ALTERNA */
.section-soft { background: var(--color-bg-soft); }

/* ============================================
   PROCESO / PASOS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.process-step {
  text-align: left;
  position: relative;
  padding-top: 12px;
}
.process-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(20, 184, 201, 0.3);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 184, 201, 0.4);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item-content {
  padding: 0 26px 26px;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ============================================
   ZONAS DE COBERTURA
   ============================================ */
.zonas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}
.zona-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  font-size: 0.9rem;
  color: var(--color-primary);
  text-align: center;
  font-weight: 500;
  transition: all 0.2s ease;
}
.zona-item:hover {
  border-color: var(--color-accent);
  background: rgba(20, 184, 201, 0.06);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 201, 0.32) 0%, transparent 70%);
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 184, 115, 0.22) 0%, transparent 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--color-white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); font-size: 1.08rem; margin-bottom: 28px; }
.cta-banner .btn-secondary { color: var(--color-white); border-color: rgba(255, 255, 255, 0.5); }
.cta-banner .btn-secondary:hover { background: var(--color-white); color: var(--color-primary); border-color: var(--color-white); }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================
   MAPA
   ============================================ */
.map-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-bg-section);
}
.map-block iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}
@media (max-width: 600px) {
  .map-block iframe { height: 360px; }
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
