:root {
  --primary-hsl: 195 60% 25%;
  --primary-foreground-hsl: 0 0% 100%;
  --background-hsl: 195 60% 98%;
  --foreground-hsl: 195 25% 12%;
  --accent-hsl: 195 40% 90%;
  --card-hsl: 195 60% 100%;
  --card-foreground-hsl: 195 25% 12%;
  --secondary-hsl: 195 20% 94%;
  --secondary-foreground-hsl: 195 25% 25%;
  --muted-hsl: 195 15% 74%;
  --muted-foreground-hsl: 195 15% 40%;
  --destructive-hsl: 0 70% 45%;
  --destructive-foreground-hsl: 0 0% 100%;
  --border: hsl(195, 15%, 80%);
  --input: hsl(195, 15%, 90%);
  --ring: hsl(var(--primary-hsl) / 0.3);
  --radius: 0.25rem;
  --font-heading: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, sans-serif;
  --text-xs: clamp(0.75rem, 1.5vw, 0.875rem);
  --text-sm: clamp(0.875rem, 1.8vw, 1rem);
  --text-base: clamp(1rem, 2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 2.5vw, 1.375rem);
  --text-xl: clamp(1.375rem, 3.5vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 5vw, 2.5rem);
  --text-3xl: clamp(2.5rem, 7vw, 3.5rem);
  --text-4xl: clamp(3rem, 10vw, 5rem);
}

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

body {
  font-family: var(--font-body);
  color: hsl(var(--foreground-hsl));
  background: hsl(var(--background-hsl));
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 0.5em;
  letter-spacing: -0.015em;
}

h1 {
  font-size: var(--text-3xl);
}

h2 {
  font-size: var(--text-2xl);
}

h3 {
  font-size: var(--text-xl);
}

a {
  color: var(--primary);
  text-decoration: none;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5em 1em;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

/* Header */
.site-header {
  background: hsl(var(--background-hsl));
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
  background: hsl(var(--background-hsl) / 0.85);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.brand {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: hsl(var(--foreground-hsl));
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label::before,
.nav-toggle-label::after {
  content: "";
  display: block;
  height: 2px;
  background: hsl(var(--foreground-hsl));
  border-radius: 2px;
  transition: 0.3s;
}

.nav-toggle-label::before,
.nav-toggle-label::after {
  width: 100%;
}

.nav-toggle:checked ~ .nav-toggle-label span {
  opacity: 0;
}

.nav-toggle:checked ~ .nav-toggle-label::before {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle:checked ~ .nav-toggle-label::after {
  transform: translateY(-9px) rotate(-45deg);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: hsl(var(--foreground-hsl));
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: var(--primary);
}

@media (max-width: 767px) {
  .nav-toggle-label {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: hsl(var(--background-hsl));
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  }

  .nav-toggle:checked ~ .nav {
    max-height: 250px;
  }

  .nav-link {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}

@media (min-width: 768px) {
  .nav-toggle-label {
    display: none;
  }

  .nav {
    position: static;
    flex-direction: row;
    background: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75em 2em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.3;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 2px solid var(--primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: hsl(var(--primary-hsl) / 0.9);
  border-color: hsl(var(--primary-hsl) / 0.9);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: hsl(var(--primary-hsl) / 0.1);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, hsl(195 60% 95%) 0%, hsl(var(--background-hsl)) 100%);
  padding-block: clamp(3rem, 8vw, 5rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 60vh;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: var(--text-4xl);
  margin-bottom: 0.3em;
  color: hsl(var(--foreground-hsl));
}

.hero-sub {
  font-size: var(--text-lg);
  color: hsl(var(--muted-foreground-hsl));
  max-width: 30ch;
  margin-inline: auto;
  margin-bottom: 2em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-visual {
  display: none;
}

@media (min-width: 768px) {
  .hero {
    padding-block: 0;
  }

  .hero-grid {
    grid-template-columns: 60% 40%;
    min-height: 70vh;
  }

  .hero-text {
    text-align: left;
    padding-right: 2rem;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
  }

  .hero-accent {
    width: 2px;
    height: 80%;
    background: linear-gradient(to bottom, var(--primary), transparent);
    opacity: 0.3;
  }
}

/* Sections */
.section {
  padding-block: 3rem;
}

@media (min-width: 768px) {
  .section {
    padding-block: 5rem;
  }
}

.section-muted {
  background: hsl(var(--secondary-hsl));
}

/* About */
#despre {
  padding-bottom: 2rem;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-accent {
  display: none;
}

@media (min-width: 768px) {
  #despre {
    padding-bottom: 3rem;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 3rem;
  }

  .about-accent {
    display: block;
    border-left: 2px solid var(--primary);
    height: 100%;
    opacity: 0.25;
    margin-top: 0.5em;
  }

  .about-content {
    max-width: 65ch;
  }
}

/* Program */
.program-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-lg);
}

.hours-list li {
  padding: 0.5em 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 2em;
}

@media (min-width: 768px) {
  .program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .hours-list {
    font-size: var(--text-xl);
  }
}

/* Contact */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.75em;
}

@media (min-width: 768px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground-hsl));
}

.input,
.textarea {
  font-family: inherit;
  font-size: var(--text-base);
  padding: 0.75em 1em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  margin-top: 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.footer-col h3 {
  margin-bottom: 0.25em;
}

.footer-col p {
  font-size: var(--text-sm);
  color: hsl(var(--muted-foreground-hsl));
  margin-bottom: 0.25em;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-text,
  .about-content,
  .program-grid,
  .contact-grid,
  .site-footer {
    animation: fade-up 0.8s ease-out both;
  }

  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}


}
