/* ==========================================
   NouveauxUnivers Esports — Main Stylesheet
   ========================================== */

/* ---------- CSS Reset & Variables ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --clr-bg:        #07071a;
  --clr-bg2:       #0d0d2b;
  --clr-surface:   #11113a;
  --clr-border:    #1e1e56;
  --clr-primary:   #4f8dff;
  --clr-accent:    #9b5de5;
  --clr-neon:      #00d4ff;
  --clr-text:      #e4e4f0;
  --clr-muted:     #8888aa;
  --clr-white:     #ffffff;
  --radius:        8px;
  --radius-lg:     16px;
  --shadow:        0 4px 32px rgba(79, 141, 255, 0.12);
  --transition:    0.3s ease;
  --font-heading:  'Rajdhani', 'Segoe UI', sans-serif;
  --font-body:     'Inter', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--clr-neon); }

ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

/* ---------- Layout Helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.section--alt {
  background-color: var(--clr-bg2);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__header h2 {
  color: var(--clr-white);
  margin-bottom: 12px;
}

.section__header p {
  color: var(--clr-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-neon);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: var(--clr-white);
  box-shadow: 0 0 20px rgba(79, 141, 255, 0.35);
}
.btn--primary:hover {
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(79, 141, 255, 0.55);
}

.btn--outline {
  background: transparent;
  color: var(--clr-primary);
  border: 1.5px solid var(--clr-primary);
}
.btn--outline:hover {
  color: var(--clr-neon);
  border-color: var(--clr-neon);
  background: rgba(0, 212, 255, 0.06);
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.9rem;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 7, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.navbar__logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.04em;
}
.navbar__logo-text span { color: var(--clr-neon); }

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__link {
  color: var(--clr-text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-neon);
  transition: width var(--transition);
}
.navbar__link:hover, .navbar__link.active {
  color: var(--clr-neon);
}
.navbar__link:hover::after, .navbar__link.active::after { width: 100%; }

.navbar__cta {
  margin-left: 16px;
}

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.navbar__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--clr-text);
  transition: all var(--transition);
  border-radius: 2px;
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(7, 7, 26, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--clr-border);
  padding: 16px 24px 24px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile .navbar__link {
  padding: 14px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 1rem;
}
.navbar__mobile .btn { margin-top: 16px; align-self: flex-start; }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 7, 26, 0.85) 0%,
    rgba(7, 7, 26, 0.55) 50%,
    rgba(7, 7, 26, 0.8) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__content h1 {
  color: var(--clr-white);
  margin-bottom: 20px;
}
.hero__content h1 span { color: var(--clr-neon); }

.hero__content p {
  font-size: 1.15rem;
  color: var(--clr-text);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
}
.hero__stat-number span { color: var(--clr-neon); }

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--clr-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-primary);
  box-shadow: 0 8px 40px rgba(79, 141, 255, 0.18);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(79, 141, 255, 0.2), rgba(155, 93, 229, 0.2));
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h3 {
  color: var(--clr-white);
  margin-bottom: 10px;
}

.card p {
  color: var(--clr-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  z-index: -1;
  opacity: 0.4;
}

.about-content h2 { color: var(--clr-white); margin-bottom: 16px; }
.about-content p { color: var(--clr-muted); }

.about-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--clr-text);
  font-size: 0.95rem;
}

.about-list__item::before {
  content: '✦';
  color: var(--clr-neon);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow);
}

.service-card__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-border);
  line-height: 1;
  margin-bottom: 12px;
}

.service-card h3 { color: var(--clr-white); margin-bottom: 8px; }
.service-card p { color: var(--clr-muted); font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Tournament Section ---------- */
.tournament-section {
  position: relative;
  overflow: hidden;
}

.tournament-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tournament-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.tournament-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--clr-bg2) 0%, transparent 30%, transparent 70%, var(--clr-bg2) 100%);
}

.tournament-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.tournament-content h2 { color: var(--clr-white); margin-bottom: 16px; }
.tournament-content p { color: var(--clr-muted); max-width: 600px; margin: 0 auto 40px; }

/* ---------- FAQ / Accordion ---------- */
.accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion__item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.accordion__item.open { border-color: var(--clr-primary); }

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.accordion__header h4 {
  color: var(--clr-white);
  font-size: 1rem;
}

.accordion__arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  font-size: 0.8rem;
  transition: all var(--transition);
}

.accordion__item.open .accordion__arrow {
  transform: rotate(180deg);
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.accordion__body {
  display: none;
  padding: 0 24px 20px;
  color: var(--clr-muted);
  font-size: 0.95rem;
}
.accordion__body.open { display: block; }

/* ---------- Jobs Section ---------- */
.jobs-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all var(--transition);
  flex-wrap: wrap;
}

.job-card:hover {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow);
}

.job-card__info { flex: 1; }

.job-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 6px;
}

.job-card__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.job-badge {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(79, 141, 255, 0.12);
  border: 1px solid rgba(79, 141, 255, 0.3);
  color: var(--clr-primary);
}

.job-badge--green {
  background: rgba(0, 212, 150, 0.12);
  border-color: rgba(0, 212, 150, 0.3);
  color: #00d496;
}

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 { color: var(--clr-white); margin-bottom: 12px; }
.contact-info > p { color: var(--clr-muted); margin-bottom: 32px; }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(79, 141, 255, 0.1);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item__text strong {
  display: block;
  color: var(--clr-white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-item__text a,
.contact-item__text span {
  color: var(--clr-text);
  font-size: 0.95rem;
}
.contact-item__text a:hover { color: var(--clr-neon); }

.contact-form {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form h3 {
  color: var(--clr-white);
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-primary);
}

.form-group select option {
  background: var(--clr-bg);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Partnership Section ---------- */
.partnership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.partnership-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}

.partnership-card:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 4px 24px rgba(155, 93, 229, 0.2);
}

.partnership-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.partnership-card h4 { color: var(--clr-white); margin-bottom: 8px; }
.partnership-card p { color: var(--clr-muted); font-size: 0.88rem; margin-bottom: 0; }

/* ---------- Newsletter / CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, rgba(79, 141, 255, 0.12), rgba(155, 93, 229, 0.12));
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
}

.cta-section h2 { color: var(--clr-white); margin-bottom: 12px; }
.cta-section p { color: var(--clr-muted); margin-bottom: 32px; }

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1;
  padding: 13px 18px;
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  min-width: 220px;
  transition: border-color var(--transition);
}
.cta-form input:focus { border-color: var(--clr-primary); }

/* ---------- Footer ---------- */
.footer {
  background: var(--clr-bg2);
  border-top: 1px solid var(--clr-border);
  padding: 60px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand .navbar__logo {
  margin-bottom: 16px;
  display: inline-flex;
}
.footer__brand p { color: var(--clr-muted); font-size: 0.9rem; max-width: 280px; }

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--clr-muted);
  transition: all var(--transition);
}
.footer__social a:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(79, 141, 255, 0.1);
}

.footer__col h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  color: var(--clr-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--clr-neon); }

.footer__bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  color: var(--clr-muted);
  font-size: 0.85rem;
}

.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  color: var(--clr-muted);
  font-size: 0.85rem;
}
.footer__legal a:hover { color: var(--clr-neon); }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(13, 13, 43, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--clr-border);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  color: var(--clr-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
  max-width: 600px;
}
.cookie-banner p a { color: var(--clr-primary); }

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--clr-bg) 0%, var(--clr-bg2) 100%);
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--clr-border);
  text-align: center;
}

.page-hero h1 { color: var(--clr-white); margin-bottom: 12px; }
.page-hero p { color: var(--clr-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--clr-muted);
  margin-bottom: 40px;
}
.breadcrumb a { color: var(--clr-muted); }
.breadcrumb a:hover { color: var(--clr-neon); }
.breadcrumb .sep { color: var(--clr-border); }
.breadcrumb .current { color: var(--clr-text); }

/* ---------- Legal Content ---------- */
.legal-content {
  max-width: 840px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--clr-white);
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--clr-border);
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content p { color: var(--clr-muted); }
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--clr-muted);
  margin-bottom: 1rem;
}
.legal-content ul li { margin-bottom: 6px; }
.legal-content a { color: var(--clr-primary); }
.legal-content strong { color: var(--clr-text); }

/* ---------- About Page ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { border-color: var(--clr-accent); box-shadow: 0 4px 24px rgba(155, 93, 229, 0.15); }

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.team-card h4 { color: var(--clr-white); margin-bottom: 4px; }
.team-card span { color: var(--clr-muted); font-size: 0.85rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.value-card:hover { border-color: var(--clr-primary); box-shadow: var(--shadow); }
.value-card__icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h4 { color: var(--clr-white); margin-bottom: 8px; }
.value-card p { color: var(--clr-muted); font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Hours Table ---------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.92rem;
  color: var(--clr-muted);
}
.hours-table td:first-child { color: var(--clr-text); font-weight: 600; }
.hours-table tr:last-child td { border-bottom: none; }


/* ---------- Scroll to top button ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(79, 141, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 900;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(79, 141, 255, 0.55); }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up { animation: none; opacity: 1; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Neon line divider ---------- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-primary), var(--clr-accent), transparent);
  margin: 0;
  opacity: 0.4;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .navbar__menu { display: none; }
  .navbar__cta { display: none; }
  .navbar__burger { display: flex; }

  .hero__stats { gap: 28px; }
  .hero__content h1 { font-size: 2.1rem; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { order: -1; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-section { padding: 40px 24px; }

  .job-card { flex-direction: column; align-items: flex-start; }

  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .cards-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .cta-form { flex-direction: column; }
  .cta-form input, .cta-form .btn { width: 100%; }

  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }

  .scroll-top { right: 16px; bottom: 16px; }
}
