/*
Theme Name: KickstartWeb 2026
Theme URI: https://kickstartweb.be
Author: KickstartWeb
Description: KickstartWeb AI-automation one-pager (CAIO positioning). Custom theme, brand identity from osmanmunir.com design.
Version: 1.0.0
Text Domain: ksw2026
*/

/*
 * Osman Munir Coaching Landing Page
 * Design system: Starter-site session-landing (Ali Abdaal-inspired)
 * Warm cream palette, serif headlines, hand-drawn accents
 */

/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

/* ===== Design Tokens ===== */
:root {
  --bg-cream: #F6F6F4;
  --bg-card: #EDE8E3;
  --bg-white: #ffffff;
  --text-dark: #093428;
  --text-body: #3D3D4E;
  --text-muted: #6B6B7B;
  --primary: #0B4132;
  --primary-hover: rgba(253, 151, 109, 0.85);
  --accent-coral: #0B4132;
  --accent-yellow: #EB7D41;
  --accent-blue-light: #FDE8DF;
  --radius-card: 16px;
  --radius-btn: 50px;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
}

/* ===== Global ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  -webkit-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0 0 1rem 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== Utility Classes ===== */
.section-wrapper {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 16px;
}

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

.mt-12 {
  margin-top: 48px;
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-dark);
  font-size: 2.25rem;
  margin-bottom: 32px;
}

.blue-highlight {
  color: var(--primary);
}

.highlight {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  color: #EB7D42;
}

/* ===== Buttons ===== */
.btn-primary {
  background-color: #0B4132;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-btn);
  display: inline-block;
  border: none;
  cursor: pointer;
  text-align: center;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: #0D5A45;
  color: #ffffff;
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

/* ===== Animation Classes ===== */
.reveal-item {
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(20px);
  -ms-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: opacity 0.6s ease, visibility 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease, -webkit-transform 0.6s ease;
}

.reveal-item.active {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
  background-color: var(--bg-cream);
}

.site-header.scrolled {
  background-color: var(--bg-cream);
  -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
}

.header-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.logo {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--text-dark);
  font-weight: 800;
}

.main-nav {
  display: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-left: 2rem;
}

.nav-link:hover {
  color: var(--primary);
}

.header-cta {
  display: none;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--text-dark);
  z-index: 100;
  padding: 2rem;
  -webkit-transition: right 0.3s ease;
  -o-transition: right 0.3s ease;
  transition: right 0.3s ease;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

.mobile-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 48px;
}

.mobile-nav-link {
  font-size: 1.25rem;
  color: white;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link.cta {
  margin-top: 16px;
  background-color: #0B4132;
  color: #ffffff;
  border-radius: var(--radius-btn);
  text-align: center;
  padding: 1rem;
  border-bottom: none;
}

/* ===== Hero Section ===== */
.hero-section {
  background-color: var(--bg-cream);
  padding: 140px 16px 80px 16px;
}

.hero-content {
  max-width: 80rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
  align-items: center;
  margin: 0 auto;
}

/* Single centered hero (no photo) - two-class selector beats the 2-col desktop rule */
.hero-content.hero-content--centered {
  max-width: 960px;
  grid-template-columns: 1fr;
}

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

.hero-photo-wrapper {
  max-width: 400px;
  margin: 0 auto;
}

.hero-photo-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}

.hero-photo-placeholder,
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--bg-card);
  border-radius: 28px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.about-photo-placeholder {
  border-radius: var(--radius-card);
}

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

.about-skills {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.about-skills li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-body);
  line-height: 1.5;
}

.about-skills li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-yellow);
  font-weight: 700;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--accent-blue-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-badge svg {
  color: var(--accent-yellow);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-dark);
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.scarcity-line {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero-cta {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Hand-drawn underline */
.underline-deco {
  position: relative;
  display: inline-block;
}

.underline-deco::after {
  display: none;
}

/* Hand-drawn circle */
.circle-deco {
  position: relative;
  display: inline-block;
}

.circle-deco::before {
  display: none;
}

/* Hand-drawn arrow down */
.arrow-down-deco {
  display: none;
}

/* Hand-drawn arrow (points down-right) */
.arrow-deco {
  display: inline-block;
  position: relative;
}

.arrow-deco::after {
  display: none;
}

/* ===== Testimonial Section ===== */
.testimonial-section {
  background-color: var(--bg-white);
  padding: 80px 16px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 48px;
}

.testimonial-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-card);
  padding: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 100%;
}

.testimonial-content {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-body);
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  line-height: 1.6;
}

.testimonial-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 2px solid var(--accent-yellow);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-yellow);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-author-role {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.testimonial-section--white {
  background-color: var(--bg-cream);
}

/* YouTube Video Embed */
.video-embed {
  max-width: 720px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== Problem Section (stats-section) ===== */
.stats-section {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  padding: 80px 16px;
}


.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.problem-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 32px;
}

.problem-card-title {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-dark);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.problem-card-description {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1rem;
}

/* ===== About Section ===== */
.about-section {
  background-color: var(--bg-white);
  padding: 80px 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 0 auto;
}

.about-photo img {
  width: 100%;
  border-radius: var(--radius-card);
  display: block;
}

.about-text p {
  color: var(--text-body);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* ===== Feature / Steps Section ===== */
.feature-section {
  background-color: var(--bg-cream);
  padding: 80px 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.step-connector {
  display: none;
}

.step-title {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-dark);
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.step-description {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 280px;
  margin: 0 auto;
}

.steps-footnote {
  margin-top: 48px;
  font-size: 1.125rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Feature cards (Who this is for) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 32px;
}

.feature-title {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-dark);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.feature-description {
  color: var(--text-body);
  line-height: 1.6;
}

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

/* ===== Contact / Booking Section ===== */
.contact-section {
  background-color: var(--bg-white);
  padding: 80px 16px;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
}

/* ===== FAQ Section ===== */
.faq-section {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 80px 16px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-grid {
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.25rem 0;
  overflow: hidden;
}

.faq-question {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 0;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding-top: 1rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* No-JS / pre-JS fallback: keep open items visible if scripting is unavailable. */
.no-js .faq-item.faq-active .faq-answer { max-height: none; }

/* ===== Video Carousel Section ===== */
.video-carousel-section {
  background-color: var(--bg-cream);
  padding: 80px 16px;
}

.video-slide {
  padding: 0 4px;
}

.video-slide .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.video-slide .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-slide-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 12px;
  text-align: center;
}

/* Splide arrow overrides */
.video-splide .splide__arrow {
  background-color: var(--bg-white);
  border: 1px solid var(--primary);
  width: 40px;
  height: 40px;
  opacity: 1;
}

.video-splide .splide__arrow svg {
  fill: var(--primary);
}

.video-splide .splide__arrow:hover {
  background-color: var(--primary);
}

.video-splide .splide__arrow:hover svg {
  fill: var(--text-dark);
}

.video-splide .splide__pagination__page.is-active {
  background-color: var(--primary);
}

/* ===== Footer ===== */
.site-footer {
  background-color: #0A3428;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0;
}

.footer-single-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  padding: 32px 0 8px;
  gap: 16px;
}

.footer-social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}

.social-link {
  color: #EDE8E3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.social-link:hover {
  color: #EB7D41;
}

.footer-nav,
.footer-legal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer-nav {
  gap: 1.75rem;
  padding-bottom: 4px;
}

.footer-nav .footer-link {
  font-weight: 600;
}

.footer-address {
  font-size: 0.8125rem;
  color: #8FB3A8;
  letter-spacing: 0.01em;
}

.footer-link {
  color: #EDE8E3;
  font-size: 0.875rem;
}

.footer-link:hover {
  color: #EB7D41;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #BFD8CF;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    gap: 4rem;
  }

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

  .hero-title {
    font-size: 3.25rem;
  }

  .hero-photo-wrapper {
    max-width: 100%;
  }

  .section-title {
    font-size: 2.75rem;
  }

  .main-nav {
    display: block;
  }

  .header-cta {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.875rem;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .step-connector {
    display: block;
    position: absolute;
    top: 28px;
    left: calc(50% + 36px);
    width: calc(100% - 72px);
    height: 3px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 6'%3E%3Cpath d='M0 3 C40 0, 80 6, 120 3 C160 0, 200 6, 200 3' stroke='%230B4132' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
    background-size: 200px 6px;
    z-index: 0;
  }

  .step-card:last-child .step-connector {
    display: none;
  }

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

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (max-width: 767px) {
  .hero-photo-wrapper {
    max-width: 280px;
  }

  .hero-title {
    font-size: 2rem;
  }
}

/* ===== Dark hero (#0A3428) ===== */
.site-header,
.site-header.scrolled {
  background-color: #0A3428;
  box-shadow: none;
}
.site-header .logo,
.site-header .nav-link { color: #ffffff; }
.site-header .nav-link:hover { color: #EB7D41; }
.site-header .header-cta { background-color: #ffffff; color: #0A3428; }
.site-header .header-cta:hover { background-color: #EB7D41; color: #0A3428; transform: scale(1.05); }

.hero-section { background-color: #0A3428; }
.hero-section .hero-title { color: #ffffff; }
.hero-section .hero-description { color: #EDE8E3; }
.hero-section .hero-cta { background-color: #ffffff; color: #0A3428; }
.hero-section .hero-cta:hover { background-color: #EB7D41; color: #0A3428; }

/* ===== Problem-card bullet lists ===== */
.problem-card-list { margin: 0; padding: 0; list-style: none; }
.problem-card-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
  line-height: 1.55;
}
.problem-card-list li:last-child { margin-bottom: 0; }
.problem-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EB7D42;
}

/* About bg -> white (proof section sits cream right above it) */
.about-section { background-color: var(--bg-white); }

/* ===== Case study ===== */
.cs-hero { background-color:#0A3428; padding:160px 16px 80px; text-align:center; }
.cs-back { display:inline-block; color:#BFD8CF; font-size:0.875rem; margin-bottom:1.5rem; }
.cs-back:hover { color:#ffffff; }
.cs-eyebrow { color:#BFD8CF; font-size:0.875rem; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:1rem; }
.cs-title { color:#ffffff; font-size:2.5rem; line-height:1.15; max-width:840px; margin:0 auto 1.25rem; }
.cs-sub { color:#EDE8E3; font-size:1.25rem; max-width:620px; margin:0 auto; }
.cs-section { padding:64px 16px; background:var(--bg-cream); }
.cs-section--alt { background:var(--bg-white); }
.cs-narrow { max-width:720px; }
.cs-h2 { font-family:var(--font-sans); font-weight:800; color:var(--text-dark); font-size:1.75rem; margin-bottom:1.25rem; }
.cs-section p { color:var(--text-body); line-height:1.8; font-size:1.075rem; margin-bottom:1rem; }
.cs-results { padding:72px 16px; background:#0A3428; }
.cs-results .cs-h2 { color:#ffffff; margin-bottom:2.5rem; }
.cs-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; max-width:840px; margin:0 auto; text-align:center; }
.cs-stat-number { font-size:3rem; font-weight:800; color:#ffffff; line-height:1; }
.cs-stat-label { margin-top:0.75rem; color:#BFD8CF; font-size:0.95rem; }
.cs-note { max-width:680px; margin:2.5rem auto 0; text-align:center; color:#9DBDB1; font-size:0.85rem; line-height:1.6; }
.cs-quote { font-family:'DM Serif Display', Georgia, serif; font-size:1.5rem; color:var(--text-dark); line-height:1.4; }
.cs-quote-author { margin-top:1rem; color:var(--text-muted); }
.cs-cta { padding:72px 16px; background:var(--bg-cream); }
.cs-cta-sub { color:var(--text-body); font-size:1.125rem; margin:0.5rem 0 2rem; }
@media (max-width:767px){ .cs-stats { grid-template-columns:1fr; gap:2.5rem; } }
@media (min-width:768px){ .cs-title { font-size:3.25rem; } }
.cs-lead { text-align:center; max-width:640px; margin:0 auto 48px; color:var(--text-body); font-size:1.125rem; line-height:1.6; }

/* ===== Case study: Before / After ===== */
.ba-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; max-width:900px; margin:0 auto; }
.ba-panel { border-radius:var(--radius-card); padding:36px; }
.ba-before { background:var(--bg-card); }
.ba-after { background:#0A3428; }
.ba-tag { display:inline-block; font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; padding:0.3rem 0.8rem; border-radius:50px; margin-bottom:1.1rem; }
.ba-before .ba-tag { background:rgba(0,0,0,0.06); color:var(--text-muted); }
.ba-after .ba-tag { background:rgba(255,255,255,0.12); color:#BFD8CF; }
.ba-title { font-size:1.4rem; color:var(--text-dark); margin-bottom:1.25rem; }
.ba-after .ba-title { color:#ffffff; }
.ba-list li { position:relative; padding-left:1.5rem; margin-bottom:0.8rem; line-height:1.5; color:var(--text-body); }
.ba-after .ba-list li { color:#EDE8E3; }
.ba-list li:last-child { margin-bottom:0; }
.ba-list li::before { content:""; position:absolute; left:0; top:0.5em; width:7px; height:7px; border-radius:50%; }
.ba-before .ba-list li::before { background:var(--text-muted); }
.ba-after .ba-list li::before { background:#EB7D41; }

/* ===== Case study: agent flow ===== */
.agent-flow { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; max-width:980px; margin:48px auto 0; }
.flow-step { text-align:center; position:relative; }
.flow-icon { width:64px; height:64px; border-radius:50%; background:var(--primary); color:#ffffff; display:flex; align-items:center; justify-content:center; margin:0 auto 1.1rem; position:relative; z-index:1; }
.flow-icon svg { width:28px; height:28px; }
.flow-title { font-size:1.1rem; color:var(--text-dark); margin-bottom:0.45rem; }
.flow-sub { font-size:0.9rem; color:var(--text-muted); line-height:1.5; max-width:210px; margin:0 auto; }
.flow-line { display:none; }
@media (min-width:768px){
  .flow-line { display:block; position:absolute; top:31px; left:calc(50% + 42px); width:calc(100% - 84px); border-top:2px dashed rgba(11,65,50,0.30); z-index:0; }
}
@media (max-width:767px){ .agent-flow { grid-template-columns:1fr; gap:2.25rem; } }

/* ===== Case study: email mockup ===== */
.email-wrap { max-width:560px; margin:60px auto 0; }
.email-caption { text-align:center; color:var(--text-muted); font-size:0.95rem; margin-bottom:1rem; }
.email-mock { background:#ffffff; border:1px solid rgba(0,0,0,0.08); border-radius:var(--radius-card); box-shadow:0 24px 60px rgba(9,52,40,0.12); overflow:hidden; text-align:left; }
.email-bar { display:flex; align-items:center; gap:0.85rem; padding:1rem 1.25rem; border-bottom:1px solid rgba(0,0,0,0.06); }
.email-avatar { width:40px; height:40px; border-radius:50%; background:var(--primary); color:#ffffff; display:flex; align-items:center; justify-content:center; font-weight:600; font-size:0.85rem; flex-shrink:0; }
.email-meta { min-width:0; }
.email-from { font-size:0.78rem; color:var(--text-muted); }
.email-subject { font-weight:600; color:var(--text-dark); font-size:0.95rem; }
.email-auto { margin-left:auto; font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:#0B4132; background:#E7F0EC; padding:0.3rem 0.65rem; border-radius:50px; flex-shrink:0; }
.email-body { padding:1.5rem 1.4rem; }
.email-body p { color:var(--text-body); line-height:1.6; margin-bottom:0.85rem; font-size:0.95rem; }
.email-sign { color:var(--text-muted); margin-bottom:0; }
@media (max-width:520px){ .email-auto { display:none; } }

/* ===== Case study landing additions ===== */
.csl-eyebrow { letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.8rem; font-weight: 700; color: #EB7D41; margin-bottom: 1.25rem; }
.csl-sub { max-width: 700px; margin: 1rem auto 0; color: var(--text-body); font-size: 1.125rem; line-height: 1.6; }
.csl-sub + .problem-grid { margin-top: 44px; }
.csl-note { margin: 2.5rem auto 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; font-weight: 500; }
/* count-up number: reserve width so the surrounding words don't shift while it animates */
.csl-num { display: inline-block; text-align: center; font-variant-numeric: tabular-nums; }
.csl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 44px; text-align: center; }
.csl-stat-num { font-family: var(--font-sans); font-weight: 800; font-size: 3.5rem; color: #EB7D42; line-height: 1; font-variant-numeric: tabular-nums; }
.csl-stat-lbl { margin-top: 0.75rem; color: var(--text-muted); }
.csl-day { font-weight: 700; font-size: 0.78rem; color: #EB7D42; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.csl-jsub { font-family: var(--font-sans); font-weight: 700; color: var(--text-dark); font-size: 1.1rem; margin-bottom: 0.5rem; }
.csl-jsnip { color: var(--text-muted); font-style: italic; font-size: 0.95rem; }
@media (max-width: 767px) { .csl-stats { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ===== Home: case-study cards grid ===== */
.case-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(9, 52, 40, 0.12); }
.case-card .problem-card-description { flex-grow: 1; }
.case-link { margin-top: 1.25rem; font-weight: 700; color: #EB7D42; font-size: 0.95rem; }
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Auto-alternating section backgrounds =====
   Rule (locked by Osman 2026-06-25): no two adjacent sections share a
   background; they always alternate. Driven by DOM position, not by the
   section's semantic class, so it self-corrects for any page / any number
   of sections. Hero (first section) stays dark green; everything after
   alternates cream / white. Specificity (0,1,2) beats the single-class
   semantic rules above, so this wins without !important. */
main > section:nth-of-type(odd)  { background-color: var(--bg-white); }
main > section:nth-of-type(even) { background-color: var(--bg-cream); }
main > section:nth-of-type(1)    { background-color: #0A3428; }

/* ===== Testimonials carousel (Splide) + 5-star rating ===== */
.testimonial-stars {
  color: var(--accent-yellow);
  font-size: 1.05rem;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 0.85rem;
}
.testimonial-splide { padding-bottom: 8px; }
.testimonial-splide .splide__slide { height: auto; display: -webkit-box; display: -ms-flexbox; display: flex; }
.testimonial-splide .testimonial-card {
  height: 100%;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column;
}
.testimonial-splide .testimonial-author { margin-top: auto; }
/* Branded arrows */
.testimonial-splide .splide__arrow {
  background: #0A3428;
  opacity: 1;
  width: 2.4em;
  height: 2.4em;
}
.testimonial-splide .splide__arrow svg { fill: #ffffff; width: 1.1em; height: 1.1em; }
.testimonial-splide .splide__arrow:hover:not(:disabled) { background: #0D5A45; }
.testimonial-splide .splide__arrow:disabled { opacity: 0.3; }
/* Branded pagination */
.testimonial-splide .splide__pagination { margin-top: 1.5rem; position: static; }
.testimonial-splide .splide__pagination__page { background: #C9D6D0; opacity: 1; margin: 4px; }
.testimonial-splide .splide__pagination__page.is-active { background: #0A3428; -webkit-transform: scale(1.3); transform: scale(1.3); }

/* ===== Cal.com inline embed ===== */
.cal-embed-wrapper {
  max-width: 1000px;
  margin: 2.5rem auto 0;
  min-height: 620px;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  -webkit-box-shadow: 0 10px 40px rgba(9, 52, 40, 0.08);
  box-shadow: 0 10px 40px rgba(9, 52, 40, 0.08);
  overflow: hidden;
}
.cal-embed-wrapper #my-cal-inline-free-60-min-call { min-height: 620px; }

/* ===== Legal pages (Privacy / Legal notice) ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 2.25rem 0 0.75rem;
  color: var(--text-dark);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-body); line-height: 1.7; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--primary); text-decoration: underline; }
.legal-content .legal-meta { color: var(--text-muted); font-size: 0.9rem; }
.legal-content .legal-todo {
  background: #FDF3D8;
  border-left: 3px solid var(--accent-yellow);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.95em;
}
