@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --background: #ffffff;
  --foreground: #151922;
  --card: #ffffff;
  --primary: #c8352a;
  --primary-dark: #a92d24;
  --primary-foreground: #ffffff;
  --secondary: #f3f5f8;
  --muted: #f3f5f8;
  --muted-foreground: #767d88;
  --accent: #e5b84b;
  --accent-soft: rgba(229, 184, 75, .20);
  --border: #e2e6ec;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-lg: 0 18px 42px rgba(15, 23, 42, .14);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--primary);
}

.container {
  width: min(1152px, calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 64px 0;
  scroll-margin-top: 84px;
}

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

.tinted {
  background: rgba(243, 245, 248, .55);
}

.dark {
  background: var(--foreground);
  color: var(--background);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 230, 236, .65);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground);
  font-family: Poppins, Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand strong {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 600;
}

.menu-toggle,
.menu-button {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--primary);
  border-radius: 10px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 10px 18px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--primary-foreground);
  box-shadow: 0 8px 22px rgba(200, 53, 42, .22);
}

.button.secondary {
  border-color: var(--border);
  background: var(--background);
  color: var(--foreground);
}

.button.secondary:hover {
  border-color: rgba(200, 53, 42, .45);
  background: var(--secondary);
  color: var(--primary);
}

.button.light {
  border-color: var(--background);
  background: var(--background);
  color: var(--primary);
}

.button.small {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
}

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

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero .eyebrow {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--secondary);
  color: var(--foreground);
  padding: 5px 12px;
}

.hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

.dark .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -.025em;
}

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

.lead {
  max-width: 560px;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.meta {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
}

.hero-image {
  position: relative;
  margin: 0;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  z-index: -1;
  display: none;
  width: 112px;
  height: 112px;
  border-radius: 24px;
  background: rgba(229, 184, 75, .40);
}

@media (min-width: 768px) {
  .hero-image::before {
    display: block;
  }
}

.hero-image img {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}

.hero-image figcaption {
  position: absolute;
  left: -20px;
  bottom: -20px;
  display: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
  padding: 16px 20px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

@media (min-width: 640px) {
  .hero-image figcaption {
    display: block;
  }
}

.photo {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.value-grid,
.reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.value-grid article,
.course-card,
.schedule-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--card);
  padding: 24px;
}

.value-grid article {
  border-radius: 18px;
  padding: 16px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(200, 53, 42, .10);
  color: var(--primary);
}

.icon svg {
  width: 24px;
  height: 24px;
}

.section-title {
  max-width: 672px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-title p:not(.eyebrow),
.course-card p,
.value-grid p,
.reasons p,
.contact-list,
.footer p,
.split > div > p:not(.eyebrow) {
  color: var(--muted-foreground);
}

.dark p,
.dark .split > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, .70);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.course-card {
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 53, 42, .42);
  box-shadow: var(--shadow-lg);
}

.course-card > .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(200, 53, 42, .10);
  transition: background .18s ease, color .18s ease;
}

.course-card:hover > .icon {
  background: var(--primary);
  color: var(--primary-foreground);
}

.course-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.course-head span {
  border-radius: 999px;
  background: var(--secondary);
  color: var(--muted-foreground);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
}

.course-card ul {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  font-size: 14px;
}

.course-card li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  color: var(--foreground);
}

.course-card li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.course-card li:not(:first-child) {
  color: var(--muted-foreground);
}

.course-card a {
  color: inherit;
}

.course-card a:hover {
  color: var(--primary);
}

.note {
  margin-top: auto;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--foreground) !important;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.55;
}

.dark .photo {
  border-color: rgba(255, 255, 255, .16);
}

.reasons article {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, .06);
  padding: 20px;
}

.reasons .icon {
  background: var(--primary);
  color: var(--primary-foreground);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .schedule-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.schedule-grid article {
  padding: 24px;
}

.schedule-grid h3 {
  color: var(--primary);
  font-size: 20px;
}

.schedule-grid p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.schedule-grid p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.schedule-grid span {
  color: var(--muted-foreground);
  white-space: nowrap;
}

.schedule-grid small {
  grid-column: 1 / -1;
  color: var(--muted-foreground);
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 56px 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .cta {
    padding: 56px;
  }
}

.cta h2,
.cta p,
.cta a {
  position: relative;
}

.cta p {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(255, 255, 255, .86);
}

.prices {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  gap: 12px;
  max-width: 448px;
  margin: 32px auto;
}

@media (min-width: 640px) {
  .prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.prices div {
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
  padding: 16px 20px;
  text-align: left;
}

.prices span,
.prices strong {
  display: block;
}

.prices span {
  color: rgba(255, 255, 255, .80);
  font-size: 14px;
}

.prices strong {
  font-family: Poppins, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.contact-list {
  margin-top: 32px;
}

.contact-list dt {
  margin-top: 18px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.contact-list dd {
  margin: 4px 0 0;
  color: var(--foreground);
  font-weight: 600;
}

iframe {
  width: 100%;
  min-height: 430px;
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-grid > div {
  max-width: 390px;
}

.footer p {
  font-size: 14px;
}

@media (max-width: 767px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    background: var(--background);
    padding: 12px 16px 18px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links a {
    border-radius: 10px;
    padding: 11px 12px;
  }

  .nav-links a:hover {
    background: var(--secondary);
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-image figcaption {
    position: static;
    margin-top: 12px;
    border-radius: 16px;
  }

  .schedule-grid p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

h1 span {
  color: var(--primary);
}

.hero-image figcaption strong,
.hero-image figcaption small {
  display: block;
}

.hero-image figcaption small {
  margin-top: 4px;
  color: var(--muted-foreground);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.button .icon {
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
}

.button .icon svg {
  width: 16px;
  height: 16px;
}

.button.outline-light {
  border-color: rgba(255, 255, 255, .42);
  background: transparent;
  color: var(--primary-foreground);
}

.button.outline-light:hover {
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .10);
  color: var(--primary-foreground);
}

.section-link {
  margin: 32px 0 0;
  color: var(--muted-foreground);
  font-size: 14px;
  text-align: center;
}

.section-link a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.info-box {
  display: flex;
  max-width: 768px;
  align-items: flex-start;
  gap: 10px;
  margin: 32px auto 0;
  border-radius: 14px;
  background: var(--accent-soft);
  padding: 12px 16px;
  color: var(--foreground);
  font-size: 14px;
}

.info-box .icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  border-radius: 0;
  background: transparent;
}

.info-box .icon svg {
  width: 18px;
  height: 18px;
}

.info-box p {
  margin: 0;
}

.cta .cta-note {
  max-width: 640px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.cta-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
}

.cta-check .icon {
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

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

.contact-item > .icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  margin: 0;
  border-radius: 14px;
}

.contact-item p {
  margin: 0 0 2px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.contact-item a,
.contact-item strong {
  font-weight: 700;
}

.contact-item span,
.committee-list small {
  display: block;
  color: var(--muted-foreground);
  font-size: 14px;
}

.committee-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.committee-list li {
  margin-bottom: 6px;
  font-size: 14px;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  display: block;
  min-height: 430px;
  border: 0;
  border-radius: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.footer-links h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-links a,
.footer-links span {
  display: block;
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 12px;
}

@media (min-width: 640px) {
  .cta-actions,
  .footer-bottom {
    flex-direction: row;
  }

  .footer-bottom {
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.course-moment {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: stretch;
  gap: 0;
  margin: 32px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.course-moment img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.course-moment figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.course-moment strong {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.course-moment span {
  margin-top: 12px;
  color: var(--muted-foreground);
}

@media (max-width: 760px) {
  .course-moment {
    grid-template-columns: 1fr;
  }

  .course-moment img {
    min-height: 220px;
  }
}

.reserved-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--foreground);
  font-weight: 700;
}

.reserved-link:hover {
  border-color: rgba(200, 53, 42, .45);
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 767px) {
  .reserved-link {
    border-color: transparent;
    padding: 11px 12px;
  }
}
