/* ============================================================
   ColdBVG - shared styles (mobile-first)
   Palette + type from the ColdBVG wireframe:
   accent #0091FF · accent-dark #0072CC · navy #0B2540
   body #4B6478 · border #DCE7F0 · ice #F3F9FD
   ============================================================ */

:root {
  --accent: #0091FF;
  --accent-dark: #0072CC;
  --navy: #0B2540;
  --body: #4B6478;
  --border: #DCE7F0;
  --ice: #F3F9FD;
  --green: #22B07D;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(11, 37, 64, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font: 400 16px/1.5 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Manrope', sans-serif; color: var(--navy); margin: 0; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 15px 24px;
  border-radius: 14px;
  font: 800 15px 'Manrope', sans-serif;
  box-shadow: 0 10px 24px rgba(0, 145, 255, 0.28);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--white { background: #fff; color: var(--accent-dark); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.btn--white:hover { background: #F0F7FD; }
.btn--small { padding: 10px 16px; font-size: 13px; border-radius: 10px; box-shadow: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: none; }
.nav__links a {
  text-decoration: none;
  color: var(--navy);
  font: 500 15px 'Inter', sans-serif;
}
.nav__links a:hover { color: var(--accent); }
.nav__links a.is-active { color: var(--accent); font-weight: 700; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 8px 18px 16px 18px;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  text-decoration: none;
  color: var(--navy);
  font: 600 16px 'Inter', sans-serif;
  padding: 13px 4px;
  border-bottom: 1px solid var(--ice);
}
.nav__mobile a.is-active { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #0F3A66 45%, var(--accent) 130%);
  padding: 40px 20px 36px 20px;
  text-align: center;
}
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  font: 700 12px 'Inter', sans-serif;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.hero h1 {
  font: 800 34px/1.12 'Manrope', sans-serif;
  color: #fff;
  max-width: 620px;
}
.hero__sub {
  font: 400 16px/1.55 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  max-width: 460px;
}
.hero__img {
  width: 100%;
  max-width: 520px;
  margin-top: 10px;
}
.hero__img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ---------- Sections ---------- */
.section { padding: 44px 20px; background: #fff; }
.section--ice { background: var(--ice); }
.section__inner { max-width: 1200px; margin: 0 auto; }
.section h2 { font: 800 24px 'Manrope', sans-serif; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.section__head--center { justify-content: center; text-align: center; }
.see-all {
  color: var(--accent-dark);
  font: 700 14px 'Inter', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.eyebrow {
  font: 700 12px 'Inter', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

/* ---------- Selling points strip ---------- */
.selling {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.selling__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.selling__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 16px 'Manrope', sans-serif;
}
.selling__title { font: 700 17px 'Manrope', sans-serif; color: var(--navy); }
.selling__body { font: 400 14px/1.5 'Inter', sans-serif; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.card__photo {
  height: 240px;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__photo--contain img { object-fit: contain; padding: 14px; }
.card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.card__toprow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__title { font: 700 18px 'Manrope', sans-serif; color: var(--navy); }
.card__pill {
  background: var(--ice);
  color: var(--accent-dark);
  font: 700 11px 'Inter', sans-serif;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.card__specs { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 5px; }
.card__specs li { font: 400 14px 'Inter', sans-serif; color: var(--body); }
.card__link {
  color: var(--accent-dark);
  font: 700 13px 'Inter', sans-serif;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.card__desc { font: 400 14px/1.55 'Inter', sans-serif; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(11, 37, 64, 0.06);
}
.step__num { font: 800 26px 'Manrope', sans-serif; color: var(--accent); }
.step__title { font: 700 17px 'Manrope', sans-serif; color: var(--navy); }
.step__body { font: 400 14px/1.5 'Inter', sans-serif; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--accent));
  padding: 44px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-band h2 { font: 800 24px 'Manrope', sans-serif; color: #fff; max-width: 640px; }
.cta-band p { font: 400 15px 'Inter', sans-serif; color: rgba(255, 255, 255, 0.85); }

/* ---------- Contact / About ---------- */
.split { display: flex; flex-direction: column; gap: 28px; }
.split__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.page-title { font: 800 30px 'Manrope', sans-serif; }
.page-sub { font: 400 15px/1.55 'Inter', sans-serif; max-width: 620px; }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: var(--ice);
  border-radius: 16px;
}
.contact-row { display: flex; align-items: flex-start; gap: 14px; }
.contact-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(11, 37, 64, 0.08);
}
.contact-row__label {
  font: 700 11px 'Inter', sans-serif;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-row__value { font: 600 15px 'Manrope', sans-serif; color: var(--navy); margin-top: 2px; }
.contact-row__value a { color: var(--navy); text-decoration: none; }

.form-card {
  width: 100%;
  background: var(--navy);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-card h2 { font: 800 22px 'Manrope', sans-serif; color: #fff; }
.form-card__sub { font: 400 14px/1.5 'Inter', sans-serif; color: rgba(255, 255, 255, 0.75); margin-bottom: 8px; }
.form-card__divider { text-align: center; font: 600 12px 'Inter', sans-serif; color: rgba(255, 255, 255, 0.4); margin: 10px 0 2px 0; }
.form-card__secondary {
  text-align: center;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  font: 600 14px 'Inter', sans-serif;
}
.form-card__secondary:hover { border-color: rgba(255, 255, 255, 0.5); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); padding: 32px 20px 20px 20px; }
.footer__inner { max-width: 1200px; margin: 0 auto; }
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font: 500 14px 'Inter', sans-serif;
}
.footer__links a:hover { color: #fff; }
.footer__contact { color: rgba(255, 255, 255, 0.75); font: 500 14px/1.8 'Inter', sans-serif; }
.footer__contact a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer__muted { color: rgba(255, 255, 255, 0.45); font: 400 12px 'Inter', sans-serif; }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  padding-top: 20px;
}

/* ---------- Lead popup ---------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 43, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.popup-overlay.is-open { display: flex; }

.popup-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(6, 24, 43, 0.35);
  animation: pop-in 0.28s ease-out;
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 0 20px;
}
.popup-progress {
  flex: 1;
  height: 6px;
  background: #E3EEF8;
  border-radius: 99px;
  overflow: hidden;
}
.popup-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.35s ease;
}
.popup-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #F1F6FA;
  color: var(--navy);
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.popup-body { padding: 28px 24px 24px 24px; }
.popup-step { display: none; flex-direction: column; gap: 14px; }
.popup-step.is-active { display: flex; }
.popup-eyebrow {
  font: 700 12px 'Inter', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.popup-question {
  font: 800 25px/1.2 'Manrope', sans-serif;
  color: var(--navy);
  margin: 2px 0 6px 0;
}
.popup-input {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-family: 'Inter', sans-serif;
  border: 2px solid var(--border);
  border-radius: 14px;
  outline: none;
  color: var(--navy);
}
.popup-input:focus { border-color: var(--accent); }
textarea.popup-input { resize: vertical; min-height: 90px; }
.popup-error { display: none; color: #D64545; font: 600 13px 'Inter', sans-serif; }
.popup-error.is-visible { display: block; }

.popup-next {
  width: 100%;
  padding: 17px;
  border-radius: 14px;
  border: none;
  margin-top: 4px;
  background: var(--accent);
  color: #fff;
  font: 700 16px 'Manrope', sans-serif;
  cursor: pointer;
}
.popup-next:hover { background: var(--accent-dark); }
.popup-next:disabled { background: #C9DFF2; cursor: default; }
.popup-back {
  background: none;
  border: none;
  color: var(--body);
  font: 600 13px 'Inter', sans-serif;
  cursor: pointer;
  padding: 6px;
  align-self: center;
}

.popup-choices { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.popup-choice {
  width: 100%;
  text-align: left;
  padding: 18px;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--navy);
  font: 600 17px 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}
.popup-choice .tick {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 14px;
  flex-shrink: 0;
}
.popup-choice.is-selected { border-color: var(--accent); background: #EAF4FD; }
.popup-choice.is-selected .tick { border-color: var(--accent); background: var(--accent); color: #fff; }

.popup-dots { display: flex; justify-content: center; gap: 7px; padding-bottom: 22px; }
.popup-dots span {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--border);
  transition: all 0.25s ease;
}
.popup-dots span.is-done { background: var(--accent); }
.popup-dots span.is-current { width: 20px; background: var(--accent); }

.popup-success { text-align: center; padding: 16px 0 4px 0; }
.popup-success__check {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--green);
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: check-in 0.4s ease-out;
}
@keyframes check-in {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
.popup-success h2 { font: 800 24px 'Manrope', sans-serif; margin-bottom: 10px; }
.popup-success p { font: 400 16px/1.5 'Inter', sans-serif; margin-bottom: 24px; padding: 0 8px; }

/* ---------- Products page ---------- */
.product-feature {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}
.product-feature__img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product-feature__text { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.product-feature__text h2 { font: 800 24px 'Manrope', sans-serif; }
.product-feature__text p { font: 400 15px/1.6 'Inter', sans-serif; }

.custom-note { text-align: center; }
.custom-note__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  font: 700 18px 'Manrope', sans-serif;
}
.custom-note h2 { margin-bottom: 8px; }
.custom-note p { max-width: 480px; margin: 0 auto; font: 400 15px/1.55 'Inter', sans-serif; }

/* ============================================================
   Desktop (min-width: 900px)
   ============================================================ */
@media (min-width: 900px) {
  .nav__row { padding: 14px 24px; }
  .nav__logo img { height: 64px; }
  .nav__links { display: flex; gap: 32px; flex: 1; justify-content: center; }
  .nav__burger { display: none; }
  .nav__mobile { display: none !important; }
  .btn--small { padding: 13px 22px; font-size: 14px; }

  .hero { padding: 72px 24px; text-align: left; }
  .hero__inner { flex-direction: row; align-items: center; gap: 56px; }
  .hero__content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero h1 { font-size: 52px; }
  .hero__sub { font-size: 19px; }
  .hero__img { flex: 1; max-width: 560px; margin-top: 0; }
  .hero__img img { height: 400px; }

  .section { padding: 64px 24px; }
  .section h2 { font-size: 30px; }
  .cta-band { padding: 56px 24px; }
  .cta-band h2 { font-size: 30px; }

  .selling { flex-direction: row; gap: 24px; }
  .selling__item { flex: 1; align-items: flex-start; text-align: left; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }

  .split { flex-direction: row; gap: 56px; }
  .page-title { font-size: 42px; }
  .page-sub { font-size: 17px; }
  .form-card { padding: 40px; }
  .form-card h2 { font-size: 26px; }

  .product-feature { flex-direction: row; gap: 48px; }
  .product-feature--flip { flex-direction: row-reverse; }
  .product-feature__img { flex: 1; }
  .product-feature__img img { height: 300px; }
  .product-feature__text { flex: 1; }

  .footer { padding: 48px 24px 24px 24px; }
  .footer__top { flex-direction: row; gap: 40px; }
  .footer__links { flex-direction: row; gap: 24px; }
  .footer__bottom { flex-direction: row; align-items: center; }
}
