/* =======================================
   BASE / TOKENS
======================================= */
:root {
  --bg-page: #f5f5f7;
  --bg-soft: #ffffff;
  --bg-soft-alt: #f9fafb;

  --primary: #111827;
  --primary-soft: #4b5563;
  --accent: #f97316;

  --text-main: #111827;
  --text-muted: #6b7280;

  --border-soft: #e5e7eb;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, .12);
  --radius-card: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.no-scroll {
  overflow: hidden;
}

.home-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =======================================
   INFO BAR
======================================= */
.info-bar {
  width: 100%;
  background: #1f2933;
  color: #f9fafb;
  text-align: center;
  font-size: 13px;
  padding: 6px 10px;
  letter-spacing: .03em;
}

/* =======================================
   NAVBAR + MOBILE MENU
======================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo {
  height: 32px;
  width: auto;
}

/* bloque desktop: menú + iconos */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu {
  display: flex;
  gap: 26px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  transition: color .18s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-icon img {
  width: 16px;
  height: 16px;
}

.nav-icon:hover {
  background: #e5e7eb;
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 0 5px;
  border-radius: 999px;
}

/* botón hamburguesa */
.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: #f3f4f6;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* off canvas */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 900;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* tarjeta lateral */
.mobile-menu {
  position: fixed;
  top: 10px;
  bottom: 10px;
  right: -100%;
  width: 80%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 20px 0 0 20px;
  box-shadow: -18px 0 45px rgba(15, 23, 42, .28);
  z-index: 950;
  display: flex;
  flex-direction: column;
  transition: right .28s ease;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 10px;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 600;
}

.mobile-close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
}

.mobile-menu-links {
  flex: 1;
  padding: 10px 18px 18px;
  overflow-y: auto;
}

.mobile-menu-links h4 {
  margin: 12px 0 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.mobile-menu-links a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
}

.mobile-menu-links a i {
  margin-right: 6px;
}

.mobile-menu-footer {
  padding: 10px 18px 16px;
  border-top: 1px solid var(--border-soft);
}

.mobile-menu-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #16a34a;
}

/* =======================================
   SEARCH BAR
======================================= */
.search-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  padding: 22px 0;
}

.search-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.search-bar-inner h1 {
  font-size: 22px;
  margin-bottom: 6px;
}

.search-bar-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.search-bar-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
}

.search-bar-form input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.search-bar-form button {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #f9fafb;
  font-size: 14px;
}

.search-bar-form button:hover {
  background: #020617;
}

/* =======================================
   HERO
======================================= */
.hero-home {
  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at top, #ffffff, #e5e7eb);
  padding: 40px 0 56px;
}

.hero-home-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.hero-tagline {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero-title {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-lead {
  font-size: 14px;
  color: #4b5563;
  max-width: 460px;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* botones genéricos */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.btn-primary {
  background: #2f333b;
  color: #f9fafb;
  border: 1px solid #4b5563;
}

.btn-primary:hover {
  background: #3b404a;
}

.btn-secondary {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--text-main);
}

.btn-secondary:hover {
  background: #f3f4f6;
}

/* hero lado derecho */
.hero-home-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-frame {
  border-radius: 18px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.hero-frame-header {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
}

.hero-frame-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 14px;
}

.hero-frame-image {
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  min-height: 170px;
}

.hero-frame-text h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.hero-frame-text p {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-caption {
  font-size: 11px;
  color: var(--text-muted);
}

/* leve flotación */
.hero-frame.hero-float {
  animation: heroFloat 8s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

/* =======================================
   CATEGORÍAS / PRODUCTOS
======================================= */
.home-products {
  padding: 40px 0 52px;
  background: var(--bg-page);
}

.section-title {
  font-size: 22px;
  text-align: center;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 24px;
}

/* carrusel horizontal tipo chips */
.home-products-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.home-products-grid::-webkit-scrollbar {
  height: 6px;
}

.home-products-grid::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
}

.home-product-card {
  scroll-snap-align: start;
  min-width: 240px;
  max-width: 260px;
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, .16);
}

.home-product-card img {
  border-radius: 10px;
  margin-bottom: 6px;
}

.home-product-card h3 {
  font-size: 15px;
  margin-bottom: 2px;
}

.home-product-card p {
  font-size: 13px;
  color: #4b5563;
}

.home-sublist {
  margin: 4px 0 6px;
  padding-left: 18px;
  font-size: 12px;
  color: #4b5563;
}

.card-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* =======================================
   BANNER COLECCIÓN DESTACADA
======================================= */
.featured-collection {
  position: relative;
  max-width: 1180px;
  margin: 0 auto 54px;
  padding: 28px 32px;
  border-radius: 24px;
  color: #ffffff;
  background-image: url("img/wall panel contraste.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.featured-collection::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .15);
}

.featured-collection-inner {
  position: relative;
  max-width: 420px;
  z-index: 1;
}

.featured-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.featured-title {
  font-size: 28px;
  margin: 0 0 10px;
}

.featured-list {
  padding-left: 18px;
  font-size: 14px;
  margin: 0 0 16px;
}

.featured-list li + li {
  margin-top: 4px;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-featured-primary,
.btn-featured-secondary {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.btn-featured-primary {
  background: #ffffff;
  color: #111827;
  border: 2px solid #111827;
}

.btn-featured-primary:hover {
  background: #f3f4f6;
}

.btn-featured-secondary {
  border: 1px solid #ffffff80;
  color: #f9fafb;
  background: transparent;
}

.btn-featured-secondary:hover {
  background: #ffffff18;
}

/* =======================================
   DESTACADOS
======================================= */
.featured-section {
  padding: 40px 0 48px;
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: 22px;
  margin-bottom: 4px;
}

.section-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.featured-card {
  position: relative;
  background: var(--bg-soft-alt);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 18px;
  font-size: 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.featured-tag {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--primary);
  color: #f9fafb;
}

.featured-card h3 {
  margin: 6px 0 6px;
  font-size: 16px;
}

.featured-card p {
  color: var(--text-muted);
}

.btn-link {
  margin-top: 8px;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
}

/* =======================================
   INSPÍRATE
======================================= */
.inspirate-section {
  padding: 40px 0 48px;
  background: radial-gradient(circle at top, #020617, #020314);
  color: #e5e7eb;
}

.section-header-light h2,
.section-header-light p {
  color: #e5e7eb;
}

.inspirate-strip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.inspirate-card {
  position: relative;
  border-radius: 18px;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.inspirate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .6);
}

.inspirate-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent);
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.inspirate-overlay h3 {
  font-size: 15px;
  margin-bottom: 2px;
}

.inspirate-overlay p {
  font-size: 13px;
}

/* =======================================
   TENDENCIAS
======================================= */
.trends-section {
  padding: 40px 0 48px;
  background: #f9fafb;
}

.trends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.trend-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: 14px 16px 16px;
  font-size: 13px;
}

.trend-card h3 {
  margin-bottom: 4px;
  font-size: 15px;
}

.trend-card p {
  color: var(--text-muted);
}

/* =======================================
   FAQ / CONTACTO
======================================= */
.faq-section {
  padding: 40px 0 48px;
  background: #ffffff;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: var(--bg-soft-alt);
  padding: 10px 14px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

/* =======================================
   B2B
======================================= */
.b2b-section {
  padding: 40px 0 60px;
  background: #f3f4f6;
  border-top: 1px solid var(--border-soft);
}

.b2b-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
}

.b2b-text h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.b2b-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.b2b-text ul {
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.b2b-box {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: 16px 18px;
  font-size: 13px;
}

.b2b-box h3 {
  margin-bottom: 6px;
}

.b2b-box ul {
  padding-left: 18px;
}

.b2b-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* =======================================
   FOOTER
======================================= */
.site-footer {
  background: #05070c;
  color: #d1d5db;
  padding: 42px 20px 24px;
  margin-top: 40px;
}

.footer-top {
  max-width: 1180px;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 32px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  color: #9ca3af;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 15px;
  color: #f9fafb;
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #d1d5db;
}

.footer-col a:hover {
  color: var(--accent);
}

/* redes */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffffff10;
  border: 1px solid #ffffff25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-size: 15px;
  transition: .2s;
}

.footer-social-link:hover {
  background: #ffffff20;
  transform: translateY(-2px);
}

/* métodos de pago */
.footer-payments {
  max-width: 1180px;
  margin: 0 auto 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-pill {
  border-radius: 999px;
  border: 1px solid #4b5563;
  padding: 5px 14px;
  font-size: 13px;
  color: #e5e7eb;
}

.footer-copy {
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

/* =======================================
   RESPONSIVE
======================================= */
@media (max-width: 960px) {
  .search-bar-form {
    flex-direction: column;
  }

  .b2b-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .hero-home-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-frame-body {
    grid-template-columns: 1fr;
  }

  .home-products-grid {
    gap: 14px;
  }

  .featured-collection {
    padding: 22px 18px 26px;
    border-radius: 20px;
  }

  .featured-title {
    font-size: 22px;
  }

  .featured-actions {
    flex-direction: column;
  }

  .btn-featured-primary,
  .btn-featured-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-home-inner {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 22px;
  }

  .home-products-grid {
    padding-left: 16px;
  }

  .inspirate-strip {
    padding: 0 16px;
  }

  .trends-section .home-container,
  .featured-section .home-container,
  .faq-section .home-container {
    padding: 0 16px;
  }

  .footer-top {
    gap: 20px;
  }
}
