/* ============================================
   MX ESTIMATION — ORDER SELECTION PAGE
   Premium landing page for service selection
   ============================================ */

:root {
    --teal: #00a884;
    --teal-dark: #008f70;
    --teal-light: #00c49a;
    --teal-bg: rgba(0, 168, 132, 0.08);
    --teal-border: rgba(0, 168, 132, 0.25);

    --green-dark: #0b332d;
    --green-footer: #04322b;
    --green-copyright: #001b17;

    --white: #ffffff;
    --bg-light: #f0f6f5;
    --bg-section: #f8fafa;

    --text-dark: #333333;
    --text-body: #555555;
    --text-muted: #888888;

    --border-color: #e0e6e5;
    --border-light: #eef2f1;

    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius: 8px;
    --radius-lg: 16px;
    --radius-pill: 30px;
    --transition: 250ms ease;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 40px rgba(0, 168, 132, 0.15);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }


/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav a {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 6px 0;
    position: relative;
    transition: color var(--transition);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--teal);
    transition: width var(--transition);
}

.header-nav a:hover { color: var(--teal); }
.header-nav a:hover::after { width: 100%; }


/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    position: relative;
    background: linear-gradient(135deg, var(--green-dark), #145a4f);
    padding: 3.5rem 1.5rem;
    text-align: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.banner-content { position: relative; z-index: 1; }

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.banner-breadcrumb {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.banner-breadcrumb a {
    color: var(--teal-light);
    transition: color var(--transition);
}
.banner-breadcrumb a:hover { color: var(--white); }

.breadcrumb-sep {
    margin: 0 8px;
    color: rgba(255,255,255,0.4);
}


/* ============================================
   SELECTION SECTION
   ============================================ */
.selection-section {
    padding: 3rem 1.5rem 4rem;
    background: var(--bg-section);
}

.selection-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--teal-bg);
    color: var(--teal);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.selection-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.selection-header p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
}


/* ============================================
   SERVICE CARDS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1140px;
    margin: 0 auto 3rem;
}

.order-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 350ms cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
}

.order-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--teal-border);
}

.order-card:hover .card-cta {
    background: var(--teal);
    color: var(--white);
    gap: 12px;
}

.order-card:hover .card-image {
    transform: scale(1.05);
}

/* Card image */
.card-image-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f6f5, #e4eeec);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--teal);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(0, 168, 132, 0.3);
}

/* Card body */
.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.card-body > p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Card features */
.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.25rem;
    flex: 1;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-body);
}

.card-features li svg {
    color: var(--teal);
    flex-shrink: 0;
}

/* Card CTA */
.card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--teal-bg);
    color: var(--teal);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
}


/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0 0;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.trust-item svg {
    flex-shrink: 0;
    color: var(--teal);
    margin-top: 2px;
}

.trust-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.trust-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--green-footer);
    color: rgba(255,255,255,0.8);
    padding: 3rem 1.5rem 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--teal-light); }

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.footer-contact p svg { color: var(--teal); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    background: var(--green-copyright);
    margin: 0 -1.5rem;
    padding: 1rem 1.5rem;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    max-width: 800px;
    margin: 0 auto;
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.order-card:nth-child(1) { animation-delay: 0.1s; }
.order-card:nth-child(2) { animation-delay: 0.25s; }
.order-card:nth-child(3) { animation-delay: 0.4s; }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .trust-bar {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        height: auto;
        padding: 12px 0;
        flex-direction: column;
        gap: 10px;
    }

    .header-nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-banner h1 { font-size: 1.8rem; }

    .selection-header h2 { font-size: 1.5rem; }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p { justify-content: center; }
}
