/* ==========================================
   FAVOR STUDIO — Global Stylesheet
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ==========================================
   CSS Variables
   ========================================== */
:root {
  --navy: #2C3E50;
  --navy-dark: #1e2d3d;
  --white: #FFFFFF;
  --gray-light: #F8F9FA;
  --gray: #E9ECEF;
  --text-dark: #2C3E50;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --max-width: 1200px;
  --section-py: 100px;
  --radius: 2px;
  --transition: all 0.3s ease;
}

/* ==========================================
   Reset & Base
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.625rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.625rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
  color: var(--text-gray);
  line-height: 1.8;
}

/* ==========================================
   Layout
   ========================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.section-padding {
  padding: var(--section-py) 0;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(44, 62, 80, 0.22);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

/* ==========================================
   Navigation
   ========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 48px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav.nav-open .nav-logo {
  color: var(--white);
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--navy);
  border-radius: 1px;
  transition: transform 0.35s ease, opacity 0.35s ease, background-color 0.35s ease;
  transform-origin: center;
}

.nav.nav-open .nav-hamburger span {
  background-color: var(--white);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   Nav Overlay
   ========================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.nav-overlay-links a {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.625rem, 4vw, 2.375rem);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-overlay-links a:hover {
  color: var(--white);
}

.nav-overlay-links .nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  color: var(--white);
  margin-top: 8px;
}

.nav-overlay-links .nav-cta:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  color: var(--white);
}

/* ==========================================
   Section Labels & Subtitles
   ========================================== */
.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 14px;
}

.section-label.white {
  color: rgba(255, 255, 255, 0.45);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-gray);
  max-width: 580px;
  margin-top: 14px;
  line-height: 1.75;
}

.section-subtitle.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 80px;
  background-color: var(--white);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 72px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
  line-height: 1.18;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-gray);
  margin-bottom: 44px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -24px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  z-index: -1;
}

/* ==========================================
   Pain Section (Navy)
   ========================================== */
.pain-section {
  background-color: var(--navy);
}

.pain-section h2 {
  color: var(--white);
}

.pain-header-text {
  color: rgba(255, 255, 255, 0.65) !important;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.pain-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: background-color 0.3s ease;
}

.pain-card:hover {
  background-color: rgba(255, 255, 255, 0.07);
}

.pain-card-number {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.pain-card h3 {
  font-size: 1.1875rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.35;
}

.pain-stat {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  line-height: 1.65;
}

.pain-point {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.42);
  font-style: italic;
  margin-top: 20px;
  line-height: 1.6;
}

.pain-quote {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}

.pain-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.625rem);
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================
   Shift Section (White)
   ========================================== */
.shift-section {
  background-color: var(--white);
}

.shift-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.shift-content h2 {
  margin-bottom: 28px;
}

.shift-content p {
  font-size: 1.0625rem;
  margin-bottom: 14px;
}

.shift-key-stat {
  display: inline-block;
  background-color: var(--navy);
  padding: 32px 52px;
  margin-top: 48px;
  border-radius: var(--radius);
}

.shift-key-stat p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.4375rem);
  color: var(--white);
  font-style: italic;
  line-height: 1.55;
}

/* ==========================================
   Solution Section (Light Gray)
   ========================================== */
.solution-section {
  background-color: var(--gray-light);
}

.solution-intro {
  max-width: 680px;
  font-size: 1.0625rem;
  margin-top: 20px;
  line-height: 1.8;
}

.solution-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.solution-step {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--gray);
  transition: box-shadow 0.3s ease;
}

.solution-step:hover {
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.07);
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gray);
  line-height: 1;
  margin-bottom: 20px;
}

.solution-step h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.solution-step p {
  font-size: 0.9375rem;
}

/* ==========================================
   Services Section (White)
   ========================================== */
.services-section {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.service-card {
  padding: 48px 40px;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 14px 48px rgba(44, 62, 80, 0.09);
  transform: translateY(-3px);
}

.service-number {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3125rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray);
  line-height: 1.3;
}

.service-row {
  margin-bottom: 18px;
}

.service-row-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 5px;
}

.service-row p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.service-result {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray);
}

.service-result p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
}

/* ==========================================
   Case Study Preview (Navy)
   ========================================== */
.case-preview-section {
  background-color: var(--navy);
}

.case-preview-section h2 {
  color: var(--white);
}

.case-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.case-preview-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: background-color 0.3s ease;
}

.case-preview-card:hover {
  background-color: rgba(255, 255, 255, 0.07);
}

.case-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 14px;
}

.case-preview-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.case-preview-list {
  margin-bottom: 24px;
}

.case-preview-list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 9px;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  line-height: 1.65;
}

.case-replaces {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.42);
  font-style: italic;
  margin-bottom: 16px;
}

.case-status {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

.case-preview-cta {
  text-align: center;
  margin-top: 56px;
}

/* ==========================================
   Testimonial Section (White)
   ========================================== */
.testimonial-section {
  background-color: var(--white);
}

.testimonial-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.testimonial-role {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.testimonial-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.175rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
}

.testimonial-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.testimonial-images img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
}

.testimonial-video-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--navy);
}

.testimonial-video-wrap video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* ==========================================
   Objections Section (Navy)
   ========================================== */
.objections-section {
  background-color: var(--navy);
}

.objections-section h2 {
  color: var(--white);
}

.objections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.objection-block {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: var(--radius);
}

.objection-statement {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  line-height: 1.5;
}

.objection-answer {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

/* ==========================================
   CTA / Form Section (Light Gray)
   ========================================== */
.cta-section {
  background-color: var(--gray-light);
}

.cta-header {
  max-width: 620px;
  margin-bottom: 60px;
}

.cta-header h2 {
  margin-bottom: 14px;
}

.cta-header p {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.application-form {
  max-width: 700px;
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  transition: border-color 0.25s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236B7280' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-submit {
  background-color: var(--navy);
  color: var(--white);
  padding: 18px 48px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.form-submit:hover:not(:disabled) {
  background-color: var(--navy-dark);
  box-shadow: 0 10px 28px rgba(44, 62, 80, 0.22);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: #DC2626;
}

.form-error.visible {
  display: block;
}

/* Post-Submit */
.post-submit {
  display: none;
  max-width: 700px;
}

.post-submit.visible {
  display: block;
}

.what-happens-next {
  background-color: var(--white);
  border: 1px solid var(--gray);
  padding: 40px;
  border-radius: var(--radius);
  margin-top: 32px;
}

.what-happens-next h3 {
  font-size: 1.125rem;
  margin-bottom: 24px;
  color: var(--navy);
}

.what-happens-next ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.what-happens-next li {
  font-size: 0.9375rem;
  color: var(--text-gray);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  border: 1px solid var(--navy);
  border-radius: 50%;
}

.check-icon::after {
  content: '';
  display: block;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(-45deg) translateY(-1px);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background-color: var(--navy);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li,
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s ease;
  line-height: 1.6;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   Scroll Animations
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ==========================================
   Page Hero (inner pages)
   ========================================== */
.page-hero {
  background-color: var(--navy);
  padding: 156px 0 80px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.0625rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==========================================
   Video Tap Hint
   ========================================== */
.video-tap-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background-color: rgba(0, 0, 0, 0.48);
  padding: 6px 12px;
  border-radius: 2px;
  pointer-events: none;
}

/* ==========================================
   Case Studies Page
   ========================================== */
.case-studies-body {
  background-color: var(--white);
  padding: 0 0 0;
}

.case-study-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray);
}

.case-study-block:last-child {
  border-bottom: none;
}

.case-study-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.case-study-block h2 {
  margin-bottom: 10px;
}

.case-study-desc {
  font-size: 1.0625rem;
  margin-top: 8px;
  max-width: 600px;
}

.case-study-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.meta-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.meta-content {
  font-size: 0.9375rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.case-study-meta {
  margin-bottom: 28px;
}

.case-study-components ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 10px;
}

.case-study-components ul li {
  font-size: 0.9375rem;
  color: var(--text-gray);
  padding-left: 18px;
  border-left: 2px solid var(--gray);
  line-height: 1.65;
}

.case-outcome {
  background-color: var(--gray-light);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-top: 28px;
}

.case-outcome p {
  font-size: 0.9375rem;
  line-height: 1.75;
}

.case-quote-block {
  margin: 28px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--navy);
  background-color: var(--gray-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.case-quote-block p {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.75;
}

.case-quote-attr {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-gray) !important;
}

.law-firm-video-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--navy);
}

.law-firm-video-wrap video {
  width: 100%;
  display: block;
  cursor: pointer;
}

.case-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.case-images img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
}

.case-video-small {
  margin-top: 14px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--navy);
}

.case-video-small video {
  width: 100%;
  display: block;
  cursor: pointer;
}

.case-visual-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 48px;
  border-radius: var(--radius);
  min-height: 300px;
}

.case-visual-stat p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 20px;
}

.case-status-badge {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.case-final-statement {
  background-color: var(--navy);
  padding: 80px 0;
  text-align: center;
}

.case-final-statement p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================
   Insights Page
   ========================================== */
.insights-coming-soon {
  text-align: center;
  padding: 80px 0;
}

.insights-coming-soon h2 {
  margin-bottom: 16px;
}

.insights-coming-soon > p {
  max-width: 480px;
  margin: 0 auto 44px;
  font-size: 1.0625rem;
}

.insights-signup {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
}

.insights-signup input {
  flex: 1;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-dark);
  border: 1px solid var(--gray);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
  transition: border-color 0.25s ease;
}

.insights-signup input:focus {
  border-color: var(--navy);
}

.insights-signup button {
  padding: 14px 24px;
  background-color: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.insights-signup button:hover {
  background-color: var(--navy-dark);
}

.insights-categories {
  padding: var(--section-py) 0;
  background-color: var(--gray-light);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.insight-card {
  background-color: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.insight-card:hover {
  box-shadow: 0 8px 28px rgba(44, 62, 80, 0.07);
}

.insight-card h3 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.insight-divider {
  width: 36px;
  height: 1px;
  background-color: var(--gray);
  margin: 0 auto 16px;
}

.insight-card p {
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ==========================================
   Homepage Full Case Studies
   ========================================== */
.proof-stat-line {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 20px;
  max-width: 700px;
  line-height: 1.7;
}

.hp-case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.hp-component-list {
  margin: 10px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hp-component-list li {
  font-size: 0.9375rem;
  color: var(--text-gray);
  padding-left: 18px;
  border-left: 2px solid var(--gray);
  line-height: 1.65;
}

.hp-case-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray);
}

/* Proof stat on case studies page */
.proof-stat-dark {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Bold Journey feature card */
.pr-feature-card {
  background-color: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 40px;
  transition: box-shadow 0.3s ease;
}

.pr-feature-card:hover {
  box-shadow: 0 8px 28px rgba(44, 62, 80, 0.08);
}

.pr-feature-pub {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.pr-feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pr-feature-desc {
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 24px;
}

.pr-feature-link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  transition: opacity 0.25s ease;
}

.pr-feature-link:hover {
  opacity: 0.65;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav { padding: 22px 32px; }
  .nav.scrolled { padding: 16px 32px; }

  .hero-inner { gap: 48px; }
  .pain-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .case-preview-grid { grid-template-columns: 1fr; }
  .objections-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .container { padding: 0 24px; }
  .nav { padding: 18px 24px; }
  .nav.scrolled { padding: 14px 24px; }

  .hero {
    padding-top: 80px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content { order: 1; }
  .hero-image { order: 2; }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image::after { display: none; }

  .hp-case-inner { grid-template-columns: 1fr; gap: 40px; }
  .hp-case-row-grid { grid-template-columns: 1fr; }

  .shift-key-stat { padding: 24px 28px; }

  .solution-steps { grid-template-columns: 1fr; }

  .testimonial-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .case-study-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

  .insights-signup {
    flex-direction: column;
    max-width: 100%;
  }

  .insights-signup input {
    border-right: 1px solid var(--gray);
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .insights-signup button {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .case-images { grid-template-columns: 1fr; }
  .case-images img { height: 260px; }

  .page-hero { padding: 120px 0 64px; }
}
