/* =========================================
   Dan Maffucci — Main Stylesheet
   Fonts: IBM Plex Sans (300,400,500,600,700)
          IBM Plex Mono (via @font-face)
   Colors extracted from live Webflow site
   ========================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.44;
  color: #3b3b3b;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- CSS Variables --- */
:root {
  --green: #00584b;
  --cream: #f0efdb;
  --cream-bg: #f0efdb;
  --pink: #ffa0cd;
  --yellow-green: #d8e358;
  --white: #ffffff;
  --text: #3b3b3b;
  --text-faq: #374151;
  --radius: 16px;
  --radius-lg: 24px;
  --max-w: 1138px;
  --nav-h: 64px;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  padding: 0 63px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 40px;
  width: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar__link {
  color: #3b3b3b;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.navbar__link:hover { opacity: 0.7; }

/* ABOUT dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3b3b3b;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  transition: opacity 0.2s;
  background: none;
  border: none;
}

.navbar__dropdown-toggle:hover { opacity: 0.7; }

.navbar__dropdown-toggle svg {
  width: 14px; height: 14px;
  transition: transform 0.2s;
  color: #3b3b3b;
}

.navbar__dropdown.open .navbar__dropdown-toggle svg {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  background: #f0efdb;
  border: none;
  padding: 8px 0;
  z-index: 200;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.navbar__dropdown.open .navbar__dropdown-menu,
.navbar__dropdown:hover .navbar__dropdown-menu {
  display: block;
}

.navbar__dropdown-menu a {
  display: block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #00584b;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  transition: background 0.15s;
}

.navbar__dropdown-menu a:hover {
  background: rgba(0,88,75,0.08);
  opacity: 1;
}

/* GET IN TOUCH button */
.navbar__cta {
  background: #00584b;
  color: #d9e369 !important;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 4px 4px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.navbar__cta:hover { opacity: 0.85; }

.navbar__cta .arrow-circle {
  width: 32px; height: 32px;
  background: #d9e369;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar__cta .arrow-circle svg {
  width: 14px; height: 14px;
  color: #00584b;
}

/* Mobile hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-right: -8px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #00584b;
  border-radius: 0;
  transition: all 0.3s;
}

/* =========================================
   PAGE WRAPPER
   ========================================= */
.page-wrapper {
  padding-top: var(--nav-h);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 40px 63px 60px;
  gap: 40px;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__headline {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 56px;
  font-weight: 300;
  line-height: 70px;
  color: #3b3b3b;
  margin-bottom: 20px;
  margin-top: 20px;
}

.hero__subtext {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 34.8px;
  color: #3b3b3b;
  margin-bottom: 36px;
  max-width: 553px;
}

.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero__video {
  width: 100%;
  max-width: 580px;
  height: auto;
}

/* =========================================
   BUTTONS
   ========================================= */
/* Primary CTA button — dark green pill with lime yellow text + circle icon */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 8px 8px 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  color: #d9e369;
  background: #00584b;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { opacity: 0.85; }

.btn .arrow-circle {
  width: 40px; height: 40px;
  background: #d9e369;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 16px;
  transition: background 0.2s;
}

.btn .arrow-circle svg {
  width: 20px; height: 20px;
  color: #00584b;
}

/* White/outlined variant — used on dark backgrounds */
.btn--white {
  background: transparent;
  border: 2px solid #d9e369;
  color: #d9e369;
  padding: 8px 8px 8px 32px;
}

.btn--white .arrow-circle {
  background: #d9e369;
}

.btn--white .arrow-circle svg { color: #00584b; }

/* CTA button variant — lime yellow background with dark green text (used for View Case Studies) */
.btn--cta {
  background: #d9e369;
  border: none;
  border-radius: 100px;
  padding: 8px 8px 8px 32px;
  color: #00584b;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  font-weight: 700;
}

.btn--cta .arrow-circle {
  background: #00584b;
  margin-left: 16px;
}

.btn--cta .arrow-circle svg { color: #d9e369; }

/* =========================================
   BRAND LOGOS STRIP
   ========================================= */
.brands-section {
  overflow: hidden;
  padding: 0;
}

.brands-inner {
  background: #f0efdb;
  border-radius: 16px;
  margin: 0 63px 80px;
  padding: 32px 0 40px;
  overflow: hidden;
}

.brands__label {
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  font-weight: 500;
  color: #00584b;
  margin-bottom: 24px;
  padding: 0 32px;
}

.brands__marquee-wrapper {
  overflow: hidden;
  position: relative;
}

.brands__marquee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 0 32px;
}

.brands__logo {
  height: 70px;
  width: 150px;
  object-fit: contain;
  flex-shrink: 0;
}

/* marquee animation removed — live site uses static logo row */

/* =========================================
   WHY CRO SECTION (dark green)
   ========================================= */
.why-cro-section {
  padding: 96px 0 0;
}

.green-features-component {
  background-image: url('../assets/images/why-cro-bg.webp');
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  margin: 0 63px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.green-features__label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-transform: none;
  margin-bottom: 16px;
}

.green-features__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 60px;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 16px;
}

.green-features__sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.green-features__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.green-features__card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.green-features__card h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  font-weight: 500;
  color: #00584b;
  line-height: 30px;
  margin-bottom: 12px;
  text-align: center;
}

.green-features__card p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3b3b3b;
  line-height: 1.6;
  text-align: center;
}

/* =========================================
   HOW CRO YIELDS RESULTS
   ========================================= */
.how-cro-section {
  padding: 80px 63px;
  max-width: 100%;
}

.section-label-small {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(59,59,59,0.6);
  margin-bottom: 8px;
}

.section-heading {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 60px;
  color: #3b3b3b;
  margin-bottom: 16px;
}

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

.section-subtext {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #3b3b3b;
  line-height: 34.8px;
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.how-cro__header { text-align: center; margin-bottom: 48px; }

.how-cro__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto 48px;
}

.how-cro__step h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 24px;
  font-weight: 500;
  color: #3b3b3b;
  margin-bottom: 10px;
  line-height: 1.3;
}

.how-cro__step p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3b3b3b;
  line-height: 1.6;
}

.how-cro__step-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: rgba(59,59,59,0.5);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.how-cro__panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto 48px;
  background: #f0efdb;
  border-radius: 16px;
  overflow: hidden;
}

.how-cro__panel {
  overflow: hidden;
  position: relative;
}

.how-cro__panel img {
  width: 100%;
  height: 574px;
  object-fit: cover;
  display: block;
}

.how-cro__cta { text-align: center; margin-top: 16px; }

.how-cro__view-link {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #00584b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 2px solid #00584b;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.how-cro__view-link:hover { opacity: 0.7; }

/* =========================================
   YOUR SPECIALIST (Dan section)
   ========================================= */
.dan-section {
  padding: 80px 63px;
  max-width: 100%;
}

.dan__content {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.dan__image img {
  width: 499px;
  height: 386px;
  object-fit: cover;
  border-radius: 32px;
}

.dan__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 60px;
  color: #3b3b3b;
  margin-bottom: 24px;
}

.dan__text {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #3b3b3b;
  line-height: 25.92px;
}

/* =========================================
   SERVICES
   ========================================= */
.services-section {
  background: linear-gradient(rgba(240, 239, 219, 0.45), rgba(240, 239, 219, 0.45)), url('../assets/images/services-bg.webp');
  background-size: cover;
  background-position: center;
  padding: 80px 63px;
}

.services__header {
  text-align: center;
  margin-bottom: 48px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto 48px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid transparent;
  padding: 39px 24px 55px 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 440px;
}

.service-card__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 24px;
  font-weight: 500;
  color: #3b3b3b;
  line-height: 1.3;
}

.service-card__badge {
  display: inline-flex;
  align-items: center;
  background: #ffa0cd;
  color: #3b3b3b;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 16px;
  border-radius: 100px;
  line-height: 16px;
  width: fit-content;
}

.service-title-flex {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3b3b3b;
  line-height: 1.6;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #3b3b3b;
  line-height: 1.5;
}

.service-card__list li .check-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: #00584b;
  margin-top: 2px;
}

.services__cta { text-align: center; }

.service-card--featured {
  border-color: #ffa0cd;
}

/* =========================================
   READY TO OPTIMIZE CTA
   ========================================= */
.cta-section {
  padding: 80px 63px;
}

.cta__component {
  background-image: url('../assets/images/cta-bg-green-pink.png');
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 80px 48px;
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.cta__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 60px;
  color: #fff;
  margin-bottom: 16px;
}

.cta__sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section {
  padding: 80px 0;
}

.testimonials__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 63px;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 48px;
}

/* 2-column grid */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonial__content {
  background: #f0efdb;
  border-radius: 24px;
  padding: 32px;
}

.testimonial__client-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.testimonial__avatar-wrap {
  flex-shrink: 0;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__client-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial__name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.testimonial__name {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #3b3b3b;
}

.testimonial__badge {
  display: inline-flex;
  align-items: center;
}

.testimonial__role {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #3b3b3b;
}

.testimonial__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #3b3b3b;
  margin-bottom: 12px;
}

.testimonial__text {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3b3b3b;
  line-height: 1.7;
}

/* (carousel controls removed - using grid layout) */

/* =========================================
   FAQ
   ========================================= */
.faq-section {
  padding: 80px 63px;
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq__list {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__accordion {
  background: #f0efdb;
  border-radius: 56px;
  overflow: hidden;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  height: 56px;
  cursor: pointer;
  gap: 24px;
  user-select: none;
}

.faq__question-text {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #374151;
  line-height: 30px;
  flex: 1;
}

.faq__icon-wrapper {
  background: #d8e358;
  border-radius: 40px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq__icon-wrapper svg {
  width: 16px; height: 16px;
  color: #3b3b3b;
  transition: transform 0.3s;
}

.faq__accordion.open .faq__icon-wrapper svg {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 32px 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #374151;
  line-height: 26.1px;
}

.faq__accordion.open .faq__answer { max-height: 600px; padding: 0 32px 20px; }

.faq__load-more {
  text-align: center;
  margin-top: 24px;
}

.faq__load-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #3b3b3b;
  border: 2px solid #3b3b3b;
  border-radius: 100px;
  padding: 10px 24px;
  transition: opacity 0.2s;
}

.faq__load-more a:hover { opacity: 0.7; }

/* =========================================
   CONTACT / FOOTER CTA
   ========================================= */
.contact-cta-section {
  padding: 0 63px;
}

.contact-cta__component {
  background-image: url('../assets/images/why-cro-bg.webp');
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}

.contact-cta__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 60px;
  color: #fff;
  margin-bottom: 16px;
}

.contact-cta__sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #3b3b3b;
  padding: 24px 63px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.footer__link--light {
  color: #cbcbcb;
}

.footer__link:hover { opacity: 0.7; }

.footer__divider {
  background: rgba(255,255,255,0.2);
  height: 1px;
  margin: 0 63px;
}

/* =========================================
   CASE STUDIES PAGE
   ========================================= */
.case-studies-page {
  padding: 80px 63px;
}

.case-studies__heading {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 48px;
  font-weight: 300;
  color: #3b3b3b;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 48px;
}

.case-studies__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.cs-card {
  background: #f0efdb;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s;
}

.cs-card:hover { transform: translateY(-4px); }

.cs-card__link {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  text-decoration: none;
  color: inherit;
  padding: 32px;
  gap: 24px;
  align-items: start;
  min-height: 400px;
}

.cs-card__content { min-width: 0; }

.cs-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cs-card__tag {
  display: inline-flex;
  align-items: center;
  background: #ffa0cd;
  color: #3b3b3b;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 16px;
}

.cs-card__name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 40px;
  font-weight: 500;
  color: #3b3b3b;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cs-card__service {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #3b3b3b;
  margin-bottom: 16px;
}

.cs-card__summary {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3b3b3b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cs-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #00584b;
  transition: opacity 0.2s;
}

.cs-card__read-more:hover { opacity: 0.7; }

.cs-card__read-more .arrow-circle {
  width: 28px; height: 28px;
  background: #00584b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-card__read-more .arrow-circle svg {
  width: 14px; height: 14px;
  color: #fff;
}

.cs-card__image-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.cs-card__image {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* =========================================
   CASE STUDY DETAIL PAGE
   ========================================= */
.cs-detail-header {
  background: #f0efdb;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  padding: 60px 63px;
  overflow: hidden;
  min-height: 400px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: 24px;
}

.breadcrumb__link {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3b3b3b;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.breadcrumb__link:hover { opacity: 1; }

.breadcrumb__sep {
  color: #3b3b3b;
  opacity: 0.4;
}

.breadcrumb__current {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3b3b3b;
}

.cs-detail__tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.cs-detail__tag {
  display: inline-flex;
  align-items: center;
  background: #ffa0cd;
  color: #3b3b3b;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 16px;
}

.cs-detail__title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 56px;
  font-weight: 500;
  color: #3b3b3b;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cs-detail__service {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #3b3b3b;
  margin-bottom: 32px;
}

.cs-detail__hero-image {
  max-width: 420px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.cs-detail__body {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  padding: 60px 63px;
  max-width: 100%;
  align-items: start;
}

.cs-detail__sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.cs-detail__sidebar-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 40px;
  font-weight: 500;
  color: #3b3b3b;
  margin-bottom: 16px;
}

.cs-detail__sidebar-tag {
  display: inline-flex;
  align-items: center;
  background: #ffa0cd;
  color: #3b3b3b;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 16px;
  margin-bottom: 12px;
}

.cs-detail__sidebar-service {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  color: #3b3b3b;
  margin-bottom: 32px;
}

/* Rich text content */
.cs-detail__rt h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 40px;
  color: #3b3b3b;
  margin-bottom: 16px;
  margin-top: 32px;
}

.cs-detail__rt h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #3b3b3b;
  margin-bottom: 12px;
  margin-top: 32px;
  line-height: 1.3;
}

.cs-detail__rt h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #3b3b3b;
  margin-bottom: 10px;
  margin-top: 24px;
}

.cs-detail__rt p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #3b3b3b;
  line-height: 1.75;
  margin-bottom: 16px;
}

.cs-detail__rt ul {
  list-style: none;
  margin-bottom: 16px;
}

.cs-detail__rt ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 17px;
  color: #3b3b3b;
  line-height: 1.6;
  margin-bottom: 8px;
}

.cs-detail__rt ul li::before {
  content: '';
  display: inline-block;
  width: 20px; height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300584b'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 2px;
}

.cs-detail__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}

.cs-detail__images img {
  width: 100%;
  height: auto;
  max-height: 575px;
  object-fit: cover;
  border-radius: 16px;
}

.cs-detail__image-caption {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: rgba(59,59,59,0.6);
  text-align: center;
  margin-top: 8px;
}

/* =========================================
   LEGAL PAGES
   ========================================= */
.legal-page {
  padding: 80px 63px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 40px;
  font-weight: 300;
  color: #3b3b3b;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #3b3b3b;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  color: #3b3b3b;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* =========================================
   DIVIDER
   ========================================= */
.divider {
  height: 1px;
  background: rgba(59,59,59,0.15);
  margin: 0 63px;
}

/* =========================================
   RESPONSIVE — Tablet (max-width: 991px)
   ========================================= */
@media screen and (max-width: 991px) {
  .navbar {
    padding: 0 24px;
    min-height: 64px;
  }

  .navbar__menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding: 16px 5% 40px;
    z-index: 999;
    box-shadow: 0 20px 20px rgba(0,0,0,0.2);
    font-size: 18px;
  }

  .navbar__menu.open { display: flex; }

  .navbar__link {
    font-size: 18px;
    padding: 12px 0;
    text-align: left;
    width: 100%;
  }

  .navbar__dropdown-toggle {
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
    justify-content: space-between;
  }

  .navbar__dropdown-menu {
    position: static;
    box-shadow: none;
    background: #f0efdb;
    padding: 16px;
    width: calc(100% - 64px);
    justify-content: center;
    align-items: flex-start;
  }

  .navbar__cta { margin-left: 0; align-items: center; }
  .navbar__toggle { display: flex; }

  .hero-section {
    grid-template-columns: 1fr;
    padding: 48px 24px 60px;
    overflow: clip;
  }

  .hero__content { padding-right: 30%; position: relative; z-index: 2; }
  .hero__headline { font-size: 52px; line-height: 65px; }
  .hero__subtext { font-size: 20px; }

  .hero__media {
    position: absolute;
    right: -14%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 55%;
  }

  .brands-inner { margin: 0 24px 60px; }

  .why-cro-section { padding: 64px 0 0; }
  .green-features-component { margin: 0 24px; padding: 48px 24px; }
  .green-features__title { font-size: 44px; line-height: 55px; }
  .green-features__cards { grid-template-columns: 1fr; gap: 16px; }

  .how-cro-section { padding: 64px 24px; }
  .how-cro__steps { grid-template-columns: 1fr; gap: 24px; }
  .how-cro__panels { grid-template-columns: 1fr; }

  .dan-section { padding: 64px 24px; }
  .dan__content { grid-template-columns: 1fr; gap: 48px; }
  .dan__image img { width: 100%; height: auto; }

  .services-section { padding: 64px 24px; }
  .services__grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { height: auto; min-height: 0; padding: 25px; gap: 16px; }

  .cta-section { padding: 64px 24px; }
  .cta__component { padding: 48px 24px; background-position: 85% 100%; }
  .cta__title { font-size: 36px; line-height: 45px; }

  .testimonials-section { padding: 64px 0; }
  .testimonials__inner { padding: 0 24px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }

  .faq-section { padding: 64px 24px; }
  .faq__question { padding: 16px 20px; }
  .faq__answer { padding-left: 20px; padding-right: 20px; }
  .faq__accordion { border-radius: 20px; }

  .contact-cta-section { padding: 0 24px; }
  .contact-cta__component { padding: 48px 24px; background-position: 10% 100%; }
  .contact-cta__title { font-size: 36px; line-height: 45px; }

  .footer { padding: 24px 24px; }
  .divider { margin: 0 24px; }

  .case-studies-page { padding: 64px 24px; }
  .case-studies__list { grid-template-columns: 1fr 1fr; gap: 32px; }

  .cs-detail-header { padding: 48px 24px; grid-template-columns: 1fr; gap: 32px; }
  .cs-detail__body { grid-template-columns: 1fr; padding: 48px 24px; gap: 40px; }
  .cs-detail__sidebar { position: static; }
}

/* =========================================
   RESPONSIVE — Mobile (max-width: 767px)
   ========================================= */
@media screen and (max-width: 767px) {
  .hero__content { padding-right: 0; }
  .hero__headline { font-size: 40px; line-height: 50px; }
  .hero__subtext { font-size: 16px; line-height: 24px; }

  .hero__media {
    position: static;
    transform: none;
    width: 100%;
    order: -1;
    margin-bottom: 24px;
  }

  .hero-section { padding: 32px 24px 48px; }

  .section-heading { font-size: 36px; line-height: 45px; }

  .green-features__title { font-size: 36px; line-height: 45px; }

  .case-studies__list { grid-template-columns: 1fr; gap: 16px; }

  .cs-card__link {
    grid-template-columns: 30% 70%;
    padding: 16px;
    gap: 16px;
    min-height: auto;
  }

  .cs-card__name { font-size: 18px; line-height: 22px; }
  .cs-card__service { font-size: 14px; }
  .cs-card__summary { font-size: 12px; line-height: 15px; }
  .cs-card__read-more { font-size: 12px; }
  .cs-card__tag p { font-size: 12px; }

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

  .faq__question { padding: 8px 16px; }
  .faq__question-text { font-size: 15px; line-height: 17px; }
  .faq__answer { padding: 0; }
  .faq__accordion.open .faq__answer { padding: 8px 0 12px; }
  .faq__accordion { border-radius: 16px; padding: 8px 16px; }

  .footer { flex-direction: column; align-items: center; gap: 16px; padding: 24px 16px; }
  .footer__left { gap: 16px; }
  .footer__right { gap: 16px; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card { height: auto; padding: 16px; gap: 16px; }
  .service-card__title { font-size: 20px; line-height: 25px; }
  .service-card__list li { font-size: 17px; }

  .dan__title { font-size: 36px; line-height: 45px; }

  .cs-detail__title { font-size: 32px; }
  .cs-detail__images { grid-template-columns: 1fr; }
  .cs-detail__body { padding: 32px 16px; }
  .cs-detail-header { padding: 32px 16px; }
}

/* =========================================
   RESPONSIVE — Small Mobile (max-width: 479px)
   ========================================= */
@media screen and (max-width: 479px) {
  .hero__headline { font-size: 32px; line-height: 40px; margin-top: 0; margin-bottom: 0; }
  .hero__subtext { font-size: 18px; line-height: 26px; }
  .hero-section { padding: 16px 0 0; }
  .hero__content { padding-left: 16px; padding-right: 40px; }

  .section-heading { font-size: 32px; line-height: 40px; }
  .green-features__title { font-size: 32px; line-height: 40px; }
  .green-features-component { padding: 32px 12px 12px; }

  .cta__title { font-size: 32px; line-height: 40px; }
  .cta-section { padding: 40px 16px; }
  .cta__component { padding: 64px 16px; }

  .faq-section { padding: 40px 16px; }
  .faq__question { padding: 0; }
  .faq__question-text { font-size: 13px; line-height: 15px; }
  .faq__answer { padding: 0; font-size: 13px; }
  .faq__accordion.open .faq__answer { padding: 8px 0 12px; }

  .contact-cta-section { padding: 0 16px; }
  .contact-cta__component { padding: 64px 16px; }

  .testimonials__inner { padding: 0 16px; }

  .case-studies-page { padding: 40px 16px; }
  .case-studies__heading { font-size: 23px; }

  .cs-detail-header { padding: 16px; }
  .cs-detail__body { padding: 24px 16px; }
}

/* =========================================
   LARGE DESKTOP (min-width: 1440px)
   ========================================= */
@media screen and (min-width: 1440px) {
  .faq__question-text { font-size: 24px; font-weight: 400; }
  .services-section { background-color: #f0efdb; }
  .faq__question, .faq__answer { padding: 0 32px; }
  .faq__icon-wrapper { background: #d8e358; border-radius: 40px; height: 32px; }
}
