/* =========================================================
   BLOCK TYP
========================================================= */

.typ {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 78vh;
    min-height: 78dvh;

    padding: 96px 0;

    background: #f8f7f3;
}

/* =========================================================
   CONTAINER
========================================================= */

.typ__container {
    width: 100%;
    max-width: 1440px;

    margin: 0 auto;

    padding-right: 48px;
    padding-left: 48px;
}

.typ__content {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 720px;

    margin: 0 auto;

    text-align: center;
}

/* =========================================================
   ICONO CHECK
========================================================= */

.typ__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    border-radius: 50%;

    background: rgba(0, 119, 171, 0.10);
    color: #0077ab;
}

/* =========================================================
   TITLE
========================================================= */

.typ__title {
    max-width: 700px;

    margin: 32px 0 0;

    color: #111827;

    font-size: clamp(48px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.03;

    letter-spacing: -0.04em;

    text-wrap: balance;
}

/* =========================================================
   CLASSIC TEXT
========================================================= */

.typ__text {
    max-width: 600px;

    margin-top: 24px;

    color: rgba(17, 24, 39, 0.70);

    font-size: 18px;
    line-height: 1.7;
}

.typ__text p {
    margin: 0 0 16px;
}

.typ__text p:last-child {
    margin-bottom: 0;
}

.typ__text strong,
.typ__text b {
    color: #111827;
    font-weight: 700;
}

.typ__text a {
    color: #0077ab;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================================
   INFORMATION BOX
========================================================= */

.typ__notice {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    width: 100%;
    max-width: 600px;

    margin-top: 32px;

    padding: 20px 24px;

    border: 1px solid rgba(17, 24, 39, 0.15);
    border-radius: 6px;

    background: #f1f6f8;

    text-align: left;
}

.typ__notice-icon {
    flex: 0 0 auto;

    margin-top: 2px;

    color: #0077ab;
}

.typ__notice-text {
    color: rgba(17, 24, 39, 0.70);

    font-size: 14px;
    line-height: 1.7;
}

.typ__notice-text p {
    margin: 0 0 10px;
}

.typ__notice-text p:last-child {
    margin-bottom: 0;
}

.typ__notice-text strong,
.typ__notice-text b {
    color: #111827;
    font-weight: 700;
}

/* =========================================================
   BUTTON
========================================================= */

.typ__button-wrapper {
    margin-top: 40px;
}

.typ__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 15px 28px;

    border: 1px solid #0077ab;
    border-radius: 4px;

    background: #0077ab;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.typ__button:hover,
.typ__button:focus {
    border-color: #005f89;

    background: #005f89;
    color: #ffffff;

    text-decoration: none;
}

.typ__button-icon {
    flex: 0 0 auto;

    transition: transform 0.2s ease;
}

.typ__button:hover .typ__button-icon,
.typ__button:focus .typ__button-icon {
    transform: translateX(6px);
}

/* =========================================================
   ENTRANCE ANIMATION
========================================================= */

.typ__animate {
    opacity: 0;
    transform: translateY(24px);

    transition:
        opacity 0.7s ease-out,
        transform 0.7s ease-out;
}

.typ__animate--icon {
    transform: scale(0.9);

    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
}

.typ__animate--title {
    transition-delay: 0.15s;
}

.typ__animate--text {
    transition-delay: 0.30s;
}

.typ__animate--notice {
    transition-delay: 0.45s;
}

.typ__animate--button {
    transition-delay: 0.60s;
}

.typ.is-visible .typ__animate {
    opacity: 1;
    transform: translateY(0);
}

.typ.is-visible .typ__animate--icon {
    transform: scale(1);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .typ {
        min-height: 75vh;
        min-height: 75dvh;

        padding: 88px 0;
    }

    .typ__container {
        padding-right: 32px;
        padding-left: 32px;
    }

    .typ__title {
        font-size: 56px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .typ {
        min-height: 70vh;
        min-height: 70dvh;

        padding: 72px 0;
    }

    .typ__container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .typ__icon {
        width: 58px;
        height: 58px;
    }

    .typ__title {
        margin-top: 28px;

        font-size: 42px;
    }

    .typ__text {
        margin-top: 20px;

        font-size: 17px;
    }

    .typ__notice {
        margin-top: 28px;

        padding: 18px 20px;
    }

    .typ__button-wrapper {
        margin-top: 32px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .typ {
        min-height: auto;

        padding: 64px 0;
    }

    .typ__container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .typ__title {
        font-size: 36px;
    }

    .typ__text {
        font-size: 16px;
    }

    .typ__notice {
        gap: 10px;

        padding: 17px 18px;
    }

    .typ__button {
        width: 100%;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .typ__animate,
    .typ__button,
    .typ__button-icon {
        transition: none;
    }

    .typ__animate {
        opacity: 1;
        transform: none;
    }
}