/* ==========================================================================
   Layout: navbar, hero, footer
   ========================================================================== */

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--c-accent);
  text-decoration: none;
  white-space: nowrap;
}
.brand__logo { width: 38px; height: 38px; border-radius: 10px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: var(--c-bg-alt);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.status__sep { color: var(--c-border-strong); }

.status__dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-online);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.trustbar {
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-alt);
}
.trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--c-text-soft);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.trust::-webkit-scrollbar { display: none; }
.trust li { display: inline-flex; align-items: center; gap: 12px; }
.trust li + li::before { content: "•"; color: var(--c-muted); }

@media (max-width: 720px) {
  .navbar__cta {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    background: var(--c-accent);
    color: #fff;
    border: 1px solid var(--c-accent);
  }
}
@media (max-width: 560px) {
  .navbar__inner { min-height: 54px; gap: 8px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand__logo { width: 32px; height: 32px; }
  .status { padding: 4px 8px; font-size: 11.5px; }
  .status__sep, .status__extra { display: none; }
  .navbar__cta { padding: 5px 12px; font-size: 12px; }
  .trust { justify-content: flex-start; font-size: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(16px, 4vw, 56px) 0 clamp(32px, 5vw, 64px);
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 3.5vw, 48px);
  align-items: start;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }
}

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

/* Indicador táctil para explorar el catálogo y taller */
.hero__scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.scroll-cue__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--c-text-soft);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .06);
  transition: transform .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.scroll-cue__btn:hover,
.scroll-cue__btn:active {
  color: var(--c-accent);
  border-color: var(--c-accent);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .12);
  transform: translateY(2px);
}
.scroll-cue__icon {
  flex: none;
  color: var(--c-accent);
  animation: bounce-subtle 2s infinite ease-in-out;
}
@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.hero h1 {
  font-size: clamp(24px, 4.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 800;
  color: var(--c-accent);
}
.lead {
  margin-top: 14px;
  max-width: 52ch;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--c-text-soft);
}

.hero__points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.hero__num {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 959px) {
  .hero__intro { text-align: left; }
  .hero__points { display: none; }
}
@media (max-width: 768px) {
  .hero {
    padding: 12px 0 20px;
  }
  .hero h1 {
    font-size: clamp(20px, 5.5vw, 24px);
    line-height: 1.2;
    margin-bottom: 6px;
  }
  .hero__grid {
    gap: 10px;
  }
  .hero__scroll-cue {
    margin-top: 10px;
  }
  .scroll-cue__btn {
    padding: 7px 14px;
    font-size: 12.5px;
  }
}
@media (max-width: 600px) {
  .hero .eyebrow { display: none; }
  .lead { display: none; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--c-accent);
  color: #CBD5E1;
  font-size: 14.5px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-block: clamp(40px, 6vw, 64px);
}
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; }
}

.brand--light { color: #fff; margin-bottom: 14px; }
.brand--light .brand__logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.footer__brand p { max-width: 40ch; }

.footer__title {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}

.footer address { margin-bottom: 12px; line-height: 1.6; }

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.footer__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__col > .footer__link { display: flex; }

.social { display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  color: #fff;
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); }
.social svg { width: 20px; height: 20px; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 18px;
  font-size: 13px;
  color: #94A3B8;
}
