/* ================================================
   Offer subpage content sections
   (hero styles live in oferta.css – only overrides here)
   ================================================ */

/* --- Hero heading overrides --- */
.offer-subpage .offer-hero .offer-heading {
  font-size: clamp(2.4rem, 6.5vw, 7.5rem);
  max-width: 60%;
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin-bottom: 14px;
}

.offer-subpage .offer-hero .offer-heading-accent {
  font-size: clamp(1.4rem, 3.5vw, 4rem);
  letter-spacing: 0.04em;
  padding-top: 0.22em;
}

.offer-subpage .offer-hero .offer-hero-lead {
  font-size: clamp(0.92rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  max-width: 520px;
}

/* ================================================
   Content sections
   ================================================ */

.offer-subpage {
  background: #03132d;
  color: #fff;
  overflow-x: clip;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-item {
  padding: 3rem var(--container-pad);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

.pillar-item:last-child {
  border-right: none;
}

.pillar-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.pillar-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.pillar-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.pillar-accent {
  width: 50px;
  height: 4px;
  background-color: #ffc40e;
  margin-top: 2rem;
  opacity: 0.3;
}

.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 600px;
}

.content-image {
  background-color: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 3rem var(--container-pad);
}

.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #03132d;
  position: relative;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-text {
  padding: 4rem var(--container-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-subpage .content-text .offer-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  max-width: none;
}

.content-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
  line-height: 1.78;
  margin-bottom: 1.4rem;
  max-width: 620px;
}

.why-section {
  padding: 4rem var(--container-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.why-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 4rem;
  line-height: 1.2;
}

.why-title span {
  color: #ffc40e;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.why-item {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.why-item:hover {
  border-color: #ffc40e;
  background-color: rgba(255, 196, 14, 0.02);
}

.why-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.why-item strong {
  color: #ffffff;
  display: block;
  margin-bottom: 1rem;
}

.why-item p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.7;
}

.offer-subpage-cta-frame {
  width: 100%;
  padding: 44px var(--container-pad) 64px;
}

.offer-subpage-cta-inner {
  width: 100%;
}

.offer-subpage .cta.cta-offer-subpage {
  margin-top: 0;
  width: 100%;
  padding: 58px 56px;
}

.offer-subpage .cta.cta-offer-subpage .cta-btn-primary {
  color: #fff;
}

/* ================================================
   Responsive
   ================================================ */

@media (max-width: 1024px) {
  .offer-subpage .offer-hero .offer-heading {
    max-width: 80%;
  }

  .content-section {
    grid-template-columns: 1fr;
  }

  .content-image {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px;
  }

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

  .pillar-item {
    padding: 2.5rem 2rem;
  }

  .content-text {
    padding: 3rem 2rem;
  }

  .why-section {
    padding: 3.5rem 2rem;
  }
}

@media (max-width: 768px) {
  /* Hero */
  .offer-subpage .offer-hero {
    padding-top: 96px;
    padding-bottom: 52px;
    min-height: auto;
  }

  .offer-subpage .offer-hero .offer-hero-inner {
    gap: 0;
  }

  .offer-subpage .offer-hero .offer-kicker {
    font-size: 0.52rem;
    margin-bottom: 16px;
  }

  .offer-subpage .offer-hero .offer-heading {
    max-width: 100%;
    font-size: clamp(2.6rem, 12vw, 3.8rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    white-space: normal;
  }

  .offer-subpage .offer-hero .offer-heading-line {
    white-space: normal;
  }

  .offer-subpage .offer-hero .offer-heading-accent {
    font-size: clamp(1.2rem, 6.5vw, 2rem);
    padding-top: 0.18em;
  }

  .offer-subpage .offer-hero .offer-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 22px;
  }

  .offer-subpage .offer-hero .offer-hero-lead {
    font-size: 0.92rem;
    line-height: 1.62;
    max-width: 100%;
  }

  .offer-subpage .offer-hero .offer-btn {
    width: 100%;
    justify-content: center;
  }

  /* Pillars */
  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar-item {
    padding: 2rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .pillar-item:last-child {
    border-bottom: none;
  }

  .pillar-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .pillar-item p {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  .pillar-accent {
    margin-top: 1.5rem;
  }

  /* Content sections */
  .content-section {
    min-height: auto;
  }

  .content-text {
    padding: 2.5rem 1.25rem;
  }

  .offer-subpage .content-text .offer-heading {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 1rem;
    white-space: normal;
  }

  .offer-subpage .content-text .offer-heading-line,
  .offer-subpage .content-text .offer-heading-accent {
    white-space: normal;
  }

  .content-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }

  .content-image {
    padding: 1.25rem;
    min-height: 220px;
  }

  .image-frame {
    aspect-ratio: 4 / 3;
  }

  /* Why section */
  .why-section {
    padding: 3rem 1.25rem;
  }

  .why-title {
    font-size: clamp(1.75rem, 8vw, 2.75rem);
    margin-bottom: 2.5rem;
  }

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

  .why-item {
    padding: 1.5rem;
  }

  .why-item h3 {
    font-size: 1.1rem;
  }

  .why-item p {
    font-size: 0.9rem;
  }

  /* CTA */
  .offer-subpage-cta-frame {
    padding: 24px 1.25rem 42px;
  }

  .offer-subpage .cta.cta-offer-subpage {
    padding: 36px 20px;
  }

  .offer-subpage .cta.cta-offer-subpage .cta-actions {
    flex-direction: column;
  }

  .offer-subpage .cta.cta-offer-subpage .cta-btn {
    width: 100%;
    justify-content: center;
  }
}
