/* =========================================
   INBIOTECH — Shared Base Styles
   ========================================= */

/* 1. Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* 2. CSS Variables */
:root {
  --dark:         #212221;
  --teal:         #00B089;
  --teal-hover:   #009B79;
  --teal-dim:     rgba(0, 176, 137, 0.09);
  --teal-light:   #E6F7F3;
  --white:        #FFFFFF;
  --bg-alt:       #F7F7F5;
  --bg-dark:      #212221;
  --gray:         #6B6B6B;
  --gray-light:   #ADADAD;
  --border:       rgba(33, 34, 33, 0.08);
  --font:         'DM Sans', sans-serif;
  --radius-sm:    8px;
  --radius:       16px;
  --radius-lg:    24px;
  --radius-pill:  100px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-hover: 0 20px 56px rgba(0,0,0,0.12), 0 6px 20px rgba(0,0,0,0.06);
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:        1200px;
  --pad-x:        1.25rem;
}

/* 3. Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-inline: var(--pad-x);
  max-width: var(--max-w);
  margin-inline: auto;
}

.nav__logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.nav__logo-text span {
  color: var(--teal);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

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

.btn--primary:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 176, 137, 0.38);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: rgba(33,34,33,0.18);
}

.btn--outline:hover {
  border-color: var(--dark);
  background: rgba(33,34,33,0.04);
}

.btn__arrow {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* =========================================
   HERO — full-width, white background
   ========================================= */
.hero {
  background: var(--white);
  padding-top: 64px; /* clear fixed nav */
}

.hero__content {
  padding-top: 120px;
  padding-bottom: 60px;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-dim);
  color: var(--teal);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.875rem;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__headline {
  font-size: clamp(2.5rem, 4.5vw, 4.75rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 1.625rem;
}

.hero__headline strong {
  font-weight: 700;
  display: block;
}

.hero__headline .accent {
  color: var(--teal);
}

.hero__sub {
  font-size: clamp(0.9375rem, 1.4vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

/* Explorar link */
.hero__explore {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 13px;
  font-weight: 400;
  color: #999;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition);
}

.hero__explore:hover {
  color: var(--teal);
}


/* =========================================
   PRODUCTS SECTION
   ========================================= */
.products {
  padding-block: 5.5rem 6.5rem;
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--dark);
  max-width: 22ch;
  margin-inline: auto;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
}

/* Product Grid */
.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Product Card */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 176, 137, 0.22);
}

.card__image-wrap {
  position: relative;
  overflow: hidden;
  background: #EFF5F3;
  aspect-ratio: 4 / 3;
}

.card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card__image-wrap img {
  transform: scale(1.05);
}

.card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.9);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card__body {
  padding: 1.875rem 1.875rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 0.625rem;
}

.card__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: 1.25rem;
  flex: 1;
}

.card__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1.375rem;
}

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  padding: 0.7rem 1.375rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(33,34,33,0.2);
  transition: var(--transition);
  align-self: flex-start;
  cursor: pointer;
}

.card__cta:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.card__cta-arrow {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.card__cta:hover .card__cta-arrow {
  transform: translateX(3px);
}

/* =========================================
   VALUE BANNER
   ========================================= */
.value {
  background: var(--bg-dark);
  padding-block: 5.5rem;
  position: relative;
  overflow: hidden;
}

.value::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 176, 137, 0.13) 0%, transparent 63%);
  border-radius: 50%;
  pointer-events: none;
}

.value::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 176, 137, 0.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.value__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.value__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.125rem;
}

.value__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--teal);
  flex-shrink: 0;
}

.value__message {
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.13;
  color: var(--white);
  max-width: 20ch;
}

.value__message .highlight {
  color: var(--teal);
}

.value__sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 40ch;
  margin-bottom: 0.25rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-block: 2.25rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: opacity var(--transition);
}

.footer__logo:hover {
  opacity: 0.8;
}

.footer__logo span {
  color: var(--teal);
}

.footer__row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--teal);
}

.footer__divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.12);
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.22);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (min-width: 640px) {
  :root { --pad-x: 2rem; }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  :root { --pad-x: 3rem; }

  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .value__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4rem;
  }

  .value__left {
    flex: 0 0 auto;
    max-width: 48%;
  }

  .value__right {
    flex: 0 0 auto;
    max-width: 44%;
    padding-top: 0.5rem;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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