:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #f59e0b;
    --text: #0f172a;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e5e7eb;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary);
}

.navbar nav a {
    margin-left: 28px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.navbar nav a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: white !important;
}

/* Hero */
.hero {
    padding: 80px 0 100px;
    background:
        radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.08), transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(245, 158, 11, 0.08), transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #dbeafe;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 800;
}

.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 24px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: color 0.2s;
}

.btn-secondary:hover {
    color: var(--primary);
}

.btn-light {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
    background: #f8fafc;
    color: var(--primary-dark);
}

.trust-badges {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 1.4rem;
    color: var(--text);
    font-weight: 800;
}

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

/* Hero image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.15));
}

/* About image */
.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.gallery-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

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

.gallery-caption {
    padding: 20px 24px 24px;
}

.gallery-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.gallery-caption p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Legacy hero illustration (no longer used, kept for reference) */
.hero-illustration-legacy {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    position: relative;
    width: 360px;
    height: 360px;
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.15));
}

.stairs {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to top right,
            #cbd5e1 0%, #cbd5e1 14%,
            #e2e8f0 14%, #e2e8f0 28%,
            #cbd5e1 28%, #cbd5e1 42%,
            #e2e8f0 42%, #e2e8f0 56%,
            #cbd5e1 56%, #cbd5e1 70%,
            #e2e8f0 70%, #e2e8f0 84%,
            #cbd5e1 84%, #cbd5e1 100%);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    border-radius: 12px;
}

.chair {
    position: absolute;
    top: 100px;
    right: 70px;
    width: 100px;
    height: 145px;
    z-index: 2;
}

.chair-back {
    position: absolute;
    top: 0;
    left: 18px;
    width: 60px;
    height: 78px;
    background: var(--primary);
    border-radius: 12px 12px 4px 4px;
}

.chair-seat {
    position: absolute;
    top: 72px;
    left: 6px;
    width: 84px;
    height: 24px;
    background: var(--primary-dark);
    border-radius: 4px;
}

.chair-rail {
    position: absolute;
    top: 108px;
    left: -10px;
    width: 110px;
    height: 10px;
    background: #475569;
    border-radius: 4px;
    transform: rotate(-30deg);
}

/* Stats */
.stats {
    background: var(--text);
    color: white;
    padding: 50px 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Sections */
.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.eyebrow.center {
    display: block;
    text-align: center;
}

.section h2 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.section h2.left {
    text-align: left;
}

.section-lead {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.check-list {
    list-style: none;
    margin-top: 24px;
}

.check-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--text);
    font-weight: 500;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    width: 22px;
    height: 22px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.about-card {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    color: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: rotate(0deg) translateY(-4px);
}

.about-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.about-card p {
    opacity: 0.9;
    font-size: 1rem;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    position: relative;
}

.step {
    background: white;
    padding: 36px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-6px);
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
    font-size: 0.97rem;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.feature {
    background: white;
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    font-size: 1.5rem;
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-weight: bold;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial {
    background: white;
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial > p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* FAQ */
.faq-container {
    max-width: 760px;
}

.faq-list {
    margin-top: 40px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 0;
    transition: box-shadow 0.2s;
}

.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: #c7d2fe;
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 400;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 12px;
    position: relative;
}

.cta-banner p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 28px;
    position: relative;
}

.cta-banner .btn-primary {
    position: relative;
}

/* Contact form */
.contact-form {
    max-width: 560px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.form-row input,
.form-row textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--bg-alt);
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    background: white;
}

.form-row textarea {
    resize: vertical;
}

.contact-form button {
    align-self: stretch;
    margin-top: 8px;
}

.form-status {
    margin-top: 8px;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.form-status.success {
    color: #047857;
    background: #d1fae5;
    padding: 12px 16px;
    border-radius: 10px;
}

.form-status.error {
    color: #b91c1c;
    background: #fee2e2;
    padding: 12px 16px;
    border-radius: 10px;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-info {
    text-align: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
}

.contact-info p {
    margin: 4px 0;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.logo-light {
    color: white;
    display: inline-block;
    margin-bottom: 12px;
}

.logo-light span {
    color: #60a5fa;
}

.footer-desc {
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-grid h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-grid a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-grid a:hover {
    color: white;
}

.footer-grid p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps,
    .features,
    .testimonials,
    .gallery {
        grid-template-columns: 1fr;
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0 70px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-img {
        max-width: 320px;
    }

    .navbar nav a {
        margin-left: 12px;
        font-size: 0.85rem;
    }

    .navbar nav a:not(.nav-cta) {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .section h2,
    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto;
    }
}
