/* ZOTAANG HOMEPAGE
   Homepage hero illustration and homepage-specific spacing. */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 55px 0 45px;
  background:
    radial-gradient(circle at 85% 20%, rgba(0,59,149,.12), transparent 35%),
    linear-gradient(135deg, #f4f8ff 0%, #fff 65%);
}
.hero-grid {
  min-height: 400px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}
.hero-copy h1 {
  max-width: 760px;
  margin: 12px 0 16px;
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -2px;
}
.hero-copy h1 span { color: var(--red); }
.hero-lead { max-width: 650px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.hero-copy small { color: var(--muted); font-size: 10px; }

/* Hero visual */
.hero-visual { min-height: 350px; display: grid; place-items: center; }
.visual-card {
  position: relative;
  width: min(400px, 100%);
  height: 340px;
  border-radius: 28px;
  background: linear-gradient(145deg, #003b95, #001e50);
  box-shadow: 0 25px 55px rgba(0,39,95,.25);
  overflow: hidden;
}
.device {
  position: absolute;
  display: grid;
  place-items: center;
  border: 7px solid #111;
  background: linear-gradient(135deg, #d9e4f5, #fff);
  box-shadow: 0 15px 30px rgba(0,0,0,.25);
  font-size: 80px;
}
.phone-device {
  width: 155px;
  height: 270px;
  border-radius: 28px;
  left: 65px;
  top: 28px;
  transform: rotate(-9deg);
}
.laptop-device {
  width: 245px;
  height: 165px;
  border-radius: 12px;
  right: 20px;
  bottom: 38px;
  transform: rotate(4deg);
}
.repair-badge {
  position: absolute;
  left: 18px;
  bottom: 16px;
  width: 130px;
  height: 130px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 6px solid #fff;
  font-size: 12px;
  line-height: 1.2;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
}
.repair-badge strong { font-size: 19px; }

/* Homepage spacing overrides */
.section { padding: 52px 0; }
.section-heading { margin-bottom: 26px; }
.device-grid, .service-grid { gap: 14px; }
.device-card { padding: 22px 20px; }
.device-icon { margin-bottom: 10px; font-size: 34px; }
.device-card p { min-height: 0; margin: 0 0 10px; font-size: 13px; }
.service-card { padding: 20px; }
.service-card h3 { margin: 8px 0 6px; }
.parts-section { padding: 36px 0; }
.parts-card { padding: 26px; gap: 22px; }
.parts-card p { margin-bottom: 10px; }
.parts-badges { gap: 9px; }
.parts-badge { padding: 12px; }
.cta-section { padding: 36px 0; }
.site-footer { padding-top: 38px; }
.footer-grid { padding-bottom: 28px; }

/* Tablet hero */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
}

/* Mobile hero and spacing */
@media (max-width: 640px) {
  .hero { padding: 42px 0 44px; }
  .hero-grid { min-height: 0; gap: 26px; }
  .hero-copy h1 {
    font-size: clamp(39px, 12vw, 54px);
    line-height: 1.02;
    letter-spacing: -1.4px;
    margin: 12px 0 16px;
  }
  .hero-lead { font-size: 16px; line-height: 1.5; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .hero-actions .btn { width: 100%; padding-inline: 10px; }
  .hero-trust { justify-content: center; gap: 8px 14px; text-align: center; font-size: 11px; }
  .hero-copy small { display: block; margin-top: 4px; }
  .hero-visual { min-height: 0; }
  .visual-card { width: min(340px, 100%); height: 285px; border-radius: 22px; }
  .device { border-width: 5px; }
  .phone-device { width: 110px; height: 195px; left: 32px; top: 22px; font-size: 55px; }
  .laptop-device { width: 180px; height: 120px; right: 10px; bottom: 32px; font-size: 55px; }
  .repair-badge {
    left: 13px;
    bottom: 12px;
    width: 98px;
    height: 98px;
    border-width: 5px;
    font-size: 9px;
  }
  .repair-badge strong { font-size: 16px; }

  .section { padding: 38px 0; }
  .section-heading { margin-bottom: 22px; }
  .device-grid, .service-grid { gap: 12px; }
  .device-card { padding: 19px 17px; }
  .service-card { padding: 18px; }
  .parts-section { padding: 28px 0; }
  .parts-card { padding: 19px; gap: 16px; }
  .parts-badges { gap: 8px; }
  .parts-badge { padding: 10px; }
  .cta-section { padding: 30px 0; }
  .site-footer { padding-top: 30px; }
  .footer-grid { gap: 20px; padding-bottom: 22px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero { padding-top: 36px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .btn { min-height: 48px; }
  .visual-card { height: 260px; }
  .phone-device { width: 98px; height: 172px; left: 26px; }
  .laptop-device { width: 165px; height: 110px; }
  .repair-badge { width: 90px; height: 90px; }
}
