/* ═══════════════════════════════════════════════
   PALLACANESTRO A.L.Ba 2015 — Shared Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --navy:       #1a1f6e;
  --yellow:     #f5c800;
  --white:      #ffffff;
  --dark:       #0d0d1a;
  --mid:        #151830;
  --light-navy: #252b7e;
  --gray:       #8899aa;
  --border:     rgba(255,255,255,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  padding-top: 76px; /* navbar height */
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 76px;
  background: rgba(13,13,26,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--yellow);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-main {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
}

.nav-brand-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
  border-color: rgba(245,200,0,0.35);
  background: rgba(245,200,0,0.06);
}

/* ─── HERO ─── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 50%, rgba(26,31,110,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(245,200,0,0.07) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,200,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,200,0,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-circle {
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 640px; height: 640px;
  border: 1.5px solid rgba(245,200,0,0.08);
  border-radius: 50%;
}

.hero-circle::before {
  content: '';
  position: absolute; inset: 50px;
  border: 1px solid rgba(26,31,110,0.4);
  border-radius: 50%;
}

.hero-inner {
  position: relative; z-index: 2;
  padding: 0 80px;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 36px; height: 2px;
  background: var(--yellow);
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(52px, 7.5vw, 108px);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-title .t1 { color: var(--white); display: block; }
.hero-title .t2 { color: var(--yellow); display: block; }
.hero-title .t3 { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.22); display: block; }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.58);
  margin-top: 28px;
  max-width: 480px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-watermark {
  position: absolute;
  right: 7%; top: 50%;
  transform: translateY(-50%);
  opacity: 0.1;
  width: 460px;
  pointer-events: none;
}

/* ─── BUTTONS ─── */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 38px;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  display: inline-block;
}

.btn-primary:hover { background: #ffd700; transform: translateY(-2px); }

.btn-outline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 36px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.28);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

/* ─── SECTION WRAPPERS ─── */
.section {
  padding: 100px 80px;
}

.section--dark  { background: var(--dark); }
.section--mid   { background: var(--mid); }
.section--navy  { background: var(--navy); }

.section-header {
  margin-bottom: 60px;
}

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

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
}

.section-title span { color: var(--yellow); }

.section-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin-top: 14px;
  max-width: 600px;
  line-height: 1.7;
}

.section-header.center .section-sub { margin: 14px auto 0; }

/* Divider accent */
.accent-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 28px;
}
.accent-bar-line {
  height: 3px; width: 60px;
  background: linear-gradient(90deg, var(--yellow), transparent);
}
.accent-bar-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ─── STATS STRIP ─── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--yellow);
  background: var(--navy);
}

.stat-item {
  padding: 44px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s;
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.stat-item:hover { background: rgba(245,200,0,0.05); }
.stat-item:hover::after { transform: scaleX(1); }

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 58px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}

/* ─── CARDS ─── */
.card {
  background: var(--mid);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--navy));
}

.card:hover {
  border-color: rgba(245,200,0,0.28);
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(0,0,0,0.4);
}

.card-body { padding: 36px 28px; }

.card-icon {
  font-size: 38px;
  margin-bottom: 18px;
  display: block;
}

.card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.card-subtitle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}

.card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ─── PARTNERS ─── */
.partners-section {
  background: var(--mid);
  padding: 80px;
  border-top: 1px solid var(--border);
}

.partners-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-bottom: 40px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.partner-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  /*padding: 22px 36px;*/
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s;
  min-width: 160px;
  text-align: center;
}

.partner-box:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(245,200,0,0.05);
}

/* ─── CONTACTS FOOTER BLOCK ─── */
.contacts-block {
  background: var(--dark);
  border-top: 3px solid var(--yellow);
  padding: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon-box {
  width: 48px; height: 48px;
  background: rgba(245,200,0,0.08);
  border: 1px solid rgba(245,200,0,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
*margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 32px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand-small {
  display: flex; align-items: center; gap: 12px;
}

.footer-brand-small img { height: 36px; }

.footer-text {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
}

.footer-text span { color: var(--yellow); }

.footer-social {
  display: flex; gap: 10px;
}

.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.social-btn:hover { background: var(--yellow); border-color: var(--yellow); }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── PAGE HEADER ─── */
.page-header {
  background: var(--navy);
  padding: 72px 80px 60px;
  border-bottom: 3px solid var(--yellow);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,200,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,200,0,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-header-inner { position: relative; z-index: 1; }

/* ─── GRID LAYOUTS ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 6px 10px; font-size: 12px; }
  .section { padding: 80px 24px; }
  .partners-section { padding: 60px 24px; }
  .contacts-block { padding: 60px 24px; grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 28px 24px; }
  .page-header { padding: 56px 24px 48px; }
  .hero-inner { padding: 0 24px; }
  .hero-watermark { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

@media (max-width: 640px) {
  .nav-brand-main { font-size: 13px; }
  .nav-brand-sub  { font-size: 12px; }
  .nav-logo img   { height: 40px; }
}
