:root {
    --landing-bg: #f4f4f5;
    --landing-text: #171717;
    --landing-muted: #52525b;
    --landing-primary: #1f1f1f;
    --landing-card: #ffffff;
    --landing-border: rgba(24, 24, 27, 0.12);
    --landing-topbar: rgba(244, 244, 245, 0.9);
    --landing-chip-bg: rgba(39, 39, 42, 0.08);
    --landing-chip-text: #27272a;
    --landing-chip-border: rgba(39, 39, 42, 0.2);
    --landing-soft-block: #e4e4e7;
    --landing-link: #18181b;
    --landing-btn-bg: #171717;
    --landing-btn-bg-hover: #09090b;
    --landing-btn-text: #fafafa;
    --landing-btn-outline-border: rgba(24, 24, 27, 0.28);
    --landing-btn-outline-bg-hover: rgba(24, 24, 27, 0.08);
}

html[data-bs-theme="dark"] .landing-page,
body[data-menu-color="dark"] .landing-page {
    --landing-bg: #09090b;
    --landing-text: #f5f5f5;
    --landing-muted: #a1a1aa;
    --landing-primary: #f5f5f5;
    --landing-card: #101114;
    --landing-border: rgba(244, 244, 245, 0.12);
    --landing-topbar: rgba(9, 9, 11, 0.9);
    --landing-chip-bg: rgba(228, 228, 231, 0.12);
    --landing-chip-text: #fafafa;
    --landing-chip-border: rgba(228, 228, 231, 0.22);
    --landing-soft-block: #191b20;
    --landing-link: #fafafa;
    --landing-btn-bg: #27272a;
    --landing-btn-bg-hover: #3f3f46;
    --landing-btn-text: #fafafa;
    --landing-btn-outline-border: rgba(244, 244, 245, 0.26);
    --landing-btn-outline-bg-hover: rgba(244, 244, 245, 0.08);
}

.landing-page {
    background:
        radial-gradient(1200px 500px at 10% -5%, rgba(39, 39, 42, 0.16) 0%, transparent 60%),
        radial-gradient(1000px 480px at 95% 0%, rgba(113, 113, 122, 0.14) 0%, transparent 65%),
        var(--landing-bg);
    color: var(--landing-text);
    min-height: 100vh;
}

.hero-title {
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--landing-muted);
    max-width: 700px;
}

.hero-panel {
    background: linear-gradient(145deg, #111111 0%, #1f1f1f 68%, #2a2a2a 100%);
    color: #ffffff;
    border-radius: 1.2rem;
    box-shadow: 0 20px 50px rgba(10, 10, 10, 0.36);
}

.section-title {
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    letter-spacing: -0.01em;
}

.service-card,
.value-card,
.contact-card,
.google-review-card {
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    border-radius: 1rem;
    height: 100%;
}

.service-icon {
    width: 84px;
    height: 84px;
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(39, 39, 42, 0.12);
    color: var(--landing-primary);
    font-weight: 700;
    font-size: 1.15rem;
}

.service-image {
    width: 100%;
    height: 180px;
    border-radius: 0.95rem;
    object-fit: cover;
    border: 1px solid var(--landing-border);
    display: block;
}

.badge-soft {
    background: var(--landing-chip-bg);
    color: var(--landing-chip-text);
    border: 1px solid var(--landing-chip-border);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
}

.badge-soft.badge-filter {
    cursor: pointer;
    transition: all 0.18s ease;
}

.badge-soft.badge-filter.is-active {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.soft-muted {
    color: var(--landing-muted);
}

.landing-cta {
    background: linear-gradient(150deg, #111111 0%, #2b2b2b 100%);
    color: #fff;
    border-radius: 1rem;
}

.landing-soft-block {
    background: var(--landing-soft-block);
}

.landing-page .btn-primary {
    background: var(--landing-btn-bg);
    border-color: var(--landing-btn-bg);
    color: var(--landing-btn-text);
}

.landing-page .btn-primary:hover,
.landing-page .btn-primary:focus {
    background: var(--landing-btn-bg-hover);
    border-color: var(--landing-btn-bg-hover);
    color: var(--landing-btn-text);
}

.landing-page .btn-outline-primary {
    color: var(--landing-text);
    border-color: var(--landing-btn-outline-border);
    background: transparent;
}

.landing-page .btn-outline-primary:hover,
.landing-page .btn-outline-primary:focus {
    color: var(--landing-text);
    border-color: var(--landing-btn-outline-border);
    background: var(--landing-btn-outline-bg-hover);
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--landing-border);
    background: var(--landing-card);
    font-size: 0.82rem;
}

.google-badge-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex-shrink: 0;
}

.google-reviews-embed {
    overflow: hidden;
}

.google-review-stars {
    letter-spacing: 0.08em;
    color: #f59e0b;
    font-size: 0.95rem;
}

.google-reviews-carousel .carousel-control-prev,
.google-reviews-carousel .carousel-control-next {
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 17, 17, 0.82);
    border-radius: 50%;
    opacity: 1;
}

.google-reviews-carousel .carousel-control-prev {
    left: -12px;
}

.google-reviews-carousel .carousel-control-next {
    right: -12px;
}

.google-reviews-carousel .carousel-indicators {
    position: static;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.google-reviews-carousel .carousel-indicators [data-bs-target] {
    background-color: #71717a;
    width: 20px;
    height: 3px;
    border: 0;
}

.landing-footer {
    border-top: 1px solid var(--landing-border);
}

.landing-footer a {
    color: var(--landing-link);
}

.internal-access-link {
    color: var(--landing-muted);
    text-decoration: none;
    font-size: 0.82rem;
    opacity: 0.68;
    transition: opacity 0.2s ease;
}

.internal-access-link:hover,
.internal-access-link:focus {
    opacity: 1;
    color: var(--landing-text);
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: revealUp 0.65s ease forwards;
}

.delay-1 {
    animation-delay: 0.08s;
}

.delay-2 {
    animation-delay: 0.16s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .google-reviews-carousel .carousel-control-prev {
        left: 6px;
    }

    .google-reviews-carousel .carousel-control-next {
        right: 6px;
    }
}

@media (max-width: 575.98px) {

    #inicio,
    #servicios,
    #resenas-google,
    #nosotros,
    #contacto {
        scroll-margin-top: 88px;
    }

    .service-card,
    .value-card,
    .contact-card,
    .landing-cta,
    .hero-panel,
    .google-review-card {
        border-radius: 0.85rem;
    }
}