/* The Auto Dialer - shared styles (temporary static site) */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --ink: #10182b;
  --ink-soft: #4d5872;
  --line: #e3e8f0;
  --brand: #1a56db;
  --brand-dark: #143fa5;
  --accent: #0f9d58;
  --radius: 14px;
  --wrap: 1120px;
  --shadow: 0 10px 30px rgba(16, 24, 43, .07);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); }
p { margin: 0 0 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  flex-wrap: wrap;
  padding-block: .5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #3f7ef5);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .75rem;
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.is-active { color: var(--brand); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .6rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-wa { background: var(--accent); color: #fff; }
.btn-wa:hover { background: #0b7c44; }

/* ---------- sections ---------- */
section { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: #e8effd;
  padding: .3rem .7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.lead { font-size: 1.08em; color: var(--ink-soft); max-width: 60ch; }
.section-head { max-width: 62ch; margin-bottom: 2rem; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, #eef3fe, #ffffff);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.hero-points li::before { content: "\2713"; color: var(--accent); font-weight: 700; margin-right: .4rem; }

/* ---------- grids ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); margin: 0; }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e8effd;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: .9rem;
}

.step-no {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: .9rem;
}

.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  text-align: center;
}
.stat strong { display: block; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); color: var(--brand); }
.stat span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- cta band ---------- */
.cta {
  background: linear-gradient(135deg, #10182b, #1a2c56);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #c5cee4; max-width: 55ch; margin-inline: auto; }
.cta .hero-actions { justify-content: center; }

/* ---------- legal / prose ---------- */
.prose { max-width: 75ch; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: .4rem; }
.updated { color: var(--ink-soft); font-size: .9rem; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }

form label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .92rem; }
form input, form select, form textarea {
  width: 100%;
  font: inherit;
  font-size: max(1rem, 16px);
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #fff;
  color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}
form textarea { min-height: 120px; resize: vertical; }

/* ---------- faq ---------- */
details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  margin-bottom: .75rem;
  background: #fff;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 28px;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--brand); font-weight: 700; }
details[open] summary::after { content: "\2013"; }
details p { margin: .75rem 0 0; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer {
  background: #0c1324;
  color: #b8c2d9;
  padding-block: 3rem 1.5rem;
  margin-top: 0;
}
.site-footer a { color: #b8c2d9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.site-footer h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .9rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .55rem; font-size: .94rem; }
.footer-brand p { font-size: .94rem; max-width: 34ch; }
.footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #1e2942;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  justify-content: space-between;
  font-size: .88rem;
}

@media (max-width: 640px) {
  .brand span.brand-text { font-size: .98rem; }
  .nav { gap: .5rem; }
  .nav-links a { padding: 0 .55rem; font-size: .95rem; }
}
