/* ============================================================
   Concrete Floor Academy — design system
   Based on decocrete.eu: Raleway, warm neutrals + tan accent,
   solid colors only (no gradients), minimalist, card-based.
   ============================================================ */

:root {
  /* Palette (extracted from decocrete.eu) */
  --ink:        #333333;   /* headings */
  --navy:       #212934;   /* deep navy section bg */
  --body:       #747474;   /* body text */
  --muted:      #979797;   /* meta text */
  --accent:     #d0af86;   /* warm tan (primary accent) */
  --accent-2:   #e1a964;   /* gold (hover / secondary accent) */
  --green:      #65bc7b;   /* success / positive accent */
  --white:      #ffffff;
  --bg-soft:    #f6f6f6;   /* soft section bg */
  --bg-softer:  #fbfbfb;
  --line:       #ebeaea;   /* hairline borders */
  --line-2:     #e0dede;   /* slightly stronger hairline */
  --line-top:   #e5e4e3;   /* top border of page */

  --font: 'Raleway', Arial, Helvetica, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(33, 41, 52, 0.06);
  --shadow:    0 6px 24px rgba(33, 41, 52, 0.08);
  --shadow-lg: 0 14px 40px rgba(33, 41, 52, 0.12);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  border-top: 2px solid var(--line-top);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #cfd3da; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { display:block; margin-bottom: 12px; }
.section-head p { color: var(--body); margin-bottom: 0; }
.section--navy .section-head p { color: #aab2bd; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all .22s var(--ease);
}
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { background: var(--accent-2); color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-2); }
.btn--lg { padding: 16px 34px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #aab2bd; font-size: 12.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__link { color: var(--accent); font-weight: 600; }
.topbar__link:hover { color: var(--accent-2); }

/* ---------- Nav ---------- */
.nav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px; height: 40px; flex: 0 0 40px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--accent);
  font-weight: 800; font-size: 15px; letter-spacing: .04em;
  border-radius: 3px;
}
.brand__text { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.brand__text em { font-style: normal; color: var(--accent-2); }
.brand--light .brand__text { color: var(--white); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 13.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--body); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__cta { padding: 11px 22px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: #cfd3da;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero__inner { position: relative; padding: 104px 0 116px; text-align: center; max-width: 820px; }
.hero__eyebrow { color: var(--accent); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p.lede { font-size: 18px; line-height: 1.75; color: #aab2bd; max-width: 640px; margin: 0 auto 34px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__stats { display: flex; justify-content: center; gap: 56px; margin-top: 64px; flex-wrap: wrap; }
.hero__stat { text-align: center; }
.hero__stat b { display: block; font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; }
.hero__stat span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8b93a0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card__media { aspect-ratio: 16/9; background: var(--bg-soft); position: relative; overflow: hidden; }
.card__media svg { width: 100%; height: 100%; display: block; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2); background: rgba(208,175,134,.14);
  padding: 4px 10px; border-radius: 2px; margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; }
.card h3 a:hover { color: var(--accent-2); }
.card p { font-size: 14px; color: var(--body); flex: 1; }
.card__meta { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta a { color: var(--accent-2); text-decoration: none; font-weight: 600; }
.card__meta a:hover { color: var(--accent); text-decoration: underline; }
.card__link { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); margin-top: 14px; }
.card__link:hover { color: var(--accent); }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { aspect-ratio: 4/3; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.split__media svg { width: 100%; height: 100%; display: block; }
.split__text h2 { margin-bottom: 18px; }
.split__text .list { list-style: none; padding: 0; margin: 22px 0 0; }
.split__text .list li { padding: 12px 0 12px 34px; position: relative; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--body); }
.split__text .list li:last-child { border-bottom: 0; }
.split__text .list li::before {
  content: "✓";
  position: absolute; left: 0; top: 11px;
  width: 22px; height: 22px; display: grid; place-items: center;
  background: var(--accent); color: var(--navy);
  font-size: 12px; font-weight: 800; border-radius: 50%;
}

/* ---------- Steps (how it works) ---------- */
.steps { counter-reset: step; }
.step { text-align: center; padding: 0 20px; }
.step__num {
  width: 56px; height: 56px; margin: 0 auto 20px;
  display: grid; place-items: center;
  background: var(--bg-soft); border: 1px solid var(--line-2);
  color: var(--accent-2); font-size: 20px; font-weight: 800;
  border-radius: 50%;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 60px 0; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 6px; }
.cta-band p { color: #aab2bd; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); padding: 64px 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
.page-hero__inner { position: relative; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: #aab2bd; max-width: 620px; margin: 0 auto; }

/* ---------- Course detail ---------- */
.course-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.course-head__meta {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: sticky; top: 100px;
}
.course-head__meta .price { font-size: 30px; font-weight: 800; color: var(--ink); }
.course-head__meta ul { list-style: none; padding: 0; margin: 18px 0 0; }
.course-head__meta li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.course-head__meta li:last-child { border-bottom: 0; }
.course-head__meta li span:last-child { color: var(--ink); font-weight: 600; }

/* ---------- Lesson list (curriculum) ---------- */
.lesson-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lesson-item { display: flex; align-items: center; gap: 18px; padding: 18px 26px; border-bottom: 1px solid var(--line); transition: background .2s; }
.lesson-item:last-child { border-bottom: 0; }
.lesson-item:hover { background: var(--bg-softer); }
.lesson-item__idx {
  flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 50%;
  font-weight: 700; color: var(--accent-2); font-size: 14px;
}
.lesson-item__body { flex: 1; }
.lesson-item__body h4 { margin: 0 0 2px; font-size: 15.5px; }
.lesson-item__body small { color: var(--muted); font-size: 12.5px; }
.lesson-item .btn { padding: 9px 18px; font-size: 11.5px; }
.lesson-item--done .lesson-item__idx { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Prose (lesson / post body) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose p { font-size: 16px; line-height: 1.8; }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 26px; border-left: 3px solid var(--accent);
  background: var(--bg-soft); color: var(--ink); font-size: 16.5px;
}
.prose blockquote p { margin: 0; }
.prose pre {
  background: var(--navy); color: #d7dbe2; padding: 20px 24px; border-radius: var(--radius);
  overflow-x: auto; font-size: 13.5px; line-height: 1.6;
}
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; background: var(--bg-soft); padding: 2px 6px; border-radius: 3px; color: var(--ink); }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 1.4em 0; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 14px; text-align: left; }
.prose th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }

/* ---------- Article meta / byline ---------- */
.byline { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.byline__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.byline__name { font-weight: 700; color: var(--ink); font-size: 14px; }
.byline__meta { font-size: 12.5px; color: var(--muted); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 30px; letter-spacing: .02em; }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs span { margin: 0 6px; color: var(--line-2); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 3px; font-size: 13px; font-weight: 600; color: var(--body);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent-2); }
.pagination .current { background: var(--accent); color: var(--navy); border-color: var(--accent); }

/* ---------- Post card (blog) ---------- */
.post-card { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card__media { flex: 0 0 240px; background: var(--bg-soft); }
.post-card__media svg { width: 100%; height: 100%; }
.post-card__body { padding: 24px 28px; }
.post-card__body time { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-card__body h3 { margin: 8px 0 6px; font-size: 18px; }
.post-card__body p { font-size: 14px; margin: 0; }

/* ---------- About ---------- */
.about-photo { aspect-ratio: 4/3; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.about-photo svg { width: 100%; height: 100%; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: var(--white); }
.value__ico { width: 48px; height: 48px; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 50%; color: var(--accent-2); font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.value h3 { font-size: 17px; margin-bottom: 8px; }
.value p { font-size: 14px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 3px;
  font-family: var(--font); font-size: 14px; color: var(--ink); background: var(--white);
  margin-bottom: 18px; transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-info h3 { margin-bottom: 16px; }
.contact-info dl { display: grid; grid-template-columns: 110px 1fr; gap: 12px 20px; margin: 0; }
.contact-info dt { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-info dd { margin: 0; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #8b93a0; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer__col h4 { color: var(--white); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 14px; color: #8b93a0; }
.footer__col a:hover { color: var(--accent); }
.footer__col p { font-size: 14px; }
.footer__form { display: flex; gap: 8px; margin-top: 12px; }
.footer__form input {
  flex: 1; padding: 11px 14px; border: 1px solid #3a4453; border-radius: 3px;
  background: #1a212b; color: var(--white); font-family: var(--font); font-size: 13.5px;
}
.footer__form input::placeholder { color: #5c6673; }
.footer__form .btn { padding: 11px 18px; font-size: 12px; }
.footer__bottom {
  border-top: 1px solid #2c3441;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; font-size: 12.5px; color: #5c6673; flex-wrap: wrap; gap: 8px;
}

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 18px; line-height: 1.75; }
.divider { height: 1px; background: var(--line); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--3, .grid--2, .values { grid-template-columns: 1fr; }
  .split, .contact-grid, .course-head { grid-template-columns: 1fr; gap: 36px; }
  .course-head__meta { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .hero__stats { gap: 32px; }
  .post-card { flex-direction: column; }
  .post-card__media { flex: none; aspect-ratio: 16/9; }
  .topbar__note { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__inner { padding: 72px 0 84px; }
  .cta-band__inner { padding: 44px 0; }
}
