/* ===== APT GYM — Design System =====
   Paleta: negru profund + roșu intens (din logo)
   Tipografie: Anton (titluri, condensat/agresiv) + Inter (text)
*/

:root {
  --bg: #0a0a0a;
  --bg-card: #161616;
  --bg-card-alt: #1d1d1d;
  --line: #2a2a2a;
  --text: #ededed;
  --text-dim: #9a9a9a;
  --red: #d4191f;
  --red-bright: #ff2630;
  --red-dark: #8c0f13;
  --white: #ffffff;

  --font-display: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

::selection { background: var(--red); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ===== Bara UE fixă (sus de tot) ===== */
.eu-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 3px solid var(--red);
}
.eu-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.eu-bar__logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.eu-bar__logos img { height: 38px; width: auto; }
.eu-bar__text {
  color: #1a1a2e;
  font-size: 12.5px;
  line-height: 1.3;
}
.eu-bar__text strong { font-weight: 700; }
.eu-bar__link {
  margin-left: auto;
  font-size: 12px;
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .eu-bar__inner { padding: 8px 16px; }
  .eu-bar__logos img { height: 30px; }
  .eu-bar__text { font-size: 11px; }
  .eu-bar__link { display: none; }
}

/* ===== Header / Navigație ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 190;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img {
  height: 50px;
  width: auto;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 10px;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  padding: 10px 16px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--white); background: var(--bg-card); }
.nav a.active { color: var(--white); }
.nav a.active { position: relative; }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--red);
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 4px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--red-bright) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    display: none;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; }
  .nav-cta { text-align: center; margin-top: 6px; }
}

/* ===== Eyebrow / etichete ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--red-bright);
}

/* ===== Tipografie titluri ===== */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
h1 { font-size: clamp(40px, 7vw, 84px); }
h2 { font-size: clamp(30px, 4.5vw, 52px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }

p { color: var(--text-dim); }
p.lead { font-size: 18px; color: var(--text); }

.text-accent { color: var(--red-bright); }

section { padding: 90px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Butoane ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-bright); }
.btn-outline { border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--red); color: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== HERO cu video ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.95) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero h1 { margin-bottom: 22px; max-width: 900px; }
.hero p.lead { max-width: 560px; margin-bottom: 36px; }
.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero__stat .num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--white);
  display: block;
}
.hero__stat .label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== Bara roșie "tape" semnătură ===== */
.tape-divider {
  height: 46px;
  background: var(--red);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.tape-divider__track {
  display: flex;
  gap: 40px;
  animation: tape-scroll 22s linear infinite;
}
.tape-divider span {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@keyframes tape-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Carduri generice ===== */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--red-dark); transform: translateY(-4px); }
.card .num-tag {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--red-bright);
  margin-bottom: 18px;
  display: block;
}
.card h3 { margin-bottom: 12px; color: var(--white); }
.card p { font-size: 14.5px; }

/* ===== Imagine cu split text ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split img { border-radius: 8px; }
.split-reverse .split { direction: rtl; }
.split-reverse .split > * { direction: ltr; }

/* ===== Secțiune întunecată alternativă ===== */
.section-alt { background: var(--bg-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ===== CTA bandă finală ===== */
.cta-band {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 32px; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.cta-band .btn-outline:hover { background: var(--white); color: var(--red-dark); }
.cta-band .btn-primary { background: var(--bg); }
.cta-band .btn-primary:hover { background: var(--bg-card); }

/* ===== Footer ===== */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-grid a, .footer-grid p {
  display: block;
  font-size: 14.5px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.footer-grid a:hover { color: var(--red-bright); }
.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 6px;
  padding: 5px 12px;
}
.footer-brand p { max-width: 280px; font-size: 14px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.social-row a:hover { border-color: var(--red); background: var(--red); color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #666;
}

/* ===== Pop-up cofinanțare UE ===== */
.eu-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.eu-modal.hidden { display: none; }
.eu-modal__box {
  background: var(--white);
  color: #1a1a2e;
  border-radius: 10px;
  max-width: 520px;
  width: 100%;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.eu-modal__logos {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
}
.eu-modal__logos img { height: 56px; width: auto; }
.eu-modal__box h3 {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: none;
  font-size: 22px;
  color: #1a1a2e;
  margin-bottom: 16px;
}
.eu-modal__box p { color: #444; font-size: 14.5px; line-height: 1.6; margin-bottom: 28px; }
.eu-modal__box a { color: var(--red-dark); text-decoration: underline; }
.eu-modal__close {
  background: var(--red);
  color: var(--white);
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}
.eu-modal__close:hover { background: var(--red-bright); }

/* ===== Pagina Contact: formular ===== */
.form-grid { display: grid; gap: 18px; }
.form-grid label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: block;
}
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  border-color: var(--red);
  outline: none;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.contact-info-card .row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-card .row:last-child { margin-bottom: 0; }
.contact-info-card .icon {
  width: 40px; height: 40px;
  background: var(--red);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--white);
}
.contact-info-card .row h4 { font-size: 14px; color: var(--white); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-info-card .row p, .contact-info-card .row a { font-size: 14.5px; margin: 0; }

.map-frame {
  width: 100%;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 32px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

/* ===== Tabel prețuri abonamente ===== */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
}
.price-card.featured {
  border-color: var(--red);
  background: linear-gradient(160deg, var(--bg-card-alt), var(--bg-card));
}
.price-card.featured::before {
  content: 'CEL MAI POPULAR';
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-card .price-name { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 18px; }
.price-card .price-val { font-family: var(--font-display); font-size: 46px; color: var(--white); }
.price-card .price-val span { font-family: var(--font-body); font-size: 15px; color: var(--text-dim); font-weight: 400; }
.price-card ul { list-style: none; text-align: left; margin: 28px 0; padding: 0; }
.price-card ul li {
  font-size: 14.5px;
  color: var(--text-dim);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
}
.price-card ul li::before { content: '✓'; color: var(--red-bright); font-weight: 700; }

/* ===== Listă servicii numerotată ===== */
.service-row {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.service-row .idx {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--red-dark);
  flex-shrink: 0;
  width: 60px;
}
.service-row h3 { margin-bottom: 8px; color: var(--white); }

/* ===== FAQ ===== */
details.faq {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 14px;
}
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq summary::after { content: '+'; font-size: 22px; color: var(--red-bright); }
details.faq[open] summary::after { content: '−'; }
details.faq p { margin-top: 14px; font-size: 14.5px; }

/* ===== Quote / testimonial ===== */
.quote-card {
  background: var(--bg-card);
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 28px 32px;
}
.quote-card p.quote-text { font-size: 16px; color: var(--text); font-style: italic; margin-bottom: 16px; }
.quote-card .author { font-size: 13px; color: var(--red-bright); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
