/* =========================
   Base / Reset / Typography
========================= */
* { box-sizing: border-box; }
html { hyphens: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0b1020;
  background: #ffffff;
  line-height: 1.5;
}
a { color: inherit; }

/* Keep words intact; allow natural wrapping */
h1, h2, h3, p, a, li, label, button {
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: auto;
}

/* Container */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* =========================
   Header (Logo only)
========================= */
.header {
  display: flex;
  align-items: center;
  justify-content: center; /* center the logo */
  padding: 16px 0;
}
.brand { display: flex; align-items: center; }
.brand img {
  display: block;
  height: 60px;  /* adjust here if needed */
}

/* =========================
   Menu Bar (below header)
========================= */
.menu-bar {
  background: #1b6bff;   /* primary blue — change if you want */
  border: none;
}
.menu-bar .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 14px 0;
}
.menu-bar .nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;       /* keep each link as one unit */
  transition: color .25s ease;
}
.menu-bar .nav a:hover { color: #ffd700; } /* gold hover */

/* =========================
   Legacy top nav (if still present)
========================= */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.nav a { margin-left: 16px; text-decoration: none; color: #1b2240; font-weight: 600; }

/* =========================
   Hero
========================= */
.hero {
  background: linear-gradient(180deg, #f3f6ff 0%, #ffffff 100%);
  padding: 72px 0;
  border-bottom: 1px solid #e9eefc;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  text-align: center;
}
.hero h1 { font-size: 40px; line-height: 1.1; margin: 0 0 12px; }
.hero p  { font-size: 18px; margin: 0 0 24px; color: #3b4668; }

/* =========================
   Sections / Headings
========================= */
.section { padding: 56px 0; }
.section.alt {
  background: #f9fbff;
  border-top: 1px solid #eef3ff;
  border-bottom: 1px solid #eef3ff;
}
h2 { font-size: 28px; margin: 0 0 24px; }

/* =========================
   Cards / Grids
========================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: #fff;
  border: 1px solid #e9eefc;
  border-radius: 14px;
  padding: 18px;
}
.card h3 { margin-top: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: #fff;
  border: 1px solid #e9eefc;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.step span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #1b6bff;
  color: #fff;
  font-weight: 700;
}
.note { margin-top: 12px; color: #5b668a; }

/* =========================
   Pricing
========================= */
.price-card {
  border: 1px solid #e9eefc;
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  max-width: 720px;
}
.price { font-size: 36px; font-weight: 800; margin: 12px 0; }
.guarantee { color: #3b4668; }

/* =========================
   Buttons
========================= */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #1b6bff;
  text-decoration: none;
}
.btn-primary {
  background: #1b6bff;
  color: #fff;
  border-color: #1b6bff;
}

/* =========================
   Forms
========================= */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}
input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d7def2;
  border-radius: 10px;
  font: inherit;
}
.hidden { display: none; }
.sla { color: #3b4668; margin-top: 8px; }

/* =========================
   Footer
========================= */
.footer {
  padding: 28px 0;
  border-top: 1px solid #eef3ff;
  color: #67708f;
  text-align: center;
}
.thanks {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px) {
  .menu-bar .nav { gap: 24px; }
}

@media (max-width: 768px) {
  /* Make grids single-column */
  .grid-3, .steps, .form-grid { grid-template-columns: 1fr; }

  /* Tighter hero text */
  .hero h1 { font-size: 32px; line-height: 1.2; }
  .hero p  { font-size: 16px; }

  /* Allow menu to wrap but keep each item intact */
  .menu-bar .nav { flex-wrap: wrap; gap: 16px; padding: 12px 0; }
  .menu-bar .nav a { white-space: nowrap; padding: 6px 8px; }

  /* Logo scaling on small screens */
  .brand img { height: 60px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .menu-bar .nav { gap: 12px; }
  .brand img { height: 42px; }
}

/* =========================
   Reduced Motion Preference
========================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
