/* =========================================================
   MEEA - MAIN STYLESHEET
   Mineral Enterprises of East Africa
   ========================================================= */

:root {
    --navy: #0b1f33;
    --navy-light: #163653;
    --gold: #c49a5a;
    --gold-light: #d8b77d;
    --white: #ffffff;
    --stone: #f2f0eb;
    --stone-dark: #e5e0d7;
    --charcoal: #252a2e;
    --gray: #66717a;
    --gray-light: #edf0f2;
    --border: #dfe3e6;

    --container: 1180px;
    --header-height: 82px;

    --shadow-sm: 0 5px 20px rgba(11, 31, 51, 0.07);
    --shadow-md: 0 15px 40px rgba(11, 31, 51, 0.10);
    --shadow-lg: 0 25px 60px rgba(11, 31, 51, 0.16);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--gold);
    color: var(--white);
}


/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-light {
    background: var(--stone);
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading p {
    margin-top: 16px;
    color: var(--gray);
}

.section-dark .section-heading p {
    color: rgba(255, 255, 255, 0.72);
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-label.light {
    color: var(--gold-light);
}

h1,
h2,
h3 {
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    line-height: 1.2;
}

h2 {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}

.section-dark h2 {
    color: var(--white);
}

p {
    color: var(--gray);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: #ad8248;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--navy-light);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
    transition:
        color var(--transition),
        gap var(--transition);
}

.text-link:hover {
    color: var(--gold);
    gap: 13px;
}

.text-link span {
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateX(3px);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid rgba(11, 31, 51, 0.08);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.logo-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--navy);
    color: var(--gold-light);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    color: var(--navy);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
}

.logo-text small {
    max-width: 210px;
    margin-top: 4px;
    color: var(--gray);
    font-size: 8px;
    font-weight: 600;
    line-height: 1.2;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-navigation > a {
    position: relative;
    color: var(--charcoal);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color var(--transition);
}

.main-navigation > a:not(.nav-quote-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--gold);
    transition: right var(--transition);
}

.main-navigation > a:hover,
.main-navigation > a.active {
    color: var(--gold);
}

.main-navigation > a:hover::after,
.main-navigation > a.active::after {
    right: 0;
}

.main-navigation .nav-quote-btn {
    min-height: 43px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: var(--white);
}

.main-navigation .nav-quote-btn:hover {
    background: var(--gold);
    color: var(--white);
}

.main-navigation .nav-quote-btn::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: var(--navy);
    transition:
        transform var(--transition),
        opacity var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            rgba(11, 31, 51, 0.97) 0%,
            rgba(11, 31, 51, 0.86) 42%,
            rgba(11, 31, 51, 0.55) 100%
        ),
        url("../images/hero-sand.jpg") center / cover no-repeat,
        var(--navy);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(196, 154, 90, 0.20),
            transparent 35%
        );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 780px;
    padding: 80px 0;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(43px, 6vw, 76px);
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-content h1 span {
    color: var(--gold-light);
}

.hero-content p {
    max-width: 650px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}


/* =========================================================
   ABOUT
========================================================= */

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
}

.section-image {
    min-height: 500px;
}

.image-placeholder {
    position: relative;
    width: 100%;
    min-height: 500px;

    display: flex;
    align-items: flex-end;

    padding: 35px;
    overflow: hidden;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            to top,
            rgba(11, 31, 51, 0.75),
            rgba(11, 31, 51, 0.05)
        ),
        url("../images/about-sand.jpg") center / cover no-repeat,
        linear-gradient(135deg, #c49a5a, #f2f0eb);

    box-shadow: var(--shadow-md);
}

.image-placeholder span {
    color: var(--white);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.section-content h2 {
    margin-bottom: 20px;
}

.section-content p + p {
    margin-top: 15px;
}

.section-content .text-link {
    margin-top: 28px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.product-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;

    min-height: 300px;

    display: flex;
    align-items: flex-end;

    padding: 28px;

    overflow: hidden;

    background-position: center;
    background-size: cover;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(11, 31, 51, 0.76),
            rgba(11, 31, 51, 0.05)
        );
}

.product-image span {
    position: relative;
    z-index: 2;

    color: var(--white);

    font-family: "Manrope", Arial, sans-serif;
    font-size: 23px;
    font-weight: 800;
}

.construction-sand {
    background:
        url("../images/construction-sand.jpg") center / cover no-repeat,
        linear-gradient(135deg, #c49a5a, #e2c28d);
}

.glass-sand {
    background:
        url("../images/high-purity-sand.jpg") center / cover no-repeat,
        linear-gradient(135deg, #d8d4ca, #ffffff);
}

.product-card-content {
    padding: 31px;
}

.product-number {
    display: block;
    margin-bottom: 8px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.product-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 23px;
}

.product-card p {
    min-height: 80px;
    font-size: 14px;
    line-height: 1.75;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 22px;

    color: var(--navy);

    font-size: 14px;
    font-weight: 800;
}

.card-link:hover {
    color: var(--gold);
}

.card-link span {
    transition: transform var(--transition);
}

.card-link:hover span {
    transform: translateX(4px);
}

.section-action {
    margin-top: 45px;
    text-align: center;
}


/* =========================================================
   INDUSTRIES
========================================================= */

.industry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.industry-card {
    padding: 38px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 50%;

    background: var(--stone);
    color: var(--gold);

    font-size: 12px;
    font-weight: 800;
}

.industry-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 25px;
}

.industry-card p {
    margin-bottom: 22px;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-layout {
    gap: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;

    padding: 25px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.045);
}

.feature-icon {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(196, 154, 90, 0.15);
    color: var(--gold-light);

    font-size: 13px;
    font-weight: 800;
}

.feature-item h3 {
    margin-bottom: 5px;
    color: var(--white);
    font-size: 16px;
}

.feature-item p {
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   QUALITY
========================================================= */

.quality-box {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.5fr);

    align-items: stretch;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background: var(--stone);
}

.quality-content {
    padding: 60px;
}

.quality-content h2 {
    margin-bottom: 20px;
}

.quality-content p + p {
    margin-top: 13px;
}

.quality-stat {
    min-height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 45px;

    background: var(--navy);
    color: var(--white);
}

.quality-stat span {
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.quality-stat strong {
    margin-top: 10px;

    color: var(--white);

    font-family: "Manrope", Arial, sans-serif;
    font-size: 42px;
    line-height: 1;
}

.quality-stat small {
    max-width: 180px;
    margin-top: 18px;

    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    position: relative;
    overflow: hidden;

    padding: 100px 0;

    background:
        linear-gradient(
            110deg,
            rgba(11, 31, 51, 0.98),
            rgba(11, 31, 51, 0.88)
        ),
        url("../images/cta-sand.jpg") center / cover no-repeat;
}

.cta-section::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -150px;
    top: -200px;

    border: 1px solid rgba(196, 154, 90, 0.25);
    border-radius: 50%;
}

.cta-section::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -80px;
    top: -125px;

    border: 1px solid rgba(196, 154, 90, 0.18);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;

    max-width: 750px;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(34px, 4vw, 52px);
}

.cta-content p {
    max-width: 650px;
    margin-top: 18px;

    color: rgba(255, 255, 255, 0.72);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;

    margin-top: 30px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 70px 0 0;

    background: #081725;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;

    gap: 50px;

    padding-bottom: 55px;
}

.footer-brand {
    max-width: 340px;
}

.footer-logo .logo-text strong {
    color: var(--white);
}

.footer-logo .logo-text small {
    color: rgba(255, 255, 255, 0.52);
}

.footer-brand p {
    margin-top: 20px;

    color: rgba(255, 255, 255, 0.60);
    font-size: 14px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-column h3 {
    margin-bottom: 9px;
    color: var(--white);
    font-size: 15px;
}

.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, 0.60);
    font-size: 13px;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .main-navigation {
        gap: 16px;
    }

    .main-navigation > a {
        font-size: 12px;
    }

    .two-column {
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 900px) {

    :root {
        --header-height: 72px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;

        top: var(--header-height);
        left: 15px;
        right: 15px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 12px;

        border: 1px solid var(--border);
        border-radius: var(--radius-md);

        background: var(--white);

        box-shadow: var(--shadow-lg);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .main-navigation.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-navigation > a {
        padding: 13px 15px;
        font-size: 14px;
    }

    .main-navigation > a:not(.nav-quote-btn)::after {
        display: none;
    }

    .main-navigation .nav-quote-btn {
        margin-top: 7px;
        justify-content: center;
    }

    .hero-section {
        min-height: 650px;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .section-image {
        min-height: 400px;
    }

    .image-placeholder {
        min-height: 400px;
    }

    .quality-box {
        grid-template-columns: 1fr;
    }

    .quality-stat {
        min-height: 220px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(100% - 30px, var(--container));
    }

    .section {
        padding: 75px 0;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: clamp(39px, 11vw, 58px);
        letter-spacing: -1.5px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
    }

    .product-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .quality-content {
        padding: 40px 30px;
    }

    .quality-stat {
        padding: 40px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .logo-text small {
        display: none;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
    }

    .hero-section {
        min-height: 620px;
    }

    .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 1.8px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .product-image {
        min-height: 250px;
    }

    .product-card-content,
    .industry-card {
        padding: 25px;
    }

    .feature-item {
        padding: 20px;
    }

    .cta-section {
        padding: 75px 0;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(196, 154, 90, 0.55);
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   MEEA ADMIN DASHBOARD
   =========================================================
   
   The styles below are scoped specifically to the admin
   dashboard and will not alter the public website.
   
========================================================= */


/* =========================================================
   ADMIN HEADER
========================================================= */

.admin-header {
    position: relative;
    z-index: 100;
    padding: 0;
    background:
        linear-gradient(
            135deg,
            #081725 0%,
            var(--navy) 55%,
            #163653 100%
        );
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(11, 31, 51, 0.14);
}

.admin-header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    text-decoration: none;
}

.admin-brand::before {
    content: "M";
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--gold);
    color: var(--white);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
}

.admin-brand strong {
    display: block;
    color: var(--white);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
}

.admin-brand span {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    line-height: 1.4;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-user-name {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.80);
    font-size: 13px;
    font-weight: 600;
}

.admin-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(196, 154, 90, 0.65);
    border-radius: 8px;
    background: transparent;
    color: var(--gold-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.admin-logout:hover {
    transform: translateY(-1px);
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}


/* =========================================================
   ADMIN PAGE
========================================================= */

.admin-dashboard {
    min-height: calc(100vh - 82px);
    padding: 55px 0 75px;
    background:
        linear-gradient(
            180deg,
            #f7f8f9 0%,
            #f1f3f4 100%
        );
}

.admin-welcome {
    margin-bottom: 32px;
}

.admin-welcome .section-label {
    margin-bottom: 9px;
    font-size: 10px;
    letter-spacing: 2px;
}

.admin-welcome h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.8px;
}

.admin-welcome p {
    max-width: 700px;
    margin-top: 10px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   ADMIN STATISTICS
========================================================= */

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    margin-bottom: 30px;
}

.admin-stat-card {
    position: relative;
    min-height: 145px;
    padding: 23px 24px;
    overflow: hidden;
    border: 1px solid rgba(11, 31, 51, 0.07);
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 6px 24px rgba(11, 31, 51, 0.055);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.admin-stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gold);
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(196, 154, 90, 0.25);
    box-shadow: 0 14px 34px rgba(11, 31, 51, 0.09);
}

.admin-stat-label {
    color: #7b858c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    line-height: 1.4;
    text-transform: uppercase;
}

.admin-stat-number {
    margin-top: 13px;
    color: var(--navy);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}


/* =========================================================
   ADMIN PANELS
========================================================= */

.admin-panel {
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid rgba(11, 31, 51, 0.07);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 6px 25px rgba(11, 31, 51, 0.055);
}

.admin-panel-header {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 25px;
    border-bottom: 1px solid #edf0f2;
    background: var(--white);
}

.admin-panel-header h2 {
    margin: 0;
    color: var(--navy);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.admin-panel-header a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 7px;
    color: var(--navy);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition:
        background var(--transition),
        color var(--transition);
}

.admin-panel-header a:hover {
    background: var(--stone);
    color: var(--gold);
}


/* =========================================================
   MATERIAL STATISTICS
========================================================= */

.admin-material-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 22px 25px 25px;
}

.admin-material-card {
    position: relative;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #e7eaec;
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8f9fa
        );
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.admin-material-card:hover {
    transform: translateY(-2px);
    border-color: rgba(196, 154, 90, 0.30);
    box-shadow: var(--shadow-sm);
}

.admin-material-card::after {
    content: "";
    position: absolute;
    right: -25px;
    bottom: -35px;
    width: 105px;
    height: 105px;
    border: 1px solid rgba(196, 154, 90, 0.12);
    border-radius: 50%;
}

.admin-material-card span {
    display: block;
    position: relative;
    z-index: 2;
    color: var(--gray);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.admin-material-card strong {
    display: block;
    position: relative;
    z-index: 2;
    margin-top: 7px;
    color: var(--navy);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}


/* =========================================================
   ADMIN TABLE
========================================================= */

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #edf0f2;
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    background: #f8f9fa;
    color: #7b858c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table td {
    color: var(--navy);
    font-size: 13px;
}

.admin-table tbody tr {
    transition: background var(--transition);
}

.admin-table tbody tr:hover {
    background: #fafbfc;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table td strong {
    color: var(--navy);
    font-size: 13px;
    font-weight: 750;
}

.admin-table td small {
    display: inline-block;
    margin-top: 2px;
    color: #89939a;
    font-size: 11px;
    line-height: 1.4;
}


/* =========================================================
   ADMIN STATUS BADGES
========================================================= */

.admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 0 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.25px;
    text-transform: capitalize;
    white-space: nowrap;
}

.admin-status-new {
    background: #fff5d9;
    color: #8a6200;
}

.admin-status-contacted {
    background: #e9f2ff;
    color: #24518f;
}

.admin-status-quoted {
    background: #eee9ff;
    color: #6244a8;
}

.admin-status-completed {
    background: #e4f7ed;
    color: #237047;
}

.admin-status-cancelled {
    background: #fbe8e8;
    color: #9b3030;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.admin-empty {
    padding: 60px 25px;
    text-align: center;
}

.admin-empty::before {
    content: "—";
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 28px;
    font-weight: 800;
}

.admin-empty p {
    color: var(--gray);
    font-size: 13px;
}


/* =========================================================
   ADMIN FOOTER
========================================================= */

.admin-dashboard + .site-footer {
    padding-top: 0;
}


/* =========================================================
   ADMIN RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1000px) {

    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard {
        padding-top: 45px;
    }
}


/* =========================================================
   ADMIN RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 700px) {

    .admin-header-inner {
        min-height: 72px;
        align-items: center;
    }

    .admin-brand {
        gap: 10px;
    }

    .admin-brand::before {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .admin-brand strong {
        font-size: 14px;
    }

    .admin-brand span {
        font-size: 9px;
    }

    .admin-user {
        gap: 8px;
    }

    .admin-user-name {
        display: none;
    }

    .admin-logout {
        min-height: 36px;
        padding: 0 12px;
        font-size: 11px;
    }

    .admin-dashboard {
        min-height: calc(100vh - 72px);
        padding: 35px 0 55px;
    }

    .admin-welcome {
        margin-bottom: 25px;
    }

    .admin-welcome h1 {
        font-size: 30px;
    }

    .admin-welcome p {
        font-size: 13px;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 22px;
    }

    .admin-stat-card {
        min-height: 125px;
        padding: 18px;
    }

    .admin-stat-number {
        font-size: 31px;
    }

    .admin-panel {
        margin-bottom: 20px;
        border-radius: 13px;
    }

    .admin-panel-header {
        min-height: 65px;
        padding: 0 18px;
    }

    .admin-panel-header h2 {
        font-size: 16px;
    }

    .admin-panel-header a {
        padding: 0 7px;
        font-size: 10px;
    }

    .admin-material-grid {
        grid-template-columns: 1fr;
        padding: 16px 18px 18px;
        gap: 12px;
    }

    .admin-material-card {
        padding: 19px;
    }

    .admin-material-card strong {
        font-size: 29px;
    }

    .admin-table th,
    .admin-table td {
        padding: 13px 15px;
    }
}


/* =========================================================
   ADMIN RESPONSIVE - SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .admin-brand span {
        display: none;
    }

    .admin-brand strong {
        font-size: 13px;
    }

    .admin-stat-grid {
        grid-template-columns: 1fr;
    }

    .admin-stat-card {
        min-height: 115px;
    }

    .admin-welcome h1 {
        font-size: 27px;
    }

    .admin-panel-header {
        gap: 8px;
    }

    .admin-panel-header h2 {
        font-size: 15px;
    }

    .admin-panel-header a {
        font-size: 9px;
    }
}


/* =========================================================
   ADMIN ACCESSIBILITY
========================================================= */

.admin-logout:focus-visible,
.admin-panel-header a:focus-visible {
    outline: 3px solid rgba(196, 154, 90, 0.45);
    outline-offset: 3px;
}

/* =========================================================
   MEEA - REQUEST A QUOTE
   =========================================================
   Quote page layout, form controls and enquiry sidebar.
========================================================= */


/* =========================================================
   QUOTE PAGE LAYOUT
========================================================= */

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
    align-items: start;
    gap: 55px;
}


/* =========================================================
   QUOTE FORM WRAPPER
========================================================= */

.quote-form-wrapper {
    min-width: 0;
}

.quote-form-wrapper .section-heading {
    margin-bottom: 35px;
}

.quote-form-wrapper .section-heading h2 {
    margin: 0;
    color: var(--navy);
}

.quote-form-wrapper .section-heading p {
    max-width: 680px;
}


/* =========================================================
   FORM CARD
========================================================= */

.quote-form {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}


/* =========================================================
   FORM SECTIONS
========================================================= */

.form-section {
    padding: 0;
}

.form-section + .form-section {
    margin-top: 38px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.form-section h3 {
    margin-bottom: 24px;
    color: var(--navy);
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}


/* =========================================================
   FORM ROW
========================================================= */

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {
    min-width: 0;
    margin-bottom: 22px;
}

.form-row .form-group {
    margin-bottom: 22px;
}


/* =========================================================
   FORM LABELS
========================================================= */

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.form-group label span {
    color: var(--gold);
    font-weight: 800;
}


/* =========================================================
   FORM INPUTS
========================================================= */

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    display: block;

    border: 1px solid #d7dde1;
    border-radius: var(--radius-sm);

    background: #ffffff;
    color: var(--charcoal);

    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 14px;

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.quote-form input,
.quote-form select {
    min-height: 50px;
    padding: 0 15px;
}

.quote-form textarea {
    min-height: 145px;
    padding: 13px 15px;
    resize: vertical;
    line-height: 1.6;
}


/* =========================================================
   FORM PLACEHOLDERS
========================================================= */

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #9aa3aa;
    opacity: 1;
}


/* =========================================================
   FORM FOCUS
========================================================= */

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(196, 154, 90, 0.12);
}


/* =========================================================
   SELECT
========================================================= */

.quote-form select {
    appearance: auto;
    cursor: pointer;
}


/* =========================================================
   FORM SUBMIT
========================================================= */

.form-submit {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;

    margin-top: 10px;
    padding-top: 10px;
}

.form-submit .btn {
    min-width: 175px;
}

.form-submit p {
    max-width: 650px;
    color: #7b858c;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   QUOTE SIDEBAR
========================================================= */

.quote-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 30px;
}


/* =========================================================
   QUOTE INFORMATION CARD
========================================================= */

.quote-info-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.quote-info-card .section-label {
    margin-bottom: 10px;
}

.quote-info-card h3 {
    margin-bottom: 27px;
    color: var(--navy);
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
}


/* =========================================================
   PROCESS STEPS
========================================================= */

.process-step {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 15px;
    align-items: start;

    padding: 19px 0;

    border-top: 1px solid var(--border);
}

.process-step:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.process-step:last-of-type {
    padding-bottom: 0;
}

.process-number {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--stone);
    color: var(--gold);

    font-family: "Manrope", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.process-step strong {
    display: block;
    margin-bottom: 4px;

    color: var(--navy);

    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.process-step p {
    color: var(--gray);
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   QUOTE CONTACT CARD
========================================================= */

.quote-contact-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            145deg,
            var(--navy),
            #163653
        );
    box-shadow: var(--shadow-md);
}

.quote-contact-card .section-label {
    color: var(--gold-light);
}

.quote-contact-card h3 {
    margin-bottom: 12px;
    color: var(--white);
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.quote-contact-card p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.7;
}

.quote-contact-card .text-link {
    color: var(--gold-light);
}

.quote-contact-card .text-link:hover {
    color: var(--white);
}


/* =========================================================
   QUOTE PAGE RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .quote-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .quote-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}


@media (max-width: 700px) {

    .quote-layout {
        gap: 30px;
    }

    .quote-form {
        padding: 28px 22px;
        border-radius: var(--radius-md);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-section + .form-section {
        margin-top: 30px;
        padding-top: 30px;
    }

    .form-section h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .quote-sidebar {
        grid-template-columns: 1fr;
    }

    .quote-info-card,
    .quote-contact-card {
        padding: 26px 22px;
    }

    .quote-form input,
    .quote-form select {
        min-height: 48px;
    }

    .quote-form textarea {
        min-height: 130px;
    }

    .form-submit .btn {
        width: 100%;
    }

    .form-submit p {
        font-size: 11px;
    }
}


@media (max-width: 480px) {

    .quote-form {
        padding: 24px 18px;
    }

    .quote-info-card,
    .quote-contact-card {
        padding: 24px 18px;
    }

    .process-step {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
    }

    .process-number {
        width: 38px;
        height: 38px;
        font-size: 10px;
    }
}


/* =========================================================
   MEEA ADMIN LOGIN
========================================================= */

.admin-login-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 80px 0 90px;
    background:
        linear-gradient(
            180deg,
            #f7f8f9 0%,
            #f1f3f4 100%
        );
}

.admin-login-page > .container {
    width: min(100% - 40px, 520px);
}


/* =========================================================
   ADMIN LOGIN HEADING
========================================================= */

.admin-login-page .section-heading {
    margin-bottom: 32px;
}

.admin-login-page .section-heading h1 {
    margin: 0;
    color: var(--navy);
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: clamp(34px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.admin-login-page .section-heading p {
    margin-top: 13px;
    color: var(--gray);
    font-size: 14px;
}


/* =========================================================
   ADMIN LOGIN CARD
========================================================= */

.admin-login-card {
    width: 100%;
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}


/* =========================================================
   ADMIN LOGIN FORM
========================================================= */

.admin-login-card form {
    display: flex;
    flex-direction: column;
}

.admin-login-card .form-group {
    margin-bottom: 20px;
}

.admin-login-card .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.admin-login-card input {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;

    border: 1px solid #d7dde1;
    border-radius: var(--radius-sm);

    background: var(--white);
    color: var(--charcoal);

    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 14px;

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.admin-login-card input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(196, 154, 90, 0.12);
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.admin-login-card .btn {
    width: 100%;
    margin-top: 5px;
}


/* =========================================================
   LOGIN ERROR
========================================================= */

.form-error {
    margin-bottom: 22px;
    padding: 13px 15px;

    border: 1px solid #e8bcbc;
    border-radius: var(--radius-sm);

    background: #fff3f3;
    color: #9b3030;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   RETURN TO WEBSITE
========================================================= */

.admin-login-page > .container > .section-heading:last-child {
    margin-top: 28px;
    margin-bottom: 0;
}

.admin-login-page > .container > .section-heading:last-child p {
    margin: 0;
}

.admin-login-page > .container > .section-heading:last-child .text-link {
    justify-content: center;
}


/* =========================================================
   ADMIN LOGIN MOBILE
========================================================= */

@media (max-width: 700px) {

    .admin-login-page {
        min-height: calc(100vh - 72px);
        padding: 55px 0 65px;
    }

    .admin-login-page > .container {
        width: min(100% - 30px, 520px);
    }

    .admin-login-card {
        padding: 28px 22px;
        border-radius: var(--radius-md);
    }

    .admin-login-page .section-heading h1 {
        font-size: 34px;
    }
}


@media (max-width: 480px) {

    .admin-login-card {
        padding: 24px 18px;
    }

    .admin-login-page .section-heading h1 {
        font-size: 30px;
    }
}
/* =========================================================
   MEEA UI POLISH - DESKTOP QUOTE + ADMIN
   Final overrides for the current page markup.
   ========================================================= */

/* ---------------------------------------------------------
   QUOTE PAGE - DESKTOP
--------------------------------------------------------- */
.quote-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(340px, 0.8fr);
    gap: 42px;
}

.quote-form-wrapper .section-heading {
    margin-bottom: 28px;
}

.quote-form-wrapper .section-heading h2 {
    font-size: clamp(30px, 3.2vw, 42px);
    letter-spacing: -0.7px;
}

.quote-form-wrapper .section-heading p {
    margin-top: 12px;
    max-width: 640px;
    line-height: 1.65;
}

.quote-form {
    padding: 36px 38px;
    border-color: #e4e8eb;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(11, 31, 51, 0.065);
}

.form-section + .form-section {
    margin-top: 32px;
    padding-top: 32px;
}

.form-section h3 {
    margin-bottom: 22px;
    font-size: 19px;
    letter-spacing: -0.2px;
}

.form-row {
    gap: 20px;
}

.form-group,
.form-row .form-group {
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 7px;
    font-size: 12px;
    letter-spacing: 0.05px;
}

.quote-form input,
.quote-form select {
    min-height: 52px;
    padding: 0 15px;
    border-color: #d5dce1;
}

.quote-form textarea {
    min-height: 135px;
}

.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover {
    border-color: #bfc9d0;
}

.form-submit {
    margin-top: 5px;
    padding-top: 6px;
}

.form-submit .btn {
    min-width: 185px;
}

.quote-sidebar {
    gap: 18px;
    top: 24px;
}

.quote-info-card,
.quote-contact-card {
    border-radius: 16px;
}

.quote-info-card {
    padding: 30px;
    box-shadow: 0 8px 26px rgba(11, 31, 51, 0.055);
}

.quote-info-card h3 {
    margin-bottom: 23px;
    font-size: 22px;
    letter-spacing: -0.25px;
}

.process-step {
    padding: 17px 0;
}

.process-number {
    width: 42px;
    height: 42px;
}

.process-step strong {
    font-size: 13px;
}

.process-step p {
    font-size: 11.5px;
    line-height: 1.55;
}

.quote-contact-card {
    padding: 30px;
    box-shadow: 0 12px 32px rgba(11, 31, 51, 0.12);
}

.quote-contact-card h3 {
    font-size: 21px;
}

/* ---------------------------------------------------------
   ADMIN LOGIN - MATCH THE ADMIN VISUAL SYSTEM
   The supplied login.php currently uses .section and
   .quote-info-card rather than .admin-login-page/card.
--------------------------------------------------------- */
main.section > .container > .section-heading.center:first-child {
    max-width: 560px;
    margin-bottom: 30px;
}

main.section > .container > .section-heading.center:first-child h1 {
    color: var(--navy);
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -1px;
}

main.section > .container > .section-heading.center:first-child p {
    margin-top: 12px;
    font-size: 14px;
}

main.section > .container > .section-heading.center + .quote-info-card {
    width: min(100%, 500px);
    margin: 0 auto;
    padding: 36px;
    border: 1px solid #e2e7ea;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(11, 31, 51, 0.09);
}

main.section > .container > .section-heading.center + .quote-info-card form {
    display: flex;
    flex-direction: column;
}

main.section > .container > .section-heading.center + .quote-info-card .form-group {
    margin-bottom: 20px;
}

main.section > .container > .section-heading.center + .quote-info-card .form-group label {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

main.section > .container > .section-heading.center + .quote-info-card input {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid #d5dce1;
    border-radius: 7px;
    background: var(--white);
    color: var(--charcoal);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

main.section > .container > .section-heading.center + .quote-info-card input:hover {
    border-color: #bfc9d0;
}

main.section > .container > .section-heading.center + .quote-info-card input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(196, 154, 90, 0.12);
}

main.section > .container > .section-heading.center + .quote-info-card .btn {
    width: 100%;
    min-height: 52px;
    margin-top: 4px;
}

/* The login page's second centered heading is the return link. */
main.section > .container > .quote-info-card + .section-heading.center {
    max-width: 500px;
    margin: 25px auto 0;
}

main.section > .container > .quote-info-card + .section-heading.center p {
    margin: 0;
}

main.section > .container > .quote-info-card + .section-heading.center .text-link {
    justify-content: center;
}

/* ---------------------------------------------------------
   ADMIN DASHBOARD - DESKTOP REFINEMENT
--------------------------------------------------------- */
.admin-dashboard {
    padding-top: 48px;
    padding-bottom: 70px;
    background: #f5f7f8;
}

.admin-welcome {
    margin-bottom: 28px;
}

.admin-welcome h1 {
    font-size: clamp(32px, 3.5vw, 42px);
    letter-spacing: -1px;
}

.admin-stat-grid {
    gap: 18px;
    margin-bottom: 28px;
}

.admin-stat-card {
    min-height: 140px;
    padding: 22px 23px;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(11, 31, 51, 0.05);
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(11, 31, 51, 0.075);
}

.admin-stat-number {
    font-size: 36px;
}

.admin-panel {
    margin-bottom: 22px;
    border-radius: 15px;
    box-shadow: 0 5px 22px rgba(11, 31, 51, 0.05);
}

.admin-panel-header {
    min-height: 68px;
    padding: 0 23px;
}

.admin-panel-header h2 {
    font-size: 17px;
}

.admin-material-grid {
    padding: 20px 23px 23px;
    gap: 15px;
}

.admin-material-card {
    padding: 21px;
    border-radius: 11px;
}

.admin-table th,
.admin-table td {
    padding: 14px 18px;
}

/* ---------------------------------------------------------
   ADMIN HEADER - SLIGHTLY CLEANER
--------------------------------------------------------- */
.admin-header {
    box-shadow: 0 5px 24px rgba(11, 31, 51, 0.11);
}

.admin-header-inner {
    min-height: 78px;
}

.admin-brand strong {
    font-size: 16px;
}

.admin-user-name {
    min-height: 36px;
    border-radius: 7px;
    font-size: 12px;
}

.admin-logout {
    min-height: 36px;
    border-radius: 7px;
    font-size: 12px;
}

/* ---------------------------------------------------------
   QUOTE + LOGIN MOBILE OVERRIDES
--------------------------------------------------------- */
@media (max-width: 1100px) {
    .quote-layout {
        grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
        gap: 32px;
    }
}

@media (max-width: 1000px) {
    .quote-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .quote-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .quote-form {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .quote-form-wrapper .section-heading {
        margin-bottom: 25px;
    }

    .quote-form-wrapper .section-heading h2 {
        font-size: 30px;
    }

    .quote-sidebar {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .quote-info-card,
    .quote-contact-card {
        padding: 25px 22px;
        border-radius: 14px;
    }

    main.section > .container > .section-heading.center:first-child h1 {
        font-size: 34px;
    }

    main.section > .container > .section-heading.center + .quote-info-card {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .admin-dashboard {
        padding-top: 35px;
        padding-bottom: 55px;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .admin-stat-card {
        min-height: 120px;
        padding: 18px;
    }

    .admin-stat-number {
        font-size: 31px;
    }

    .admin-panel-header {
        min-height: 64px;
        padding: 0 18px;
    }

    .admin-material-grid {
        grid-template-columns: 1fr;
        padding: 16px 18px 18px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    main.section > .container > .section-heading.center:first-child h1 {
        font-size: 30px;
    }

    main.section > .container > .section-heading.center + .quote-info-card {
        padding: 24px 18px;
    }

    .admin-stat-grid {
        grid-template-columns: 1fr;
    }
}
