/* Home Page Styles */

/* Hero */
.hero {
  padding: 4rem 0;
  background: var(--bg-paper);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hero-content {
  flex: 1;
  max-width: 600px;
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-content { text-align: left; }
}

.hero-partner {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.hero-partner img {
  height: 64px;
  width: auto;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .hero-title { font-size: 3.5rem; }
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--fg-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .hero-lead { margin-left: 0; margin-right: 0; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 480px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}
@media (min-width: 1024px) {
  .hero-actions { justify-content: flex-start; }
}

.hero-visual {
  flex: 1.2;
  width: 100%;
  max-width: 720px;
}
.hero-img-wrap {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Specs Bar */
.specs-bar {
  background: var(--bg-alt);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .specs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.spec-val {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--fg-dark);
}
.spec-val svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}
.spec-label {
  font-size: 0.875rem;
  color: var(--fg-light);
  font-weight: 500;
}

/* Protocol */
.protocol {
  padding: 5rem 0;
  background: var(--bg-paper);
}
.pt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .pt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pt-grid { grid-template-columns: repeat(4, 1fr); }
}
.pt-step {
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pt-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}
.pt-num {
  width: 3rem;
  height: 3rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  counter-increment: pt-counter;
}
.pt-num::before {
  content: counter(pt-counter);
}
body {
  counter-reset: pt-counter;
}
.pt-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.pt-step p {
  color: var(--fg-light);
  font-size: 0.9375rem;
}

/* About Teaser */
.about-teaser {
  padding: 5rem 0;
  background: var(--bg-alt);
}
.at-inner {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}
.at-title {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .at-title { font-size: 2.5rem; }
}
.at-text {
  font-size: 1.125rem;
  color: var(--fg-light);
  margin-bottom: 2rem;
}

/* Carousel / Services inside home */
.services-catalog {
  padding: 5rem 0;
  background: var(--bg-alt);
}
.sc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .sc-grid { grid-template-columns: repeat(3, 1fr); }
}
.svc-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.svc-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.svc-icon-wrap svg { width: 1.5rem; height: 1.5rem; }
.svc-card h3, .svc-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.svc-card p, .svc-desc {
  color: var(--fg-light);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.svc-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}
.svc-link:hover { color: var(--accent-hover); }

/* Issue Log / Printer Problems */
.issue-log {
  padding: 5rem 0;
  background: var(--bg-paper);
}
.issue-scroller-wrap {
  overflow: hidden;
  margin: 0 -1.5rem;
  padding: 1.5rem;
  position: relative;
}
.issue-scroller {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2rem;
}
.issue-scroller::-webkit-scrollbar { display: none; }

.issue-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.issue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.06);
}
.issue-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-light);
}
.issue-data {
  padding: 1.5rem;
}
.issue-id {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.issue-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg-dark);
}

.issue-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.inav-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--bg-paper);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dark);
  transition: all 0.2s ease;
}
.inav-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}