
/* =========================================================
   MRF TYRE DEALERSHIP WEBSITE
   Complete Responsive Stylesheet
   File: assets/css/style.css
========================================================= */

/* =========================================================
   1. GLOBAL STYLES
========================================================= */

:root {
    --primary: #ed1c24;
    --primary-dark: #c9161d;
    --accent: #ff4165;
    --heading: #292929;
    --text: #555555;
    --muted: #777777;
    --light-bg: #f5f6f8;
    --white: #ffffff;
    --dark-bg: #252525;
    --footer-bg: #1a1a1a;
    --container-width: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

section {
    scroll-margin-top: 85px;
}

/* =========================================================
   2. TOP EMAIL BAR
========================================================= */

.top-strip {
    min-height: 25px;
    background: #000;
    display: flex;
    align-items: center;
}

.top-strip-inner {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 4px 15px;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.top-strip a {
    color: var(--white);
    transition: opacity 0.2s ease;
    font-size: 14px;
}

.top-strip a:hover {
    opacity: 0.8;
}

/* =========================================================
   3. HEADER AND NAVIGATION
========================================================= */

.site-header {
    position: relative;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
    width: 100%;
    max-width: var(--container-width);
    min-height: 76px;
    margin: 0 auto;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    display: block;
    width: 240px;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
}

.main-navigation a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 60px;
    padding: 0 0 2px;
    border-bottom: 2px solid transparent;
    color: #444444;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.menu-toggle {
    display: none;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: var(--primary);
    transition: background 0.2s ease;
}

/* =========================================================
   4. HERO SECTION AND BACKGROUND
========================================================= */

.hero-section {
    position: relative;
    isolation: isolate;
    min-height: 0;
    padding: 48px 24px;
    background-color: #343434;

    /* style.css is in assets/css/.
       Images are in assets/images/. */
    background-image: url("../images/dealership-banner.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(15, 15, 15, 0.78) 0%,
        rgba(15, 15, 15, 0.61) 48%,
        rgba(15, 15, 15, 0.34) 100%
    );
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.8fr);
    align-items: center;
    gap: 45px;
}

/* Hero text */

.hero-content {
    min-width: 0;
    padding: 25px 0;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 13px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hero-content h1 {
    max-width: 610px;
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.13;
}

.hero-content h1 span {
    display: block;
    color: #ff5966;
}

.hero-content > p {
    max-width: 520px;
    margin: 0 0 26px;
    color: #f2f2f2;
    font-size: 15px;
    line-height: 1.85;
}

/* Hero buttons */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.btn {
    min-height: 43px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 21px;
    border: 1px solid transparent;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: #222222;
}

/* =========================================================
   5. APPLICATION FORM CARD
========================================================= */

.application-card {
    width: 100%;
    max-width: 460px;
    justify-self: end;
    padding: 27px;
    background: var(--white);
    border-top: 4px solid var(--primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.form-heading {
    margin-bottom: 20px;
}

.form-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.form-heading h2 {
    margin: 8px 0;
    color: var(--heading);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.25;
}

.form-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

/* Form fields */

.form-field {
    margin-bottom: 12px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    color: #444444;
    font-size: 11px;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    outline: none;
    background: #f7f7f7;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999999;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.08);
}

.form-field select {
    cursor: pointer;
}

.form-field textarea {
    min-height: 90px;
    resize: vertical;
}

/* Submit button */

.form-submit {
    width: 100%;
    min-height: 44px;
    margin-top: 5px;
    padding: 11px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form-submit:hover {
    background: var(--primary-dark);
}

.form-submit span {
    font-size: 18px;
}

.form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-note {
    margin: 11px 0 0;
    color: #888888;
    font-size: 10px;
    line-height: 1.7;
}

.form-message {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

.form-message:empty {
    display: none;
}

/* =========================================================
   6. ABOUT SECTION
========================================================= */

.about-section {
    padding: 75px 20px 80px;
    background: var(--light-bg);
}

.about-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.about-top {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 55px;
    margin-bottom: 70px;
}

/* About image */

.about-image {
    position: relative;
    min-width: 0;
    min-height: 370px;
    background: #e5e5e5;
}

.about-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 370px;
    object-fit: cover;
    object-position: center;
}

.image-accent {
    position: absolute;
    z-index: 0;
    right: -14px;
    bottom: -14px;
    width: 75%;
    height: 75%;
    border: 4px solid var(--primary);
    pointer-events: none;
}

/* About text */

.about-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.about-content h2,
.dealership-heading h2 {
    margin: 0 0 20px;
    color: var(--heading);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.2vw, 43px);
    font-weight: 500;
    line-height: 1.25;
}

.about-content h2 span {
    display: block;
    color: var(--primary);
}

.about-content > p {
    margin: 0 0 16px;
    color: #6c6c6c;
    font-size: 13px;
    line-height: 1.9;
}

.about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
    padding: 13px 18px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    transition: background 0.2s ease;
}

.about-button:hover {
    background: var(--primary-dark);
}

.about-button span {
    font-size: 17px;
}

/* =========================================================
   7. DEALERSHIP INFORMATION CARDS
========================================================= */

.dealership-information {
    padding: 42px;
    background: var(--white);
    border-top: 3px solid var(--primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.dealership-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.dealership-heading h2 {
    margin-bottom: 12px;
    font-size: clamp(27px, 3vw, 36px);
}

.dealership-heading > p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.information-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.information-card {
    min-width: 0;
    padding: 25px 22px;
    background: #f7f7f7;
    border-bottom: 2px solid transparent;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.information-card:hover {
    border-bottom-color: var(--primary);
    transform: translateY(-3px);
}

.information-number {
    margin-bottom: 15px;
    color: var(--primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.information-card h3 {
    margin: 0 0 12px;
    color: #303030;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.information-card p {
    margin: 0;
    color: #737373;
    font-size: 12px;
    line-height: 1.9;
}

/* Important information notice */

.dealership-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 28px;
    padding: 17px;
    background: #fff6f6;
    border-left: 3px solid var(--primary);
}

.note-mark {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}

.dealership-note p {
    margin: 0;
    color: #656565;
    font-size: 11px;
    line-height: 1.8;
}

/* =========================================================
   8. CALL-TO-ACTION BANNER
========================================================= */

.cta-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 75px 20px;
    background-color: #8f1821;

    /* Correct path relative to assets/css/style.css */
    background-image: url("../images/dealership-banner.jpg");
    background-position: center 55%;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        110deg,
        rgba(180, 20, 35, 0.90),
        rgba(110, 10, 22, 0.84)
    );
}

.cta-content {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    color: var(--white);
}

.cta-label {
    display: inline-block;
    margin-bottom: 15px;
    color: #ffe1e4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.cta-content h2 {
    margin: 0 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 500;
    line-height: 1.25;
}

.cta-content > p {
    max-width: 620px;
    margin: 0 auto 25px;
    color: #fff1f2;
    font-size: 13px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cta-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.cta-btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.cta-btn-primary:hover {
    background: var(--primary-dark);
}

.cta-btn-light {
    background: var(--white);
    border-color: var(--white);
    color: #333333;
}

.cta-btn-light:hover {
    background: #eeeeee;
}

/* =========================================================
   9. DISCLAIMER
========================================================= */

.disclaimer-section {
    padding: 35px 20px;
    background: var(--white);
}

.footer-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.disclaimer-section h2 {
    margin: 0 0 12px;
    color: #333333;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}

.disclaimer-section p {
    margin: 0;
    color: #686868;
    font-size: 11px;
    line-height: 1.9;
}

/* =========================================================
   10. FOOTER
========================================================= */

.site-footer {
    background: var(--dark-bg);
    color: #bcbcbc;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.8fr)
        minmax(0, 1.1fr)
        minmax(0, 1fr);
    gap: 35px;
    padding: 52px 0 45px;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.footer-column p {
    margin: 0 0 14px;
    color: #aaaaaa;
    font-size: 11px;
    line-height: 1.9;
}

.footer-read-more,
.footer-contact-link {
    color: #ff4055;
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-read-more:hover,
.footer-contact-link:hover {
    color: #ff7887;
}

/* Footer quick links */

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: #bcbcbc;
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ff4055;
}

/* Footer enquiry button */

.footer-subscribe-btn {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    padding: 0 15px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: background 0.2s ease;
}

.footer-subscribe-btn:hover {
    background: var(--primary-dark);
}

/* =========================================================
   11. COPYRIGHT BAR
========================================================= */

.footer-bottom {
    background: var(--footer-bg);
    border-top: 1px solid #343434;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-bottom-inner p {
    margin: 0;
    color: #999999;
    font-size: 10px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    color: #bcbcbc;
    font-size: 10px;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #ff4055;
}

/* =========================================================
   12. TABLET RESPONSIVE STYLES
========================================================= */

@media (max-width: 1000px) {
    .header-inner {
        gap: 20px;
    }

    .site-logo img {
        width: 170px;
    }

    .main-navigation {
        gap: 23px;
    }

    .hero-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(310px, 0.9fr);
        gap: 28px;
    }

    .hero-content h1 {
        font-size: clamp(36px, 4.5vw, 46px);
    }

    .application-card {
        padding: 23px;
    }

    .about-top {
        gap: 35px;
    }

    .dealership-information {
        padding: 32px;
    }

    .information-grid {
        gap: 16px;
    }

    .information-card {
        padding: 22px 18px;
    }

    .footer-grid {
        gap: 25px;
    }
}

/* =========================================================
   13. MOBILE NAVIGATION
========================================================= */

@media (max-width: 767px) {
    .top-strip-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-inner {
        min-height: 66px;
        padding: 7px 16px;
    }

    .site-logo img {
        width: 160px;
        max-height: 50px;
    }

    .menu-toggle {
        display: block;
        flex-shrink: 0;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 10px 20px 15px;
        background: var(--white);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
    }

    .main-navigation.show {
        display: flex;
    }

    .main-navigation a {
        display: flex;
        min-height: 44px;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #eeeeee;
        font-size: 13px;
    }

    .main-navigation a:hover,
    .main-navigation a.active {
        border-bottom-color: #eeeeee;
        color: var(--primary);
    }

    .main-navigation a:last-child {
        border-bottom: 0;
    }

    .main-navigation a.active::after {
        display: none;
    }
}

/* =========================================================
   14. HERO TABLET AND MOBILE
========================================================= */

@media (max-width: 900px) {
    .hero-section {
        padding: 40px 20px;
    }

    .hero-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(290px, 0.9fr);
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .application-card {
        padding: 22px;
    }
}

@media (max-width: 680px) {
    .hero-section {
        padding: 35px 16px;
        background-position: 58% center;
    }

    .hero-overlay {
        background: rgba(15, 15, 15, 0.72);
    }

    .hero-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .hero-content {
        padding: 10px 0;
    }

    .hero-tag {
        margin-bottom: 15px;
    }

    .hero-content h1 {
        font-size: clamp(34px, 8vw, 44px);
    }

    .hero-content > p {
        font-size: 14px;
        line-height: 1.8;
    }

    .application-card {
        width: 100%;
        max-width: 480px;
        justify-self: center;
        padding: 23px 19px;
    }

    .form-heading h2 {
        font-size: 25px;
    }
}

/* =========================================================
   15. ABOUT SECTION RESPONSIVE STYLES
========================================================= */

@media (max-width: 800px) {
    .about-section {
        padding: 55px 18px;
    }

    .about-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
        margin-bottom: 45px;
    }

    .about-image {
        min-height: 0;
    }

    .about-image img {
        height: 330px;
    }

    .dealership-information {
        padding: 28px;
    }

    .information-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 42px 16px 48px;
    }

    .about-image img {
        height: 250px;
    }

    .image-accent {
        right: -7px;
        bottom: -7px;
        border-width: 3px;
    }

    .about-content h2 {
        font-size: 31px;
    }

    .about-content > p {
        font-size: 13px;
    }

    .dealership-information {
        padding: 22px 17px;
    }

    .dealership-heading h2 {
        font-size: 28px;
    }

    .information-card {
        padding: 20px;
    }

    .dealership-note {
        padding: 13px;
        gap: 10px;
    }
}

/* =========================================================
   16. CTA, DISCLAIMER AND FOOTER RESPONSIVE STYLES
========================================================= */

@media (max-width: 850px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
        padding: 40px 20px;
    }

    .footer-bottom-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 520px) {
    .cta-section {
        padding: 52px 18px;
    }

    .cta-content h2 {
        font-size: 31px;
    }

    .cta-content > p {
        font-size: 12px;
    }

    .cta-buttons {
        gap: 10px;
    }

    .cta-btn {
        flex: 1 1 auto;
        padding: 0 14px;
    }

    .disclaimer-section {
        padding: 28px 18px;
    }

    .disclaimer-section h2 {
        font-size: 23px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 35px 18px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 18px;
    }

    .legal-links {
        gap: 16px;
    }
}

/* =========================================================
   17. REDUCED MOTION ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================
   NEW MRF INTRODUCTION SECTION
========================================= */

.mrf-introduction-section {
    padding: 75px 24px;
    background: #f0f1f5;
}

.mrf-introduction-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 55px;
}

/* Left image */

.mrf-introduction-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 30px;
    background: #ed1c24;
    overflow: hidden;
}

.mrf-introduction-image::before {
    content: "";
    position: absolute;
    width: 88%;
    aspect-ratio: 1;
    max-height: 100%;
    border-radius: 50%;
    background: #ed1c24;
}

.mrf-introduction-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 75%;
    max-width: 440px;
    max-height: 360px;
    object-fit: contain;
}

/* Right content */

.mrf-introduction-content {
    min-width: 0;
    padding: 10px 0;
}

.mrf-introduction-label {
    display: inline-block;
    margin-bottom: 15px;
    color: #ed1c24;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.mrf-introduction-content h2 {
    margin: 0 0 24px;
    color: #292929;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.15;
}

.mrf-introduction-content > p {
    margin: 0 0 18px;
    color: #777;
    font-size: 14px;
    line-height: 1.9;
}

.mrf-introduction-content h3 {
    margin: 25px 0 12px;
    color: #353535;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 500;
    line-height: 1.4;
}

/* Highlight at the bottom */

.mrf-introduction-highlight {
    display: flex;
    align-items: stretch;
    gap: 15px;
    margin-top: 25px;
    padding: 15px 18px;
    background: #fff;
}

.mrf-highlight-line {
    flex: 0 0 3px;
    background: #ed1c24;
}

.mrf-introduction-highlight p {
    margin: 0;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
}

/* Tablet */

@media (max-width: 900px) {
    .mrf-introduction-section {
        padding: 55px 20px;
    }

    .mrf-introduction-container {
        gap: 32px;
    }

    .mrf-introduction-image {
        min-height: 340px;
        padding: 22px;
    }

    .mrf-introduction-image img {
        width: 82%;
        max-height: 290px;
    }

    .mrf-introduction-content h2 {
        font-size: 36px;
    }

    .mrf-introduction-content > p {
        font-size: 13px;
    }
}

/* Mobile */

@media (max-width: 680px) {
    .mrf-introduction-section {
        padding: 40px 16px;
    }

    .mrf-introduction-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .mrf-introduction-image {
        min-height: 0;
        aspect-ratio: 1 / 0.82;
        padding: 20px;
    }

    .mrf-introduction-image img {
        width: 75%;
        max-height: 300px;
    }

    .mrf-introduction-content h2 {
        font-size: 34px;
        margin-bottom: 18px;
    }

    .mrf-introduction-content h3 {
        font-size: 23px;
    }

    .mrf-introduction-content > p {
        font-size: 13px;
        line-height: 1.85;
    }

    .mrf-introduction-highlight {
        margin-top: 20px;
        padding: 13px;
    }
}

/* Existing form message displayed as a popup */
#formMessage {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    width: calc(100% - 40px);
    max-width: 420px;
    box-sizing: border-box;
    padding: 30px 25px;
    background: #ffffff;
    border-radius: 10px;
    border-top: 4px solid #15803d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
}
