:root {
  --color-primary: #111827;
  --color-secondary: #0EA5E9;
  --color-bg: #F4F4F5;
  --color-card: #FFFFFF;
  --color-text: #020617;
  --color-muted: #6B7280;
  --color-accent: #FACC15;
  --radius: 16px;
  --shadow-soft: 0 10px 35px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100%;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  width: 100%;
}

.section {
  padding: 3rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-list a {
  color: var(--color-text);
  font-weight: 500;
}

.nav-toggle {
  background: none;
  border: 1px solid rgba(15, 23, 42, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .nav-list {
    position: absolute;
    inset: 65px 1.5rem auto;
    flex-direction: column;
    background: var(--color-card);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-soft);
    width: calc(100% - 3rem);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-list.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header {
    padding: 0.75rem 1rem;
  }

  .nav-toggle {
    margin-left: auto;
  }
}

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

  .nav-list {
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    box-shadow: none;
    opacity: 1 !important;
    pointer-events: auto;
    transform: none !important;
    width: auto;
    border: none;
  }

  .nav-list li {
    margin: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: inset 0 0 0 0 var(--color-secondary);
}

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

.btn:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 4rem 1.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.info-grid {
  display: grid;
  gap: 1.5rem;
}

.info-card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.programs-grid,
.routines-grid,
.resources-grid {
  display: grid;
  gap: 1.5rem;
}

.program-card,
.routine-card,
.article-card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.program-card img,
.routine-card img,
.article-card img {
  border-radius: 16px;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.small-note {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.why-section {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-sub {
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.cta-section {
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}

.cta-section .btn-primary {
  margin-top: 1rem;
}

.site-footer {
  background: var(--color-primary);
  color: #fff;
  padding: 3rem 1.5rem 1.25rem;
}

.site-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #fff;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-contact {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.footer-contact a {
  color: #fff;
  font-weight: 600;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-form input {
  border-radius: 999px;
  padding: 0.8rem 1rem;
  border: none;
  font-size: 0.95rem;
}

.footer-form button {
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.footer-form button:hover {
  transform: translateY(-1px);
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

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

input,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.form-errors {
  color: var(--color-accent);
  font-size: 0.85rem;
}

.input-error {
  border-color: var(--color-accent);
}

.success-message {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--color-secondary);
}

.form-wrapper {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

ul {
  margin-left: 1rem;
  padding-left: 0.75rem;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

  .routines-grid,
  .resources-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-header {
    padding: 1rem 3rem;
  }

  .section {
    padding: 4rem 3rem;
  }

  .footer {
    padding: 2.5rem 3rem;
  }
}

.fade-in,
.slide-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible,
.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}
