/* ============================================================
   SUCCESS-STORIES.CSS – Success Stories page-specific styles
   ============================================================ */

/* ── INTRO SECTION ──────────────────────────────────────────── */
.ss-intro {
  padding: 6rem 0 0;  
}

.ss-intro-title {
  font-size: 3.6rem;        
  font-weight: 400;
  line-height: 4.6rem;      
  color: var(--color-black);
  margin: 0 0 0.8rem;
}

.ss-intro-text {
  font-size: 1.6rem;           
  font-weight: 300;
  line-height: 2.4rem;
  color: var(--color-black);
  max-width: 90rem;      
}

/* ── CASE STUDY SECTION ─────────────────────────────────────── */
.ss-case {
  padding-top: 6rem;      
}

.ss-case + .ss-case {
  padding-top: 10rem;       
}

/* ── HERO BLOCK ─────────────────────────────────────────────── */
.ss-hero {
  position: relative;
  height: 44rem;            
  overflow: hidden;
  display: block;
}

.ss-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--color-white);
  padding: 1.5rem 3rem 0 0; 
}

.ss-hero-caption h2 {
  font-size: 3.6rem;          
  font-weight: 300;
  line-height: 4.6rem;      
  color: var(--color-black);
  margin: 0;
}

/* ── CASE BODY: two-column layout ───────────────────────────── */
.ss-body {
  display: flex;
  gap: 5rem;             
  margin-top: 3rem;       
  align-items: flex-start;
}

/* ── LEFT COLUMN ────────────────────────────────────────────── */
.ss-col-left {
  flex: 0 0 37.6rem;          
  min-width: 0;
}

/* ── META BAR ───────────────────────────────────────────────── */
.ss-meta {
  display: flex;
  align-items: stretch;
  background: var(--color-blue-light);
}

.ss-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1 0 0;
  padding: 1rem 1.6rem;     
  min-width: 0;
}

.ss-meta-sep {
  width: 0.1rem;          
  background: var(--blue-rgba3);
  flex-shrink: 0;
  margin: 1rem 0;
}

.ss-meta-label {
  font-size: 1.6rem;            
  font-weight: 300;
  line-height: 2.4rem;
  color: var(--color-black);
}

.ss-meta-value {
  font-size: 1.8rem;    
  font-weight: 400;
  line-height: 2.2rem;
  color: var(--color-blue-dark);
}

/* ── CLIENT CARD (Story 2 only) ─────────────────────────────── */
.ss-client {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  background: var(--color-blue-light);
  border-bottom: 0.1rem solid var(--black-rgba);
  padding: 1rem 1.6rem;  
}

.ss-client-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ss-client-label {
  font-size: 1.6rem;            
  font-weight: 300;
  color: var(--color-black);
  line-height: 2.4rem;
}

.ss-client-name {
  font-size: 1.8rem;        
  font-weight: 400;
  color: var(--color-blue-dark);
  line-height: 2.2rem;
}

.ss-client-type {
  font-size: 1.8rem;        
  font-weight: 400;
  color: var(--color-blue-dark);
  line-height: 2.2rem;
}

.ss-client-logo {
  height: 8.4rem;            
  width: 11.8rem;            
  object-fit: contain;
  flex-shrink: 0;
}

/* ── DESTINATIONS ───────────────────────────────────────────── */
.ss-dest {
  margin-top: 2rem;      
}

.ss-dest-label {
  font-size: 1.6rem;            
  font-weight: 300;
  color: var(--color-black);
  margin: 0 0 1rem;
}

.ss-dest-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;              
}

.ss-dest-row {
  display: flex;
  gap: 0.8rem;                
}

.ss-dest-card {
  position: relative;
  width: 12rem;            
  height: 12rem;           
  flex-shrink: 0;
  overflow: hidden;
}

.ss-dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.ss-dest-name {
  position: absolute;
  bottom: 1rem;            
  left: 1rem;              
  right: 2rem;              
  font-size: 1.8rem;        
  font-weight: 400;
  line-height: 2rem;
  color: var(--color-white);
  text-align: left;
}

/* ── RIGHT COLUMN ───────────────────────────────────────────── */
.ss-col-right {
  flex: 1 0 0;
  min-width: 0;
}

.ss-col-right p {
  font-size: 1.6rem;            
  font-weight: 300;
  line-height: 2.4rem;
  color: var(--color-black);
  margin: 0;
}

.ss-col-right p + p {
  margin-top: 1.6rem;
}

.ss-col-right h3 {
  font-size: 2.4rem;           
  font-weight: 400;
  line-height: 3rem;       
  color: var(--color-black);
  margin: 3rem 0 1rem; 
}

.ss-col-right h3:first-child {
  margin-top: 0;
}

/* ── FAQ SECTION ─────────────────────────────────────────────── */
.ss-faq {
  padding-top: 6rem;
}

.ss-faq .section-title {
  margin-bottom: 3rem;  
}

.ss-faq .section-title h2 {
  font-size: 3.6rem;       
  font-weight: 400;
  line-height: 4.6rem;
  color: var(--color-black);
}

.ss-faq .section-title p {
  font-size: 1.8rem;        
  font-weight: 300;
  line-height: 2.4rem;
  color: var(--color-black);
  margin-top: 0.8rem;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1200px) {
  .ss-col-left {
    flex: 0 0 32rem;
  }
}

@media (max-width: 1024px) {
  .ss-body {
    flex-direction: column;
    gap: 3.2rem;
  }

  .ss-col-left {
    flex: none;
    width: 100%;
    max-width: 44.8rem;
  }

  .ss-hero-caption {
    max-width: 75%;
    padding: 1.4rem 2rem 0 0;
  }
}

@media (max-width: 768px) {
  .ss-intro-title {
    font-size: 2.8rem;
    line-height: 3.6rem;
  }

  .ss-hero {
    height: 28.8rem;
  }

  .ss-hero-caption {
    max-width: 90%;
    padding: 1.4rem 2rem 0 0;
  }

  .ss-hero-caption h2 {
    font-size: 2.2rem;
    line-height: 3rem;
  }

  .ss-col-left {
    max-width: 100%;
  }

  .ss-meta {
    flex-wrap: wrap;
  }

  .ss-meta-item {
    flex: 0 0 calc(50% - 0.8rem);
  }

  .ss-meta-sep {
    display: none;
  }

  .ss-col-right h3 {
    font-size: 2rem;
    line-height: 2.6rem;
  }

  .ss-dest-card {
    width: 9.6rem;
    height: 9.6rem;
  }

  .ss-dest-name {
    font-size: 1.4rem;
  }

  .ss-faq .section-title h2 {
    font-size: 2.8rem;
    line-height: 3.6rem;
  }
}

@media (max-width: 480px) {
  .ss-case {
    padding-top: 4rem;
  }

  .ss-case + .ss-case {
    padding-top: 4.8rem;
  }

  .ss-hero {
    height: 22.4rem;
  }

  .ss-hero-caption {
    max-width: 100%;
    padding: 1.2rem 1.6rem 0 0;
  }

  .ss-hero-caption h2 {
    font-size: 1.8rem;
    line-height: 2.4rem;
  }

  .ss-dest-card {
    flex: 1;
    width: auto;
    height: 8.8rem;
  }

  .ss-meta-item {
    flex: 0 0 100%;
  }

  .ss-intro-title {
    font-size: 2.2rem;
    line-height: 3rem;
  }
}
