/* DeaMar Consulting — landing styles (vanilla, mobile-first) */

:root {
  --teal: #1f9db4;
  --blue: #1668b0;
  --gradient: linear-gradient(120deg, #23a9c2 0%, #1668b0 100%);
  --ink: #1c2430;
  --ink-soft: #4a5568;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --border: #e2eaf1;
  --radius: 12px;
  --max-width: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
}

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

.container.narrow { max-width: 720px; }

h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; margin-top: 0; }
h3 { font-size: 1.15rem; }

a { color: var(--blue); }
a:hover { color: var(--teal); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 104, 176, 0.35);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22, 104, 176, 0.4); }
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-fallback { font-weight: 700; font-size: 1.25rem; color: var(--ink); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav-menu.open { display: block; }
.nav-menu li { padding: 0.35rem 1.25rem; }
.nav-menu a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav-menu a:hover { color: var(--blue); }
.nav-menu .nav-cta { padding-top: 0.75rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient);
  color: #fff;
  padding: 4rem 0 4.5rem;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 2.1rem; margin: 0 0 1rem; }
.hero-sub { font-size: 1.1rem; max-width: 640px; margin: 0 auto 2rem; opacity: 0.95; }
.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.hero .btn-secondary { color: #fff; border-color: #fff; }
.hero .btn-secondary:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.12); }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 720px; }
.section-closing {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--teal);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
}
.section-alt .section-closing { background: #fff; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; margin-top: 2rem; }
.cards-3, .cards-2 { grid-template-columns: 1fr; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(28, 36, 48, 0.05);
}
.section-alt .card { box-shadow: 0 2px 10px rgba(28, 36, 48, 0.06); }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--ink-soft); }
.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
}
.step h3 { margin-top: 0; display: flex; align-items: center; gap: 0.75rem; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.step p { margin-bottom: 0; color: var(--ink-soft); }

.guarantees {
  margin-top: 2.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
}
.guarantees h3 { margin-top: 0; }
.guarantees ul { margin: 0; padding-left: 1.25rem; }
.guarantees li { margin-bottom: 0.75rem; color: var(--ink-soft); }
.guarantees li:last-child { margin-bottom: 0; }
.guarantees strong { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-ctas { margin: 1.5rem 0 2rem; }
.contact-info { font-style: normal; margin-bottom: 2rem; }
.contact-info p { margin: 0.25rem 0; }

.chat-cta {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  background: linear-gradient(135deg, rgba(20,184,166,.08), rgba(37,99,235,.08));
  text-align: center;
}
.chat-cta h3 { margin-top: 0; }
.chat-cta p { color: var(--ink-soft); margin-bottom: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d7dee8;
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.site-footer a { color: #fff; }
.footer-brand { font-size: 1.25rem; margin: 0 0 0.25rem; color: #fff; }
.footer-tagline { margin: 0 0 1.25rem; color: #9fb0c3; }
.footer-nav {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
}
.footer-nav a { text-decoration: none; }
.footer-contact { margin: 0 0 1rem; font-size: 0.95rem; }
.footer-copy { margin: 0; font-size: 0.9rem; color: #9fb0c3; }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- Tablet & desktop ---------- */
@media (min-width: 720px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .hero { padding: 5.5rem 0 6rem; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    position: static;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .nav-menu li { padding: 0; }
  .nav-menu .nav-cta { padding: 0; }
  .nav-menu .btn { padding: 0.55rem 1.2rem; font-size: 0.95rem; }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
