﻿/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* HERO */
.thanks-hero {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 455px;
    background-image: url("/assets/images/gracias-h.png?width=1920&height=455");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* OVERLAY OSCURO */
.thanks-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* CONTENIDO */
.thanks-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 1200px;
    width: 100%;
    min-width: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

/* SUBTÍTULO */
.thanks-subtitle {
    display: block;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.thanks-title-wrap {
    max-width: 100%;
    margin: 0 auto;
}

/* TÍTULO PRINCIPAL - permite salto de línea en móvil */
.thanks-title {
    font-size: clamp(32px, 5vw, 84px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.thanks-text-wrap {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

/* TEXTO */
.thanks-text {
    font-size: 21px;
    line-height: 1.5;
    color: #f2f0e7;
    word-wrap: break-word;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .thanks-hero {
        height: 360px;
    }

    .thanks-content {
        padding: 0 16px;
    }

    .thanks-title {
        font-size: 28px;
    }

    .thanks-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .thanks-content {
        padding: 0 12px;
    }

    .thanks-title {
        font-size: 24px;
    }

    .thanks-subtitle {
        font-size: 16px;
    }

    .thanks-text {
        font-size: 16px;
    }
}

/* Footer en páginas gracias: asegurar que no desborde en móvil */
.form-page .mitsubishi-footer .container {
    max-width: 100%;
}

.form-page .mitsubishi-footer .footer-hours li {
    flex-wrap: wrap;
}

.form-page .mitsubishi-footer .footer-hours .time {
    word-break: break-word;
}
