:root {
  --blue: #2f49ff;
  --blue-dark: #2338d8;
  --orange: #e46a3b;
  --cream: #f6f4ef;
  --text: #171b26;
  --muted: #5f636f;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(20, 24, 35, 0.15);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--text);
}

h1,
h2,
h3 {
  font-weight: 600;
  color: var(--text);
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: var(--blue);
  color: #fff;
  height: 80px;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  height: 80px;
}

.site-header--contact .header-inner--contact {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  height: 80px;
}

.site-header--contact .header-brand,
.site-header--contact .header-cta {
  display: flex;
  align-items: center;
}

.site-header--contact .header-cta {
  gap: 0.6rem;
}

.site-header--contact .site-logo {
  width: auto;
  height: 70px;
  max-width: 240px;
  display: block;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo {
  width: auto;
  height: 70px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.site-header--contact .site-nav {
  justify-content: center;
}

.nav-link {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.nav-link.is-active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.nav-cta {
  background: #fff;
  color: var(--blue);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.lang-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.lang-link.is-active {
  background: rgba(255, 255, 255, 0.22);
}

.lang-sep {
  opacity: 0.7;
}

.main {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero {
  width: 100%;
}

.hero--home {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  background-image: url("images/brainstorm.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-card {
  position: relative;
  max-width: 540px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow);
}

.hero-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 3.4vw + 1rem, 3.3rem);
  line-height: 1.15;
}

.hero-card p {
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.accent {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
}

.value-section {
  text-align: center;
  padding: 0.5rem 0 1rem;
}

.value-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2.4vw + 0.8rem, 2.6rem);
}

.value-section p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
}

.section-lead {
  margin-bottom: 1.4rem;
}

.ai-video-works {
  padding-bottom: 0.4rem;
}

.ai-video-works .video-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.ai-video-works .video-grid iframe {
  width: 75%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  justify-self: center;
}

.cta-section--tight {
  padding-top: 1.2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.8rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-price {
  font-weight: 600;
  color: var(--text);
}

.service-link {
  color: var(--blue);
  font-weight: 400;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-link::before {
  content: "→";
  color: var(--orange);
  font-size: 1rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 2.5rem;
  align-items: center;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  line-height: 1.2;
}

.page-hero p {
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fcmo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 2.4rem;
  align-items: start;
}

.fcmo-layout__right {
  display: grid;
  gap: 1.6rem;
  width: 400px;
}

.workshop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 2.4rem;
  align-items: start;
}

.workshop-layout__right {
  display: grid;
  gap: 1.6rem;
  width: 400px;
}

.lecture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 2.4rem;
  align-items: start;
}

.lecture-layout__right {
  display: grid;
  gap: 1.6rem;
  width: 400px;
}

.ai-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 2.4rem;
  align-items: start;
}

.ai-video-layout__right {
  display: grid;
  gap: 1.6rem;
  width: 400px;
}

.fcmo-hero__content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  line-height: 1.2;
}

.fcmo-hero__content p {
  margin: 0 0 1rem;
  color: var(--text);
}

.fcmo-hero__content strong {
  font-weight: 600;
}

.fcmo-hero__content .btn {
  margin-top: 0.4rem;
}

.fcmo-hero__image {
  width: 100%;
  height: auto;
}

.workshop-hero__content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  line-height: 1.2;
}

.workshop-hero__content p {
  margin: 0 0 1rem;
  color: var(--text);
}

.workshop-hero__content .btn {
  margin-top: 0.4rem;
}

.workshop-hero__image {
  width: 100%;
  height: auto;
}

.lecture-hero__content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  line-height: 1.2;
}

.lecture-hero__content p {
  margin: 0 0 1rem;
  color: var(--text);
}

.lecture-hero__content .btn {
  margin-top: 0.4rem;
}

.lecture-hero__image {
  width: 100%;
  height: auto;
}

.ai-video-hero__content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  line-height: 1.2;
}

.ai-video-hero__content p {
  margin: 0 0 1rem;
  color: var(--text);
}

.ai-video-hero__content .btn {
  margin-top: 0.4rem;
}

.ai-video-hero__image {
  width: 100%;
  height: auto;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.fcmo-card {
  padding: 2rem;
}

.fcmo-card .list {
  color: var(--muted);
}

.fcmo-card--accent {
  padding: 2rem;
}

.fcmo-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 2.4rem;
  align-items: stretch;
}

.workshop-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 2.4rem;
  align-items: stretch;
}

.workshop-card {
  padding: 2rem;
}

.workshop-card .list {
  color: var(--muted);
}

.workshop-card--accent {
  padding: 2rem;
}

.lecture-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 2.4rem;
  align-items: stretch;
}

.lecture-card {
  padding: 2rem;
}

.lecture-card .list {
  color: var(--muted);
}

.lecture-card--accent {
  padding: 2rem;
}

.ai-video-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 2.4rem;
  align-items: stretch;
}

.ai-video-card {
  padding: 2rem;
}

.ai-video-card .list {
  color: var(--muted);
}

.ai-video-card--accent {
  padding: 2rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 1.2rem 0 1rem;
  font-size: 1.2rem;
}

.card h2:first-of-type {
  margin-top: 0;
}

.card h1 {
  margin: 0 0 1.2rem;
}

.card p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.fcmo-list {
  list-style: disc;
  padding-left: 1.2rem;
}

.list--check {
  list-style: none;
  padding-left: 0;
}

.list--check li {
  position: relative;
  padding-left: 1.6rem;
}

.list--check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--blue);
  font-weight: 600;
}

.card--accent {
  background: var(--orange);
  color: #fff;
}

.card--accent h2 {
  color: #fff;
}

.card--accent p,
.card--accent .list {
  color: #fff;
}

.card--accent .list--check li::before {
  color: #fff;
}

.price {
  margin: 1rem 0 0;
  font-weight: 600;
  color: #fff;
}

.card--accent .price {
  margin-top: 1.6rem;
}

.price--emphasis {
  font-size: 1.05rem;
  font-weight: 700;
}

.cta-section {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
}

.cta-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2.4vw + 0.8rem, 2.6rem);
}

.contact-card {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.form-embed {
  width: 100%;
  border: 0;
}

@media (min-width: 900px) {
  .form-embed {
    min-width: 800px;
  }
}

.site-footer {
  background: var(--blue);
  color: #fff;
  padding: 2rem 1.5rem 2.5rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.footer-inner p {
  margin: 0 0 0.4rem;
}

.footer-link {
  color: #fff;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
    padding: 0.75rem 1.2rem 1rem;
  }

  .site-header--contact .header-inner--contact {
    grid-template-columns: auto auto;
    text-align: left;
    height: auto;
  }

  .site-header--contact .header-cta {
    justify-content: flex-end;
  }

  .nav-cta {
    width: auto;
  }

  .brand {
    order: 1;
  }

  .header-actions {
    order: 2;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .site-header--contact .header-brand {
    justify-content: flex-start;
  }

  .site-header--contact .site-nav {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .main {
    padding: 2rem 1.4rem 4rem;
  }

  .ai-video-works .video-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    grid-template-columns: 1fr;
  }

  .fcmo-layout {
    grid-template-columns: 1fr;
  }

  .fcmo-layout__right {
    width: 100%;
  }

  .fcmo-cards {
    grid-template-columns: 1fr;
  }

  .workshop-layout {
    grid-template-columns: 1fr;
  }

  .workshop-layout__right {
    width: 100%;
  }

  .workshop-cards {
    grid-template-columns: 1fr;
  }

  .lecture-layout {
    grid-template-columns: 1fr;
  }

  .lecture-layout__right {
    width: 100%;
  }

  .lecture-cards {
    grid-template-columns: 1fr;
  }

  .ai-video-layout {
    grid-template-columns: 1fr;
  }

  .ai-video-layout__right {
    width: 100%;
  }

  .ai-video-cards {
    grid-template-columns: 1fr;
  }

  .hero--home {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
  }

  .header-inner {
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.7rem 1rem 0.9rem;
    height: auto;
  }

  .site-logo {
    height: 56px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    order: 3;
    flex-basis: 100%;
    flex-wrap: nowrap;
    gap: 0.4rem;
  }

  .nav-link {
    font-size: 0.82rem;
    padding: 0.35rem 0.55rem;
  }

  .nav-cta {
    order: 2;
  }

  .brand {
    order: 1;
  }

  .site-header--contact .header-inner--contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
  }

  .site-header--contact .header-brand {
    order: 1;
  }

  .site-header--contact .header-cta {
    order: 2;
  }

  .site-header--contact .site-nav {
    order: 3;
  }

  .site-header--contact .site-logo {
    height: 70px;
  }

  .hero-card {
    padding: 1.6rem;
  }

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