/* Home Page Styles — devicefixes-inspired clean rounded look */

/* Hero */
.hero {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 70% 90% at 0% 100%, rgba(0, 86, 210, 0.08), transparent 55%),
    linear-gradient(180deg, #f3f7ff 0%, #ffffff 70%);
}
.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.1;
  max-width: 640px;
  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: 56px;
  width: auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .hero-title { font-size: 3.25rem; }
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--fg-light);
  margin-bottom: 1.25rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-lead--secondary {
  font-size: 1rem;
  margin-bottom: 2rem;
}
@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;
  width: 100%;
  max-width: 640px;
}
.hero-img-wrap {
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -16px rgba(10, 26, 51, 0.25);
}
.hero-img-wrap img.hero-img--cutout {
  border-radius: 0;
  box-shadow: none;
  max-width: 550px;
  margin: 0 auto;
  display: block;
}
.hero-dots-2 { bottom: -24px; left: 24px; opacity: 0.25; }

/* Trust Bar */
.trust-bar {
  padding: 0 0 4rem;
  background: var(--bg-paper);
}
.trust-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px -20px rgba(10, 26, 51, 0.16);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .trust-card { margin-top: -1rem; }
}
.trust-card { justify-items: center; text-align: center; }
.trust-lead { text-align: center; }
.trust-title {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .trust-title { font-size: 1.75rem; }
}
.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .trust-stats { grid-template-columns: repeat(4, 1fr); }
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.375rem;
  position: relative;
}
@media (min-width: 768px) {
  .trust-stat + .trust-stat::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 12%;
    height: 76%;
    border-left: 1px solid var(--border-light);
  }
}
.trust-stat svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  stroke-width: 1.75;
  margin-bottom: 0.25rem;
}
.trust-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--fg-dark);
}
.trust-label {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* Expert Care Features */
.care {
  padding: 5rem 0;
  background: var(--bg-alt);
}
.care-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .care-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .care-grid { grid-template-columns: repeat(4, 1fr); }
}
.care-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.care-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -12px rgba(0, 86, 210, 0.18);
}
.care-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.care-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.care-card p {
  color: var(--fg-light);
  font-size: 0.9375rem;
}

/* Brands Strip */
.brands {
  padding: 5rem 0;
  background: var(--bg-paper);
}
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  max-width: 760px;
  margin: 0 auto;
}
.brand-chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg-dark);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  transition: all 0.2s ease;
}
.brand-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Protocol / How it works */
.protocol {
  padding: 5rem 0;
  background: var(--bg-alt);
}
.pt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .pt-grid { grid-template-columns: repeat(3, 1fr); }
}
.pt-step {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}
.pt-badge {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 16px -6px rgba(0, 86, 210, 0.4);
}
.pt-circle {
  width: 8.5rem;
  height: 8.5rem;
  margin: -1.125rem auto 1.5rem;
  border: 2px dashed rgba(0, 86, 210, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--bg-paper);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pt-step:hover .pt-circle {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.pt-circle svg {
  width: 3rem;
  height: 3rem;
}
.pt-step h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
}
.pt-step p {
  color: var(--fg-light);
  font-size: 0.9375rem;
}

/* Why Choose Us */
.why-us {
  padding: 5rem 0;
  background: var(--bg-paper);
}
.why-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .why-inner { flex-direction: row; gap: 4rem; }
}
.why-text { flex: 1.15; }
.why-text .sec-title { margin-bottom: 0.75rem; }
.why-lead {
  font-size: 1.125rem;
  color: var(--fg-light);
  margin-bottom: 1.75rem;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.why-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--fg-light);
}
.why-list strong { color: var(--fg-dark); }
.why-check {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.why-check svg { width: 0.875rem; height: 0.875rem; }
.why-visual {
  flex: 1;
  width: 100%;
  max-width: 560px;
}
.why-img-wrap {
  position: relative;
}
.why-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -16px rgba(10, 26, 51, 0.22);
}
.why-dots { top: -26px; right: -18px; }

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--bg-alt);
}
.tst-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .tst-grid { grid-template-columns: repeat(3, 1fr); }
}
.tst-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tst-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -12px rgba(0, 86, 210, 0.15);
}
.tst-stars {
  color: #f5a623;
  font-size: 1.125rem;
  letter-spacing: 0.15em;
}
.tst-card blockquote {
  color: var(--fg-light);
  font-size: 0.9875rem;
  flex: 1;
}
.tst-card figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--fg-dark);
}

/* CTA Band */
.cta-band {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(120deg, var(--accent-hover), var(--accent));
}
.cta-inner {
  max-width: 720px;
  text-align: center;
}
.cta-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .cta-title { font-size: 2.5rem; }
}
.cta-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 480px) {
  .cta-actions { flex-direction: row; justify-content: center; }
}
.btn-invert {
  background: #ffffff;
  color: var(--accent);
}
.btn-invert:hover {
  background: #f0f5ff;
  color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(10, 26, 51, 0.35);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}
.btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* FAQ */
.faq {
  padding: 5rem 0;
  background: var(--bg-paper);
}
.faq-inner { max-width: 800px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.faq-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] {
  border-color: var(--accent);
  background: var(--bg-paper);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 500;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--fg-light);
  font-size: 0.9375rem;
}

/* Issue Log / Printer Problems (kept hooks) */
.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 8px 18px -8px rgba(10, 26, 51, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.issue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -12px rgba(0, 86, 210, 0.2);
}
.issue-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-light);
}
.issue-data {
  padding: 1.5rem;
}
.issue-id {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.issue-name {
  font-family: var(--font-display);
  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);
}

/* Services carousel (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 14px 28px -12px rgba(0, 86, 210, 0.18);
}
.svc-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.svc-icon-wrap {
  flex: none;
  width: 3rem;
  height: 3rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-icon-wrap svg { width: 1.375rem; height: 1.375rem; }
.svc-card h3, .svc-title {
  font-size: 1.1875rem;
  margin-bottom: 0;
}
.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;
  transition: color 0.2s ease, gap 0.2s ease;
}
.svc-link:hover { color: var(--accent-hover); gap: 0.75rem; }
