html {
    scroll-behavior: smooth;
}

:root {
    --bg-light: #f5f5f7;
    --bg-white: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --accent-blue: #0066cc;
    --radius-lg: 24px;
    --font-apple: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-apple);
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

/* === BLOQUE 1: HEADER === */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 12;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    background: var(--bg-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-inner {
    width: 100%;
    max-width: 1180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo {
    width: 40px;
    height: auto;
    display: block;
}

.brand-name {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.site-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.site-nav a:hover {
    color: var(--accent-blue);
}

.nav-cta {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(29, 29, 31, 0.08);
    font-weight: 600;
}

.header-extra {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bag-icon {
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 24px;
}

.bag-icon:hover {
    opacity: 0.7;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span:not(:last-child) {
    margin-bottom: 8px;
}

.site-header.open .nav-toggle span:first-child {
    transform: translateY(5px) rotate(45deg);
}

.site-header.open .nav-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
}

.site-header.open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 880px) {
    .header-inner {
        align-items: center;
        gap: 12px;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 20px;
        left: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 18px 20px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(29, 29, 31, 0.08);
        backdrop-filter: blur(14px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 24px 60px rgba(29, 29, 31, 0.12);
    }

    .site-nav a {
        display: block;
        padding: 12px 0;
        text-align: center;
        border-radius: 18px;
        background: transparent;
    }

    .header-extra {
        margin-left: auto;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

/* === BLOQUE 1: HERO === */
.hero-premium {
    position: relative;
    padding: 140px 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background: var(--bg-white);
}

.hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: var(--bg-white);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-copy {
    text-align: left;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.hero-eyebrow::before {

    display: block;
    width: 36px;
    height: 1px;
    border-radius: 999px;
    background: rgba(29, 29, 31, 0.12);
}

.hero-title {
    font-size: clamp(3.8rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin: 0;
    margin-left: 10px;
    max-width: 10ch;
}

.hero-subtitle {
    margin-top: 24px;
    margin-bottom: 44px;
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.75;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
}

.hero-actions .btn-premium {
    min-width: 160px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-frame {
    position: relative;
    width: min(480px, 100%);
    border-radius: 40px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(29, 29, 31, 0.08);
    box-shadow: 0 28px 80px rgba(29, 29, 31, 0.08);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-image-tag {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px);
}

.hero-collection-wrapper {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin-top: 54px;
    padding: 0 40px;
}

.carousel-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 160px;
    background: rgba(255, 255, 255, 0.98);
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    color: var(--text-main);
    transition: background 0.2s ease, opacity 0.2s ease;
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 1);
}

.carousel-indicator:active {
    opacity: 0.7;
}

.carousel-indicator .material-symbols-outlined {
    font-size: 20px;
    font-weight: 300;
}

.carousel-indicator.left {
    left: 4px;
}

.carousel-indicator.right {
    right: 4px;
}



.hero-collection-label {
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.hero-collection {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-collection::-webkit-scrollbar {
    display: none;
}

.hero-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    border-radius: 0;
    background: transparent;
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
}

.hero-card img {
    width: 100%;
    height: 176px;
    object-fit: cover;
    display: block;
}

.card-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px 20px;
}

.card-info .material-symbols-outlined {
    font-size: 22px;
    color: var(--accent-blue);
    opacity: 0.8;
}

.card-info span:not(.material-symbols-outlined) {
    display: block;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-copy {
        text-align: left;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-collection-wrapper {
        margin-top: 42px;
    }
}

@media (max-width: 720px) {
    .hero-premium {
        min-height: 100vh;
        padding: 180px 18px 60px;
        justify-content: flex-start;
    }

    .hero-title {
        font-size: clamp(2.8rem, 14vw, 4.6rem);
    }

    .hero-image-frame {
        width: 100%;
        max-width: 100%;
        border-radius: 32px;
    }

    .hero-card {
        flex: 0 0 180px;
    }
}

@media (max-width: 520px) {
    .hero-premium {
        min-height: 100vh;
        padding: 160px 16px 40px;
        justify-content: flex-start;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-card {
        flex: 0 0 170px;
    }
}

/* === BLOQUE 2: CLOSER LOOK === */
.closer-look-section {
    padding: 24px 24px 24px;
    background: var(--bg-white);
}

.closer-look-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.closer-look-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.closer-look-banner {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(120deg, #e8e8ed 0%, #d8c8b8 100%);
    min-height: 360px;
    display: flex;
    align-items: center;
}

.closer-look-text {
    position: relative;
    z-index: 2;
    padding: 56px 52px;
    max-width: 420px;
}

.closer-look-subtitle {
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.closer-look-btn {
    display: inline-block;
    background: var(--text-main);
    color: #fff;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.closer-look-btn:hover {
    opacity: 0.82;
    transform: scale(1.03);
}

.closer-look-img {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 55%;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 720px) {
    .closer-look-section {
        padding: 8px 16px 0;
    }

    .closer-look-banner {
        flex-direction: column;
        min-height: auto;
    }

    .closer-look-text {
        padding: 28px 20px 20px;
        max-width: 100%;
    }

    .closer-look-img {
        position: relative;
        width: 100%;
        height: 240px;
    }
}

/* === BLOQUE 3: WHY KONARTE SLIDER === */
.why-section {
    padding: 80px 24px 60px;
    background: #f5f5f7;
}

.why-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.why-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
}

.why-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.why-link {
    color: #0071e3;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.why-slider-wrapper {
    position: relative;
}

.why-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
}

.why-track::-webkit-scrollbar {
    display: none;
}

.why-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.why-card:hover {
    transform: scale(1.02);
}

.why-card-top {
    padding: 24px 22px 16px;
}

.why-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6e6e73;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.why-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.why-card-desc {
    font-size: 0.88rem;
    color: #6e6e73;
    line-height: 1.5;
}

.why-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.why-card-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--text-main);
    color: #fff;
    border: none;
    font-size: 1.3rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.why-card-btn:hover {
    background: #333;
    transform: scale(1.1);
}

.why-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.why-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    color: var(--text-main);
}

.why-nav-btn:hover {
    background: rgba(0, 0, 0, 0.15);
}

/* Modales */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 20px;
    padding: 44px 48px;
    max-width: 620px;
    width: 100%;
    position: relative;
    animation: modal-in 0.3s ease;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text-main);
    color: #fff;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-tag {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6e6e73;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.modal-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 18px;
}

.modal-desc {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-link {
    color: #0071e3;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.modal-link:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .why-card {
        flex: 0 0 220px;
    }

    .why-header {
        flex-direction: column;
        gap: 4px;
    }

    .modal-box {
        padding: 32px 24px;
    }
}

/* === BLOQUE ECOSYSTEM: TECNOLOGIA === */
.tech-ecosystem-section {
    background: var(--bg-white);
    padding: 80px 24px;
}

.ecosystem-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.ecosystem-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin-bottom: 40px;
}

.ecosystem-box {
    background-color: var(--bg-light);
    border-radius: 32px;
    overflow: hidden;
    padding: 40px;
    display: flex;
    gap: 40px;
}

.ecosystem-accordions {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eco-accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.eco-accordion-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.eco-accordion-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    transition: opacity 0.2s ease;
}

.eco-accordion-btn:hover {
    opacity: 0.8;
}

.eco-accordion-btn .icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-size: 1.8rem;
}

.eco-accordion-content {
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.4s ease, visibility 0.4s;
}

.eco-accordion-item.active .eco-accordion-content {
    max-height: 600px; /* Suficiente para el texto y la imagen en móvil */
    padding-bottom: 24px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.eco-accordion-item.active .eco-accordion-btn .icon {
    transform: rotate(180deg);
}

.ecosystem-visual {
    flex: 1;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecosystem-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(15px) scale(0.98);
    position: absolute;
}

.eco-image.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
    z-index: 2;
}

.eco-mobile-img {
    display: none;
}


@media (max-width: 960px) {
    .ecosystem-box {
        padding: 30px 24px;
    }

    .ecosystem-accordions {
        margin-top: 0;
    }

    .ecosystem-visual {
        display: none !important;
    }

    .eco-mobile-img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 16px;
        margin-top: 24px;
        object-fit: contain;
        max-height: 280px;
        background: #fff;
        padding: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }
}

@media (max-width: 520px) {
    .tech-ecosystem-section {
        padding: 40px 16px;
    }

    .ecosystem-title {
        margin-bottom: 24px;
    }

    .ecosystem-box {
        padding: 24px 16px;
    }

    .eco-accordion-btn {
        font-size: 1.2rem;
        padding: 20px 0;
    }

    .eco-mobile-img {
        margin-top: 16px;
        padding: 12px;
        max-height: 220px;
    }
}

/* === BLOQUE DESIGN SHOWCASE === */
.design-showcase-section {
    background-color: #000;
    color: #fff;
    padding: 140px 24px;
    overflow: hidden;
}

.design-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.design-eyebrow {
    color: #f56300;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.design-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    color: #fff;
}

.design-desc {
    color: #a1a1a6;
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto 60px;
}

.design-image-container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 50px;
    perspective: 1200px;
    /* Enable 3D space */
}

.design-hero-img {
    width: 100%;
    height: auto;
    display: block;
    /* rounded corners to mimic physical product */
    border-radius: 20px;
    will-change: transform, opacity;
}

.design-compare-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 12px 8px 24px;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.design-compare-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.design-compare-btn .material-symbols-outlined {
    background: #0071e3;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === BLOQUE ROLLER PREMIUM === */
.premium-roller-section {
    background-color: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    overflow: hidden;
    position: relative;
    perspective: 2000px;
}

.roller-text-container {
    text-align: center;
    z-index: 10;
    margin-bottom: 80px;
}

.roller-eyebrow {
    color: #a1a1a6;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    display: block;
}

.roller-title {
    color: #f5f5f7;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.roller-stage {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Cajón Metálico (Fascia/Galería) */
.roller-mechanism {
    position: relative;
    width: 100%;
    height: 70px;
    z-index: 15;
    transform-style: preserve-3d;
}

.roller-cassette {
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 100%;
    background: linear-gradient(to bottom, #2c2c2e 0%, #1c1c1e 40%, #0a0a0b 100%);
    border-radius: 6px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.9), 
        inset 0 1px 1px rgba(255,255,255,0.1),
        inset 0 -2px 5px rgba(0,0,0,0.8);
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.cassette-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.15) 80%, transparent);
}

/* Tela */
.roller-fabric-container {
    position: absolute;
    top: 60px; /* Sale desde DENTRO de la galería */
    left: 25px;
    right: 25px;
    height: 0px; /* JS lo animará */
    overflow: hidden;
    transform-origin: top center;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95);
    will-change: height, transform, filter; /* Optimización de desenfoque */
}

.roller-fabric {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: linear-gradient(to bottom, #111 0%, #1a1a1c 50%, #0a0a0b 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.roller-fabric-texture {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 3px 3px;
}

/* Barra Inferior (Peso) */
.roller-hem-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background: linear-gradient(to bottom, #333 0%, #111 40%, #000 100%);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 0 0 2px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12;
}

.hem-bar-detail {
    width: 60px;
    height: 3px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

/* Luz de fondo */
.roller-ambient-light {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    filter: blur(40px);
}

/* === BLOQUE 6: FOOTER PREMIUM === */
.site-footer {
    background-color: var(--bg-light);

    padding: 10px 20px 40px;
    /* border-top: 1px solid rgba(0, 0, 0, 0.05); */
    color: var(--text-main);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .brand-name {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: block;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 240px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact-item .material-symbols-outlined {
    font-size: 18px;
    color: var(--text-main);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    background: var(--text-main);
    color: #fff;
}

@media (max-width: 820px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* === BLOQUE SERVICE DETAILS (ESTILO APPLE) === */
.service-details-section {
    background-color: #000;
    color: #fff;
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.service-details-inner {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-details-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.service-details-desc {
    color: #a1a1a6;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 700px;
}

.service-details-desc strong {
    color: #fff;
    font-weight: 600;
}

.service-details-visual {
    width: 100%;
    max-width: 320px; /* Tamaño similar a un teléfono */
    margin-bottom: 40px;
    position: relative;
    border-radius: 36px;
    background: #111;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 2px 10px rgba(255,255,255,0.1);
}

.service-details-img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    display: block;
}

.service-details-tabs {
    display: flex;
    background: #1c1c1e;
    border-radius: 40px;
    padding: 6px;
    gap: 4px;
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    width: 100%;
    scrollbar-width: none;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
    justify-content: flex-start;
}

@media (min-width: 600px) {
    .service-details-tabs {
        justify-content: center;
        width: auto;
    }
}

.service-details-tabs::-webkit-scrollbar {
    display: none;
}

.service-tab {
    background: transparent;
    border: none;
    color: #a1a1a6;
    padding: 14px 20px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
    flex: 0 0 auto;
}

.service-tab:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.service-tab.active {
    background: #333; /* Gris oscuro para modo noche Apple */
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.service-tab .material-symbols-outlined {
    font-size: 24px;
    margin-bottom: 4px;
}

.service-tab span:last-child {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.service-details-footer {
    color: #a1a1a6;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 600px;
}

/* === BLOQUE CONTACTO === */
.contact-section {
    background-color: #050505;
    color: #fff;
    padding: 100px 20px 150px;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-inner {
    width: 100%;
    max-width: 600px;
    background: #111;
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.9);
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.02em;
}

.contact-desc {
    color: #a1a1a6;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #d1d1d6;
}

.premium-input {
    background: #1c1c1e;
    border: 1px solid rgba(255,255,255,0.05);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 18px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
}

.premium-input:focus {
    background: #222;
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.05);
}

select.premium-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 20px top 50%;
    background-size: 12px auto;
}

.premium-submit-btn {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 30px;
    padding: 18px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.premium-submit-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

.premium-submit-btn i {
    font-size: 1.4rem;
}