@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --c-primary: #2B3E54;
  --c-primary-dark: #1B2C3E;
  --c-primary-mid: #3A5470;
  --c-primary-light: #7A92AE;
  --c-primary-bg: #DDE8F4;

  --c-accent: #EBDC07;
  --c-accent-dark: #C4B800;
  --c-accent-bg: #FDFAE6;

  --c-teal: #93CEC5;
  --c-teal-dark: #5FA79B;
  --c-teal-light: #C9E8E2;
  --c-teal-bg: #EEF7F5;

  --c-bg: #F0F5FC;
  --c-surface: #FFFFFF;
  --c-surface-2: #E4EDF8;
  --c-border: #C0D0E4;

  --c-text: #192636;
  --c-text-mid: #364A60;
  --c-text-light: #6A80A0;
  --c-text-inv: #FFFFFF;

  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  --r-full: 9999px;
  --r-lg: 20px;
  --shadow-md: 0 4px 16px rgba(24, 38, 54, .10), 0 2px 6px rgba(24, 38, 54, .05);
  --ease: cubic-bezier(.25, .46, .45, .94);
  --dur: 220ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 3px solid var(--c-teal);
  background: var(--c-surface);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.site-logo img {
  display: block;
  height: 48px;
  width: auto;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-text);
}

.badge-progress {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: var(--c-accent-bg);
  color: var(--c-primary-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.badge-progress::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent-dark);
}

/* HERO */
.hero {
  padding: var(--sp-9) 0 var(--sp-8);
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  margin: var(--sp-5) 0 var(--sp-4);
  color: var(--c-text);
}

.hero .t-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--c-text-mid);
}

/* SECTIONS */
section {
  padding: var(--sp-8) 0;
}

.section-alt {
  background: var(--c-surface);
}

h2, .t-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -.014em;
  margin: 0 0 var(--sp-5);
  color: var(--c-text);
}

.about p {
  color: var(--c-text-mid);
  font-size: 1rem;
  max-width: 780px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.tag {
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: var(--c-teal-bg);
  border: 1px solid var(--c-teal-light);
  color: var(--c-primary-dark);
  font-size: .85rem;
  font-weight: 600;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-md);
}

.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--c-teal);
  color: var(--c-primary-dark);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: var(--sp-4);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 var(--sp-3);
  color: var(--c-text);
}

.card p {
  color: var(--c-text-mid);
  font-size: .95rem;
  margin: 0;
}

/* CONTACT */
.contact {
  text-align: center;
}

.contact .t-lead {
  max-width: 600px;
  margin: 0 auto var(--sp-6);
  color: var(--c-text-mid);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--dur) var(--ease);
}

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.btn--primary:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(24, 38, 54, .25);
}

/* FOOTER */
.site-footer {
  background: var(--c-primary-dark);
  color: rgba(255, 255, 255, .55);
  padding: var(--sp-7) 0 var(--sp-5);
}

.site-footer .footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.site-footer .footer-brand img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.site-footer .footer-brand span {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.1rem;
}

.site-footer a.footer-email {
  color: var(--c-teal-light);
  font-weight: 600;
  text-decoration: none;
}

.site-footer p {
  color: rgba(255, 255, 255, .55);
  font-size: .85rem;
  margin: 0;
}

@media (max-width: 768px) {
  .site-header {
    justify-content: center;
    text-align: center;
  }

  .site-footer .footer-top {
    flex-direction: column;
    text-align: center;
  }
}
