/* ================================================================
   Ideal Printers — Homepage redesign (index.html)
   ================================================================ */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

body.ip-home {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #1a242f;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(42, 155, 143, 0.12), transparent 55%),
    radial-gradient(900px 420px at 95% 8%, rgba(232, 90, 27, 0.1), transparent 50%),
    linear-gradient(180deg, #f7faf9 0%, #f3f6f8 40%, #f8f4f0 100%) !important;
  background-attachment: scroll !important;
}

body.ip-home h1,
body.ip-home h2,
body.ip-home h3,
body.ip-home .products-heading,
body.ip-home .h2-heading,
body.ip-home .ip-section-title {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.ip-section-title {
  text-align: center;
  font-weight: 750;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  color: #1a242f;
  margin: 0 0 10px;
}

.ip-section-lead {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 28px;
  color: #5a6670;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ── Hero product carousel (site background) ── */
.ip-home-hero {
  margin: 0 0 36px;
  padding: 28px 0 32px;
  position: relative;
  background: transparent;
}

.ip-home-hero-inner {
  position: relative;
}

.ip-hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.ip-hero-eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a9b8f;
}

.ip-hero-heading {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1a242f;
  max-width: 16ch;
}

.ip-home-hero .ip-hero-swiper {
  overflow: hidden;
  padding: 4px 2px 8px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.ip-home-hero .swiper-slide {
  height: auto;
  background: transparent;
}

.ip-hero-card {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none !important;
  background: #1c2228;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.ip-hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.ip-hero-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-hero-card:hover img {
  transform: scale(1.06);
}

.ip-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 64px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 42%,
    rgba(0, 0, 0, 0.88) 100%
  );
  color: #fff;
  text-align: left;
  z-index: 2;
}

.ip-hero-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.ip-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.ip-hero-cta i {
  font-size: 0.72rem;
  transition: transform 0.3s ease;
}

.ip-hero-card:hover .ip-hero-cta i {
  transform: translateX(4px);
  color: #ffb08a;
}

.ip-hero-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ip-hero-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 62, 78, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: #1a242f;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(26, 36, 47, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ip-hero-nav-btn:hover {
  background: #e85a1b;
  border-color: #e85a1b;
  color: #fff;
  transform: translateY(-1px);
}

.ip-hero-nav-btn:focus-visible {
  outline: 2px solid #e85a1b;
  outline-offset: 2px;
}

.ip-hero-nav-btn i {
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .ip-home-hero {
    padding: 28px 0 32px;
  }

  .ip-hero-top {
    align-items: center;
    margin-bottom: 16px;
  }

  .ip-hero-heading {
    max-width: none;
    font-size: 1.35rem;
  }

  .ip-hero-card {
    border-radius: 18px;
  }

  .ip-hero-copy {
    padding: 48px 16px 16px;
  }

  .ip-hero-nav-btn {
    width: 42px;
    height: 42px;
  }
}

/* ── Promo banners ── */
.ip-promo-banner {
  margin: 28px auto 8px;
}

.ip-promo-link {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 36, 47, 0.1);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.ip-promo-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(26, 36, 47, 0.16);
}

.ip-promo-link img {
  width: 100%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-promo-link:hover img {
  transform: scale(1.02);
}

/* ── Merged display mosaic (3 + 2) ── */
.ip-mosaic {
  margin: 28px auto 10px;
}

.ip-mosaic-2x2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: minmax(210px, 1fr) minmax(210px, 1fr);
  gap: 3px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(26, 36, 47, 0.12);
  background: #1a242f;
}

.ip-mosaic-card {
  position: relative;
  display: block;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: none;
  background: #2f3e4e;
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
}

/* Row 1: POS · Signage · Neon */
.ip-mosaic-2x2 > .ip-mosaic-card:nth-child(-n+3) {
  grid-column: span 2;
}

/* Row 2: Backdrops · Canvas Frames */
.ip-mosaic-2x2 > .ip-mosaic-card:nth-child(n+4) {
  grid-column: span 3;
}

.ip-mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-mosaic-card[href*="canvas"] img {
  object-position: center 40%;
}

.ip-mosaic-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1a242f;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-mosaic-label i {
  color: #e85a1b;
  font-size: 0.78rem;
}

.ip-mosaic-card:hover img {
  transform: scale(1.05);
}

.ip-mosaic-card:hover .ip-mosaic-label,
.ip-mosaic-card:focus-visible .ip-mosaic-label {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .ip-mosaic-label {
    opacity: 1;
    transform: none;
  }
}

/* ── Event cards: title then arrow ── */
.ip-event-meta {
  width: 100%;
  justify-content: space-between;
}

/* ── Order process ── */
.ip-process,
.order-process-container.ip-process {
  margin: 40px auto 20px;
  max-width: 1280px;
  padding: 36px 24px 28px !important;
  border-radius: 22px !important;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(242, 248, 247, 0.95) 100%) !important;
  border: 1px solid rgba(47, 62, 78, 0.1);
  box-shadow: 0 14px 40px rgba(26, 36, 47, 0.06);
}

.ip-process .order-process {
  gap: 14px;
}

.ip-process-step {
  position: relative;
  text-align: center;
  padding: 22px 14px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(47, 62, 78, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ip-process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 90, 27, 0.28);
  box-shadow: 0 12px 28px rgba(26, 36, 47, 0.1);
}

.ip-process-num {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2a9b8f;
  margin-bottom: 8px;
}

.ip-process-step strong {
  display: block;
  margin-top: 8px;
  font-size: 0.98rem;
  color: #1a242f;
}

.ip-process-step p {
  margin-top: 4px;
  font-size: 0.86rem;
  color: #6a7580;
}

.ip-process-step img {
  height: 42px;
  width: auto;
}

/* ── Brands ── */
.ip-brands {
  margin-top: 36px;
  margin-bottom: 10px;
  padding: 28px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(47, 62, 78, 0.08);
}

/* ── Testimonials ── */
.ip-testimonials {
  margin-top: 36px !important;
  border-radius: 24px;
  overflow: hidden;
  padding: 48px 0 40px !important;
}

.ip-testimonials .testimonial-heading p {
  opacity: 0.85;
  max-width: 480px;
  margin: 8px auto 0;
}

.ip-testimonials .testimonial-div {
  border-radius: 16px !important;
  transition: transform 0.3s ease;
}

.ip-testimonials .testimonial-div:hover {
  transform: translateY(-3px);
}

/* ── FAQ CTA ── */
.ip-faq-cta {
  margin: 40px auto 24px;
}

.ip-faq-panel {
  text-align: center;
  padding: 48px 28px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #1a242f 0%, #2f3e4e 55%, #1f756c 100%);
  color: #fff;
  box-shadow: 0 18px 44px rgba(26, 36, 47, 0.22);
}

.ip-faq-panel .ip-section-title {
  color: #fff;
  margin-bottom: 12px;
}

.ip-faq-panel p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

.ip-faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #e85a1b;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(232, 90, 27, 0.35);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.ip-faq-btn:hover {
  background: #c44812;
  transform: translateY(-2px);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(232, 90, 27, 0.4);
}

.ip-faq-btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.ip-faq-btn:hover i {
  transform: translateX(3px);
}

/* ── Trust / Google reviews (below FAQ) ── */
.ip-trust {
  margin: 12px 0 36px;
  padding: 8px 0 4px;
}

.ip-trust .trust-heading {
  margin-bottom: 22px;
}

.ip-trust-grid {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(47, 62, 78, 0.1);
  border-radius: 20px !important;
  padding: 22px 14px 8px !important;
  box-shadow: 0 12px 32px rgba(26, 36, 47, 0.06);
  backdrop-filter: blur(8px);
}

.ip-trust .trust-item {
  padding: 14px 12px;
  border-radius: 14px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.ip-trust .trust-item:hover {
  background: rgba(42, 155, 143, 0.08);
  transform: translateY(-2px);
}

.ip-trust .trust-icon {
  border-radius: 14px !important;
}

.ip-trust .trust-icon img {
  width: 70%;
  max-width: 36px;
}

.ip-trust .trust-content strong {
  font-size: 0.98rem;
}

/* ── SEO about strip ── */
.ip-about-seo {
  max-width: 1280px;
  margin: 0 auto 24px;
  padding: 0 15px;
}

.ip-about-seo .about-us-container {
  border-radius: 16px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(47, 62, 78, 0.08);
}

.ip-about-seo h1,
.ip-about-seo h2,
.ip-about-seo h3,
.ip-about-seo h4,
.ip-about-seo h5 {
  font-size: 1rem !important;
  font-weight: 700;
  color: #1a242f;
  margin-bottom: 8px;
}

.ip-about-seo p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #5a6670;
  margin: 0;
}

/* ── Spacing polish for existing redesigned blocks ── */
body.ip-home .workspace-branding-section {
  margin-top: 8px;
  margin-bottom: 20px;
}

body.ip-home .ip-event-heading,
body.ip-home .products-heading {
  margin-top: 28px;
}

body.ip-home .ip-picks {
  margin-top: 28px;
  margin-bottom: 12px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .ip-mosaic-2x2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 2px;
    border-radius: 16px;
  }

  .ip-mosaic-2x2 > .ip-mosaic-card:nth-child(-n+3),
  .ip-mosaic-2x2 > .ip-mosaic-card:nth-child(n+4) {
    grid-column: auto;
  }

  .ip-mosaic-card {
    min-height: 140px;
    aspect-ratio: 4 / 3;
  }

  /* Canvas Frames full-width on the last row */
  .ip-mosaic-2x2 > .ip-mosaic-card:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
    min-height: 120px;
  }
}

@media (max-width: 575px) {
  .ip-mosaic-card {
    min-height: 110px;
  }

  .ip-mosaic-label {
    left: 10px;
    bottom: 10px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }
}

@media (max-width: 767px) {
  .ip-process {
    padding: 28px 14px 18px !important;
    margin-top: 28px;
  }

  .ip-faq-panel {
    padding: 36px 20px;
    border-radius: 18px;
  }

  .ip-brands {
    padding: 20px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ip-promo-link,
  .ip-promo-link img,
  .ip-mosaic-card img,
  .ip-mosaic-label,
  .ip-process-step,
  .ip-faq-btn {
    transition: none !important;
  }
}
