/* CSS Reset & Variables */
:root {
    --qh-blue: #ea580c;
    --qh-blue-light: #f97316;
    --qh-ink: #0f172a;
    --qh-soft: #f6f8fc;
    --qh-white: #ffffff;
    --qh-text: #475569;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--qh-soft);
    color: var(--qh-ink);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Header (Glassmorphism) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 90px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--qh-ink);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--qh-blue);
}

.hotline-btn {
    background: linear-gradient(135deg, var(--qh-blue), var(--qh-blue-light));
    color: var(--qh-white);
    padding: 10px 24px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hotline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.4);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--qh-blue);
    border-radius: 3px;
}

/* 2. Hero Section */
.hero {
    margin-top: 72px;
    position: relative;
    background: var(--qh-white);
}

.hero-banner {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* 3. Services Section */
.services {
    padding: 60px 0;
    background: var(--qh-soft);
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--qh-ink);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.section-title span {
    background: linear-gradient(135deg, var(--qh-blue), var(--qh-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--qh-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--qh-ink);
}

.service-btn {
    display: inline-block;
    background: var(--qh-soft);
    color: var(--qh-blue);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-btn {
    background: var(--qh-blue);
    color: var(--qh-white);
}

/* 4. Features Section */
.features {
    padding: 56px 0 64px;
    background: var(--qh-white);
}

.features-subtitle {
    text-align: center;
    color: #8a9bb0;
    font-size: 15px;
    margin-top: -20px;
    margin-bottom: 44px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 36px 20px 28px;
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #fed7aa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
    border-color: #ea580c;
    box-shadow: 0 8px 28px rgba(29, 122, 53, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    object-fit: contain;
    display: block;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--qh-ink);
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 5. Contact Form Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(8, 167, 255, 0.05));
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--qh-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.form-wrapper {
    width: 100%;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--qh-ink);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 16px;
    background: var(--qh-soft);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--qh-blue);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
    background: var(--qh-white);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--qh-blue), var(--qh-blue-light));
    color: var(--qh-white);
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.4);
}

/* 6. Footer */
.footer {
    background: #0d1b2a;
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 0;
    border-top: 4px solid #ea580c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
    height: 120px;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-social a:hover {
    background: #ea580c;
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ea580c;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '›';
    font-size: 16px;
    color: #ea580c;
    transition: transform 0.2s;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(29, 122, 53, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fb923c;
}

.footer-contact-item strong {
    display: block;
    color: white;
    font-size: 13px;
    margin-bottom: 2px;
}

.footer-bottom {
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #fb923c;
}

@media screen and (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media screen and (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.float-btn:hover {
    transform: scale(1.1);
    animation: none;
}

.float-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(249, 115, 22, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

/* Reviews Section */
.reviews {
    padding: 60px 0;
    background: var(--qh-white);
}

.reviews-subtitle {
    text-align: center;
    color: var(--qh-text);
    font-size: 17px;
    margin-top: -28px;
    margin-bottom: 48px;
}

.reviews-carousel {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    min-height: 260px;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.review-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    position: relative;
}

.review-card {
    background: var(--qh-white);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.review-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--qh-text);
    flex: 1;
    font-style: normal;
    margin-bottom: 0;
}

.reviewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 80px;
}

.reviewer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--qh-ink);
    text-align: center;
    margin-top: 4px;
}

.reviewer-info .stars {
    color: #f59e0b;
    font-size: 12px;
    text-align: center;
}

.video-slider-wrapper {
    position: relative;
    width: 267px;
    display: flex;
    align-items: center;
}

.video-side-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.25s ease, transform 0.25s ease;
    color: var(--qh-ink);
}

.video-side-btn:hover {
    background: var(--qh-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.video-side-btn-prev { left: -18px; }
.video-side-btn-next { right: -18px; }

.gallery-strip {
    background: #ea580c;
    padding: 20px 0;
}

.gallery-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-strip-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.gallery-strip-img:first-child { border-radius: 12px 0 0 12px; }
.gallery-strip-img:last-child { border-radius: 0 12px 12px 0; }

.reviews-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.reviews-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--qh-blue);
    background: transparent;
    color: var(--qh-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-nav-btn:hover {
    background: var(--qh-blue);
    color: white;
    transform: scale(1.1);
}

.reviews-dots {
    display: flex;
    gap: 8px;
}

.review-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.review-dot.active {
    background: var(--qh-blue);
    transform: scale(1.3);
}

.partners {
    padding: 60px 0;
    background: var(--qh-white);
}

.partners-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: #023d7a;
    margin-bottom: 0;
    line-height: 1.3;
}

.partners-title .red { color: #da2031; }

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 44px;
}

.partner-logo {
    height: 52px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.08);
}

.consulting {
    padding: 60px 0;
    background: var(--qh-white);
}

.consulting-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.consulting-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.video-slider {
    position: relative;
    width: 267px;
}

.video-track {
    width: 267px;
    height: 476px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.video-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.video-dots {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.video-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.2);
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.video-dot.active {
    background: var(--qh-blue);
    transform: scale(1.3);
}

.consulting-form-box {
    background: #ea580c;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 20px 48px rgba(29, 122, 53, 0.2);
}

.consulting-form-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.consulting-form-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 24px;
}

.consulting-form-control {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 14px;
    background: #ffffff;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.25s;
}

.consulting-form-control:focus {
    border-color: var(--qh-blue);
    outline: none;
}

.consulting-submit-btn {
    width: 60%;
    display: block;
    margin: 10px auto 0;
    background: #be1515;
    color: #ffffff;
    padding: 16px;
    border: none;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(190, 21, 21, 0.3);
}

.consulting-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(190, 21, 21, 0.4);
}

@media screen and (max-width: 992px) {
    .consulting-container {
        grid-template-columns: 1fr;
    }
    .consulting-video {
        justify-content: center;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hotline-btn {
        display: none;
    }

    .section-title {
        font-size: 26px;
    }

    .contact-container {
        padding: 24px;
    }

    .consulting-container {
        grid-template-columns: 1fr;
    }

    .partners-title {
        font-size: 26px;
    }

    .consulting-form-box {
        padding: 24px 18px;
    }

    .consulting-submit-btn {
        width: 80%;
    }
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.success-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.success-modal-content {
    background: var(--qh-white);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.success-modal.show .success-modal-content {
    transform: translateY(0) scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #ffedd5;
    color: #ea580c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0.1);
}

.success-modal-content h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--qh-ink);
    margin-bottom: 12px;
}

.success-modal-content p {
    color: var(--qh-text);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.success-modal-content button {
    background: linear-gradient(135deg, var(--qh-blue), var(--qh-blue-light));
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.2);
    width: 100%;
}

.success-modal-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(249, 115, 22, 0.3);
}

/* Valuation Modal */
.valuation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.valuation-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.valuation-modal-content {
    background: transparent;
    padding: 0;
    border-radius: 24px;
    text-align: left;
    max-width: 500px;
    width: 90%;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.valuation-modal.show .valuation-modal-content {
    transform: translateY(0) scale(1);
}

.valuation-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    z-index: 10;
}


/* Loan Calculator */
.loan-calc-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.loan-calc-container {
    max-width: 1000px;
    margin: 0 auto;
}

.loan-calc-header {
    text-align: left;
    margin-bottom: 30px;
}

.loan-calc-header h2 {
    font-size: 32px;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 8px;
}

.loan-calc-header p {
    color: #666;
    font-size: 15px;
}

.loan-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .loan-calc-grid {
        grid-template-columns: 1fr;
    }
}

.loan-calc-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.lc-label {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: block;
    font-size: 15px;
}

.lc-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 24px;
    outline: none;
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 16px center;
    font-family: inherit;
}

.lc-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.lc-amount-value {
    font-size: 28px;
    font-weight: 800;
    color: #f97316;
}

.lc-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    margin-bottom: 10px;
}

.lc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f97316;
    cursor: pointer;
}

.lc-slider-labels {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
    margin-bottom: 24px;
}

.lc-terms {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.lc-term-btn {
    flex: 1;
    padding: 10px 0;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 24px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lc-term-btn.active {
    border-color: #f97316;
    background: #ffedd5;
    color: #c2410c;
}

.lc-note {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

.lc-tabs {
    display: flex;
    background: #f4f5f7;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 24px;
}

.lc-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 800;
    color: #666;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.lc-tab.active {
    background: #fff;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.lc-result {
    text-align: center;
    margin-bottom: 24px;
}

.lc-result-title {
    color: #f97316;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 8px;
}

.lc-result-value {
    font-size: 42px;
    font-weight: 800;
    color: #f97316;
    line-height: 1;
    margin-bottom: 8px;
}

.lc-result-sub {
    color: #999;
    font-size: 13px;
    margin-bottom: 12px;
}

.lc-result-desc {
    background: #f4f5f7;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
}

.lc-disclaimer {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 24px;
}

.lc-disclaimer strong {
    color: #d32f2f;
}

.lc-submit-btn {
    width: 100%;
    background: #f97316;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    text-transform: uppercase;
}

.lc-submit-btn:hover {
    background: #ea580c;
}
