/* Intelligence Skills and Training Development — demo theme (blue, white, gold) */
:root {
  --navy: #0c2340;
  --navy-mid: #123a5c;
  --gold: #c5a14a;
  --gold-dim: rgba(197, 161, 74, 0.15);
  --paper: #f5f7fa;
  --text: #1a1f2b;
  --muted: #5a6473;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 20px 50px rgba(12, 35, 64, 0.12);
  --font: "DM Sans", system-ui, sans-serif;
  --font-head: "Outfit", var(--font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--navy);
}

code {
  font-size: 0.85em;
  background: var(--gold-dim);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.inner {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12, 35, 64, 0.08);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.logo:hover {
  color: inherit;
}
.logo-mark {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.logo-image {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text {
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.2;
  max-width: 14rem;
}
@media (min-width: 600px) {
  .logo-text {
    font-size: 0.9rem;
    max-width: none;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
}
.nav a:hover {
  color: var(--navy-mid);
}
@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(12, 35, 64, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(12, 35, 64, 0.3);
}
.btn--sm {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  box-shadow: none;
}
.btn--ghost {
  background: transparent;
  color: var(--navy) !important;
  box-shadow: none;
  border: 2px solid rgba(12, 35, 64, 0.2);
}
.btn--ghost:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 1px;
}
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-panel {
  position: fixed;
  inset: 0;
  top: 4rem;
  background: var(--white);
  padding: 1.5rem;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.nav-panel[hidden] {
  display: none;
}
.nav-panel a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
}
@media (min-width: 768px) {
  .nav-panel {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 90% 10%, var(--gold-dim), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero h1 span {
  color: var(--navy-mid);
  display: block;
  margin-top: 0.15em;
}
.lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 40ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.reg-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(12, 35, 64, 0.1);
}
.reg-strip div {
  margin: 0;
}
.reg-strip dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}
.reg-strip dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--navy);
}

.hero__card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 35, 64, 0.06);
}
.hero__card-inner {
  padding: 1.75rem;
}
.hero__card-kicker {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
.hero__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
}
.hero__list li {
  margin-bottom: 0.5rem;
}
.hero__card-note {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 4rem 0;
}
.section--alt {
  background: var(--white);
  border-block: 1px solid rgba(12, 35, 64, 0.06);
}
.section__head h2,
.split h2,
#about-title,
#contact-title,
#services-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.section__head p {
  margin: 0;
  color: var(--muted);
  max-width: 50ch;
}
.section__head {
  margin-bottom: 2.5rem;
}

.grid--services {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .grid--services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .grid--services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(12, 35, 64, 0.06);
  transition: border-color 0.2s;
}
.card:hover {
  border-color: rgba(197, 161, 74, 0.45);
}
.card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.card li {
  margin-bottom: 0.4rem;
}
.card--wide {
  grid-column: 1 / -1;
}
@media (min-width: 1000px) {
  .card--wide {
    grid-column: span 2;
  }
}

.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}
.split p {
  color: var(--muted);
  margin: 0 0 1rem;
}
.bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
}
.bullets li {
  margin-bottom: 0.4rem;
}

.about-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.about-card h3 {
  font-family: var(--font-head);
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--gold);
}
.about-card p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.75rem;
}
.about-card p:last-child {
  margin-bottom: 0;
}

/* Contact */
.section--contact {
  padding-bottom: 5rem;
}
.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .contact-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.contact-block h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.contact-block p {
  margin: 0;
  color: var(--text);
}
.contact-block a {
  font-weight: 600;
}

.contact-form {
  max-width: 520px;
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 35, 64, 0.08);
  box-shadow: 0 8px 30px rgba(12, 35, 64, 0.06);
}
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.form-row {
  margin-bottom: 1rem;
}
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(12, 35, 64, 0.15);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: transparent;
}
.contact-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.form-actions {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .form-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.btn--whatsapp {
  background: linear-gradient(145deg, #1f8f45, #1aa14a);
  box-shadow: 0 4px 20px rgba(31, 143, 69, 0.3);
}
.btn--whatsapp:hover {
  box-shadow: 0 8px 28px rgba(31, 143, 69, 0.35);
}

.form-status {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.4em;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  text-align: center;
}
.site-footer p {
  margin: 0;
}
