:root {
    --container: 1180px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 12px 28px rgba(17, 24, 39, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    line-height: 1.6;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

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

a {
    text-decoration: none;
}

.container {
    width: min(var(--container), 92vw);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    flex-wrap: wrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: #111827;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    background: var(--primary);
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.phone-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.65rem;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111827;
    margin: 5px 0;
}

.nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding: 0.15rem 0 0.8rem;
}

.nav a {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

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

.hero {
    padding: 2.5rem 0 2rem;
}

.hero-shell {
    background: radial-gradient(circle at top right, #ffe4e6 0%, #fff 45%, #fff 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.hero-copy,
.hero-media {
    padding: 2rem;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 52px;
    line-height: 1.12;
    margin: 0 0 0.9rem;
}

h2 {
    font-size: 34px;
    margin: 0 0 0.85rem;
}

h3,
h4 {
    font-size: 22px;
    margin: 0.3rem 0 0.4rem;
}

p,
li {
    font-size: 16px;
}

.stars {
    color: var(--accent);
    letter-spacing: 3px;
    font-size: 24px;
    margin-bottom: 1rem;
}

.hero-icons {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.hero-icons img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0.35rem;
    background: #ffffff;
}

.cta-lead {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0.6rem 0;
}

.btn-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    padding: 0.85rem 1.35rem;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-light {
    border: 1px solid #d1d5db;
    color: #111827;
    background: #ffffff;
}

.btn-light:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.hero-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.section {
    padding: 3rem 0;
}

.section-alt {
    background: #f9fafb;
}

.section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.sticker {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #fee2e2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.service-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.split {
    display: grid;
    grid-template-columns: 1.86fr 1fr;
    gap: 1.2rem;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
    padding: 1rem;
    margin-bottom: 1rem;
}

.split img {
    border-radius: var(--radius-sm);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.steps-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.step,
.faq-item {
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 1rem;
}

.reviews-wrap {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.45s ease;
}

.review {
    flex: 0 0 calc((100% - 2rem) / 3);
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    min-height: 210px;
}

.review .stars {
    font-size: 18px;
    margin: 0 0 0.4rem;
}

.carousel-controls {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.carousel-controls button {
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    width: 42px;
    height: 42px;
    font-size: 20px;
}

.footer {
    background: #111827;
    color: #f9fafb;
    padding: 2rem 0 5rem;
    font-size: 14px;
}

.footer a {
    color: #ffffff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.mobile-call {
    display: none;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy,
.service-card,
.split,
.step,
.faq-item,
.review {
    animation: rise 0.6s ease both;
}

@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 840px) {
    .menu-btn {
        display: inline-block;
    }

    .nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        width: 100%;
    }

    .nav.open {
        display: flex;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 24px;
    }

    .steps-grid,
    .faq-grid,
    .services-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .review {
        flex: 0 0 100%;
    }

    .phone-btn {
        font-size: 16px;
    }

    .mobile-call {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 200;
        display: flex;
        justify-content: center;
        padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
        background: rgba(17, 24, 39, 0.98);
    }

    .mobile-call a {
        width: 100%;
        text-align: center;
        color: #ffffff;
        background: var(--primary);
        border-radius: 12px;
        font-weight: 800;
        font-size: 16px;
        padding: 0.8rem;
        white-space: nowrap;
    }
}
