/* --- Page offres & services --- */
.offers-page {
    padding-bottom: 2rem;
}

.offers-hero {
    padding: clamp(2.5rem, 7vw, 5rem) 0 2rem;
}

.offers-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: stretch;
}

.offers-kicker {
    margin: 0 0 0.85rem;
    color: #7ecfff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
}

.offers-hero-copy h1 {
    margin: 0 0 0.95rem;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.offers-hero-copy p {
    margin: 0;
    color: rgba(229, 236, 248, 0.86);
    max-width: 62ch;
}

.offers-hero-cta {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.offers-hero-panel {
    border: 1px solid rgba(132, 205, 255, 0.22);
    background: linear-gradient(160deg, rgba(17, 28, 44, 0.88), rgba(8, 13, 24, 0.92));
    border-radius: 1.1rem;
    padding: 1.15rem 1.05rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.offers-hero-panel h2 {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
}

.offers-hero-panel ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.offers-hero-panel li {
    position: relative;
    padding-left: 1.45rem;
}

.offers-hero-panel li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.02rem;
    color: #4ade80;
    font-weight: 800;
}

.offers-packs {
    padding: 0.75rem 0 1rem;
}

.offers-catalog {
    padding: 0.5rem 0 0.95rem;
}

.offers-catalog-intro {
    margin: -0.2rem 0 0.9rem;
    color: rgba(222, 234, 248, 0.83);
    line-height: 1.58;
    max-width: 78ch;
}

.offers-services-flow {
    display: grid;
    gap: 0.75rem;
}

.offers-service-line {
    border: 1px solid rgba(150, 208, 245, 0.2);
    border-radius: 1rem;
    padding: 0.9rem;
    background: linear-gradient(180deg, rgba(13, 20, 34, 0.9), rgba(8, 12, 22, 0.95));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
}

.offers-service-line--blue {
    border-left: 4px solid rgba(1, 138, 223, 0.95);
}

.offers-service-line--cyan {
    border-left: 4px solid rgba(34, 211, 238, 0.92);
}

.offers-service-line--green {
    border-left: 4px solid rgba(74, 222, 128, 0.95);
}

.offers-service-line--violet {
    border-left: 4px solid rgba(167, 139, 250, 0.95);
}

.offers-service-line--indigo {
    border-left: 4px solid rgba(129, 140, 248, 0.95);
}

.offers-service-line--rose {
    border-left: 4px solid rgba(244, 114, 182, 0.95);
}

.offers-service-line--orange {
    border-left: 4px solid rgba(251, 146, 60, 0.95);
}

.offers-service-line--red {
    border-left: 4px solid rgba(248, 113, 113, 0.95);
}

.offers-service-line--teal {
    border-left: 4px solid rgba(45, 212, 191, 0.95);
}

.offers-service-line--emerald {
    border-left: 4px solid rgba(52, 211, 153, 0.95);
}

.offers-service-line--slate {
    border-left: 4px solid rgba(148, 163, 184, 0.95);
}

.offers-service-line-kicker {
    margin: 0;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    color: rgba(172, 221, 252, 0.9);
}

.offers-service-line h3 {
    margin: 0.3rem 0 0.3rem;
    font-size: 1.04rem;
}

.offers-service-line-main p:last-child {
    margin: 0;
    color: rgba(228, 236, 248, 0.84);
    line-height: 1.56;
    font-size: 0.9rem;
}

.offers-service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.offers-service-pills span {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.56rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(236, 242, 251, 0.9);
    font-size: 0.8rem;
    line-height: 1.25;
}

.offers-pack-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.offers-packs--graphics-only {
    padding-top: 0.4rem;
}

.offers-packs--web {
    padding-top: 0.4rem;
}

.offers-packs--hybrid {
    padding-top: 0.4rem;
}

.offers-pack-grid--graphics .offers-pack-card {
    border-color: rgba(152, 214, 255, 0.28);
    background:
        radial-gradient(circle at top right, rgba(1, 138, 223, 0.16), transparent 48%),
        linear-gradient(180deg, rgba(16, 24, 40, 0.9), rgba(9, 14, 24, 0.95));
}

.offers-pack-grid--web .offers-pack-card {
    border-color: rgba(74, 222, 128, 0.24);
    background:
        radial-gradient(circle at top right, rgba(74, 222, 128, 0.14), transparent 44%),
        linear-gradient(180deg, rgba(16, 26, 36, 0.9), rgba(9, 14, 24, 0.95));
}

.offers-pack-grid--hybrid .offers-pack-card {
    border-color: rgba(167, 139, 250, 0.28);
    background:
        radial-gradient(circle at top right, rgba(167, 139, 250, 0.15), transparent 44%),
        linear-gradient(180deg, rgba(16, 26, 36, 0.9), rgba(9, 14, 24, 0.95));
}

.offers-pack-grid--web .offers-pack-badge {
    background: rgba(74, 222, 128, 0.2);
    color: #d7fbe6;
}

.offers-pack-card--hybrid .offers-pack-badge {
    background: rgba(167, 139, 250, 0.22);
    color: #efe8ff;
}

.offers-pack-card {
    position: relative;
    border: 1px solid rgba(150, 208, 245, 0.2);
    background: linear-gradient(180deg, rgba(14, 21, 36, 0.88), rgba(9, 14, 24, 0.92));
    border-radius: 1rem;
    padding: 1.05rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.offers-pack-card:hover {
    transform: translateY(-4px);
    border-color: rgba(101, 198, 255, 0.45);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.offers-pack-badge {
    margin: 0;
    display: inline-block;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(1, 138, 223, 0.22);
    color: #d3f0ff;
}

.offers-pack-card h3 {
    margin: 0.68rem 0 0.3rem;
}

.offers-pack-price {
    margin: 0 0 0.6rem;
    color: #7fd4ff;
    font-size: 1.08rem;
    font-weight: 700;
}

.offers-pack-card ul {
    margin: 0;
    padding-left: 1rem;
    color: rgba(230, 236, 248, 0.87);
    display: grid;
    gap: 0.45rem;
}

.quote-simulator {
    padding: 1rem 0 1.2rem;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.quote-form,
.quote-result-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.15rem;
    background: linear-gradient(170deg, rgba(11, 18, 31, 0.93), rgba(8, 12, 22, 0.95));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.quote-form {
    padding: 1rem;
    display: grid;
    gap: 0.78rem;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    min-width: 0;
}

.quote-form fieldset {
    margin: 0;
    border: 1px solid rgba(139, 202, 236, 0.16);
    border-radius: 0.9rem;
    padding: 0.75rem;
    display: grid;
    gap: 0.65rem;
    min-width: 0;
}

.quote-form legend {
    font-size: 0.88rem;
    font-weight: 700;
    color: #b4e7ff;
    padding: 0 0.35rem;
}

.quote-choice-grid,
.quote-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.quote-choice-grid label,
.quote-check-grid label {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.7rem;
    padding: 0.52rem 0.58rem;
    font-size: 0.88rem;
    display: flex;
    gap: 0.45rem;
    align-items: flex-start;
    min-width: 0;
    overflow-wrap: anywhere;
}

.quote-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.68rem;
}

.quote-field-grid label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: rgba(237, 244, 255, 0.9);
    min-width: 0;
}

.quote-label-line {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.quote-help-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.quote-help-tip {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(146, 217, 255, 0.55);
    background: rgba(1, 138, 223, 0.16);
    color: #d5f2ff;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    cursor: help;
    padding: 0;
}

.quote-help-bubble {
    position: absolute;
    z-index: 15;
    left: 50%;
    bottom: calc(100% + 0.45rem);
    transform: translateX(-50%);
    width: min(260px, 70vw);
    padding: 0.52rem 0.58rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(130, 212, 255, 0.5);
    background: rgba(8, 16, 29, 0.96);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
    color: #e6f6ff;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.quote-help-wrap:hover .quote-help-bubble,
.quote-help-wrap:focus-within .quote-help-bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.quote-help-tip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 138, 223, 0.2);
}

.quote-check-grid--graphics {
    margin-top: 0.25rem;
}

.quote-field-grid select,
.quote-field-grid input[type="range"] {
    width: 100%;
}

.quote-field-grid input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(1, 138, 223, 0.75), rgba(35, 164, 239, 0.75));
    outline: none;
}

.quote-field-grid input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(1, 138, 223, 0.75), rgba(35, 164, 239, 0.75));
}

.quote-field-grid input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #8edfff;
    background: #018adf;
    margin-top: -6px;
    box-shadow: 0 0 0 3px rgba(1, 138, 223, 0.2);
    cursor: pointer;
}

.quote-field-grid input[type="range"]::-moz-range-track {
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(1, 138, 223, 0.75), rgba(35, 164, 239, 0.75));
}

.quote-field-grid input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #8edfff;
    background: #018adf;
    box-shadow: 0 0 0 3px rgba(1, 138, 223, 0.2);
    cursor: pointer;
}

.quote-field-grid select {
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(12, 20, 34, 0.95);
    color: var(--white);
    padding: 0.56rem 0.6rem;
    min-width: 0;
}

.quote-help {
    font-size: 0.8rem;
    color: rgba(200, 220, 240, 0.84);
}

.quote-result-card {
    position: sticky;
    top: 84px;
    padding: 1rem;
    animation: quoteCardIn 0.7s ease;
    height: auto;
    min-height: 0;
    overflow: visible;
}

.quote-result-tag {
    margin: 0 0 0.2rem;
    color: #91ddff;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.quote-result-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.12rem;
}

.quote-total {
    margin: 0;
    font-size: clamp(1.6rem, 4.5vw, 2.45rem);
    font-weight: 800;
    line-height: 1;
    color: #8ee2ff;
}

.quote-range,
.quote-deadline,
.quote-disclaimer {
    margin: 0.5rem 0 0;
    color: rgba(214, 227, 245, 0.84);
    font-size: 0.86rem;
}

.quote-range {
    margin-top: 0.62rem;
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(111, 215, 255, 0.45);
    background: linear-gradient(90deg, rgba(1, 138, 223, 0.16), rgba(35, 164, 239, 0.08));
    color: #d7f3ff;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 18px rgba(1, 138, 223, 0.2);
}

.quote-breakdown {
    margin-top: 0.72rem;
    display: grid;
    gap: 0.35rem;
}

.quote-breakdown-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.86rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 0.3rem;
}

.quote-breakdown-row strong {
    color: #d5f2ff;
    font-weight: 700;
}

.quote-monthly {
    margin-top: 0.75rem;
    border: 1px solid rgba(122, 204, 255, 0.2);
    border-radius: 0.72rem;
    padding: 0.56rem 0.62rem;
    background: rgba(1, 138, 223, 0.08);
    font-size: 0.84rem;
    color: #caeeff;
}

.quote-cta-group {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.5rem;
}

@keyframes quoteCardIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    /* Fail-safe mobile: never keep reveal blocks hidden */
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .offers-service-line {
        grid-template-columns: 1fr;
        gap: 0.62rem;
    }

    .offers-pack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote-layout,
    .offers-hero-grid {
        grid-template-columns: 1fr;
    }

    .quote-result-card {
        position: static;
    }

    .quote-form,
    .quote-result-card {
        height: auto;
        min-height: 0;
        overflow: visible;
    }
}

@media (max-width: 720px) {
    .offers-service-line {
        padding: 0.8rem;
    }

    .quote-choice-grid,
    .quote-check-grid,
    .quote-field-grid,
    .offers-pack-grid {
        grid-template-columns: 1fr;
    }

    .quote-form,
    .quote-result-card,
    .offers-pack-card {
        padding: 0.85rem;
    }
}
