/* ==========================================================================
   ACS Titanii Timișoara — stil global
   Site static (HTML/CSS/JS), fără WordPress, fără dependențe externe.
   ========================================================================== */

:root {
  --navy:      #0f1b33;
  --navy-2:    #16274a;
  --ink:       #1b2233;
  --body:      #3d4657;
  --muted:     #6b7488;
  --line:      #e3e7ef;
  --bg:        #ffffff;
  --bg-soft:   #f5f7fb;
  --accent:    #c81bd8;   /* magenta - identitatea vizuală a clubului */
  --accent-d:  #a112b0;
  --blue:      #2276c3;
  --gold:      #f0b429;

  --radius:    14px;
  --radius-s:  9px;
  --shadow:    0 1px 2px rgba(15,27,51,.05), 0 10px 30px rgba(15,27,51,.07);
  --shadow-lg: 0 18px 50px rgba(15,27,51,.14);
  --wrap:      1140px;
  --font:      "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

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

a { color: var(--accent-d); }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* --------------------------------------------------------------- Butoane */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-primary  { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(200,27,216,.28); }
.btn-primary:hover { background: var(--accent-d); }

.btn-ghost    { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-outline  { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-d); }

.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-block { width: 100%; }

/* -------------------------------------------------------------- Antetul */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-right: auto;
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 2px;
  flex: 0 0 auto;
}
.brand-name  { font-size: 1.02rem; line-height: 1.15; display: block; white-space: nowrap; }
.brand-sub   { font-size: .68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 1001px) {
  .brand-sub { display: none; }
  .nav a { padding: 9px 10px; font-size: .83rem; }
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .87rem;
  white-space: nowrap;
}
.nav a:hover { background: var(--bg-soft); color: var(--accent-d); }
.nav a[aria-current="page"] { color: var(--accent-d); background: #faeefb; }

.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block;
  width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  margin: 0 auto; position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 22px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: .95rem; }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #2a1a4d 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 340px at 82% 14%, rgba(200,27,216,.32), transparent 70%),
    radial-gradient(620px 320px at 8% 92%, rgba(34,118,195,.30), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 82px 0 88px;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { font-size: 1.1rem; color: rgba(255,255,255,.86); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 20px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-media img {
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 26px 40px;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.fact strong { display: block; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.fact span   { font-size: .82rem; color: rgba(255,255,255,.72); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 56px 0 62px; }
}

/* ------------------------------------------------------- Antet de pagină */
.page-head {
  background: linear-gradient(135deg, var(--navy) 0%, #2a1a4d 100%);
  color: #fff;
  padding: 66px 0 58px;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 88% 6%, rgba(200,27,216,.34), transparent 70%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p  { color: rgba(255,255,255,.85); max-width: 62ch; margin: 0; }

.crumbs { font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ------------------------------------------------------------- Secțiuni */
.section { padding: 74px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 52px 0; }

.section-title { max-width: 720px; margin-bottom: 42px; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title p { color: var(--muted); margin-bottom: 0; }

.kicker {
  display: block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ---------------------------------------------------------------- Grile */
.grid { display: grid; gap: 26px; }
.grid > *, .split > * { min-width: 0; }
.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: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* --------------------------------------------------------------- Carduri */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: .5em; }
.card p:last-of-type { margin-bottom: 22px; }
.card .btn { margin-top: auto; align-self: flex-start; }

.card-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 13px;
  font-size: 1.5rem;
  background: #faeefb;
  margin-bottom: 18px;
}
.card-icon.blue { background: #e9f2fb; }
.card-icon.gold { background: #fdf3dd; }

.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: #faeefb;
  color: var(--accent-d);
  margin-bottom: 14px;
  align-self: flex-start;
}
.badge.blue { background: #e9f2fb; color: #175d9c; }
.badge.gold { background: #fdf3dd; color: #8a6206; }
.badge.green{ background: #e6f6ed; color: #196b3c; }

/* ---------------------------------------------------------------- Echipa */
.person { text-align: center; }
.person img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  margin-bottom: 16px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.person h3 { margin-bottom: .15em; }
.person .role { font-size: .82rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.person p { font-size: .93rem; color: var(--body); margin-bottom: 0; text-align: left; }

/* --------------------------------------------------------------- Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-s);
  background: var(--bg-soft);
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------------ Taxe */
.price-card {
  background: linear-gradient(135deg, var(--navy) 0%, #2a1a4d 100%);
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  margin: 0 auto;
}
.price-card h3 { color: #fff; text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; }
.price { font-size: 3rem; font-weight: 800; line-height: 1; margin: 12px 0 4px; }
.price small { display: block; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.price-list { list-style: none; padding: 0; margin: 26px 0; text-align: left; }
.price-list li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.9); font-size: .95rem; }
.price-list li:last-child { border-bottom: 0; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* --------------------------------------------------------------- Listele */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { padding: 8px 0 8px 32px; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: #faeefb; color: var(--accent-d);
  border-radius: 50%; font-size: .72rem; font-weight: 800;
}

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic { flex: 0 0 22px; text-align: center; }

/* --------------------------------------------------------------- Contact */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.05rem; }
.contact-card a { color: var(--ink); text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-card a:hover { color: var(--accent-d); }

.map-embed {
  border: 0;
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

/* ------------------------------------------------------------------- CTA */
.cta {
  background: linear-gradient(135deg, var(--accent) 0%, #7a1fd4 100%);
  color: #fff;
  text-align: center;
  padding: 66px 0;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 58ch; margin: 0 auto 26px; }

/* -------------------------------------------------------------- Finanțator */
.funder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.funder img { max-width: 340px; }
.funder p { margin: 0; font-size: .92rem; color: var(--muted); }

/* --------------------------------------------------------------- Fișiere */
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.file-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease;
}
.file-list a:hover { border-color: var(--accent); transform: translateX(3px); }
.file-list .ic { font-size: 1.3rem; }
.file-list .meta { margin-left: auto; font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; }

/* --------------------------------------------------------------- Subsolul */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding: 56px 0 26px;
  font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; color: #fff; font-weight: 800; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.55);
}

/* ------------------------------------------------------- Buton WhatsApp */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 70;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.4);
  text-decoration: none;
  font-size: 1.6rem;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); }

/* ------------------------------------------------------------- Utilitare */
.skip-link {
  position: absolute; left: -9999px;
  background: #fff; color: var(--ink);
  padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small { font-size: .88rem; color: var(--muted); }

@media print {
  .site-header, .site-footer, .wa-float, .cta { display: none !important; }
  body { font-size: 12pt; }
}
