/* Kscope / Solutions in Mail — Landing Page Styles */

:root {
  --navy: #1a1f36;
  --navy-dark: #0f1223;
  --navy-light: #2a2f4a;
  --red: #c92a2a;
  --red-dark: #a11f1f;
  --red-light: #e84a4a;
  --blue: #2f5fa5;
  --blue-dark: #1e4685;
  --blue-light: #5785c4;
  --slate: #475569;
  --slate-dark: #1e293b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --success: #059669;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

/* ============= HEADER ============= */
.lp-header {
  background: var(--white);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.lp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.header-logo {
  height: 44px;
  width: auto;
  display: block;
}
.header-phone {
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--red);
  border-radius: 6px;
  transition: background 0.2s;
  text-decoration: none;
}
.header-phone:hover { background: var(--red-dark); color: var(--white); }

/* ============= HERO ============= */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 64px 24px 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.45;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(15, 18, 35, 0.85) 0%, rgba(26, 31, 54, 0.75) 50%, rgba(26, 31, 54, 0.85) 100%);
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}
.hero-badge {
  display: inline-block;
  background: rgba(201, 42, 42, 0.15);
  color: var(--red-light);
  border: 1px solid var(--red);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--red); }
.hero-subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 28px;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 8px;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(201, 42, 42, 0.3);
}
.hero-phone:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============= FORM CARD ============= */
.form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 22px 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  color: var(--slate-dark);
}
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.form-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
}
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: var(--success);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
/* Compact the embedded HubSpot form's iframe */
.hs-form-frame,
.hs-form-frame iframe {
  min-height: 0 !important;
  margin: 0 !important;
}
.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-dark);
  margin-bottom: 6px;
  margin-top: 14px;
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-card textarea { resize: vertical; min-height: 80px; }
.form-card button {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
}
.form-card button:hover { background: var(--navy-light); }
.form-card .hp { position: absolute; left: -9999px; }

/* ============= TRUST BAR ============= */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-dark);
}
.trust-item svg { color: var(--red); flex-shrink: 0; }

/* ============= SECTIONS ============= */
section.content {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-desc {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--slate);
  font-size: 17px;
}

/* ============= SERVICE CARDS ============= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 39, 72, 0.12);
  border-color: var(--red);
}
.service-card .icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--slate);
  font-size: 15px;
}

/* ============= COMPLIANCE BADGES ============= */
.compliance-section {
  background: var(--navy);
  color: var(--white);
  padding: 80px 24px;
}
.compliance-section .section-title { color: var(--white); }
.compliance-section .section-desc { color: #cbd5e1; }
.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.badge-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(201, 42, 42, 0.3);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
}
.badge-card .badge-label {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}
.badge-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.badge-card p {
  color: #cbd5e1;
  font-size: 14px;
}

/* ============= WHY / DIFFERENTIATORS ============= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.why-item {
  display: flex;
  gap: 20px;
  align-items: start;
}
.why-item .number {
  background: var(--red);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.why-item h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.why-item p {
  color: var(--slate);
  font-size: 15px;
}

/* ============= CTA BANNER ============= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}
.cta-banner h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}
.cta-banner p {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-red, .btn-gold {
  background: var(--red);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-red:hover, .btn-gold:hover { background: var(--red-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 16px 28px;
  border: 2px solid var(--white);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* ============= FOOTER ============= */
.lp-footer {
  background: var(--navy-dark);
  color: #94a3b8;
  padding: 40px 24px;
  text-align: center;
  font-size: 14px;
}
.lp-footer p { margin-top: 8px; }
.lp-footer a { color: var(--red-light); }

/* ============= MOBILE STICKY CTA ============= */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  padding: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 100;
}
.mobile-cta-inner {
  display: flex;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
}
.mobile-cta a {
  flex: 1;
  padding: 14px;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}
.btn-call {
  background: var(--red);
  color: var(--white);
}
.btn-quote {
  background: var(--navy);
  color: var(--white);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .hero-subtitle { font-size: 17px; }
  .services-grid { grid-template-columns: 1fr; }
  .badges-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section-title { font-size: 28px; }
  .cta-banner h2 { font-size: 26px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 80px; }
  .lp-header-inner { flex-direction: column; align-items: flex-start; }
}
