/* Oravan Oravská Jasenica — academy landing (Viktoria Academy–inspired layout) */
:root {
  /* Brand palette (Web/Logo.jfif — biela / limetková / čierna): */
  --green: #76c043;
  --green-dark: #45862a;
  --green-soft: #e8f8e0;
  --ink: #0f1410;
  --muted: #3d4538;
  --white: #ffffff;
  --cream: #f4faf0;
  /* Doplnkový akcent (kemp, výzvy) — teplý tón oproti zelenej značke */
  --accent: #45862a;
  --accent-dark: #2f5c1d;
  --accent-soft: #e8f8e0;
  --camp-warm: #e85a10;
  --camp-warm-dark: #b9480d;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(15, 20, 16, 0.08);
  --font: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 1.02rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-dark);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 6px;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(69, 134, 42, 0.22);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(15, 20, 16, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-desktop a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.lang-switch {
  display: flex;
  border-radius: 999px;
  border: 1px solid rgba(69, 134, 42, 0.45);
  overflow: hidden;
}

.lang-switch button {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--green-dark);
  color: var(--white);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 1.25rem 1rem;
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.65rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

.hero {
  background: linear-gradient(135deg, var(--cream) 0%, #ffffff 50%, var(--green-soft) 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -20%;
  top: 10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(118, 192, 67, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-copy {
  min-width: 0;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(69, 134, 42, 0.22);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-figure-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, var(--green-soft) 0%, #fff 100%);
  padding: 1rem;
}

.hero-figure-cap {
  margin: 0;
  padding: 0.65rem 1rem 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 880px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    padding: 4.5rem 1.25rem 5rem;
  }

  .hero-figure-img {
    max-height: 220px;
  }
}

@media (min-width: 1024px) {
  .hero-figure-img {
    max-height: 260px;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-kicker span {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.hero h1 {
  margin: 0.5rem 0 0.5rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-subtitle {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--green-dark);
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(47, 92, 29, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(47, 92, 29, 0.35);
  color: var(--white);
}

.btn-camp {
  background: var(--camp-warm);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(232, 90, 16, 0.28);
}

.btn-camp:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(232, 90, 16, 0.35);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(15, 20, 16, 0.12);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border: 1px solid rgba(69, 134, 42, 0.22);
}

.hero-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat {
  padding: 0.85rem;
  background: var(--green-soft);
  border-radius: 10px;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--green-dark);
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

.section {
  padding: 3.5rem 1.25rem;
}

.section.alt {
  background: var(--cream);
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.values {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--white);
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(15, 20, 16, 0.04);
}

.value-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--green-dark);
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

th {
  background: var(--accent-soft);
  font-weight: 600;
  color: var(--green-dark);
}

tr:last-child td {
  border-bottom: none;
}

.camp-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .camp-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.camp-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(69, 134, 42, 0.25);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.camp-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(118, 192, 67, 0.2);
  color: var(--green-dark);
}

.camp-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.camp-meta {
  font-size: 0.9rem;
  color: var(--muted);
  white-space: pre-line;
}

.note-box {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(69, 134, 42, 0.28);
  font-size: 0.95rem;
  color: var(--muted);
}

.camp-poster-block {
  margin-top: 2rem;
}

.camp-poster-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--green-dark);
}

.camp-poster-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 62ch;
}

.camp-poster-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 20, 16, 0.1);
  background: #e8ece9;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.camp-poster-pdf {
  display: block;
  width: 100%;
  min-height: 72vh;
  max-height: 900px;
}

.camp-poster-fallback {
  margin: 0;
  padding: 2rem;
  text-align: center;
}

.camp-poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0;
  align-items: center;
}

.media-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.media-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(69, 134, 42, 0.2);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.media-card-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  background: var(--green-soft);
  padding: 1rem;
}

.media-card figcaption {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.media-card--poster {
  min-height: 200px;
}

.media-poster-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(145deg, #fff 0%, var(--green-soft) 100%);
  min-height: 200px;
  transition: background 0.2s ease;
}

.media-poster-link:hover {
  background: linear-gradient(145deg, var(--accent-soft) 0%, #fff 100%);
  color: var(--green-dark);
}

.media-poster-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 12px;
  background: var(--camp-warm);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.media-poster-label {
  font-weight: 600;
  text-align: center;
  max-width: 22ch;
  line-height: 1.35;
}

.media-grid--extra {
  margin-top: 1.25rem;
}

.media-grid--extra:not([hidden]) {
  display: grid;
}

.media-grid--extra .media-card-img {
  max-height: 280px;
}

.placeholder-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.placeholder {
  background: var(--white);
  border: 2px dashed rgba(118, 192, 67, 0.45);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-list dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-list dd {
  margin: 0;
  font-weight: 600;
}

.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form input,
.form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.form small {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.checkbox-row input {
  margin-top: 0.25rem;
}

.site-footer {
  background: var(--ink);
  color: #c8d4c4;
  padding: 2.5rem 1.25rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer a {
  color: #e8f5e6;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--white);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #9aaa96;
}

/* ── Coaches grid ───────────────────────────────────── */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.coach-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 20, 16, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.coach-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.coach-name {
  margin: 0;
  font-size: 1.05rem;
  color: var(--green-dark);
}

.coach-license {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  width: fit-content;
}

.coach-bio {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}
