/* BiO Momentos - Styles */

:root {
  --cream: #F8F3ED;
  --cream-deep: #F1E9DD;
  --sand: #E8DDD0;
  --terracotta: #C85A3A;
  --terracotta-deep: #B8431F;
  --teal: #2E8B84;
  --teal-soft: #7FB8B0;
  --ink: #2C2420;
  --ink-soft: #5C4E46;
  --ink-light: #8A7D74;
  --white: #FFFFFF;
  --container: 1200px;
  --radius-lg: 28px;
  --shadow-md: 0 8px 32px rgba(44, 36, 32, 0.10);
  --shadow-lg: 0 24px 56px rgba(44, 36, 32, 0.16);
  --font-serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--terracotta); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--terracotta-deep); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

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

.display, h1, .h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.display {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 500; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 54ch;
}
.lead-soft {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.55;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 1rem;
  display: inline-block;
}
.eyebrow.light { color: var(--teal-soft); }
.light { color: var(--cream) !important; }

.brand-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all .25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200, 90, 58, 0.32);
}
.btn-primary:hover {
  background: var(--terracotta-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 90, 58, 0.42);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 243, 237, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 36, 32, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 56px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--terracotta); }
.main-nav a.nav-cta { color: var(--white); }
.main-nav a.nav-cta:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ SELECTOR DE IDIOMA ============ */

.lang-switcher {
  position: relative;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1.5px solid rgba(44, 36, 32, 0.15);
  border-radius: 100px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s ease;
}

.lang-current:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.lang-current .lang-flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
}

.lang-current .lang-arrow {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-left: 2px;
  transition: transform .2s ease;
}

.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--white);
  border: 1px solid rgba(44, 36, 32, 0.08);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 200;
}

.lang-switcher.open .lang-menu {
  display: block;
}

.lang-menu li {
  list-style: none;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: background .15s ease;
}

.lang-menu a:hover {
  background: var(--sand);
  color: var(--ink);
}

.lang-menu a.lang-active {
  background: var(--cream-deep);
  color: var(--terracotta);
  font-weight: 600;
}

.lang-menu .lang-flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
}

.lang-menu .lang-code {
  letter-spacing: 0.05em;
}

/* ============ LOGOS DECORATIVOS ============ */

.logo-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 24px;
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
}

.logo-decor {
  max-width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.logo-decor-center {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  opacity: 0.95;
  transition: transform .6s ease;
}
.logo-decor-center:hover {
  transform: scale(1.04) rotate(2deg);
}

.logo-decor-right {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 0;
  filter: blur(1px);
}

.logo-decor-dark {
  opacity: 0.22;
  mix-blend-mode: screen;
}

/* Sección dark y CTA necesitan position relative y overflow hidden para el logo decorativo */
.section-dark,
.section-cta {
  overflow: hidden;
  position: relative;
}

.section-dark .container,
.section-cta .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .logo-decor-center { width: 140px; height: 140px; }
  .logo-decor-right {
    width: 280px;
    height: 280px;
    right: -100px;
    opacity: 0.12;
  }
}

@media (max-width: 720px) {
  .logo-decor-center { width: 110px; height: 110px; }
  .logo-decor-right {
    width: 220px;
    height: 220px;
    right: -80px;
    opacity: 0.1;
  }
  .logo-divider { padding: 2.5rem 24px; }
}

.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(46, 139, 132, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy .display { margin-bottom: 1.5rem; }
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 2.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-note .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 139, 132, 0.15);
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: 48px;
  padding: 5px;
  background: linear-gradient(145deg, #1a1a1a, #3a3a3a);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform .4s ease;
}
.phone-frame:hover { transform: rotate(0deg) translateY(-6px); }
.phone-frame img { border-radius: 43px; width: 100%; }
.phone-frame.phone-sm { max-width: 280px; }
.phone-frame.phone-md { max-width: 320px; }

.hero-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--terracotta), transparent 70%);
  opacity: 0.25;
  top: -40px;
  right: 10%;
  filter: blur(30px);
  z-index: -1;
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.section-dark {
  background: linear-gradient(135deg, #1a3e3b, #0f2825);
  color: var(--cream);
}

.section-head { margin-bottom: 3.5rem; max-width: 720px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead-soft { margin-top: 1.25rem; }

.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.prop-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 36, 32, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.prop-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sand), transparent 70%);
  opacity: 0.5;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prop-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.prop-card h3 { margin-bottom: 0.75rem; font-size: 1.35rem; }
.prop-card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 2rem;
}
.flow-step {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 36, 32, 0.06);
  text-align: center;
}
.flow-step.flow-highlight {
  background: linear-gradient(135deg, var(--terracotta), #e07657);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(200, 90, 58, 0.32);
  transform: translateY(-8px);
}
.flow-step.flow-highlight h4,
.flow-step.flow-highlight p { color: var(--white); }
.flow-ico { font-size: 2.5rem; margin-bottom: 1rem; }
.flow-step h4 { margin-bottom: 0.5rem; }
.flow-step p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.flow-arrow {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--terracotta);
  opacity: 0.6;
}

/* ============ VIDEO BLOCK ============ */

.video-block {
  margin-top: clamp(3rem, 6vw, 5rem);
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.video-caption {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-style: italic;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
  padding: 5px;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 5px);
}

@media (max-width: 720px) {
  .video-block { max-width: 320px; }
  .video-wrapper { border-radius: 20px; }
}

.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 5vw, 5rem) 0;
  border-top: 1px solid rgba(44, 36, 32, 0.08);
}
.feat-row:first-of-type { border-top: none; }
.feat-row.reverse .feat-visual { order: -1; }
.feat-text h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-bottom: 1rem;
}
.feat-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.feat-list { display: flex; flex-direction: column; gap: 10px; }
.feat-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.feat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 2px;
  background: var(--terracotta);
}
.feat-visual { display: flex; justify-content: center; }

.com-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 4rem) 0;
}
.com-grid.reverse .com-visual { order: -1; }
.com-copy .lead { color: rgba(248, 243, 237, 0.78); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.plan {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 36, 32, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border-color: var(--terracotta);
  box-shadow: 0 20px 48px rgba(200, 90, 58, 0.16);
  transform: translateY(-8px);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name { font-size: 1.5rem; margin-bottom: 0.25rem; }
.plan-sub {
  color: var(--ink-light);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 1.75rem;
}
.plan-amount {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.plan-per { color: var(--ink-light); font-size: 1rem; }
.plan-feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
  flex: 1;
}
.plan-feats li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.plan-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.plan-cta { width: 100%; }
.plan-footnote {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-light);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.plans-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 2.5rem;
  margin-bottom: 0;
  font-style: italic;
}

.section-cta {
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 90, 58, 0.08), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(46, 139, 132, 0.08), transparent 50%),
    var(--cream);
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.cta-box { text-align: center; max-width: 720px; }
.cta-box .h1 { margin-bottom: 1.25rem; }
.cta-box .lead { margin: 0 auto 2.5rem; }
.cta-small {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.cta-small a { color: var(--terracotta); font-weight: 500; }

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(44, 36, 32, 0.1);
  padding: 4px 0;
}
.faq-item summary {
  padding: 24px 40px 24px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  position: relative;
  list-style: none;
  font-family: var(--font-serif);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.75rem;
  color: var(--terracotta);
  font-weight: 300;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--terracotta); }
.faq-item p {
  padding: 0 40px 24px 0;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 70ch;
}

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(3rem, 5vw, 5rem) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 3rem;
}
.footer-brand p {
  color: rgba(248, 243, 237, 0.6);
  font-size: 0.95rem;
  max-width: 28ch;
}
.footer-logo { height: 64px; margin-bottom: 1rem; opacity: 0.95; }
.footer-col h4 {
  color: var(--cream);
  margin-bottom: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(248, 243, 237, 0.7);
  font-size: 0.95rem;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(248, 243, 237, 0.08);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(248, 243, 237, 0.5);
  margin: 0;
}
.footer-made { font-style: italic; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-note { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); margin: 4px auto; }
  .flow-step.flow-highlight { transform: none; }
  .feat-row, .com-grid, .com-grid.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feat-row.reverse .feat-visual,
  .com-grid.reverse .com-visual { order: 0; }
  .feat-list { align-items: flex-start; }
  .plan-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(44, 36, 32, 0.08);
  }
  .main-nav.open { display: flex; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .main-nav ul li { border-bottom: 1px solid rgba(44, 36, 32, 0.06); }
  .main-nav ul li a { display: block; padding: 14px 0; }
  .main-nav .nav-cta { margin-top: 16px; width: 100%; }
  .nav-toggle { display: flex; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
  .faq-item summary { font-size: 1rem; padding-right: 32px; }
  .plan-price { justify-content: center; }
}
