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

body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  color: #233041;
  background: #ffffff;
  line-height: 1.6;
}

a { color: #1379b7; text-decoration: none; }
a:hover { color: #00db9e; }

/* ── Header ─────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #233041;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: .5px;
}
.logo span { color: #00db9e; }

nav a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  margin-left: 1.8rem;
  transition: color .2s;
}
nav a:hover { color: #00db9e; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: #233041;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 2rem 4rem;
}

.hero-inner { max-width: 720px; }

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: #00db9e; }

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.btn-primary {
  background: #1379b7;
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,.5);
  margin-left: 1rem;
}
.btn-outline:hover { border-color: #00db9e; color: #00db9e; }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 5rem 2rem; }

.container { max-width: 1080px; margin: 0 auto; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  font-weight: 700;
  color: #1379b7;
  margin-bottom: .5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #233041;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: #546378;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── Feature grid ───────────────────────────────────────── */
.features { background: #f5f7fa; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.8rem;
  box-shadow: 0 2px 12px rgba(35,48,65,.08);
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(35,48,65,.14); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #233041;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}

.card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: #233041; }
.card p { font-size: .95rem; color: #546378; }

/* ── How it works ───────────────────────────────────────── */
.how { background: #ffffff; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}

.step { text-align: center; counter-increment: steps; }

.step::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #1379b7;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h3 { font-size: 1rem; margin-bottom: .4rem; color: #233041; }
.step p { font-size: .9rem; color: #546378; }

/* ── CTA banner ─────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, #1379b7 0%, #233041 100%);
  color: #fff;
  text-align: center;
}
.cta h2 { color: #fff; margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,.8); margin-bottom: 2rem; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: #1a2534;
  color: rgba(255,255,255,.55);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: .88rem;
}
footer a { color: rgba(255,255,255,.7); margin: 0 .8rem; }
footer a:hover { color: #00db9e; }
.footer-links { margin-bottom: .8rem; }

/* ── Legal pages ────────────────────────────────────────── */
.legal-page { padding-top: 100px; }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.legal-content h1 { font-size: 2rem; margin-bottom: 2rem; color: #233041; }
.legal-content h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; color: #233041; }
.legal-content p { color: #546378; margin-bottom: 1rem; }
.legal-content ul { color: #546378; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: .4rem; }
.legal-content a { color: #1379b7; }

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .btn-outline { margin-left: 0; margin-top: .8rem; }
}

/* ── Contact form ────────────────────────────────────────── */
.contact-section {
  background: #233041;
}

.contact-section .section-label { color: #00db9e; }
.contact-section h2              { color: #ffffff; }
.contact-section .section-lead  { color: rgba(255,255,255,.7); }

.contact-card {
  max-width: 700px;
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #546378;
  margin-bottom: .5rem;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  border: 1.5px solid #dce3ed;
  border-radius: 10px;
  padding: .85rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #233041;
  background: #f7f9fc;
  transition: border-color .2s, background .2s, box-shadow .2s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #a0afc0; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1379b7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(19,121,183,.12);
}

.form-group textarea { min-height: 140px; }

.btn-submit {
  display: block;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  background: #1379b7;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .15s;
  margin-top: .4rem;
}
.btn-submit:hover {
  background: #0f63a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19,121,183,.35);
}

.form-msg {
  border-radius: 10px;
  padding: 1rem 1.3rem;
  margin-bottom: 1.6rem;
  font-weight: 700;
  font-size: .95rem;
}
.form-msg--ok  { background: #d4f5ed; color: #0a6649; border-left: 4px solid #00db9e; }
.form-msg--err { background: #fde8e8; color: #9b1c1c; border-left: 4px solid #e53e3e; }

@media (max-width: 640px) {
  .form-row      { grid-template-columns: 1fr; gap: 0; }
  .contact-card  { padding: 1.8rem 1.4rem; }
}

/* ── Honeypot: visually hidden, not display:none so bots see it ── */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
