/* =========================
   Alap beállítások / Global
   ========================= */

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --fs-primary: #007b77;
  --fs-secondary: #fd5210;
  --fs-bg-soft: #f5f8f7;
  --fs-text-main: #102a27;
  --fs-border-soft: #e2ece9;
  --fs-info: #00bbea;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--fs-text-main);
  background-color: #ffffff;
  /* background-image: url("images/home/foggosport-sport-adminisztracio.jpg"); */
  -webkit-font-smoothing: antialiased;
}

/* Linkek */

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Segédosztályok */

.text-center {
  text-align: center;
}

/* =========================
   Skip link (akadálymentesítés)
   ========================= */

.skip-link {
  position: absolute;
  left: -10px;
  top: 0;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* =========================
   Header (általános stílus)
   ========================= */

header {
  /* border-bottom: 1px solid var(--fs-border-soft); */
  background: #ffffffcc;
  backdrop-filter: blur(10px);
}

.fs-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fs-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  font-weight: 600;
}

.fs-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.fs-nav a {
  color: #34423f;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 10px;
}

.fs-nav a:hover {
  background: rgba(0, 123, 119, 0.06);
}

/* Mobil header */

@media (max-width: 720px) {
  .fs-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   Gombok
   ========================= */

.btn-primary {
  background: linear-gradient(135deg, var(--fs-primary), #00a597);
  padding: 12px 26px;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 123, 119, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
  font-size: 0.95rem;
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 123, 119, 0.3);
  text-decoration: none;
}

.btn-secondary {
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid rgba(0, 123, 119, 0.2);
  color: var(--fs-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background: #f5f8f7;
  border-color: rgba(0, 123, 119, 0.4);
  text-decoration: none;
}

/* =========================
   Main layout / Szekciók
   ========================= */

main {
  min-height: 60vh;
}

section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 20px;
}
section.hero {
  max-width: none;
  width: 100%;
  margin: 0;
}
/* Szekció címek, bevezetők */

.section-eyebrow {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fs-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.section-lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  color: #5a6663;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================
   HERO
   ========================= */

/* .hero {
  padding: 80px 20px 70px;
  background: radial-gradient(circle at top left, #e5f6f4 0, #ffffff 45%);
  color: var(--fs-text-main);
} */
.hero {
  width: 100%;
  padding: 30px 20px 70px;
  background: radial-gradient(circle at top left, #e5f6f4 0, #ffffff 45%);
  color: var(--fs-text-main);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-copy h1 span {
  color: var(--fs-primary);
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 540px;
  margin-bottom: 24px;
  color: #43514e;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(0, 123, 119, 0.06);
  color: var(--fs-primary);
  margin-bottom: 14px;
  font-weight: 500;
}

.hero-highlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: var(--fs-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta {
  font-size: 0.85rem;
  color: #6c7a77;
}

.hero-meta strong {
  color: var(--fs-primary);
}

/* HERO kártyák */

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hero-card {
  border-radius: 16px;
  padding: 16px 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgb(255 248 157 / 10%);
  border: 1px solid #e6f0ee;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgb(255 248 157 / 10%);
  color: var(--fs-primary);
  font-weight: 500;
}

.hero-card-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 10px;
  background: var(--fs-primary);
}

/* =========================
   Szolgáltatások / Features
   ========================= */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

.feature-box {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--fs-border-soft);
  background: #ffffff;
}

.feature-icon {
  margin-bottom: 12px;
  opacity: 0.85;
}

.feature-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fs-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.feature-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fs-text-main);
}

.feature-box p {
  margin: 0;
  font-size: 0.9rem;
  color: #5a6663;
  line-height: 1.6;
}

.feature-badge {
  display: inline-flex;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgb(255 248 157 / 10%);
  color: var(--fs-primary);
  font-size: 0.78rem;
  font-weight: 500;
}

/* =========================
   Lépések / Steps
   ========================= */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.step-card {
  border-radius: 16px;
  padding: 20px 18px;
  background: var(--fs-bg-soft);
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--fs-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #5a6663;
  line-height: 1.6;
}

/* =========================
   Split layout (About)
   ========================= */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: 36px;
  align-items: flex-start;
}

/* Kinek szól – bullet lista */

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pill-list li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4d5a57;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: var(--fs-primary);
}

/* About box */

.about-box {
  border-radius: 18px;
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid var(--fs-border-soft);
}

.about-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.about-box p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #5a6663;
  line-height: 1.6;
}

.about-meta {
  font-size: 0.8rem;
  color: #7b8683;
}

/* Trust / meta pill-ek */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--fs-primary);
  margin-top: 10px;
}

.trust-pill {
  padding: 4px 10px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 123, 119, 0.3);
}

/* =========================
   Social proof / Testimonial
   ========================= */

.testimonial {
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  border-left: 4px solid var(--fs-primary);
  background: #f6fbfa;
  font-size: 0.9rem;
  color: #44524f;
  line-height: 1.7;
}

.testimonial strong {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
}

/* =========================
   Végső CTA
   ========================= */

.cta-section {
  text-align: center;
  padding-bottom: 70px;
}

.cta-section .section-title {
  margin-bottom: 12px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

/* =========================
   Footer
   ========================= */

footer {
  padding: 26px 20px;
  text-align: center;
  color: #444746;
  border-top: 1px solid var(--fs-border-soft);
  font-size: 0.85rem;
  background: #ffffff;
}

footer a {
  color: var(--fs-primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   HEADER (header.html támogatás)
   ========================= */

header.header {
  width: 100%;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  /* border-bottom: 1px solid var(--fs-border-soft); */
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0; /* remove padding from header itself */
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.header .logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fs-primary);
}

header.header .logo:hover {
  opacity: 0.8;
}

header.header .main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

header.header .main-nav a {
  font-size: 0.9rem;
  color: #34423f;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
  text-decoration: none;
}

header.header .main-nav a:hover {
  background: rgba(0, 123, 119, 0.08);
}

/* Bejelentkezés gomb a menüben */
header.header .main-nav .btn-primary {
  margin-left: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: white;
}

/* HEADER konténer */
header.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1320px;
  margin: 0 auto;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.centered-smooth-img {
  width: 300px;
  height: 300px;
  object-fit: cover; /* fills the square, crops excess */
  object-position: center; /* keeps the crop centered */

  display: block;
  margin: 0 auto;

  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(5, 40, 39, 0.15);
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.centered-smooth-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(5, 40, 39, 0.22);
} /* ------------ 3-image responsive container ------------ */

.three-image-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1120px;
  margin: 40px auto;
  place-items: center;
}

@media (max-width: 840px) {
  .three-image-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .three-image-container {
    grid-template-columns: 1fr;
  }
}

/* ------------ Square card (modern FoggoSport style) ------------ */

.image-card {
  width: 300px;
  height: 251px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(5, 40, 39, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(5, 40, 39, 0.18);
}

.image-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* Inside the card the image fully fits but keeps shape */
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ------------ Modal viewer ------------ */

.img-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 99999;
  padding: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.close-modal:hover {
  opacity: 0.7;
}

.image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none; /* ensures clicks still go to image if needed */
  padding: 3px 10px;
  border-radius: 10px;
  background: var(--fs-info);
  color: white;
  width: 70%;
  text-align: center;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* =========================
   Hamburger menu
   ========================= */

.hamburger {
  display: none;
  flex-direction: column;
  width: 28px;
  height: 22px;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--fs-primary);
  border-radius: 4px;
  transition: 0.3s ease;
}

/* X animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ========== LANDING – CLUBS ========== */

.lp-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.lp-hero {
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #e6f3f2, #fff);
  padding: 36px;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
}

@media (max-width: 900px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
  }
}

.lp-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #475569;
}

.lp-dot {
  width: 10px;
  height: 10px;
  background: #007b77;
  border-radius: 50%;
}

.lp-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 12px 0;
}

.lp-title span {
  color: #007b77;
}

.lp-lead {
  font-size: 17px;
  color: #475569;
  max-width: 60ch;
}

.lp-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.lp-note {
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
}

.lp-hero-panel {
  background: white;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.lp-metric-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-metric {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.lp-metric-icon {
  width: 36px;
  height: 36px;
  background: #007b77;
  color: white;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.lp-section {
  margin-top: 36px;
}

.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .lp-cards {
    grid-template-columns: 1fr;
  }
}

.lp-card {
  background: white;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.lp-tag {
  font-size: 12px;
  font-weight: 700;
  color: #007b77;
}

.lp-section-title {
  font-size: 26px;
  margin-bottom: 18px;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .lp-steps {
    grid-template-columns: 1fr;
  }
}

.lp-step {
  background: white;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.lp-step-num {
  width: 32px;
  height: 32px;
  background: #fd5210;
  color: white;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.lp-cta {
  margin-top: 40px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #007b77, #005f5b);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Partners block */
.partners {
  padding: 56px 0;
}

.partners-grid {
  margin-top: 22px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.partner-card {
  display: flex;
  flex-direction: column; /* ⬅ vertical layout */
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--fs-border-soft, #e7eeec);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 120ms ease, box-shadow 120ms ease,
    border-color 120ms ease;
}

.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(5, 40, 39, 0.1);
  border-color: rgba(0, 123, 119, 0.35);
}

/* Logo */
.partner-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid #e7eeec;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

/* Text */
.partner-body {
  width: 100%;
}

.partner-name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
}

.partner-meta {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #667471;
  white-space: normal; /* ⬅ allow wrapping */
}

/* CTA */
.partner-cta {
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fs-primary, #007b77);
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(0, 123, 119, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.partner-cta::after {
  content: "→";
  font-size: 1rem;
}

/* Special "all partners" card */
.partner-card--all {
  border-style: dashed;
}

.provider-hero {
  width: 100%;
  padding: 64px 20px 42px;
  background: radial-gradient(circle at top left, #e5f6f4 0, #ffffff 45%);
}
.provider-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
}
.provider-hero h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 12px;
}
.provider-hero-sub {
  margin: 0 0 16px;
  color: #43514e;
  line-height: 1.6;
  max-width: 720px;
}
.provider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 22px;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 123, 119, 0.2);
  background: rgba(0, 123, 119, 0.04);
  color: #1f3b38;
  font-size: 0.85rem;
  white-space: nowrap;
}
.provider-hero-media {
  border-radius: 18px;
  border: 1px solid #e6f0ee;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(5, 40, 39, 0.1);
  overflow: hidden;
}
.provider-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  display: block;
}
.provider-media-row {
  display: flex;
  gap: 12px;
  padding: 12px;
  align-items: center;
  justify-content: space-between;
}
.provider-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #e2ece9;
}
.provider-media-meta {
  flex: 1;
  min-width: 0;
}
.provider-media-name {
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.provider-media-loc {
  margin: 2px 0 0;
  color: #6c7a77;
  font-size: 0.9rem;
}

.provider-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.info-card {
  border-radius: 18px;
  padding: 18px 18px;
  background: #ffffff;
  border: 1px solid var(--fs-border-soft);
}
.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.kv {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px 12px;
  font-size: 0.92rem;
  color: #44524f;
}
.kv dt {
  color: #6c7a77;
}
.kv dd {
  margin: 0;
  color: #1f2f2c;
}
.list-clean {
  margin: 0;
  padding-left: 18px;
  color: #44524f;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e6f0ee;
  cursor: pointer;
  background: #ffffff;
}

.training-card {
  border-radius: 16px;
  padding: 16px 16px;
  background: var(--fs-bg-soft);
}
.training-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
}
.training-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.training-meta {
  font-size: 0.9rem;
  color: #5a6663;
}
.training-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(253, 82, 16, 0.08);
  color: var(--fs-secondary);
  font-weight: 500;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid #eef3f2;
}
.hours-table td:first-child {
  color: #6c7a77;
  width: 140px;
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.75);
  padding: 30px 16px;
}
.img-modal .modal-content {
  display: block;
  margin: 0 auto;
  max-width: 980px;
  width: 100%;
  border-radius: 14px;
  background: #000;
}
.img-modal .close-modal {
  color: #fff;
  position: fixed;
  right: 16px;
  top: 10px;
  font-size: 34px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .provider-hero-inner {
    grid-template-columns: 1fr;
  }
  .provider-grid {
    grid-template-columns: 1fr;
  }
}

/* NEXT */

/* MOBILE NAVIGATION */

@media (max-width: 1100px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .hamburger {
    display: flex;
  }

  header.header {
    flex-direction: row;
    align-items: center;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 16px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   Reszponzív
   ========================= */

@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 30px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .hero-card-grid {
    max-width: 360px;
    margin: 0 auto;
  }

  section {
    padding: 48px 20px;
  }
  .hero-highlight {
    display: none;
  }
}

/* =========================
   MOBIL HEADER
   ========================= */
/* MOBILE HEADER + HAMBURGER */
@media (max-width: 780px) {
  header.header {
    max-width: 100%;
    margin: 0;
    padding: 12px 16px;
    display: flex;
    flex-direction: row; /* logo + hamburger in one line */
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  header.header .logo {
    flex: 1;
  }

  /* Show hamburger only on mobile */
  .hamburger {
    display: flex;
  }

  /* Hide nav by default on mobile */
  header.header .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 12px;
  }

  /* When hamburger is toggled */
  header.header .main-nav.open {
    display: flex;
  }

  header.header .main-nav .btn-primary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .partner-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    gap: 10px;
  }

  .partner-logo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .partner-body {
    width: 100%;
  }

  .partner-name {
    font-size: 1.05rem;
  }

  .partner-meta {
    font-size: 0.92rem;
    white-space: normal;
  }

  .partner-cta {
    width: 100%;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 123, 119, 0.08);
    color: var(--fs-primary, #007b77);
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  .partner-cta::after {
    content: "→";
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .btn-primary,
  .btn-secondary {
    /* width: 100%; */
    justify-content: center;
  }
}
