/* Smart Ideas — landing page styles. Plain CSS, no framework/build step. */

:root {
  --navy: #0b1f3a;
  --navy-soft: #16305a;
  --orange: #f26322;
  --orange-dark: #d6531a;
  --bg: #f7f8fa;
  --bg-alt: #eef2f8;
  --text: #1c2733;
  --text-muted: #55647a;
  --border: #dde3ec;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img, svg { max-width: 100%; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; color: var(--navy); }
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(24px, 3vw, 32px); text-align: center; }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }

a { color: var(--orange-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover { color: var(--orange-dark); }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--orange-dark); color: var(--white) !important; }
.lang-switch {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.lang-switch:hover { border-color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
}

/* Hero */
.hero { padding: 60px 0 40px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 8px;
}
.lede { color: var(--text-muted); font-size: 17px; max-width: 52ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.badge {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.hero-art { display: flex; justify-content: center; }
.hero-svg { width: 100%; height: auto; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-lede { text-align: center; color: var(--text-muted); max-width: 62ch; margin: 0 auto 36px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--orange-dark);
  margin-bottom: 14px;
}
.icon svg { width: 24px; height: 24px; }

.checklist {
  list-style: none;
  padding: 0;
  max-width: 680px;
  margin: 0 auto;
}
.checklist li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
}

.process {
  list-style: none;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.process li { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.process h3 { margin-bottom: 4px; }
.process p { color: var(--text-muted); margin: 0; }

.cert-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.cert-badge { flex: none; color: var(--orange-dark); }
.cert-badge svg { width: 48px; height: 48px; }

/* Contact */
.contact-wrap { max-width: 680px; }
.form-status {
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-status-success { background: #e6f4ea; color: #1e7a34; }
.form-status-error { background: #fdecea; color: #b3261e; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 14px; }
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}
.form-note { font-size: 14px; color: var(--text-muted); min-height: 20px; }

/* Honeypot: visually hidden but present in the DOM/tab order-safe for real users */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer { padding: 32px 0; background: var(--navy); color: #c9d3e2; }
.footer-inner { text-align: center; font-size: 14px; }
.footer-inner p { margin: 4px 0; }
.footer-logo { height: 42px; width: auto; margin-bottom: 16px; }
/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 360px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .cert-card { flex-direction: column; }
}

/* Error pages */
.error-body { display: flex; flex-direction: column; min-height: 100vh; }
.error-page { flex: 1; display: flex; align-items: center; text-align: center; padding: 60px 0; }
.error-page .lede { margin: 0 auto 28px; }
.error-code { font-size: clamp(80px, 18vw, 160px); font-weight: 800; line-height: 1; margin: 0 0 8px; color: var(--orange); }
