/* ============================================================
   sv-homepage.css — Securevision Homepage Styles
   Extracted from index.html inline styles June 2026
   sv-shared.css is NOT modified — all homepage-specific
   overrides and component styles live here only.
   ============================================================ */

/* ── UTILITY: max-width helpers ────────────────────────────── */
.max-800 {
  max-width: 800px;
}

.max-700 {
  max-width: 700px;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

/* ── SECTION SPACING ───────────────────────────────────────── */
.hp-section-padding {
  padding: 56px 0;
}

.hp-container-padding {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* ── SUBTITLE WITH BOTTOM MARGIN ───────────────────────────── */
.hp-subtitle-mb {
  margin-bottom: 40px;
}

/* ── RESPONSE LOOP: second paragraph margin ────────────────── */
.hp-loop-para-2 {
  margin-top: 16px;
}

/* ── HERO BACKGROUND ───────────────────────────────────────── */
.hero-homepage {
  background-image: url('/images/hero-securevision-smart-systems.webp');
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .hero-homepage {
    background-image: url('/images/hero-securevision-smart-systems-mobile.webp');
  }
}

/* ── CALLOUT BOX LABEL ("In Short") ───────────────────────── */
.hp-callout-label {
  font-family: var(--display-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue, #0056b3);
  margin-bottom: 10px;
  display: block;
}

/* ── CALLOUT BOX H2 OVERRIDE ───────────────────────────────── */
.hp-callout-h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

/* ── START HERE: "Where Do You Fit?" CARDS ─────────────────── */
.hp-grid-gap {
  gap: 20px;
}

.hp-start-card {
  display: block;
  padding: 28px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hp-start-card:hover {
  border-color: var(--primary-blue, #0056b3);
  box-shadow: 0 8px 24px rgba(0, 86, 179, 0.08);
}

.hp-start-card-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.hp-start-card-title {
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark, #1B1F23);
  margin: 0 0 8px;
}

.hp-start-card-body {
  font-size: 13px;
  color: var(--text-light, #5F6368);
  margin: 0 0 14px;
  line-height: 1.6;
}

.hp-start-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue, #0056b3);
}

/* ── RESOURCE CARDS: "Learn Before You Buy" ────────────────── */
.hp-resource-card-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.hp-resource-card-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.hp-resource-card-body {
  font-size: 13px;
  color: var(--text-gray, var(--text-light, #5F6368));
  margin-bottom: 12px;
}

.hp-resource-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue, #0056b3);
}

/* ── FAQ SECTION ───────────────────────────────────────────── */
.hp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.hp-faq-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-blue, #0056b3);
  color: #fff;
  font-family: var(--display-font);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.hp-faq-question {
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark, #1B1F23);
  margin: 0 0 10px 0;
  text-align: left;
}

.hp-faq-answer {
  font-size: 15px;
  color: var(--text-light, #5F6368);
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

/* ── WHAT WE'VE LEARNED SECTION ────────────────────────────── */
/* Already defined in <style> block — moved here for completeness */
/* Classes: .learned-grid, .learned-card, .learned-num */
/* These were already in the <style> block and remain correct */

/* ── GRID GAP OVERRIDE ─────────────────────────────────────── */
.grid-3.hp-grid-gap {
  gap: 20px;
}

/* ── PROBLEM SECTION: "Does Any of This Sound Familiar?" ───── */
.hp-problem-grid {
  gap: 20px;
  margin-top: 40px;
  max-width: 900px;
}

.hp-problem-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.hp-problem-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hp-problem-body {
  margin: 0;
  font-size: 15px;
  color: var(--text-light, #5F6368);
  line-height: 1.6;
}

/* ── BLUE CALLOUT BOX (below problems) ─────────────────────── */
.hp-callout-wrap {
  margin-top: 32px;
  max-width: 900px;
}

.hp-callout-blue {
  background: var(--primary-blue, #0056b3);
  border-radius: 12px;
  padding: 28px 32px;
}

.hp-callout-blue-text {
  margin: 0;
  font-size: 16px;
  color: #fff;
  line-height: 1.7;
}

.hp-callout-blue-cta {
  text-align: center;
  margin-top: 20px;
}

/* ── MUTED OUTLINE BUTTON ───────────────────────────────────── */
.hp-btn-outline-muted {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #94a3b8;
  border-radius: 8px;
  font-family: var(--display-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light, #5F6368);
  text-decoration: none;
  background: transparent;
  transition: border-color 0.2s, color 0.2s;
}

.hp-btn-outline-muted:hover {
  border-color: var(--primary-blue, #0056b3);
  color: var(--primary-blue, #0056b3);
}

/* ── CTA BUTTON CENTRE OVERRIDE ─────────────────────────────── */
.hp-btn-center {
  justify-content: center;
}

/* ── PADDING TOP UTILITY ────────────────────────────────────── */
.hp-pt-16 {
  padding-top: 16px;
}

/* ── RESOURCE CARD PADDING ──────────────────────────────────── */
.card.card-clickable.hp-resource-card {
  padding: 24px;
  text-decoration: none;
}


/* ── MOVED FROM index.html <style> BLOCK ───────────────────── */

/* ── Homepage inline styles — components not in sv-shared.css ── */

/* callout-box (from sv-solutions.css) */
.callout-box {
  background: var(--bg-light, #f8fafc);
  border: 1px solid var(--border-light, #e2e8f0);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 12px;
  padding: 36px 40px;
  max-width: 860px;
  margin: 0;
}
.callout-box h2 { font-size: 22px; margin-bottom: 14px; color: var(--text-dark, #0f172a); }
.callout-box p  { font-size: 16px; color: var(--text-gray, var(--text-light, #5F6368)); line-height: 1.8; margin-bottom: 14px; }
.callout-box p:last-child { margin-bottom: 0; }

/* Response Loop (from sv-brands.css) */
.loop-wrap  { position: relative; width: 500px; height: 500px; margin: 60px auto; }
.loop-core  {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 190px; height: 190px; background: var(--primary-blue, #0056b3);
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 15px 35px rgba(0,86,179,0.3), inset 0 0 20px rgba(255,255,255,0.1);
  z-index: 10; color: #fff; padding: 20px;
}
.loop-core strong { display: block; font-size: 18px; color: #fff; text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.4; }
.loop-core span   { font-size: 11px; color: rgba(255,255,255,0.9); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.8px; }
.loop-node        { position: absolute; width: 140px; text-align: center; transition: all 0.4s ease; z-index: 5; }
.node-1 { top: 2%;  left: 50%;  transform: translate(-50%, 0); }
.node-2 { top: 30%; left: 102%; transform: translate(-100%, -50%); }
.node-3 { top: 85%; left: 80%;  transform: translate(-50%, -100%); }
.node-4 { top: 85%; left: 20%;  transform: translate(-50%, -100%); }
.node-5 { top: 30%; left: -2%;  transform: translate(0, -50%); }
.node-icon  { width: 60px; height: 60px; background: #fff; border: 1px solid #e2e8f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-dark, #0f172a); margin: 0 auto 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.node-title { font-family: var(--display-font); font-weight: 700; font-size: 13px; text-transform: uppercase; color: var(--text-dark, #0f172a); margin-bottom: 4px; }
.node-desc  { font-size: 12px; color: var(--text-light, #94a3b8); line-height: 1.3; }
.loop-svg   { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
@media (max-width: 768px) {
  .loop-wrap { width: 320px; height: 320px; }
  .loop-core { width: 140px; height: 140px; }
  .loop-core strong { font-size: 14px; }
  .node-desc { display: none; }
}

/* What We've Learned cards */
.learned-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.learned-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 32px; position: relative; transition: box-shadow 0.2s, transform 0.2s; }
.learned-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.07); }
.learned-num { font-family: var(--display-font); font-size: 36px; font-weight: 800; color: #0056b3; line-height: 1; margin-bottom: 16px; }
.learned-card p { font-size: 15px; color: var(--text-light, #5F6368); line-height: 1.7; margin: 0; }
@media (max-width: 860px) { .learned-grid { grid-template-columns: 1fr; } }

/* sv-sys-card — from sv-systems.css, duplicated for homepage */
.sv-sys-card { background: var(--bg-light, #f8fafc); border: 1px solid var(--border-light, #e2e8f0); border-radius: 12px;  padding: 0; text-decoration: none; color: var(--text-dark, #0f172a); display: flex; flex-direction: column; transition: 0.3s; overflow: hidden; }
.sv-sys-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.10); transform: translateY(-4px); background: #fff; }
.sv-sys-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.sv-sys-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-sys-card h3 { font-size: 15px; font-family: var(--display-font); font-weight: 700; margin: 16px 20px 8px; color: var(--text-dark, #0f172a); }
.sv-sys-card p  { font-size: 15px; color: var(--text-light, #94a3b8); line-height: 1.7; flex: 1; margin: 0 20px 16px; }
.sv-sys-link    { font-size: 12px; font-weight: 700; font-family: var(--display-font); text-transform: uppercase; letter-spacing: 0.5px; color: var(--primary-blue, #0056b3); padding: 0 20px 20px; }
.sys-card-icon  { font-size: 32px; margin-bottom: 16px; line-height: 1; display: block; }

/* hero-full — video homepage hero */
.hero.hero-full { min-height: 80vh; }

@media (max-width: 768px) {
  .hero.hero-full {
    background-image: url('/images/hero-securevision-smart-systems-mobile.webp') !important;
  }
}

/* ── SVG ICON STYLES ───────────────────────────────────────── */
.hp-card-svg,
.hp-resource-svg,
.hp-factor-svg,
.learned-card-svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-blue, #0056b3);
  transition: stroke 0.2s, transform 0.2s;
  display: block;
  margin-bottom: 12px;
}

.hp-start-card:hover .hp-card-svg {
  stroke: var(--dark-blue, #003d82);
  transform: translateY(-2px);
}

.hp-resource-card:hover .hp-resource-svg {
  stroke: var(--dark-blue, #003d82);
  transform: translateY(-2px);
}
