/* ── LAYOUT.CSS ────────────────────────────────────────────────────────────────
   Header / navbar y sección hero.
────────────────────────────────────────────────────────────────────────────── */

/* ── HEADER ── */
#site-header {
  position: sticky;
  top: 0;
  background: var(--bg-white);
  z-index: 100;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 75px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 65px;
  width: auto;
}

/* Nav */
.cat-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex: 1;
}

.cat-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink2);
  transition: all var(--fast);
  white-space: nowrap;
}

.cat-nav-link:hover,
.cat-nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.cat-nav-link svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

/* Buscador */
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 6px 6px 6px 22px;
  max-width: 300px;
  flex-shrink: 0;
  transition: border-color var(--fast);
}

.search-box:focus-within {
  border-color: var(--accent);
}

.search-box input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 13.5px;
  color: var(--ink);
  min-width: 0;
  padding: 0;
}

.search-box input::placeholder {
  color: var(--ink4);
}

.search-submit-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--fast);
}

.search-submit-btn:hover {
  background: var(--accent-dark);
}

.search-submit-btn svg {
  width: 19px;
  height: 19px;
}

#search-clear-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--ink4);
}

/* ── HERO ── */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-cta-wrap {
  position: absolute;
  left: 0;
  bottom: 12%;
  padding-left: 4%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transition: all var(--fast);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform var(--fast);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}