/* =====================================================
   HOMEPAGE PLOTTERS HP
   Archivo: home.css
   Uso: SOLO homepage (/plotters-hp/)
   Nota: Responsive se trabajará después en responsive.css.
===================================================== */

/* =====================================================
   1. LAYOUT GENERAL
===================================================== */

.home-page {
  background: #fff;
  overflow: hidden;
}

.home-container {
  width: min(1180px, 86%);
  margin: 0 auto;
}



/* =====================================================
   3. SECCIONES GENERALES DEL HOMEPAGE
===================================================== */

.home-section {
  padding: 86px 0;
}

.home-section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.home-section-heading h2,
.why-copy h2,
.home-cta h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: -2px;
  margin: 14px 0;
  color: var(--home-text);
}

.home-section-heading p,
.why-copy p,
.home-cta p {
  color: var(--home-muted);
  font-size: 18px;
}

/* =====================================================
   4. TRUST SECTION
   Sección: mini cards bajo el hero.
   Objetivo: reforzar confianza y líneas principales.
===================================================== */

.home-trust {
  background: #ffffff;
  padding: 36px 0;
  border-bottom: 1px solid #dbe3ef;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-item {
  display: block;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dbe3ef;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 103, 209, 0.3);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
}

.trust-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f3ff, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-blue);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(0, 103, 209, 0.08);
}

.trust-item strong {
  display: block;
  font-size: 16px;
  color: #081b3f;
  margin-bottom: 3px;
}

.trust-item span {
  display: block;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.35;
}

/* =====================================================
   5. CATEGORÍAS
   Sección: A1, A0, MFP, Smart Tank, Tinta continua.
===================================================== */

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.category-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  transition: 0.28s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
  border-color: rgba(0, 103, 209, 0.35);
}

.category-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f3ff, #fff);
  color: var(--home-blue);
  font-weight: 900;
  margin-bottom: 22px;
}

.category-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.category-card p {
  color: var(--home-muted);
  font-size: 14px;
}

/* =====================================================
   6. PRODUCTOS DESTACADOS
   Sección: carousel Swiper con productos HP reales.
===================================================== */

.featured-products {
  background: linear-gradient(180deg, #f7faff, #eef4fb);
}

.products-swiper {
  padding: 10px 4px 54px;
}

.product-card-home {
  min-height: 420px;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #dbe3ef;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.product-card-home::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--home-blue), var(--home-blue-light));
}

.product-card-home:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 103, 209, 0.35);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14);
}

.product-code {
  color: var(--home-blue);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.product-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0f7ff;
  color: var(--home-blue);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.product-card-home img {
  width: 100%;
  height: 145px;
  object-fit: contain;
  margin: 6px auto 24px;
  transition: 0.3s ease;
}

.product-card-home:hover img {
  transform: scale(1.04);
}

.product-card-home h3 {
  font-size: 24px;
  line-height: 1.12;
  margin-bottom: 12px;
  color: #081b3f;
}

.product-card-home p {
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.product-card-home a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: #e8f3ff;
  color: var(--home-blue);
  font-weight: 900;
  transition: 0.25s ease;
}

.product-card-home a::after {
  content: " →";
}

.product-card-home a:hover {
  background: var(--home-blue);
  color: #ffffff;
}

/* =====================================================
   7. SOLUCIONES POR INDUSTRIA
   Sección: cards para arquitectura, ingeniería, etc.
===================================================== */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.industry-card {
  position: relative;
  min-height: 230px;
  padding: 34px;
  border-radius: 22px;
  color: #ffffff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2, 12, 32, 0.1), rgba(2, 12, 32, 0.92)),
    linear-gradient(135deg, #12356f, #061a3e);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  transition: 0.3s ease;
}

.industry-card::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -46px;
  top: -46px;
  border-radius: 50%;
  background: rgba(0, 150, 255, 0.18);
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: inherit;
  pointer-events: none;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.22);
}

.industry-card h3 {
  position: relative;
  z-index: 2;
  font-size: 27px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.industry-card p {
  position: relative;
  z-index: 2;
  color: #dbeafe;
  font-size: 16px;
  line-height: 1.55;
  max-width: 92%;
}

/* =====================================================
   8. POR QUÉ PLOTTERS.EC
   Sección: argumentos comerciales de confianza.
===================================================== */

.why-section {
  background: #fff;
}

.why-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: center;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.why-list div {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--home-line);
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.why-list strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
}

.why-list span {
  color: var(--home-muted);
}

/* =====================================================
   9. CTA FINAL
   Sección: llamada principal a cotización.
===================================================== */

.home-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #061a3e, #0067d1);
  color: #fff;
}

.home-cta-box {
  text-align: center;
  max-width: 900px;
}

.home-cta h2 {
  color: #fff;
}

.home-cta p {
  color: #dbeafe;
}

.home-cta .home-btn-outline {
  border-color: rgba(255, 255, 255, 0.75);
}
