/* Printbox AI — modern multilingual homepage. Scoped to .pb-home. */
.pb-home {
  --pb-home-ink: #162635;
  --pb-home-muted: #617180;
  --pb-home-line: #dfe7ee;
  --pb-home-soft: #f5f8fb;
  --pb-home-blue: var(--primary-color, #1e73be);
  color: var(--pb-home-ink);
}

.pb-home * { box-sizing: border-box; }
.pb-home a { text-decoration: none; }

.pb-home__shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.pb-home__hero {
  position: relative;
  overflow: hidden;
  margin: 18px auto 42px;
  border: 1px solid #dbe6ef;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 14%, rgba(30,115,190,.14), transparent 31%),
    linear-gradient(135deg, #f8fbfe 0%, #eef6fc 58%, #ffffff 100%);
  box-shadow: 0 18px 52px rgba(22,45,66,.07);
}

.pb-home__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: 42px;
  align-items: center;
  min-height: 390px;
  padding: 46px 50px;
}

.pb-home__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(30,115,190,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: #43627d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pb-home__eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pb-home-blue);
  content: '';
}

.pb-home__hero h1 {
  max-width: 610px;
  margin: 0 0 16px;
  color: var(--pb-home-ink);
  font-size: clamp(40px, 4.25vw, 54px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.pb-home__hero-lead {
  max-width: 620px;
  margin: 0 0 24px;
  color: #526678;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.55;
}

.pb-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.pb-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--pb-home-blue);
  border-radius: 11px;
  background: var(--pb-home-blue);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pb-home__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(30,115,190,.20);
}

.pb-home__button--ghost {
  border-color: #cbd8e3;
  background: rgba(255,255,255,.82);
  color: #284155 !important;
}

.pb-home__mockups {
  position: relative;
  min-height: 300px;
}

.pb-home__mock {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(39,70,95,.11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(25,50,72,.13);
}

.pb-home__mock strong {
  color: #233d53;
  font-size: 14px;
}

.pb-home__mock span {
  color: #718291;
  font-size: 12px;
  font-weight: 700;
}

.pb-home__mock::after {
  display: block;
  width: 62%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pb-home-blue), #83bddf);
  content: '';
}

.pb-home__mock--card {
  top: 18px;
  left: 12px;
  width: 238px;
  height: 145px;
  transform: rotate(-5deg);
}

.pb-home__mock--sticker {
  top: 62px;
  right: 0;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  transform: rotate(7deg);
}

.pb-home__mock--poster {
  right: 68px;
  bottom: 0;
  width: 206px;
  height: 268px;
  transform: rotate(3deg);
}

.pb-home__mock--banner {
  left: 0;
  bottom: 14px;
  width: 182px;
  height: 114px;
  transform: rotate(-2deg);
}

.pb-home__trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin: 0 auto 62px;
  border: 1px solid var(--pb-home-line);
  border-radius: 16px;
  background: #fff;
}

.pb-home__trust-item {
  padding: 18px 20px;
  border-right: 1px solid var(--pb-home-line);
  color: #415668;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.pb-home__trust-item:last-child { border-right: 0; }

.pb-home__section { margin: 0 auto 72px; }
.pb-home__section-head { max-width: 760px; margin-bottom: 26px; }
.pb-home__kicker {
  margin-bottom: 8px;
  color: var(--pb-home-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.pb-home__section h2 {
  margin: 0 0 10px;
  color: var(--pb-home-ink);
  font-size: clamp(30px, 3.8vw, 45px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.pb-home__section-intro {
  margin: 0;
  color: var(--pb-home-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Primary services deliberately use the same visual language as the
 * "more services" cards below: image first, compact copy underneath. */
.pb-home__services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pb-home-card {
  display: flex;
  flex-direction: column;
  min-height: 365px;
  overflow: hidden;
  border: 1px solid var(--pb-home-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20,42,60,.055);
  transition: transform .18s ease, box-shadow .18s ease;
}

.pb-home-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(20,42,60,.09);
}

.pb-home-card__media {
  height: 185px;
  min-height: 185px;
  overflow: hidden;
  background: #eef3f7;
}
.pb-home-card__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: transform .28s ease;
}
.pb-home-card:hover .pb-home-card__media img { transform: scale(1.025); }
.pb-home-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 21px;
}
.pb-home-card__label {
  margin-bottom: 7px;
  color: #7a8996;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pb-home-card h3 {
  margin: 0 0 8px;
  color: #1d3345;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.pb-home-card p {
  margin: 0 0 16px;
  color: var(--pb-home-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.pb-home-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--pb-home-blue) !important;
  font-size: 13.5px;
  font-weight: 900;
}

.pb-home-card__link::after { content: '→'; transition: transform .16s ease; }
.pb-home-card__link:hover::after { transform: translateX(3px); }

.pb-home__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pb-home-step {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--pb-home-line);
  border-radius: 18px;
  background: var(--pb-home-soft);
}

.pb-home-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  border-radius: 10px;
  background: #fff;
  color: var(--pb-home-blue);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 5px 16px rgba(20,42,60,.07);
}

.pb-home-step h3 { margin: 0 0 8px; color: #23394b; font-size: 20px; }
.pb-home-step p { margin: 0; color: var(--pb-home-muted); font-size: 14px; line-height: 1.55; }

.pb-home__more {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pb-home__pill {
  padding: 10px 13px;
  border: 1px solid #d9e3eb;
  border-radius: 999px;
  background: #fff;
  color: #455b6d;
  font-size: 13px;
  font-weight: 800;
}

.pb-home__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
  padding: 36px 40px;
  border-radius: 22px;
  background: #172b3d;
  color: #fff;
}

.pb-home__cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(27px, 3.3vw, 39px); }
.pb-home__cta p { max-width: 690px; margin: 0; color: #c6d2dc; font-size: 15px; line-height: 1.55; }
.pb-home__cta .pb-home__button--ghost { border-color: rgba(255,255,255,.25); background: #fff; color: #1f374a !important; }

@media (max-width: 1050px) {
  .pb-home__hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .92fr);
    gap: 30px;
    padding: 42px 38px;
  }
  .pb-home__hero h1 { font-size: clamp(38px, 4.6vw, 49px); }
  .pb-home__services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-home-card { min-height: 350px; }
  .pb-home-card__media { height: 190px; min-height: 190px; }
}

@media (max-width: 900px) {
  .pb-home__hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 42px 38px 34px; }
  .pb-home__mockups { min-height: 280px; max-width: 470px; width: 100%; margin: 0 auto; }
  .pb-home__trust { grid-template-columns: repeat(2, 1fr); }
  .pb-home__trust-item:nth-child(2) { border-right: 0; }
  .pb-home__trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--pb-home-line); }
  .pb-home__steps { grid-template-columns: 1fr; }
  .pb-home-step { min-height: 0; }
  .pb-home__cta { grid-template-columns: 1fr; }
}

@media (max-width: 549px) {
  .pb-home__shell { width: min(100% - 22px, 1180px); }
  .pb-home__hero { margin-top: 8px; margin-bottom: 34px; border-radius: 20px; }
  .pb-home__hero-inner { gap: 24px; padding: 32px 22px 24px; }
  .pb-home__hero h1 { font-size: 38px; }
  .pb-home__hero-lead { font-size: 16px; }
  .pb-home__actions { display: grid; grid-template-columns: 1fr; }
  .pb-home__button { width: 100%; }
  .pb-home__mockups { min-height: 238px; transform: scale(.88); transform-origin: center top; margin-bottom: -25px; }
  .pb-home__mock--card { left: 0; }
  .pb-home__mock--sticker { right: -12px; }
  .pb-home__mock--poster { right: 35px; }
  .pb-home__trust { margin-bottom: 54px; }
  .pb-home__trust-item { padding: 15px 10px; font-size: 12px; }
  .pb-home__section { margin-bottom: 58px; }
  .pb-home__services { grid-template-columns: 1fr; gap: 13px; }
  .pb-home-card { min-height: 0; border-radius: 16px; }
  .pb-home-card__media { height: 210px; min-height: 210px; }
  .pb-home-card__body { padding: 19px; }
  .pb-home-card h3 { font-size: 21px; }
  .pb-home__cta { padding: 28px 22px; border-radius: 18px; }
}
