/*
Theme Name:   Freedu Clone Child
Theme URI:    https://example.com/
Description:  Child téma pre vzdelávacie centrum – sekcie hero, čísla, kurzy, prístup, tím, referencie, kontakt.
Author:       Tvoje meno
Template:     twentytwentyfour
Version:      1.0.0
Text Domain:  freedu-clone
*/

:root {
  --fc-ink: #14110f;
  --fc-ink-soft: #4a4441;
  --fc-bg: #ffffff;
  --fc-bg-alt: #f6f3ee;
  --fc-accent: #e8590c;
  --fc-accent-dark: #c2410c;
  --fc-line: #e3ddd5;
  --fc-radius: 16px;
  --fc-shadow: 0 10px 30px rgba(20, 17, 15, .08);
  --fc-wrap: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--fc-ink);
  background: var(--fc-bg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

.fc-section { padding: 84px 0; }
.fc-section--alt { background: var(--fc-bg-alt); }

.fc-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fc-accent);
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 18px; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.fc-lead { font-size: 1.15rem; color: var(--fc-ink-soft); max-width: 62ch; }
.fc-center { text-align: center; }
.fc-center .fc-lead { margin-inline: auto; }

/* Tlačidlá */
.fc-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.fc-btn--primary { background: var(--fc-accent); color: #fff; }
.fc-btn--primary:hover { background: var(--fc-accent-dark); transform: translateY(-2px); }
.fc-btn--ghost { border: 2px solid var(--fc-ink); color: var(--fc-ink); }
.fc-btn--ghost:hover { background: var(--fc-ink); color: #fff; }

/* HERO */
.fc-hero {
  padding: 120px 0 96px;
  background:
    radial-gradient(900px 460px at 85% -10%, rgba(232, 89, 12, .16), transparent 65%),
    var(--fc-bg-alt);
}
.fc-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.fc-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.fc-hero__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--fc-radius);
  overflow: hidden;
  box-shadow: var(--fc-shadow);
  background: #ddd6cc;
}
.fc-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ČÍSLA */
.fc-stats { background: var(--fc-ink); color: #fff; padding: 72px 0; }
.fc-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.fc-stat__num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--fc-accent);
  line-height: 1;
  margin-bottom: 10px;
}
.fc-stat__label { color: rgba(255, 255, 255, .78); font-size: .97rem; }

/* KURZY */
.fc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 44px;
}
.fc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  padding: 30px 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.fc-card:hover { transform: translateY(-4px); box-shadow: var(--fc-shadow); }
.fc-card__mode {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(232, 89, 12, .12);
  color: var(--fc-accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.fc-card__subjects { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.fc-card__subjects span {
  padding: 4px 11px;
  border-radius: 8px;
  background: var(--fc-bg-alt);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
}
.fc-card__meta { color: var(--fc-ink-soft); font-size: .95rem; margin-bottom: 22px; }
.fc-card__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--fc-accent-dark);
  text-decoration: none;
}
.fc-card__link::after { content: " →"; }

/* PRÍSTUP / TÍM – dva stĺpce */
.fc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 44px;
}
.fc-feature {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-left: 4px solid var(--fc-accent);
  border-radius: 12px;
  padding: 26px 28px;
}
.fc-feature p { margin: 0; color: var(--fc-ink-soft); }

/* REFERENCIE */
.fc-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.fc-quote {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  padding: 30px 28px;
}
.fc-quote blockquote { margin: 0 0 20px; font-size: 1rem; }
.fc-quote__who { font-weight: 700; }
.fc-quote__who small { display: block; font-weight: 400; color: var(--fc-ink-soft); }

/* KONTAKT */
.fc-contact__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  margin-top: 40px;
}
.fc-locations { display: grid; gap: 18px; }
.fc-location {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 12px;
}
.fc-location strong { display: block; margin-bottom: 4px; }
.fc-location span { color: var(--fc-ink-soft); font-size: .95rem; }

/* Newsletter */
.fc-newsletter {
  margin-top: 26px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
}
.fc-newsletter form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.fc-newsletter input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 16px;
  border: 1px solid var(--fc-line);
  border-radius: 999px;
  font-size: 1rem;
}
.fc-newsletter button {
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--fc-ink);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.fc-consent { font-size: .82rem; color: var(--fc-ink-soft); margin-top: 12px; }

/* Pätička */
.fc-footer { background: var(--fc-ink); color: rgba(255, 255, 255, .75); padding: 64px 0 40px; }
.fc-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.fc-footer a:hover { color: #fff; }
.fc-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
}
.fc-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.fc-footer ul { list-style: none; margin: 0; padding: 0; }
.fc-footer li { margin-bottom: 8px; }
.fc-footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .86rem;
}

/* Responzívne */
@media (max-width: 900px) {
  .fc-hero__grid,
  .fc-split,
  .fc-contact__grid { grid-template-columns: 1fr; }
  .fc-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .fc-section { padding: 60px 0; }
  .fc-hero { padding: 72px 0 60px; }
}

@media (max-width: 520px) {
  .fc-stats__grid { grid-template-columns: 1fr; }
}
