/* Home page — Figma design */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2b71d3;
  --blue-dark: #1e5bb5;
  --navy: #09172a;
  --navy-deep: #040b15;
  --text: #232323;
  --muted: #757575;
  --bg: #fffbfb;
  --bg-alt: #f2f5fb;
  --border: #e5e7eb;
  --white: #fff;
}

body.home-page {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}



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

/* Buttons */
.btn-figma-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: linear-gradient(180deg, #6C9ADB 0%, #2B71D3 100%);
  border: 1px solid #558DDC;
  border-radius: 8px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-family: sans-serif;
  font-weight: 600;
  width: 215px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-figma-primary:hover {
  background: linear-gradient(180deg, #5A8BCB 0%, #1F62BE 100%);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-figma-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #F5F5F5;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
  width: 197px;
  height: 48px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.8);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn-figma-outline:hover { background: #D6D6D6; color: white; }

.btn-lg { padding: 16px 20px; font-size: 18px; font-weight: 600;}

/* Section headers */
.section-header { max-width: 720px; margin: 0 auto 48px; }
.section-header.center { text-align: center; }
.section-tag {
  display: inline-block;
  font-family: 'Regular', Inter;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #2B71D3;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #232323;
}
.section-header p { color: #757575; font-size: 16px; font-weight: 400;}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 20px;
}

/* ── Hero Banner ── */
.home-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.home-banner-bg {
  position: absolute;
  inset: 0;
}
.home-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,23,42,.75) 0%, rgba(9,23,42,.35) 40%, rgba(9,23,42,.15) 80%);
}
.home-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  width: 100%;
}
.home-banner-card {
  max-width: 900px;
  padding: 40px;
  background: transparent;
  border-radius: 16px;
  color: #F2F2F2;
}
.home-banner-card h1 {
  font-weight: 700;
  font-size: 64px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.home-banner-card p {
  font-size: 16px;
  opacity: .92;
  font-weight: 500;
  margin-bottom: 28px;
  color: #F2F2F2;
  line-height: 1.65;
}
.home-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-banner-dots {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}
.home-banner-dots .dot {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.home-banner-dots .dot.active { background: var(--white); }

/* ── Services Pyramid ── */
.home-services {
  padding: 64px 40px;
  width: 100%;
  background: #f4f6f9;
  font-family: 'Inter', Roboto, sans-serif;
  box-sizing: border-box;
}

.services-layout {
  max-width: 1200px;
  margin: 0 auto;
  gap:10px;
  display: flex;
  flex-direction: column;

}

.pyramid-row {
  display: grid;
  grid-template-columns: 200px 400px 1fr;
  align-items: center;
  width: 100%;
  transition: opacity 0.35s ease;
}

.services-layout:hover .pyramid-row:not(:hover) {
  opacity: 0.35;
}

.step-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 350px;
  box-sizing: border-box;
}
 
.pyramid-row[data-level="1"] .step-col { padding-right: 160px; }
.pyramid-row[data-level="2"] .step-col { padding-right: 120px; }
.pyramid-row[data-level="3"] .step-col { padding-right: 76px; }
.pyramid-row[data-level="4"] .step-col { padding-right: 20px; }

.step-ribbon {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.8, 0.8, 0.8, 0.8);
}

.pyramid-row:hover .step-ribbon {
  transform: scale(1.18) translateX(14px);
}

.pyramid-row:hover .step-line {
  transform: scaleX(1.3);
}

.pyramid-row[data-level="4"] .step { width: 76px; height: 76px; font-size: 18px }
.pyramid-row[data-level="3"] .step {width: 76px; height: 76px; font-size: 18px }
.pyramid-row[data-level="2"] .step { width: 76px; height: 76px; font-size: 18px }
.pyramid-row[data-level="1"] .step { width: 76px; height: 76px; font-size: 18px; }

.step {
  border-radius: 50%;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  flex-shrink: 0;
  transition: box-shadow 0.35s ease;
}

.step-line {
  height: 30px;
  width: 70px;
  margin-left: -20px;
  margin-right: -2px;
  z-index: 2;
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  transform-origin: left center;
}

.pyramid-row[data-level="4"] .step-line { width: 60px; }
.pyramid-row[data-level="3"] .step-line { width: 60px; }
.pyramid-row[data-level="2"] .step-line { width: 60px; }
.pyramid-row[data-level="1"] .step-line { width: 60px; }

.pyramid-row[data-level="4"] .step      { background: #cbdff7; color: #0D223F;font-family: 'Regular', Inter; }
.pyramid-row[data-level="4"] .step-line { background: #cbdff7; }

.pyramid-row[data-level="3"] .step      { background: #7aaad8; color: #0D223F;font-family: 'Regular', Inter; }
.pyramid-row[data-level="3"] .step-line { background: #7aaad8; }

.pyramid-row[data-level="2"] .step      { background: #3a78c8; color: #EDEDED;font-family: 'Regular', Inter; }
.pyramid-row[data-level="2"] .step-line { background: #3a78c8; }

.pyramid-row[data-level="1"] .step      { background: #1a437e; color: #EDEDED; font-family: 'Regular', Inter; }
.pyramid-row[data-level="1"] .step-line { background: #1a437e; }

.pyramid-row:hover .step {
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

.pyramid-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.pyramid-level {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: transparent !important;
  color: #fff;
  font-family: inherit;
  width: 100%;
  height: 130px;
  padding: 0;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.3s ease;
}
.bg {
    width: 600px;
    height: 80px;
}
.pyramid-level.l4 { padding-top: 24px; width: 500px; } 
.pyramid-level.l3 { padding-top: 24px; width: 900px; } 
.pyramid-level.l2 { padding-top: 24px; width: 1100px; } 
.pyramid-level.l1 { padding-top: 24px; width: 500px; } 

.pyramid-level svg.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.pyramid-level .label {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}

.pyramid-level strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
}

.pyramid-level.l4 strong { color: #0D223F; }
.pyramid-level.l4 .sub   { color: #225AA9; }
.pyramid-level.l3 strong { color: #0D223F; }
.pyramid-level.l3 .sub   { color:#225AA9; opacity: 0.8; }
.pyramid-level .sub { font-size: 14px; font-weight: 400; opacity: .9; font-family: 'Regular', Inter; }
.pyramid-level.l2 strong { color: #EDEDED; }
.pyramid-level.l2 .sub   { color: #EDEDED; }
.pyramid-level.l1 strong { color: #EDEDED; }
.pyramid-level.l1 .sub   { color: #EDEDED; }
.pyramid-level .strong { font-size: 16px; font-weight: 800; letter-spacing: .04em; font-family: 'Semi Bold' }

.pyramid-row:hover .pyramid-level {
  filter: brightness(1.03);
}

.desc-col {
  padding-left: 45px;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.pkg-desc {
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

.pkg-bar {
  width: 4px;
  border-radius: 2px;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.pkg-bar.b4 { background: #cbdff7; }
.pkg-bar.b3 { background: #7aaad8; }
.pkg-bar.b2 { background: #3a78c8; }
.pkg-bar.b1 { background: #1a437e; }

.pyramid-row:hover .pkg-bar { transform: scaleX(1.6); }
.pkg-text { flex: 1; }

.pkg-desc h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0D223F;
  margin: 0 0 4px 0;
  transition: color 0.35s ease;
}

.pkg-desc p {
  margin: 0;
  color: #757575;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.pyramid-row[data-level="4"]:hover .pkg-desc h3 { color: #2a5fa5; }
.pyramid-row[data-level="3"]:hover .pkg-desc h3 { color: #3a78c8; }
.pyramid-row[data-level="2"]:hover .pkg-desc h3 { color: #2563b8; }
.pyramid-row[data-level="1"]:hover .pkg-desc h3 { color: #1a437e; }
/* ── Testimonial ── */
.home-testimonial {
  position: relative;
  width: 100vw; 
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  padding-bottom: 100px;
  background: var(--bg);
  box-sizing: border-box;
  display: block; 
}

.testimonial-photo {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 700px;
  overflow: hidden;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1; 
}

.testimonial-card {
  position: relative;
  z-index: 10;
  width: 80%;
  margin: -140px auto 0 auto !important; 
  padding:30px 20px;
  background: var(--bg);
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05); 
}

.card-content-wrapper {
  overflow: hidden;
  width: 100%;
}

.testimonial-drop {
  float: left;
  font-size: 64px;
  font-weight: 700;
  line-height: 0.85;
  color: #111827;
  margin-right: 14px;
  font-family: inherit;
}

.testimonial-text {
  color: #232323;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0 0 18px 0;
  text-align: justify;
}

.testimonial-text strong {
  color: #757575;
  font-size: 16px;
  font-weight: 400;
}

.testimonial-text:last-of-type {
  margin-bottom: 0;
}

.testimonial-footer {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-top: 15px;
  padding-top: 1px;
  gap: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-line {
  width: 24px;
  height: 1.5px;
  background: #232323;
}

.testimonial-author cite {
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: #232323;
}

.quote-mark {
  font-size: 30px;
  color: #D6D6D6;
  transform: scale(-1) translateY(10px);
  user-select: none;
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-hint:hover {
  opacity: 1;
}
/* ── Case Studies ── */
.home-casestudies {
  width: 100vw; 
  position: relative;
  box-sizing: border-box;
  background: var(--bg); 
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.container-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.scroll-track-container {
  position: relative;
}

.sticky-viewport-window {
  position: relative;
  display: block;
  overflow: visible;
}

.cards-overlap-grid {
  display: block;
  width: 100%;
}

.cards-scroll {
  width: 100%;
  max-width: 1140px;
  height: 630px;
  max-height: 700px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cards-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.case-card-layer {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  box-sizing: border-box;
  background: var(--bg); 
}

.case-card {
  max-width: 1100px;
  width: calc(100% - 80px);
  height: auto;
}

.case-card-layer[data-card-index="1"], .case-card-layer[data-card-index="2"] {
  transform: none;
  opacity: 1;
}

.case-card {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-sizing: border-box;
  
}

.case-card.figma-style {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  max-width: 1100px;
  width: calc(100% - 100px);
  margin: 0 auto;
  height: auto !important;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  padding: 18px; 
}

.case-card.figma-style .case-card-image {
  width: 100%;
  height: 370px !important;
  overflow: hidden;
  border-radius: 12px;
}
.case-card.figma-style .case-card-image img {
  width: 90%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(2,6,23,0.06);
}

.case-card.figma-style .case-card-head {
  padding: 0; 
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 12px 10px;
  align-items: start;
}

.case-logo {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #D6D6D6;
  border-radius: 10px;
  background: #FFFFFF;
}
.case-logo img { height: 40px; width: auto; display: block; }

.case-card-text {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  align-self: start;
}

.case-meta {
  grid-column: 3/ 4;
  grid-row: 1 / 2;
  text-align: right;
}

.case-card-head > .link-arrow {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  align-self: start;
}



.case-card.figma-style .case-meta {
  margin-top: 0;
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  text-align: left;
  align-self: start;
}
.case-card.figma-style .link-arrow {
  margin-top: 8px;
  display: inline-block;
}
.case-card-head {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
}

.case-card.figma-style .case-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 14px 18px;
  align-items: start;
  padding: 0;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

.case-card-head > .link-arrow {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  justify-self: start;
}

.case-logo img { height: 34px; width: auto; object-fit: contain; }

.case-card-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #757575;
  letter-spacing: 0.02em;
}

.case-card-text h3 .label {
  color: #232323;
  font-weight: 700;
}

.case-card-text p {
  color: #757575;
  font-size: 16px;
  line-height: 1.65;
  margin: 10px 0;
  text-align: justify;
}

.case-meta { margin: 2px 0; }
.case-meta .series { font-size: 16px; font-weight: 600; color: #757575; display: inline-block; margin-right: 6px; }
.case-meta .tags { font-size: 14px; color: #757575;font-weight: 500 }

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: #558DDC;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.link-arrow:hover { color: var(--blue-dark); }

.case-card-image { width: 100%; height: 100%; overflow: hidden; }
.case-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .cards-scroll { padding: 20px 0; height: 440px; }
  .case-card { grid-template-columns: 1fr; width: calc(100% - 40px); max-width: 920px; border-radius: 16px; }
  .case-card-head { padding: 20px; }
  .case-card-image { height: 200px; }
  .case-card-text h3 { font-size: 14px; }
  .case-card-text p { font-size: 13px; }
  .case-card-layer { padding: 24px 0; }
}

@media (max-width: 480px) {
  .case-card { width: calc(100% - 32px); border-radius: 12px; }
  .case-card-image { height: 160px; }
  .case-card-head { padding: 16px; }
  .case-card-text p { font-size: 12px; }
  .case-card-text h3 { font-size: 13px; }
  .cards-scroll { padding: 12px 0; height: 360px; }
  .case-card-layer { min-height: auto; }
}

.case-valuation {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 90px 0;
  position: relative;
  z-index: 50;
}
.valuation-layout-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
}

.logo-cell { display: flex; align-items: center; justify-content: center; min-height: 90px; }
.logo-cell img { max-width: 200px; max-height: 50px; object-fit: contain; }

.valuation-center { text-align: center; padding: 0 12px; }
.valuation-center h2 { font-size: 36px; font-weight: 700; color: #232323; margin: 0 0 6px 0; letter-spacing: -0.02em; }
.valuation-center p { color: #232323; font-size: 18px; margin: 0 0 20px 0; }
.link-arrow-blue { font-size: 14px; font-weight: 600; color: #558DDC; text-decoration: none; }
.link-arrow-blue:hover { color: var(--blue-dark); text-decoration: underline; }
/* ── Why Choose Us ── */
.home-why {
  padding: 50px 20px;
  background: #F2F5FB;
}
.why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  transition: box-shadow .2s;
  width: 100%;
  text-align: left;
}
.why-icon {
  width: 90px;
  height: 56px;
  background: #dbe7f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px 0;
  clip-path: polygon(
    0 0,
    78% 0,
    100% 50%,
    78% 100%,
    0 100%
  );
}
.why-icon i {
  font-size: 30px;
  font-weight: 400;
}
.why-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: #232323; }
.why-card p { color: #757575; font-size: 16px; line-height: 1.65; text-align: left; font-weight: 400; }

/* ── Pricing CTA ── */
.home-pricing-cta {
  background: #09172A;
  padding: 64px 40px;
}
.pricing-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.pricing-cta-inner h2 {
  color: #EDEDED;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-cta-inner p { color: #EDEDED; font-size: 16px; font-weight: 400;  }

/* ── Success Stories ── */
.home-stories {
  padding: 60px 40px;
  background: var(--bg);
}

.stories-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(312px, 1fr));
  gap: 24px;
  justify-items: center;
}

.story-card {
  position: relative;
  min-height: 512px;
  width: 330px;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  background-color: var(--navy);
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.3, 1);
  will-change: transform;
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-normal);
  background-size: cover;
  background-position: center top;
  z-index: 0;
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.3, 1);
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-hover);
  background-size: cover;
  background-position: center top;
  z-index: 1;
  opacity: 0; 
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.3, 1);
}

.story-card:hover {
  transform: scale(0.96); 
}

.story-card:hover::after {
  opacity: 1; 
}

.story-overlay {
  position: absolute;
  inset: 0;
  z-index: 2; 
  background: linear-gradient(to top, rgba(9,23,42,0.85) 0%, rgba(9,23,42,0.4) 15%,rgba(9, 23, 42, 0.05) 30%, transparent 40%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

.story-overlay h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; color: #EDEDED; }
.story-overlay .role { font-size: 14px;font-weight: 400;color: #EDEDED; opacity: .75; margin-bottom: 12px; }
.story-overlay hr { border: none; border-top: 1px solid rgba(255,255,255,.2); margin-bottom: 12px; }
.story-overlay .quote { font-size: 16px; margin-bottom: 12px; color: #EDEDED; }
.story-tags { font-size: 14px; opacity: .7; font-weight: 500; color: #EDEDED; }

/* ── News ── */
.home-news {
  padding: 80px 40px;
  background: var(--bg-alt);
}
.news-layout {
  max-width: 1400px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 280px 1fr 350px;
  gap: 32px;
  align-items: start;
}
.news-sidebar { display: flex; flex-direction: column; gap: 20px; width: 100%; }

.news-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}
.news-thumb p { 
  font-size: 16px; 
  color: #757575; 
  line-height: 1.5; 
  font-weight: 500;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;       
  text-overflow: ellipsis; 
}
.news-featured {
  display: block;  
  width: 100%;    
  margin-left: auto;     
  margin-right: auto;
}

.news-featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  
}
.news-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.news-featured-meta time { font-size: 16px; color: var(--muted); font-weight: 400; }
.news-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 10px;
  background: #EAF1FB;
  border: 1px solid #AAC6ED;
  color: #2B71D3;
  border-radius: 20px;
}
.news-featured h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #232323;
  margin-bottom: 12px;
}
.news-featured p { color: #666666; font-size: 16px; line-height: 1.7; font-weight: 400; }
.news-links { display: flex; flex-direction: column; gap: 24px; }
.news-link-group h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #232323;
}
.news-description{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.news-link {
  display: block;
  font-size: 16px;
  color: #757575;
  font-weight: 500;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  transition: color .2s;
   overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-link:hover { color: var(--blue); }
.news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(
    180deg,
    #6C9ADB 0%,
    #2B71D3 100%
  );
  border: 1px solid #558DDC;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  width: 194px;
  height: 48px;

  transition: all 0.3s ease;

  box-shadow: 0 4px 12px rgba(43, 113, 211, 0.2);
}

.news-cta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-btn:hover {
  background: linear-gradient(
    180deg,
    #7AA8E5 0%,
    #377CE0 100%
  );

  border-color: #6C9ADB;

  transform: translateY(-2px);

  box-shadow: 0 8px 20px rgba(43, 113, 211, 0.3);

  color: #fff;
}
/* ── Limited Offer ── */
.home-offer {
  background: var(--blue);
  padding: 64px 40px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.home-offer h2 {
  font-size: clamp(28px, 4vw, 36px);
  display: flex;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}
.home-offer > p {
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 700px;
  color: #EDEDED;
  font-weight: 400;
  margin-left: auto;
  margin-right: auto;
}
.offer-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.home-offer .btn-figma-outline { border-color: var(--white); }
.offer-meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; opacity: .85; }

/* ── Tour + Form ── */
.home-tour-form {
  display: grid;
  grid-template-columns: 570px 1fr;
  min-height: 600px;
  padding:90px 90px;
}
.tour-visual {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.tour-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-caption {
  position: absolute;
  top: 500px;
  width: 90%;
  height: auto;
  margin: 0 auto;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #EDEDED;
  border-radius: 12px;
  padding: 15px;
}
.tour-caption h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.tour-caption p { font-size: 14px; opacity: .85; font-weight: 400; }

.tour-form {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #232323;
}
.form-field .req { color: #232323; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #999999;
  background: #F2F2F2;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-field textarea { min-height: 100px; resize: vertical; }
.phone-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #F2F2F2;
  border-radius: 8px;
  overflow: hidden;
}
.phone-wrap .prefix {
  padding: 10px 10px;
  background: #F2F2F2;
  font-size: 16px;
  color: var(--muted);
  border-right: 0px solid var(--border);
  white-space: nowrap;
  font-weight: 400;
}
.phone-wrap input {
  border: none !important;
  border-radius: 0 !important;
}
.form-terms {
  font-size: 13px;
  color: #232323;
}
.form-terms a { color: #232323; text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-layout,
  .case-card,
  .home-tour-form { grid-template-columns: 1fr; }
  .why-grid,
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .case-valuation { grid-template-columns: 1fr; }
  .logo-grid { display: none; }
  .testimonial-card { margin: 60px 24px; }
  .pyramid-steps { display: none; }
}

@media (max-width: 640px) {
  .home-banner-inner,
  .home-services,
  .home-casestudies,
  .home-why,
  .home-stories,
  .home-news { padding-left: 20px; padding-right: 20px; }
  .why-grid,
  .stories-grid,
  .form-row { grid-template-columns: 1fr; }
  .pricing-cta-inner { flex-direction: column; text-align: center; }
  .home-banner-card { padding: 28px; }
  .case-card-head { padding: 28px; }
  .tour-form { padding: 32px 20px; }
}
