/* ============ CS VARAN — design system (portocaliu + gri) ============ */
:root {
  --bg: #f2f3f5;            /* gri deschis — fundal pagină */
  --bg-alt: #e9ebef;        /* gri deschis alternativ */
  --surface: #ffffff;       /* carduri */
  --surface-2: #e2e5ea;
  --line: #d6dae1;
  --dark: #363b45;          /* gri antracit — nav / hero / footer */
  --dark-line: #4a5160;
  --text: #2f343d;          /* gri închis pentru text (nu negru) */
  --text-dim: #5f6673;
  --text-light: #f2f3f5;    /* text pe fundal antracit */
  --text-light-dim: #c6cbd4;
  --accent: #f2691d;
  --accent-soft: #ff8a47;
  --accent-deep: #d4520e;
  --radius: 14px;
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1120px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 24px rgba(242, 105, 29, .35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(242, 105, 29, .45); }
.btn--ghost {
  border-color: rgba(255, 255, 255, .45);
  color: var(--text-light);
}
.btn--ghost:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.btn--small { padding: 0.5rem 1.1rem; font-size: .82rem; background: var(--accent); color: #fff; white-space: nowrap; }
.btn--small:hover { background: var(--accent-soft); }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(54, 59, 69, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: .9rem;
}
.nav__brand {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--text-light); text-decoration: none !important;
}
.nav__brand-logo {
  width: 40px; height: 40px; border-radius: 10px;
  object-fit: cover;
}
/* contur alb în jurul siglei (pe fundal antracit) */
.nav__brand-logo, .footer__brand img {
  filter: drop-shadow(.1px 0 0 #fff) drop-shadow(-.1px 0 0 #fff)
          drop-shadow(0 .1px 0 #fff) drop-shadow(0 -.1px 0 #fff);
}
.nav__brand-name { letter-spacing: .04em; color: #fff; white-space: nowrap; }
.nav__brand-name em { font-style: normal; color: var(--accent-soft); }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) {
  color: var(--text-light-dim); font-weight: 500; font-size: .95rem;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav__links a:not(.btn):hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: var(--text-light);
  margin: 5px 0; transition: .2s;
}

/* ============ Hero (antracit + foto) ============ */
.hero {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  color: var(--text-light);
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(242, 105, 29, .22), transparent 60%),
    linear-gradient(100deg, rgba(54, 59, 69, .96) 35%, rgba(54, 59, 69, .72)),
    url("../img/sala.jpg") center 30% / cover no-repeat,
    var(--dark);
  overflow: hidden;
}
.hero::after {
  content: "柔";
  position: absolute; right: -2rem; top: 50%; transform: translateY(-50%);
  font-size: clamp(16rem, 30vw, 26rem);
  color: rgba(255, 255, 255, .05);
  font-family: serif; line-height: 1; pointer-events: none;
}
.hero__inner { position: relative; max-width: 780px; }
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-soft);
  border: 1px solid rgba(255, 138, 71, .5);
  border-radius: 999px;
  padding: .35rem 1rem;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead { font-size: 1.15rem; color: var(--text-light-dim); max-width: 560px; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
}
.hero__badges li { display: flex; flex-direction: column; }
.hero__badges strong {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 800;
  color: var(--accent-soft);
}
.hero__badges span { font-size: .85rem; color: var(--text-light-dim); }

/* ============ Sections ============ */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: .6rem;
}
.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 640px;
}
.section__note { color: var(--text-dim); margin-top: 1.8rem; }

/* ============ Grids & cards ============ */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--narrow { max-width: 880px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 2px 10px rgba(47, 52, 61, .05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 105, 29, .5);
  box-shadow: 0 10px 24px rgba(47, 52, 61, .1);
}
.card__icon {
  font-size: 2rem; margin-bottom: 1rem;
  filter: grayscale(1) sepia(1) saturate(4) hue-rotate(-18deg);
}
.card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.card p { color: var(--text-dim); font-size: .95rem; }

/* ============ Split (text + media) ============ */
.split {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.checklist { list-style: none; display: grid; gap: 1.1rem; }
.checklist li {
  position: relative; padding-left: 2.1rem; color: var(--text-dim);
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem;
  display: grid; place-items: center;
  background: rgba(242, 105, 29, .15);
  color: var(--accent-deep);
  border-radius: 50%;
  font-size: .8rem; font-weight: 700;
}
.checklist strong { color: var(--text); }

.split__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.split__media figcaption, .gallery figcaption {
  margin-top: .7rem; font-size: .85rem; color: var(--text-dim);
}

.media-placeholder {
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 12px, var(--surface-2) 12px, var(--surface-2) 24px);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--text-dim); font-size: .9rem;
}

/* ============ Coaches ============ */
.coach {
  display: grid; grid-template-columns: 130px 1fr; gap: 1.4rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(47, 52, 61, .05);
  align-items: start;
}
.coach__photo {
  width: 100%; aspect-ratio: 1;
  border-radius: 12px; background: var(--surface-2);
  overflow: hidden;
}
.coach__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.coach__photo--george img { transform: scale(1.9); transform-origin: 63% 16%; }
.coach__photo--cristina img { transform: scale(1.5); transform-origin: 52% 20%; }
.coach h3 { font-size: 1.2rem; }
.coach__rank {
  display: inline-block;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  color: var(--accent-deep);
  background: rgba(242, 105, 29, .12);
  border-radius: 999px; padding: .2rem .8rem;
  margin: .4rem 0 .7rem;
}
.coach p:last-child { color: var(--text-dim); font-size: .95rem; }

.quote {
  margin-top: clamp(2rem, 5vw, 3rem);
  text-align: center;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600; color: var(--accent-deep);
  max-width: 720px; margin-inline: auto;
}

/* ============ Discipline ============ */
.discipline {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.2rem;
  box-shadow: 0 2px 10px rgba(47, 52, 61, .05);
  transition: border-color .2s ease, transform .2s ease;
}
.discipline:hover { border-color: rgba(242, 105, 29, .5); transform: translateY(-4px); }
.discipline h3 { font-size: 1rem; margin-bottom: .45rem; color: var(--accent-deep); }
.discipline p { font-size: .85rem; color: var(--text-dim); }

/* ============ Program / tabs ============ */
.tabs { display: flex; gap: .6rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.tabs__tab {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  padding: .65rem 1.4rem; border-radius: 999px;
  background: var(--surface); color: var(--text-dim);
  border: 1px solid var(--line); cursor: pointer;
  transition: .15s;
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab.is-active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.schedule {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.schedule__row {
  display: grid; grid-template-columns: 1fr 1.2fr;
  padding: 1.1rem 1.5rem; gap: 1rem;
  background: var(--surface);
}
.schedule__row:nth-child(even) { background: var(--bg-alt); }
.schedule__row + .schedule__row { border-top: 1px solid var(--line); }
.schedule__group { font-weight: 600; font-family: var(--font-display); font-size: .98rem; }
.schedule__group small { display: block; font-weight: 400; color: var(--text-dim); font-family: var(--font-body); }
.schedule__time { color: var(--text-dim); }

.banner {
  margin-top: 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(242, 105, 29, .16), rgba(242, 105, 29, .05));
  border: 1px solid rgba(242, 105, 29, .45);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
}
.banner h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.banner p { color: var(--text-dim); }

/* ============ Galerie (carusel) ============ */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: .6rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-alt);
}
.carousel__track figure {
  flex: 0 0 auto;
  scroll-snap-align: start;
  max-width: 88vw;
}
.carousel__track img {
  height: clamp(240px, 38vw, 400px);
  width: auto; max-width: 88vw;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.carousel__track figcaption {
  margin-top: .55rem; font-size: .85rem; color: var(--text-dim);
}
.carousel__track img { cursor: zoom-in; }

/* ============ Lightbox ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: rgba(54, 59, 69, .95);
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox__body { max-width: min(1200px, 94vw); text-align: center; }
.lightbox__body img {
  max-width: 94vw; max-height: 82vh;
  width: auto; height: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.6rem;
  width: 48px; height: 48px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--accent); color: #fff;
  font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center;
}
.lightbox__close:hover { background: var(--accent-deep); }
body.lightbox-open { overflow: hidden; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--accent); color: #fff;
  font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(47, 52, 61, .25);
  transition: background .15s ease, transform .15s ease;
}
.carousel__btn:hover { background: var(--accent-deep); transform: translateY(-50%) scale(1.06); }
.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }

/* ============ Video ============ */
.videos {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.4rem; margin-top: 3rem;
}
.videos video {
  width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--dark);
}
.videos figcaption {
  margin-top: .55rem; font-size: .85rem; color: var(--text-dim);
}

/* ============ Social media ============ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem; align-items: start;
}
.social-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem;
  box-shadow: 0 2px 10px rgba(47, 52, 61, .05);
}
.social-card h3 {
  font-size: 1rem; color: var(--accent-deep); margin-bottom: .9rem;
}
.social-card__video { aspect-ratio: 16 / 9; }
.social-card__video iframe {
  width: 100%; height: 100%; border: 0; border-radius: 8px; display: block;
}
.social-card__fb { width: 100%; border-radius: 8px; display: block; }
.social-card .tiktok-embed { border-radius: 8px; overflow: hidden; }
.social-card__link {
  display: inline-block; margin-top: .9rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
}

/* ============ Contact ============ */
.split--contact { align-items: start; grid-template-columns: 1fr 1.3fr; }
.contact-info dl { display: grid; gap: 1.3rem; margin-bottom: 2rem; }
.contact-info dt {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-deep); margin-bottom: .25rem;
}
.contact-info dd { color: var(--text-dim); }
.contact-map iframe { border-radius: var(--radius); border: 1px solid var(--line); }

/* ============ Footer (antracit) ============ */
.footer {
  background: var(--dark);
  border-top: 3px solid var(--accent);
  padding: 3rem 0;
  color: var(--text-light);
}
.footer__inner {
  display: grid; grid-template-columns: 1fr auto auto auto;
  gap: 2rem; align-items: center;
}
.footer__brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
}
.footer__brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.footer__brand span { color: var(--accent-soft); }
.footer__tagline { color: var(--text-light-dim); font-size: .9rem; margin-top: .4rem; }
.footer__links { display: flex; gap: 1.4rem; }
.footer__links a { color: var(--text-light-dim); font-size: .9rem; text-decoration: none !important; }
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; gap: .7rem; }
.footer__social a {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--text-light-dim);
  transition: background .15s ease, color .15s ease;
}
.footer__social a:hover { background: var(--accent); color: #fff; }
.footer__copy { color: var(--text-light-dim); font-size: .85rem; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 640px) {
  .hero {
    background:
      radial-gradient(70% 50% at 50% 0%, rgba(242, 105, 29, .2), transparent 65%),
      linear-gradient(180deg, rgba(54, 59, 69, .97) 45%, rgba(54, 59, 69, .8)),
      url("../img/sala.jpg") center 30% / cover no-repeat,
      var(--dark);
  }
  .hero__eyebrow { font-size: .7rem; letter-spacing: .07em; padding: .3rem .8rem; }
  .hero__cta .btn { width: 100%; text-align: center; }
  .hero__badges {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1rem;
  }
  .banner .btn { width: 100%; text-align: center; }
  .contact-map iframe { height: 300px; }
  .lightbox { padding: 1rem; }
  .lightbox__close { top: .8rem; right: .8rem; width: 42px; height: 42px; }
}

@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
}
/* meniul hamburger apare devreme: sub 1080px linkurile nu mai încap lejer */
@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 61px 0 auto 0;
    flex-direction: column; align-items: flex-start;
    background: var(--dark); border-bottom: 1px solid var(--dark-line);
    padding: 1.4rem 5%; gap: 1.1rem;
    transform: translateY(-130%); transition: transform .25s ease;
    box-shadow: 0 16px 32px rgba(47, 52, 61, .3);
  }
  .nav__links.is-open { transform: none; }
}

@media (max-width: 860px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr; }
  /* pe mobil butoanele stau peste imagini, mai mici */
  .carousel__btn { width: 38px; height: 38px; font-size: 1.3rem; opacity: .9; }
  .carousel__btn--prev { left: 6px; }
  .carousel__btn--next { right: 6px; }
  /* afișele de evenimente au text — pe mobil le lăsăm mai înalte */
  #evenimente .carousel__track img { height: 330px; }
  .split, .split--contact { grid-template-columns: 1fr; }
  .coach { grid-template-columns: 100px 1fr; }
  .schedule__row { grid-template-columns: 1fr; gap: .2rem; }
  .banner { flex-direction: column; align-items: flex-start; }
}
