/* =========================================================================
   site.css — shared components added in the ASI Computer rebuild
   (loaded on every page after main/header/footer/whatsapp)
   ========================================================================= */

/* ---------- generic CTA band (was inline on the old home page) ---------- */
.cta-section {
  background: var(--gradient-hero);
  padding: 3rem 0;
  text-align: center;
  color: #fff;
}
.cta-section h2 { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 0.75rem; }
.cta-section p { font-size: clamp(1rem, 1.5vw, 1.125rem); opacity: 0.88; max-width: 640px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn { padding: 0.9rem 2rem; font-size: var(--fs-body); }
.cta-section .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.cta-section .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ---------- badges / pricing states ---------- */
.badge-status-disc { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.price-note, .pricing-note { font-size: var(--fs-xs); color: var(--text-tertiary); line-height: 1.5; }
.pricing-note { margin-top: 0.75rem; }
.msrp { font-size: var(--fs-small); color: var(--text-secondary); font-weight: var(--fw-semibold); }
.sale-note { font-size: var(--fs-xs); color: var(--accent); font-weight: var(--fw-semibold); }
.pricing-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: var(--fs-xs); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-light); margin-bottom: 0.25rem;
}
.product-pricing-disc .pricing-head { color: #64748b; }
.product-card-disc { opacity: 0.92; }
.product-card-disc .product-card-img { filter: saturate(0.7); }

/* product page extras */
.gallery-thumbs { flex-wrap: wrap; }
.product-actions { flex-wrap: wrap; margin-bottom: 1.25rem; }
.trust-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.4rem; }
.trust-list li { font-size: var(--fs-small); color: var(--text-secondary); padding-left: 1.5rem; position: relative; }
.trust-list li::before { content: "\2713"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.specs-more { margin-top: 1rem; font-size: var(--fs-small); text-align: right; }
.specs-more a { color: var(--accent); font-weight: var(--fw-semibold); }

.bundles-section, .guides-section, .faq-section, .related-section { padding: 2.5rem 0; border-top: 1px solid var(--border); }
.bundles-section h2, .guides-section h2, .faq-section h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); text-align: center; margin-bottom: 1.75rem; }
.bundle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.bundle-card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1rem; text-align: center; transition: var(--transition); }
.bundle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bundle-card img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fafafa; border-radius: var(--radius); margin-bottom: 0.75rem; }
.bundle-card h3 { font-size: var(--fs-small); font-weight: var(--fw-semibold); margin-bottom: 0.5rem; min-height: 2.6em; }
.bundle-price .original { text-decoration: line-through; color: rgb(243, 116, 25); font-size: var(--fs-xs); margin-right: 0.4rem; }
.bundle-price .sale { color: var(--price-sale); font-weight: var(--fw-bold); font-size: var(--fs-large); }

.guides-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.75rem; }
.guides-list li { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 0.9rem 1.1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.guides-list a { font-weight: var(--fw-semibold); color: var(--text-primary); }
.guides-list a:hover { color: var(--accent); }
.guides-list span { font-size: var(--fs-xs); color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; }
.guides-cols { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.guides-cols > div > h2 { font-size: var(--fs-h3); margin-bottom: 1.1rem; }
.guides-cols .guides-list { grid-template-columns: 1fr; }
.guides-cols .specs-more { margin-top: 0.9rem; text-align: right; }
@media (min-width: 900px) { .guides-cols:has(> div + div) { grid-template-columns: 1fr 1fr; } }
/* landing page ASI-resources block (Contact page) */
.asi-links ul { list-style: none; padding: 0; margin: 0; }
.asi-links li { font-size: var(--fs-small); line-height: 1.5; padding: 0.35rem 0; border-bottom: 1px dashed var(--border-light); }
.asi-links li:last-child { border-bottom: 0; }
.asi-links a { color: var(--accent); }

/* ---------- FAQ (product pages, articles, landing pages) ---------- */
.faq-list, .article-faq { max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius); margin-bottom: 0.75rem; }
.faq-item summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: var(--fw-semibold); color: var(--text-primary); list-style: none; position: relative; padding-right: 2.5rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.25rem; font-weight: 700; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-answer { padding: 0 1.25rem 1.1rem; color: var(--text-secondary); font-size: var(--fs-small); line-height: 1.7; }
.faq-answer p { margin: 0; }

/* ---------- listing pages ---------- */
.listing-intro { max-width: 900px; margin: 2rem auto 0; color: var(--text-secondary); line-height: 1.75; font-size: var(--fs-small); }
.disc-block { margin-top: 1.5rem; border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 0.5rem 1rem 1rem; background: #fafbfd; }
.disc-block summary { cursor: pointer; font-weight: var(--fw-semibold); color: var(--text-secondary); padding: 0.5rem 0; }
.disc-block .grid-4 { margin-top: 1rem; }
.mega-menu-group-disc a { color: var(--text-tertiary); }

/* ---------- articles ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; font-size: var(--fs-xs); color: var(--text-tertiary); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.article-category { color: var(--accent); font-weight: var(--fw-semibold); }
.article-lede { font-size: var(--fs-large) !important; color: var(--text-primary) !important; line-height: 1.6 !important; }
.article-featured-image { width: 100%; height: auto; border-radius: var(--radius); margin: 0.5rem 0 1.75rem; aspect-ratio: 16/9; object-fit: cover; }
.article-full table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.75rem; font-size: var(--fs-small); background: var(--bg-white); box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; }
.article-full th { background: rgba(0,87,183,0.06); text-align: left; padding: 0.75rem 1rem; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary-dark); border-bottom: 2px solid var(--border); }
.article-full td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border-light); vertical-align: top; color: var(--text-secondary); line-height: 1.55; }
.article-full tr:last-child td { border-bottom: none; }
.article-full blockquote { border-left: 4px solid var(--accent); background: rgba(0,87,183,0.04); padding: 1rem 1.25rem; margin: 1.25rem 0; border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-secondary); }
.article-full ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-full ol li { font-size: var(--fs-body); line-height: 1.8; color: var(--text-secondary); margin-bottom: 0.375rem; }
.article-full a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-full a:hover { color: var(--accent-hover, #0b2ea8); }
.article-full .grid-4 a, .article-full .cta-actions a { text-decoration: none; }
.article-callout { background: linear-gradient(135deg, #f0f5ff, #ffffff); border: 1px solid #d6e2ff; border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.article-callout h3 { margin-top: 0 !important; }
.article-products, .article-faq, .article-sources, .article-related { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--border-light); }
.article-products h2, .article-faq h2, .article-sources h2, .article-related h2 { font-size: var(--fs-h3); font-weight: var(--fw-bold); margin-bottom: 1.25rem; }
.article-products .grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.article-sources ul { padding-left: 1.25rem; }
.article-sources li { font-size: var(--fs-small); line-height: 1.7; color: var(--text-secondary); }
.article-cta { background: var(--gradient-hero); color: #fff; border-radius: var(--radius-lg); padding: 2rem; margin-top: 2.5rem; text-align: center; }
.article-cta h3 { color: #fff; margin: 0 0 0.5rem !important; font-size: var(--fs-h3) !important; }
.article-cta p { color: rgba(255,255,255,0.85) !important; margin-bottom: 1.25rem !important; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card { display: flex; flex-direction: column; background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.related-card > div { padding: 1rem; }
.related-card h3 { font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--text-primary); line-height: 1.4; }
.cat-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.cat-pill { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; padding: 0.3rem 0.9rem; font-size: var(--fs-xs); color: #fff; }
.cat-pill b { opacity: 0.8; margin-left: 0.25rem; }
.articles-hero p { opacity: 0.85; margin-top: 0.5rem; }
@media (max-width: 800px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- specs pages ---------- */
.specs-wrap { padding: 1rem 0 3rem; }
.specs-wrap .breadcrumb { margin-bottom: 0.5rem; }
.specs-index { list-style: none; padding: 0; columns: 2; column-gap: 2.5rem; }
.specs-index li { padding: 0.5rem 0; border-bottom: 1px solid var(--border-light); font-size: var(--fs-small); break-inside: avoid; }
.specs-index li a:first-child { font-weight: var(--fw-semibold); color: var(--text-primary); }
.specs-index li a { color: var(--accent); }
.spec-products { margin-top: 2.5rem; }
.spec-products h2 { font-size: var(--fs-h3); font-weight: var(--fw-bold); margin-bottom: 1.25rem; }
.specs-cta { margin-top: 2rem; justify-content: flex-start; }
@media (max-width: 700px) { .specs-index { columns: 1; } }

/* ---------- static / legal pages ---------- */
.page-hero { background: var(--gradient-hero); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; text-align: center; }
.page-hero h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.85; max-width: 720px; margin: 0 auto; line-height: 1.7; }
.page-hero .cta-actions { margin-top: 1.75rem; }
.prose { max-width: 860px; margin: 0 auto; padding: 3rem 0; }
.prose h2 { font-size: var(--fs-h3); font-weight: var(--fw-bold); margin: 2rem 0 0.75rem; color: var(--text-primary); }
.prose h3 { font-size: var(--fs-body); font-weight: var(--fw-semibold); margin: 1.5rem 0 0.5rem; }
.prose p, .prose li { font-size: var(--fs-body); line-height: 1.8; color: var(--text-secondary); }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.35rem; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: var(--fs-small); }
.prose th, .prose td { text-align: left; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--border-light); vertical-align: top; }
.prose th { background: rgba(0,87,183,0.06); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; }
.prose .updated { font-size: var(--fs-xs); color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.5rem; }
.info-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: var(--fs-body); font-weight: var(--fw-bold); margin-bottom: 0.5rem; }
.info-card p, .info-card li { font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.65; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }

/* ---------- landing pages ---------- */
.landing-hero { position: relative; color: #fff; background: #0a1e3d; overflow: hidden; }
.landing-hero img.landing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
/* ASI logo watermarks — dual layer, sized/opacities close to the homepage hero
   but knocked out to white so they read on the dark photo backdrop.
   ::before  large, top-right;  ::after  smaller, bottom-left, rotated. */
.landing-hero::before,
.landing-hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  aspect-ratio: 758 / 227;
  background: url('../assets/asi-logo.svg') no-repeat center / contain;
  filter: brightness(0) invert(1) blur(0.4px);
  pointer-events: none;
}
.landing-hero::before {
  right: -6%;
  top: -8%;
  width: 78%;
  opacity: 0.1;
  -webkit-mask-image: linear-gradient(115deg, transparent 8%, rgba(0, 0, 0, 0.55) 40%, #000 75%);
  mask-image: linear-gradient(115deg, transparent 8%, rgba(0, 0, 0, 0.55) 40%, #000 75%);
}
.landing-hero::after {
  left: -7%;
  bottom: -9%;
  width: 52%;
  opacity: 0.12;
  transform: rotate(-6deg);
  transform-origin: left bottom;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, #000 30%, #000 60%, transparent 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, #000 30%, #000 60%, transparent 100%);
}
@media (max-width: 960px) {
  /* Keep both layers on mobile (full-bleed dark hero still has room), but pull
     them further off-edge so they don't compete with the headline. */
  .landing-hero::before { width: 95%; right: -22%; top: -10%; opacity: 0.08; }
  .landing-hero::after { width: 58%; left: -16%; bottom: -12%; opacity: 0.09; }
}
.landing-hero .container { position: relative; z-index: 2; padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 3rem); max-width: 1000px; }
.landing-hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1rem; }
.landing-hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); opacity: 0.9; max-width: 720px; line-height: 1.7; margin-bottom: 1.75rem; }
.landing-hero .cta-actions { justify-content: flex-start; }
.landing-hero .eyebrow { display: inline-block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; font-weight: var(--fw-bold); color: #ffd166; margin-bottom: 1rem; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.value-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); }
.value-card h3 { font-size: var(--fs-body); font-weight: var(--fw-bold); margin-bottom: 0.5rem; }
.value-card p { font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.65; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.step { position: relative; padding: 1.5rem 1.5rem 1.5rem 4rem; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 1.25rem; top: 1.35rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.step h3 { font-size: var(--fs-body); font-weight: var(--fw-bold); margin-bottom: 0.4rem; }
.step p { font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.6; }
.compliance-note { background: #fff8e6; border: 1px solid #ffe0a3; border-radius: var(--radius); padding: 1rem 1.25rem; font-size: var(--fs-small); color: #7a4b00; line-height: 1.65; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 5rem 1rem; }
.notfound h1 { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 800; color: var(--accent); line-height: 1; }
.notfound p { color: var(--text-secondary); margin: 1rem auto 2rem; max-width: 520px; }

/* utility */
.mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; } .text-center { text-align: center; }
.section-tight { padding: 3rem 0; }
