/* Variabile globale – culori, umbre, font */
:root {
  --blue-dark:    #0f2744;
  --blue-mid:     #1a3a5c;
  --blue-light:   #2a5080;
  --orange:       #e8620a;
  --orange-hover: #d45608;
  --orange-light: #fff4ec;
  --white:        #ffffff;
  --gray-100:     #f4f6f9;
  --gray-200:     #e2e8f0;
  --gray-500:     #64748b;
  --gray-700:     #334155;
  --text-primary:   #111827;
  --text-secondary: #374151;
  --text-muted:     #6b7280;
  --text-subtle:    #9ca3af;
  --text-inverse:   #ffffff;
  --text-inverse-muted: #e5e7eb;
  /* Ierarhie text Home – titluri / subtitluri / corp */
  --home-title:     #ffffff;
  --home-subtitle:  #e5e7eb;
  --home-body:      #9ca3af;
  --home-muted:     #9ca3af;
  --home-title-on-light:     #111827;
  --home-subtitle-on-light:  #374151;
  --home-body-on-light:      #6b7280;
  --home-muted-on-light:     #9ca3af;
  --shadow-sm:    0 2px 8px rgba(15, 39, 68, 0.08);
  --shadow-md:    0 8px 24px rgba(15, 39, 68, 0.12);
  --shadow-lg:    0 16px 48px rgba(15, 39, 68, 0.16);
  --radius:       12px;
  --transition:   0.25s ease;
  --header-h:     64px;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--home-subtitle-on-light);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Pagini interne (Despre, Program, Prețuri, Înscriere) */
.page-section {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  min-height: 60vh;
  background: var(--gray-100);
}

.page-section__inner {
  max-width: 720px;
}

.page-section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--home-title-on-light);
  margin-bottom: 1.25rem;
}

.page-section__text {
  font-size: 1.05rem;
  color: var(--home-body-on-light);
  line-height: 1.75;
}

/* Butoane – stil premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.65rem;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(23, 50, 77, 0.08);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.btn--primary:hover {
  background: #e5e7eb;
  border-color: #e5e7eb;
  color: #0a0a0a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  color: #e5e7eb;
  box-shadow: none;
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--home-title-on-light);
  border-color: rgba(17, 24, 39, 0.35);
  box-shadow: none;
}

.btn--secondary:hover {
  background: rgba(17, 24, 39, 0.04);
  color: var(--home-subtitle-on-light);
  border-color: rgba(17, 24, 39, 0.5);
  box-shadow: none;
  transform: translateY(-2px);
}

.btn__icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.btn__icon svg {
  width: 100%;
  height: 100%;
}

/* Animații scroll reveal (contact) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 58px;
  }
}
