:root {
    --primary: #0056b3;
    --primary-dark: #004494;
    --primary-light: #e6f2ff;
    --accent: #ff9900;
    --accent-hover: #e68a00;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-body: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-body);
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
}

.text-primary {
    color: var(--primary);
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 153, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-block {
    width: 100%;
}

/* Topbar */
.topbar {
    background-color: var(--primary-dark);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-info span {
    margin-right: 20px;
}

.topbar-info i {
    color: var(--accent);
    margin-right: 5px;
}

.topbar-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

/* Navbar */
.navbar {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: #1a1a1a;
}

.logo.white,
.logo.white span {
    color: #fff;
}

.logo i {
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1581858726788-75bc0f6a952d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 20px;
}

.trust-badge i {
    margin-right: 8px;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
}

.feature-item i {
    color: var(--primary);
    font-size: 20px;
    margin-right: 12px;
}

/* Lead Form */
.lead-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--primary);
}

.lead-form h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.lead-form p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 15px;
}

.form-footer i {
    margin-right: 5px;
}

/* Before / After Slider */
.slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid #fff;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.comparison-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.after-image {
    width: 50%;
    /* Default 50% */
    border-right: 3px solid #fff;
    z-index: 10;
}

.label-before,
.label-after {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
    font-size: 14px;
}

.label-before {
    right: 20px;
}

.label-after {
    left: 20px;
    z-index: 11;
}

.slider-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 20;
    cursor: ew-resize;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 12;
    pointer-events: none;
}

/* Calculator Section */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.calculator-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.calculator-text p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 30px;
}

.check-list {
    list-style: none;
}

.check-list li {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.check-list i {
    color: var(--primary);
    margin-right: 15px;
    background: var(--primary-light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.calculator-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.calc-row {
    margin-bottom: 30px;
}

.calc-row label {
    display: block;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 16px;
}

.range-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.range-container input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
}

.range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 4px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-value {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
    min-width: 80px;
    text-align: right;
}

.type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.card-content {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s;
}

.card-content h4 {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 5px;
    color: var(--text-main);
}

.card-content span {
    font-size: 13px;
    color: var(--text-muted);
}

.radio-card input:checked+.card-content {
    border-color: var(--primary);
    background: var(--primary-light);
}

.radio-card input:checked+.card-content h4 {
    color: var(--primary);
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-container input {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.calc-result {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px dashed var(--border-color);
}

.result-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.result-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.result-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 18px;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
    flex: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: var(--text-main);
}

.client-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about p {
    color: #a0a0a0;
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer h4 {
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    color: #a0a0a0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 15px;
    width: 20px;
}

.footer-bottom {
    background: #0f0f0f;
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
        order: -1;
    }

    .hero-features {
        align-items: center;
    }

    .trust-badge {
        margin: 0 auto 20px;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .type-selector {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }
}