/* =========================================================
   Royal Garage — About page
   File: css/about.css
   ========================================================= */

   .about-page {
    background:
        radial-gradient(circle at top right, rgba(194, 24, 24, 0.08), transparent 30%),
        linear-gradient(180deg, #f8f8f8 0%, #ffffff 24%, #f7f7f7 100%);
    color: #171717;
    min-height: 100vh;
}

.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}


/* HERO */

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 24px 88px;
    background:
        linear-gradient(135deg, rgba(12, 12, 12, 0.96), rgba(26, 26, 26, 0.93)),
        url("../images/royal-garage-logo.png") center / 420px auto no-repeat;
    color: #ffffff;
}

.about-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -160px;
    right: -80px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.2);
    filter: blur(10px);
}

.about-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #d51e1e, transparent);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 1050px);
    margin: 0 auto;
}

.about-label,
.about-kicker {
    margin: 0 0 12px;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #d51e1e;
}

.about-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.about-hero-text {
    max-width: 760px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.75;
}

.about-slogan {
    margin: 30px 0 0;
    padding-left: 16px;
    border-left: 3px solid #d51e1e;
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    font-weight: 800;
    line-height: 1.45;
    color: #ffffff;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}


/* BUTTONS */

.about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid #d5d5d5;
    border-radius: 12px;
    background: #ffffff;
    color: #151515;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.about-button:hover {
    transform: translateY(-2px);
    border-color: #b8b8b8;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}

.about-button-primary {
    border-color: #d51e1e;
    background: #d51e1e;
    color: #ffffff;
}

.about-button-primary:hover {
    border-color: #b81717;
    background: #b81717;
}

.about-hero .about-button:not(.about-button-primary) {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(6px);
}

.about-hero .about-button:not(.about-button-primary):hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.13);
}


/* GENERAL SECTIONS */

.about-section {
    width: min(calc(100% - 32px), 1120px);
    margin: 0 auto;
    padding: 74px 0;
}

.about-section + .about-section {
    border-top: 1px solid #e7e7e7;
}

.about-section-heading {
    max-width: 820px;
    margin-bottom: 28px;
}

.about-section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #111111;
}

.about-lead {
    max-width: 850px;
    margin: 0;
    color: #5d5d5d;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-intro {
    text-align: center;
}

.about-intro .about-section-heading,
.about-intro .about-lead {
    margin-left: auto;
    margin-right: auto;
}


/* CAPABILITY CARDS */

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.about-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 28px;
    border: 1px solid #e2e2e2;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.045);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: #d0d0d0;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.about-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #f8eaea;
    color: #d51e1e;
    font-size: 1.25rem;
}

.about-card h3 {
    margin: 0 0 10px;
    font-size: 1.28rem;
    color: #161616;
}

.about-card p {
    margin: 0;
    color: #626262;
    line-height: 1.7;
}

.about-card > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: #c91d1d;
    font-weight: 800;
    text-decoration: none;
}

.about-card > a:hover {
    text-decoration: underline;
}


/* FOR CAR OWNERS */

.about-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-feature {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
}

.about-feature > i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #171717;
    color: #ffffff;
}

.about-feature h3 {
    margin: 1px 0 7px;
    font-size: 1.05rem;
}

.about-feature p {
    margin: 0;
    color: #666666;
    line-height: 1.62;
    font-size: 0.94rem;
}


/* BUSINESS */

.about-for-business {
    position: relative;
}

.about-business-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.about-business-points span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    background: #ffffff;
    color: #333333;
    font-size: 0.92rem;
    font-weight: 700;
}

.about-business-points i {
    color: #d51e1e;
}


/* HISTORY */

.about-history {
    width: min(calc(100% - 32px), 1120px);
}

.about-history-content {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 40px;
    border-radius: 24px;
    background: #171717;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.about-history-content::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -100px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(213, 30, 30, 0.2);
}

.about-history-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: #d51e1e;
    font-size: 1.8rem;
}

.about-history h2 {
    max-width: 750px;
    margin: 0;
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.about-history-content > div:last-child > p:last-child {
    max-width: 800px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.8;
}


/* MISSION */

.about-mission {
    text-align: center;
}

.about-mission .about-section-heading,
.about-mission .about-lead {
    margin-left: auto;
    margin-right: auto;
}


/* CONTACTS / FEEDBACK */

.about-contacts,
.about-feedback {
    text-align: center;
}

.about-contacts .about-section-heading,
.about-contacts .about-lead,
.about-feedback .about-section-heading,
.about-feedback .about-lead {
    margin-left: auto;
    margin-right: auto;
}

.about-contacts .about-button,
.about-feedback .about-button {
    margin-top: 26px;
}

.about-feedback {
    padding-bottom: 90px;
}


/* ANCHOR OFFSET */

#contacts,
#feedback {
    scroll-margin-top: 110px;
}


/* TABLET */

@media (max-width: 900px) {

    .about-hero {
        padding: 74px 20px 70px;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-feature-list {
        grid-template-columns: 1fr;
    }

    .about-feature {
        align-items: flex-start;
    }

}


/* MOBILE */

@media (max-width: 680px) {

    .about-page {
        background: #ffffff;
    }

    .about-hero {
        padding: 58px 18px 56px;
    }

    .about-hero::before {
        width: 250px;
        height: 250px;
        top: -120px;
        right: -120px;
    }

    .about-hero h1 {
        font-size: clamp(2.1rem, 11vw, 3.3rem);
    }

    .about-hero-text {
        margin-top: 20px;
        line-height: 1.65;
    }

    .about-slogan {
        margin-top: 24px;
    }

    .about-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .about-button {
        width: 100%;
    }

    .about-section {
        width: min(calc(100% - 28px), 1120px);
        padding: 50px 0;
    }

    .about-section-heading {
        margin-bottom: 22px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-card {
        min-height: auto;
        padding: 22px;
        border-radius: 16px;
    }

    .about-feature {
        padding: 20px;
        border-radius: 16px;
    }

    .about-business-points {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-business-points span {
        border-radius: 12px;
    }

    .about-history-content {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 22px;
        border-radius: 20px;
    }

    .about-history-icon {
        width: 58px;
        height: 58px;
        border-radius: 17px;
        font-size: 1.4rem;
    }

    .about-feedback {
        padding-bottom: 68px;
    }

}


/* VERY SMALL SCREENS */

@media (max-width: 390px) {

    .about-hero {
        padding-left: 15px;
        padding-right: 15px;
    }

    .about-section {
        width: calc(100% - 24px);
    }

    .about-card,
    .about-feature {
        padding: 18px;
    }

}
/* =========================
   CONTACT FORM FIX
   ========================= */

   #contactWebsite {
    display: none !important;
}

.about-contact-form-section {
    padding-top: 20px;
}

.about-contact-card {
    display: grid !important;
    grid-template-columns: 1fr 1.35fr !important;
    gap: 40px !important;

    padding: 40px !important;

    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 24px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.06);
}

.about-contact-copy {
    display: block !important;
}

.about-contact-copy h2 {
    margin: 0 0 18px;
}

.about-contact-note {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;

    margin-top: 25px;
    padding: 15px;

    background: #f7f7f7;
    border-radius: 14px;
}

.about-contact-note i {
    color: #d51e1e;
    margin-top: 3px;
}


/* FORM */

#aboutContactForm {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;

    width: 100% !important;
}

.about-form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;

    width: 100% !important;
}

.about-form-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;

    width: 100% !important;

    font-size: 15px;
    font-weight: 700;
}

.about-form-field span {
    display: block !important;
}

.about-form-field input,
.about-form-field select,
.about-form-field textarea {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    box-sizing: border-box !important;

    margin: 0 !important;

    border: 1px solid #d8d8d8 !important;
    border-radius: 12px !important;

    background: #ffffff !important;
    color: #171717 !important;

    font: inherit !important;
    font-weight: 400 !important;

    outline: none !important;
}

.about-form-field input,
.about-form-field select {
    height: 52px !important;
    padding: 0 15px !important;
}

.about-form-field textarea {
    min-height: 170px !important;
    padding: 15px !important;

    resize: vertical;
    line-height: 1.5;
}

.about-form-field input:focus,
.about-form-field select:focus,
.about-form-field textarea:focus {
    border-color: #d51e1e !important;

    box-shadow:
        0 0 0 3px rgba(213, 30, 30, 0.10) !important;
}


/* BUTTON */

#contactSubmitButton {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;
    min-height: 54px;

    margin-top: 4px;

    border: 0 !important;
    border-radius: 14px !important;

    cursor: pointer;
}


/* STATUS */

#contactFormStatus {
    width: 100%;
    min-height: 22px;

    margin: 0;

    font-size: 14px;
    font-weight: 700;
}

#contactFormStatus.is-success {
    color: #218739;
}

#contactFormStatus.is-error {
    color: #d51e1e;
}


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

@media (max-width: 680px) {

    .about-contact-card {
        display: block !important;

        padding: 24px 20px !important;

        border-radius: 20px;
    }

    .about-contact-copy {
        margin-bottom: 30px;
    }

    .about-form-row {
        grid-template-columns: 1fr !important;
    }

    #aboutContactForm {
        gap: 16px !important;
    }

    .about-form-field input,
    .about-form-field select {
        height: 54px !important;
    }

    .about-form-field textarea {
        min-height: 180px !important;
    }

    #contactSubmitButton {
        width: 100% !important;
        min-height: 58px;
    }
}