/* Landing /oferta — scoped campaign styles (does not alter Home tokens).
   Header público: templates/header/main.html.twig + header.css + header.js (sin duplicar). */
.oferta {
    --oferta-navy: #1a3a6e;
    --oferta-navy-mid: #274F65;
    --oferta-paper: #F6F4EF;
    --oferta-gold: #C99A45;
    --oferta-ink: #12252F;
    --oferta-ink-soft: #5B6B72;
    --oferta-white: #ffffff;
    --oferta-max: 72rem;
    --oferta-narrow: 36rem;

    color: var(--oferta-ink);
    background: var(--oferta-paper);
    font-family: var(--body-font-family, Inter, sans-serif);
    min-height: 100vh;
}

/* Compensación del navbar fixed (misma lógica que .hero en Home) */
.oferta-hero {
    background:
        radial-gradient(ellipse 70% 50% at 15% -10%, rgba(201, 154, 69, 0.12), transparent 50%),
        linear-gradient(165deg, #153058 0%, var(--oferta-navy) 42%, var(--oferta-navy-mid) 100%);
    color: var(--oferta-white);
    padding: 110px 1.25rem 3rem;
}

.oferta-hero__inner {
    max-width: 38rem;
    margin: 0 auto;
    text-align: center;
}

.oferta-hero__eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--oferta-gold);
}

.oferta-hero__title {
    margin: 0;
    font-family: var(--heading-font-family, Inter, sans-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.oferta-hero__title-line {
    display: block;
    font-size: clamp(1.85rem, 4.8vw, 2.65rem);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.oferta-hero__title-price {
    display: block;
    margin-top: 0.35rem;
    font-size: clamp(2.4rem, 6.2vw, 3.4rem);
    color: var(--oferta-gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.oferta-hero__vat {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.oferta-hero__subtitle {
    margin: 1rem 0 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.oferta-hero__slots {
    display: inline-block;
    margin: 1.15rem 0 0;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(201, 154, 69, 0.55);
    color: var(--oferta-gold);
    font-size: 0.9rem;
    font-weight: 600;
}

.oferta-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.6rem;
}

.oferta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.3rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.oferta-btn--primary {
    background: var(--oferta-gold);
    color: var(--oferta-ink);
    border-color: var(--oferta-gold);
}

.oferta-btn--primary:hover {
    background: #d4ab55;
    color: var(--oferta-ink);
}

.oferta-btn--ghost {
    background: transparent;
    color: var(--oferta-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.oferta-btn--ghost:hover {
    border-color: var(--oferta-white);
    color: var(--oferta-white);
}

.oferta-btn--block {
    width: 100%;
    border: none;
    margin-top: 0.35rem;
}

.oferta-section {
    max-width: var(--oferta-max);
    margin: 0 auto;
    padding: 3.25rem 1.25rem;
}

.oferta-section--narrow {
    max-width: calc(var(--oferta-narrow) + 2.5rem);
}

.oferta-section__title {
    margin: 0 0 1.4rem;
    font-family: var(--heading-font-family, Inter, sans-serif);
    font-size: clamp(1.55rem, 3vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--oferta-ink);
    text-align: center;
}

.oferta-price {
    background: var(--oferta-white);
    border-bottom: 1px solid rgba(18, 37, 47, 0.08);
}

.oferta-price__grid {
    display: grid;
    gap: 1rem;
    max-width: 34rem;
    margin: 0 auto 1.25rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .oferta-price__grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

.oferta-price__ref,
.oferta-price__launch {
    text-align: center;
    padding: 1.15rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 7.5rem;
}

.oferta-price__launch {
    background: var(--oferta-paper);
    border: 1px solid rgba(201, 154, 69, 0.4);
}

.oferta-price__label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--oferta-ink-soft);
}

.oferta-price__amount {
    display: block;
    font-family: var(--heading-font-family, Inter, sans-serif);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.oferta-price__amount--ref {
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    color: var(--oferta-ink-soft);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.oferta-price__amount--launch {
    font-size: clamp(2.35rem, 5.5vw, 3rem);
    color: var(--oferta-navy);
}

.oferta-price__amount--launch small {
    font-size: 0.38em;
    font-weight: 600;
    color: var(--oferta-ink-soft);
    vertical-align: middle;
}

.oferta-price__copy,
.oferta-price__note {
    max-width: 34rem;
    margin: 0 auto;
    text-align: center;
    line-height: 1.55;
}

.oferta-price__copy {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--oferta-ink);
}

.oferta-price__note {
    margin-top: 0.65rem;
    font-size: 0.95rem;
    color: var(--oferta-ink-soft);
}

.oferta-steps {
    background: var(--oferta-paper);
}

.oferta-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
    max-width: 40rem;
    margin-inline: auto;
}

.oferta-steps__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
}

.oferta-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: var(--oferta-navy);
    color: var(--oferta-white);
    font-weight: 700;
    font-size: 0.95rem;
}

.oferta-steps__heading {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--oferta-ink);
}

.oferta-steps__text {
    margin: 0;
    color: var(--oferta-ink-soft);
    line-height: 1.55;
}

.oferta-social {
    background: var(--oferta-white);
}

.oferta-social__intro {
    margin: 0 0 1.5rem;
    color: var(--oferta-ink-soft);
    line-height: 1.55;
    font-size: 0.98rem;
    max-width: 42rem;
}

.oferta-social__note {
    margin: 0 0 0.85rem;
    color: var(--oferta-ink-soft);
    line-height: 1.45;
    font-size: 0.875rem;
    font-style: italic;
}

.oferta-social__grid {
    display: grid;
    gap: 1.15rem;
}

@media (min-width: 768px) {
    .oferta-social__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.oferta-social__card {
    border: 1px solid rgba(18, 37, 47, 0.1);
    background: var(--oferta-paper);
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Fondo navy como portfolio: logos blancos (SVG) y marcas en color siguen legibles */
.oferta-social__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7.25rem;
    min-height: 7.25rem;
    padding: 1.1rem 1.35rem;
    background: linear-gradient(145deg, #1b2640 0%, #1e4a82 45%, #2466b6 100%);
    border: none;
}

.oferta-social__logo {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-height: 3.5rem;
    max-width: 72%;
    object-fit: contain;
}

.oferta-social__body {
    padding: 1.1rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.oferta-social__sector {
    display: inline-block;
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--oferta-navy-mid);
}

.oferta-social__title {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--oferta-ink);
}

.oferta-social__text {
    margin: 0 0 0.85rem;
    color: var(--oferta-ink-soft);
    line-height: 1.45;
    font-size: 0.95rem;
    flex: 1;
}

.oferta-social__link {
    color: var(--oferta-navy);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.oferta-social__link:hover {
    color: var(--oferta-gold);
}

.oferta-includes {
    background: var(--oferta-paper);
}

.oferta-includes__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .oferta-includes__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .oferta-includes__grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.oferta-includes__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem;
    background: var(--oferta-white);
    border: 1px solid rgba(18, 37, 47, 0.08);
    font-weight: 600;
    color: var(--oferta-ink);
    font-size: 0.95rem;
}

.oferta-includes__icon {
    flex-shrink: 0;
    width: 1.4rem;
    height: 1.4rem;
    color: var(--oferta-navy);
}

.oferta-includes__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.oferta-includes__note {
    margin: 1.35rem 0 0;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--oferta-ink-soft);
}

.oferta-includes__area {
    margin: 1.25rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(18, 37, 47, 0.08);
    max-width: 40rem;
    text-align: center;
    color: var(--oferta-ink-soft);
    line-height: 1.55;
    font-size: 0.95rem;
}

.oferta-form-section {
    background: var(--oferta-navy);
    color: var(--oferta-white);
}

.oferta-form-section .oferta-section__title {
    color: var(--oferta-white);
}

.oferta-form-section__lead {
    margin: -0.5rem 0 1.35rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

/* Panel claro al estilo contact-wrapper (contraste de inputs) */
.oferta-form-panel {
    background: var(--oferta-white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    padding: 1.5rem 1.35rem 1.6rem;
}

.oferta-form {
    display: grid;
    gap: 1rem;
}

.oferta-form__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .oferta-form__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.oferta-form__field {
    display: grid;
    gap: 0.35rem;
}

.oferta-form__field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--oferta-navy);
}

.oferta-form__field input {
    width: 100%;
    padding: 0.85rem 1.05rem;
    border: 1px solid #d5dde8;
    background: #ffffff;
    color: var(--oferta-ink);
    font-size: 0.95rem;
}

.oferta-form__field input::placeholder {
    color: #9ca3af;
}

.oferta-form__field input:focus {
    outline: none;
    border-color: var(--oferta-gold);
    box-shadow: 0 0 0 4px rgba(201, 154, 69, 0.22);
    background: #ffffff;
}

.oferta-alert {
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.oferta-alert--danger {
    background: rgba(180, 60, 60, 0.25);
    border: 1px solid rgba(255, 160, 160, 0.45);
    color: #ffe8e8;
}

.oferta-success {
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 154, 69, 0.45);
}

.oferta-success__title {
    margin: 0 0 0.6rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--oferta-gold);
}

.oferta-success__text {
    margin: 0;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

.oferta-whatsapp {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
}

.oferta-whatsapp__lead {
    margin: 0 0 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.oferta-whatsapp__link {
    gap: 0.45rem;
}

.oferta-whatsapp__icon {
    display: inline-flex;
    flex-shrink: 0;
}

.oferta-whatsapp__icon svg {
    width: 1.1em;
    height: 1.1em;
}

.oferta-footer {
    background: linear-gradient(180deg, #1f455e 0%, #142d56 100%);
    padding: 2.4rem 1.25rem 1.75rem;
    color: var(--oferta-white);
}

.oferta-footer__inner {
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
}

.oferta-footer__brand {
    display: flex;
    text-decoration: none;
}

.oferta-footer__logo {
    height: 40px;
    width: auto;
    max-width: min(220px, 70vw);
    object-fit: contain;
    display: block;
}

.oferta-footer__tagline {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    max-width: 24rem;
}

.oferta-footer__divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    margin: 0.1rem 0;
}

.oferta-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.35rem;
}

.oferta-footer__legal a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
}

.oferta-footer__legal a:hover,
.oferta-footer__legal a:focus-visible {
    color: rgba(255, 255, 255, 0.92);
}

.oferta-footer__copy {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.58);
    letter-spacing: 0.02em;
}

@media (max-width: 575.98px) {
    .oferta-hero {
        padding: 110px 1.1rem 2.4rem;
    }

    .oferta-hero__actions {
        flex-direction: column;
    }

    .oferta-btn {
        width: 100%;
    }

    .oferta-section {
        padding: 2.6rem 1.1rem;
    }

    .oferta-form-panel {
        padding: 1.25rem 1.05rem 1.35rem;
    }

    .oferta-form__grid {
        grid-template-columns: 1fr;
    }
}
