/* =========================================================
   PAGE INDEX OFFERS
   Services We Offer
   4 rotating image cards
   Responsive, SEO-friendly, flat embedded look
   ========================================================= */

   :root {
    --offers-bg-top: #f3f8fc;
    --offers-bg-bottom: #eef5fa;
    --offers-surface: rgba(255, 255, 255, 0.84);
    --offers-surface-strong: rgba(255, 255, 255, 0.96);
    --offers-border: rgba(15, 23, 42, 0.08);
    --offers-border-strong: rgba(15, 23, 42, 0.12);
    --offers-text: #102132;
    --offers-text-soft: #5d6b7a;
    --offers-heading: #0f1f33;
    --offers-accent: #0d8fd2;
    --offers-accent-2: #0f5fb8;
    --offers-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.06);
    --offers-shadow-md: 0 18px 44px rgba(15, 23, 42, 0.09);
    --offers-radius-lg: clamp(20px, 2vw, 28px);
    --offers-radius-md: 18px;
    --offers-max: 1320px;
  }
  
  .page-index-offers {
    position: relative;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
    background:
      radial-gradient(circle at 10% 12%, rgba(13, 143, 210, 0.07), transparent 20%),
      radial-gradient(circle at 88% 85%, rgba(15, 95, 184, 0.05), transparent 22%),
      linear-gradient(180deg, var(--offers-bg-top) 0%, var(--offers-bg-bottom) 100%);
    overflow: hidden;
  }
  
  .page-index-offers::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
    opacity: 0.9;
  }
  
  .page-index-offers-wrap {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, var(--offers-max));
    margin-inline: auto;
  }
  
  .page-index-offers-head {
    max-width: 900px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
  }
  
  .page-index-offers-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 0 1rem;
    color: #0f7ca8;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  .page-index-offers-eyebrow::before,
  .page-index-offers-eyebrow::after {
    content: "";
    width: 32px;
    height: 1px;
    background: rgba(15, 124, 168, 0.28);
  }
  
  .page-index-offers-heading {
    margin: 0;
    color: var(--offers-heading);
    font-size: clamp(2rem, 2.4vw + 1rem, 3.9rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 850;
    text-wrap: balance;
  }
  
  .page-index-offers-lead {
    margin: 1rem auto 0;
    max-width: 760px;
    color: var(--offers-text-soft);
    font-size: clamp(1rem, 0.25vw + 0.96rem, 1.08rem);
    line-height: 1.8;
    text-wrap: pretty;
  }
  
  .page-index-offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 1.8vw, 1.35rem);
    align-items: stretch;
  }
  
  .page-index-offers-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    border: 1px solid var(--offers-border);
    border-radius: var(--offers-radius-lg);
    overflow: hidden;
    background:
      linear-gradient(180deg, var(--offers-surface-strong) 0%, var(--offers-surface) 100%);
    box-shadow: var(--offers-shadow-sm);
    transition:
      transform 0.28s ease,
      box-shadow 0.28s ease,
      border-color 0.28s ease;
    isolation: isolate;
  }
  
  .page-index-offers-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0));
    z-index: 0;
  }
  
  .page-index-offers-card:hover,
  .page-index-offers-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--offers-shadow-md);
    border-color: rgba(13, 143, 210, 0.18);
  }
  
  .page-index-offers-visual {
    position: relative;
    aspect-ratio: 1 / 0.92;
    background: #dfeaf2;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }
  
  .page-index-offers-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.045);
    transition:
      opacity 1.05s ease,
      transform 6s ease;
    will-change: opacity, transform;
  }
  
  .page-index-offers-image.is-active {
    opacity: 1;
    transform: scale(1);
  }
  
  .page-index-offers-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: clamp(1.1rem, 1.5vw, 1.3rem);
  }
  
  .page-index-offers-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 0.85rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(13, 143, 210, 0.08);
    border: 1px solid rgba(13, 143, 210, 0.12);
    color: var(--offers-accent-2);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .page-index-offers-body h3 {
    margin: 0 0 0.65rem;
    color: var(--offers-text);
    font-size: clamp(1.12rem, 0.55vw + 1rem, 1.42rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    font-weight: 800;
    text-wrap: balance;
  }
  
  .page-index-offers-body p {
    margin: 0;
    color: var(--offers-text-soft);
    font-size: 0.98rem;
    line-height: 1.72;
    text-wrap: pretty;
  }
  
  .page-index-offers-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 1rem;
    color: #173b5b;
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 700;
  }
  
  .page-index-offers-more::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    flex: 0 0 8px;
    background: linear-gradient(135deg, var(--offers-accent), var(--offers-accent-2));
    box-shadow: 0 0 0 6px rgba(13, 143, 210, 0.10);
  }
  
  @media (max-width: 1180px) {
    .page-index-offers-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .page-index-offers-visual {
      aspect-ratio: 1 / 0.78;
    }
  }
  
  @media (max-width: 767px) {
    .page-index-offers {
      padding: 3.5rem 0;
    }
  
    .page-index-offers-wrap {
      width: min(100% - 1.25rem, var(--offers-max));
    }
  
    .page-index-offers-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    .page-index-offers-visual {
      aspect-ratio: 1 / 0.72;
    }
  
    .page-index-offers-body {
      padding: 1rem;
    }
  
    .page-index-offers-body p {
      font-size: 0.96rem;
    }
  }
  
  @media (max-width: 480px) {
    .page-index-offers-eyebrow {
      font-size: 0.74rem;
      letter-spacing: 0.1em;
    }
  
    .page-index-offers-eyebrow::before,
    .page-index-offers-eyebrow::after {
      width: 22px;
    }
  
    .page-index-offers-visual {
      aspect-ratio: 1 / 0.78;
    }
  
    .page-index-offers-tag {
      font-size: 0.7rem;
    }
  }
  
  @media (min-width: 1680px) {
    .page-index-offers-wrap {
      width: min(100% - 3rem, 1480px);
    }
  
    .page-index-offers-grid {
      gap: 1.5rem;
    }
  
    .page-index-offers-body {
      padding: 1.35rem;
    }
  
    .page-index-offers-body p {
      font-size: 1rem;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .page-index-offers-card,
    .page-index-offers-image {
      transition: none !important;
    }
  
    .page-index-offers-card:hover,
    .page-index-offers-card:focus-within {
      transform: none;
    }
  }



  .section-after-offers {
    position: relative;
    margin-top: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.94) 0%, #ffffff 100%);
  }
  
  .section-after-offers::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background:
      linear-gradient(
        90deg,
        rgba(15,23,42,0) 0%,
        rgba(15,23,42,0.08) 50%,
        rgba(15,23,42,0) 100%
      );
  }