:root {
  --color-bg: #f8f6f2;
  --color-bg-alt: #efece5;
  --color-card: #fffefb;
  --color-text: #20242b;
  --color-text-muted: #5c6270;
  --color-accent: #d6303f;
  --color-accent-dark: #a82430;
  --color-border: #e6e1d7;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-width: 1120px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--color-accent);
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(248, 246, 242, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.logo {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 15px;
}

.nav-menu a:hover {
  color: var(--color-accent);
}

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 4px;
}

.nav-cta:hover {
  background: var(--color-accent-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
}

.hero {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: 120px 24px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #fff;
  color: var(--color-accent);
}

.btn-primary:hover {
  background: #f2f2f2;
}

.section {
  padding: 88px 0;
}

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

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 48px;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted);
}

.schedule-branch {
  margin-bottom: 48px;
}

.schedule-branch:last-child {
  margin-bottom: 0;
}

.schedule-branch-title {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

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

.schedule-day {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(32, 36, 43, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.schedule-day:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(32, 36, 43, 0.08);
}

.schedule-day h4 {
  font-size: 19px;
  font-family: var(--font-heading);
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--color-accent);
}

.schedule-day ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.schedule-day li {
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
}

.schedule-day li:first-child {
  border-top: none;
}

.schedule-time {
  display: block;
  font-weight: 600;
  font-size: 14px;
}

.schedule-title {
  display: block;
  font-size: 15px;
}

.schedule-location {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
}

.schedule-description {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.schedule-empty {
  text-align: center;
  color: var(--color-text-muted);
}

.contacts-branch {
  margin-bottom: 40px;
}

.contacts-branch:last-child {
  margin-bottom: 0;
}

.contacts-branch-title {
  font-size: 19px;
  margin-bottom: 16px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 32px;
  align-items: start;
}

.contacts-info p {
  font-size: 16px;
}

.map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 15px;
}

.contacts-map {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-card);
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.site-footer {
  background: var(--color-text);
  color: #a8adb6;
  padding: 28px 0;
  text-align: center;
  font-size: 14px;
}

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

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-menu.is-open {
    max-height: 320px;
  }

  .nav-menu a {
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid var(--color-border);
  }

  .nav-cta {
    border-radius: 0;
    text-align: center;
  }

  .hero {
    padding: 90px 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section {
    padding: 56px 0;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contacts-map iframe {
    height: 280px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
