/* ─────────────────────────────────────────
   Design n Touch — Training Landing Page
   ───────────────────────────────────────── */

:root {
  --navy:      #021c3f;
  --navy-mid:  #0a2d5c;
  --accent:    #fc5c5c;
  --accent-dk: #e84848;
  --text:      #1f2d3d;
  --muted:     #5b6573;
  --line:      #d9dee6;
  --white:     #fff;
  --radius:    16px;
  --shadow:    0 4px 32px rgba(2,28,63,.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  background-image: radial-gradient(ellipse 120% 60% at 50% 0%, #0d3570 0%, var(--navy) 70%);
  color: var(--text);
  font: 17px/1.65 Roboto, Arial, Helvetica, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: "Proza Libre", Arial, sans-serif; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: 800; }
h3 { font-size: clamp(1rem, 2.2vw, 1.15rem); font-weight: 800; }
p  { margin: 0 0 1em; }

.wrap { width: min(1000px, 100% - 40px); margin-inline: auto; }

/* ── Topbar ── */
.topbar { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; text-align: center;
  padding: 13px 26px; border-radius: 10px; border: 2px solid transparent;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
  cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.btn-accent       { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn-ghost-light  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-lg   { padding: 15px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; padding: 15px; font-size: 1.1rem; }
.btn-wide  { min-width: min(460px, 100%); padding: 15px; }

/* ── Hero ── */
.hero { padding-top: clamp(64px, 9vw, 100px); text-align: center; }
.hero-content { max-width: 820px; margin-inline: auto; }
.hero-eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 20px;
}
.hero h1 { color: var(--white); margin-bottom: .4em; }
.hero-sub {
  color: rgba(255,255,255,.68); font-size: 1.12rem; line-height: 1.75;
  max-width: 640px; margin: 0 auto 0;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* Stats bar */
.stats-bar { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.1); padding: 28px 0; }
.stats-inner { display: flex; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; padding: 10px 36px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-family: "Proza Libre", Arial, sans-serif; font-size: 1.65rem; font-weight: 800; color: var(--white); line-height: 1.1; }
.stat span   { display: block; font-size: .78rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ── Sections on dark background ── */
.section { padding: clamp(56px, 8vw, 92px) 0; border-top: 1px solid rgba(255,255,255,.07); }
.section-cta { padding: 0 0 clamp(56px, 8vw, 80px); }
.center { text-align: center; }

.section-tag {
  display: inline-block; background: rgba(252,92,92,.18); color: var(--accent);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-intro { margin-bottom: 44px; max-width: 680px; }
.section-intro h2 { color: var(--white); margin: .2em 0 .5em; }
.section-intro p  { color: rgba(255,255,255,.58); font-size: 1.06rem; line-height: 1.75; margin: 0; }

/* ── Course cards ── */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.course-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 28px 24px; display: flex; flex-direction: column;
  border-top: 3px solid transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.course-card:hover { transform: translateY(-5px); border-top-color: var(--accent); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.course-icon {
  width: 50px; height: 50px; flex: none;
  background: rgba(252,92,92,.1); color: var(--accent);
  border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
}
.course-icon svg { width: 24px; height: 24px; }
.course-card h3 { color: var(--navy); margin: 0 0 .6em; line-height: 1.3; }
.course-card p  { color: var(--muted); font-size: .93rem; line-height: 1.72; flex: 1; margin: 0 0 20px; }
.course-cta {
  color: var(--accent); font-weight: 700; font-size: .88rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  margin-top: auto;
}
.course-cta::after { content: '→'; transition: transform .15s; }
.course-cta:hover::after { transform: translateX(3px); }

/* ── Audience chips ── */
.audience-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.audience-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.88); border-radius: 999px; padding: 10px 20px;
  font-size: .93rem; font-weight: 500;
  transition: background .15s, border-color .15s;
}
.audience-chip:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.audience-chip svg { width: 14px; height: 14px; color: var(--accent); flex: none; stroke-width: 2.5; }

/* ── Benefits ── */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.benefit-icon {
  width: 56px; height: 56px;
  background: rgba(252,92,92,.15); color: var(--accent);
  border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit h3 { color: var(--white); margin: 0 0 .5em; }
.benefit p  { color: rgba(255,255,255,.58); font-size: .96rem; line-height: 1.78; margin: 0; }

/* ── Cards (letter + form) sit on the dark bg ── */
.card {
  background: var(--white); border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow);
}

/* ── Letter ── */
.letter { position: relative; overflow: hidden; background: #f7fafd; }
.letter::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--accent);
}
.letter-heading {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  font-family: Roboto, Arial, sans-serif; margin-bottom: 1.4em;
}
.letter p   { font-size: 1.05rem; line-height: 1.82; color: #2b3b50; }
.sig        { font-weight: 700; color: var(--navy); margin-top: 1.5em; margin-bottom: 0; }

/* ── Form ── */
.form-card h2 { color: var(--navy); margin-bottom: .3em; }
.sub          { color: var(--muted); margin-bottom: 1.8em; font-size: 1.02rem; }
form label    { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 14px; color: var(--text); }
.grid         { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 9px;
  font: inherit; color: var(--text); background: #f9fbfe;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(2,28,63,.1);
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 24px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.hp    { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: #fff0f0; border: 1px solid var(--accent); border-radius: 9px; padding: 14px 18px; margin-bottom: 22px; color: #8a1f1f; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alt-contact { text-align: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.alt-contact a { color: var(--navy); font-weight: 600; text-decoration: none; }
.alt-contact a:hover { text-decoration: underline; }

/* ── Thank-you ── */
.tick  { width: 64px; height: 64px; border-radius: 50%; background: #1faa59; color: var(--white); font-size: 34px; line-height: 64px; margin: 0 auto 16px; text-align: center; }
.back  { margin-top: 20px; }
.small { font-size: .85rem; }

/* ── Footer ── */
.footer {
  text-align: center; padding: 44px 16px 40px;
  color: rgba(255,255,255,.38); font-size: .88rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-brand { font-family: "Proza Libre", Arial, sans-serif; font-size: 1.1rem; font-weight: 800; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer .small { margin-top: 10px; color: rgba(255,255,255,.28); }

/* ── Responsive ── */
@media (max-width: 720px) {
  .topbar-inner  { justify-content: center; }
  .topbar-actions { justify-content: center; width: 100%; }
  .topbar-actions .btn { flex: 1; min-width: 140px; }
  .hero-actions .btn { min-width: 220px; width: 100%; }
  .stats-inner   { gap: 4px; }
  .stat          { padding: 10px 18px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:last-child { border-bottom: none; }
  .grid          { grid-template-columns: 1fr; }
  .course-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .btn-lg { padding: 14px 22px; font-size: 1rem; }
}
