/**
 * Homepage closing section "Your All-in-One Travel Booking Platform"
 * (Views/Home/_AboutPlatform.cshtml). Plain CSS - about text with three
 * highlight points on the start side, a brand newsletter card on the end
 * side (stacked on phones). Logical properties keep it correct in RTL.
 */

.about {
    --about-red: #8B2225;
    --about-ink: #1F1A17;
    --about-muted: #5F5751;

    padding-block: 56px 64px;
    border-top: 1px solid #EFE7DF;
    background:
        radial-gradient(45% 60% at 0% 0%, rgba(227, 185, 95, 0.12), transparent 70%),
        #FFFFFF;
    color: var(--about-ink);
}

.about .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

.about-grid {
    display: grid;
    gap: 36px;
    align-items: center;
}

/* ---- About text --------------------------------------------------------- */

.about-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #FBEFE3;
    color: var(--about-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-chip .material-symbols-outlined {
    font-size: 17px;
}

.about-title {
    margin: 14px 0 12px;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.about-highlight {
    color: var(--about-red);
}

.about-text {
    margin: 0;
    color: var(--about-muted);
    font-size: 15.5px;
    line-height: 1.7;
}

.about-points {
    display: grid;
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--about-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

.about-points strong {
    color: var(--about-ink);
    font-weight: 700;
}

.about-point-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #FBEFE3;
    color: var(--about-red);
}

/* ---- Newsletter card ---------------------------------------------------- */

.about-news {
    position: relative;
    overflow: hidden;
    padding: 28px 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #A8323A 0%, #8B2225 55%, #5E1B33 100%);
    color: #FFFFFF;
    box-shadow: 0 28px 50px -30px rgba(94, 27, 51, 0.9);
    isolation: isolate;
}

/* Soft gold glow in the corner. */
.about-news::before {
    content: "";
    position: absolute;
    inset-block-start: -90px;
    inset-inline-end: -70px;
    z-index: -1;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: rgba(227, 185, 95, 0.35);
    filter: blur(40px);
}

.about-news-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    color: #F7DFA6;
}

.about-news-icon .material-symbols-outlined {
    font-size: 24px;
}

.about-news-title {
    margin: 16px 0 6px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.about-news-text {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14.5px;
    line-height: 1.6;
}

.about-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-field {
    position: relative;
    flex: 1 1 220px;
    min-width: 0;
}

.about-field-icon {
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    color: #8A817A;
    transform: translateY(-50%);
    pointer-events: none;
}

.about-input {
    width: 100%;
    height: 52px;
    padding-inline: 44px 14px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--about-ink);
    font: inherit;
    font-size: 15px;
    outline: none;
}

.about-input::placeholder {
    color: #8A817A;
}

.about-input:focus {
    border-color: #E3B95F;
}

.about-input[aria-invalid="true"] {
    border-color: #F7B3A8;
}

.about-submit {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #F7DFA6, #E3B95F);
    color: #2A1A12;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px -12px rgba(227, 185, 95, 0.9);
    transition: filter 0.2s ease;
}

.about-submit:hover {
    filter: brightness(1.05);
}

.about-submit-icon {
    transition: transform 0.25s ease;
}

.about-submit:hover .about-submit-icon {
    transform: translateX(3px);
}

[dir="rtl"] .about-submit-icon {
    transform: scaleX(-1);
}

[dir="rtl"] .about-submit:hover .about-submit-icon {
    transform: scaleX(-1) translateX(3px);
}

.about-submit:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 2px;
}

.about-news-msg {
    min-height: 1.4em;
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 600;
}

.about-news-msg.is-error {
    color: #FFD2CB;
}

.about-news-msg.is-success {
    color: #F7DFA6;
}

.about-news-note {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12.5px;
}

.about-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* 900px = the site's compact breakpoint. */
@media (min-width: 900px) {
    .about {
        padding-block: 72px 80px;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 56px;
    }

    .about-title {
        font-size: 36px;
    }

    .about-news {
        padding: 36px 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-submit,
    .about-submit-icon {
        transition: none;
    }
}
