.hero-section {
    background: linear-gradient(rgba(23, 23, 23, 0.85), rgba(38, 38, 38, 0.75)), 
            url('https://images.unsplash.com/photo-1585464231875-d9ef1f5ad396?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    margin-top: 60px;
}
.layout-hero {
    display: flex;
    width: 100%;
    max-width: 1100px;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}
.hero-side-text {
    flex: 1.2;
}
.hero-side-text h1 {
    color: var(--two-font-color);
    margin-bottom: 24px;
}
.hero-side-text p {
    color: var(--two-font-color);
}
.scroll-btn {
    display: inline-block;
    margin-top: 32px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid #ffffff; 
    padding-bottom: 4px;
    transition: 0.5s;
}
.scroll-btn:hover { 
    color: var(--three-font-color);
    border-bottom-color: var(--three-font-color);
    transition: 0.5s;
}
.form-side {
    flex: 0.9;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Sección slider */
.tag-section {
    background-color: #ffffff;
    padding: 80px 40px 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}
.tag-container {
    width: 100%;
    max-width: 1100px;
    position: relative;
}
.tag-header {
    text-align: center;
    margin-bottom: 50px;
}
.tag-header h1 {
    margin-bottom: 15px;
}
.tag-header p {
    max-width: 800px;
    margin: 0 auto;
}
.slider-tag {
    overflow: hidden;
    width: 100%;
    border-radius: 24px;
    background: var(--three-bg-color);
    position: relative;
}
.slider-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}
.slider {
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
    box-sizing: border-box;
    padding: 0 40px 0 40px;
}
.slider-img {
    flex: 1;
}
.slider-img img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.flip-container {
    perspective: 1000px;
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}
.flipper {
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
}
.flip-container.is-flipped .flipper {
    transform: rotateY(180deg);
}
.flip-front, .flip-back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 100%;
    top: 0;
    left: 0;
}
.flip-front {
    z-index: 2;
    transform: rotateY(0deg);
}
.flip-back {
    position: absolute;
    transform: rotateY(180deg);
}
.flip-back img {
    width: 100%;
    border-radius: 18px;
    display: block;
}
.btn-flip {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e5e5;
    border: none;
    font-size: 24px;
    font-weight: 300;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 10;
}
.btn-flip:hover {
    background-color: #d4d4d4;
}
.slider-txt {
    flex: 1;
}
.slider-txt h2 {
    margin-bottom: 15px;
}
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
.slider-nav-btn {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #e5e5e5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.slider-nav-btn:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e5e5e5;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.dot.active {
    background-color: #000000;
    transform: scale(1.2);
}

/* Sección perfiles */
.profiles-section {
    background: var(--three-bg-color);
    padding: 80px 40px 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-grid {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}
.card {
    background: transparent;
    width: 100%;
    max-width: 480px;
    height: 500px;
    perspective: 1000px;
    border-radius: 24px;
}
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.card.is-flipped .card-inner {
    transform: rotateY(180deg);
}
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card-front {
    padding: 0;
}
.card-front img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.card-info {
    padding: 30px 40px;
    flex-grow: 1;
}
.card-info h2 {
    color: #000000;
    margin-bottom: 12px;
    font-size: var(--font-size-h2);
    font-weight: 300;
}
.plus-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e5e5;
    border: none;
    font-size: 24px;
    font-weight: 300;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 10;
}
.plus-btn:hover {
    background-color: #d4d4d4;
}
/* Solución específica para Safari: Ocultar explícitamente el botón frontal tras el giro */
.card.is-flipped .card-front .plus-btn {
    opacity: 0;
    pointer-events: none;
}
.card-back {
    transform: rotateY(180deg);
    padding: 20px 30px;
    background-color: #ffffff;
    overflow-y: auto;
}
.card-back ul {
    list-style: none;
    padding: 0;
}
.card-back li {
    margin-bottom: 18px;
}
.card-back li strong {
    color: #000000;
    display: block;
    margin-bottom: 4px;
}

/* Sección funciones */
.funcs-section {
    padding: 80px 40px 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.funcs-container {
    width: 100%;
    max-width: 1100px;
    position: relative;
}
.funcs-header {
    text-align: center;
    margin-bottom: 50px;
}
.funcs-header h1 {
    margin-bottom: 15px;
}
.funcs-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.funcs-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    gap: 24px;
}
.func-card {
    min-width: 100%;
    background-color: #fff;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: flex-end;
    height: 370px;
    box-sizing: border-box;
}
.func-card.imgone {
    background: var(--three-bg-color);
    background-size: 260px auto;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-image: url(https://sosqr.me/assets/imgs/index/funcion-paso-uno.png);
}
.func-card.imgtwo {
    background: var(--three-bg-color);
    background-size: 300px auto;
    background-position: 750px bottom;
    background-repeat: no-repeat;
    background-image: url(https://sosqr.me/assets/imgs/index/funcion-paso-dos.png);
}
.func-card.imgthree {
    background: var(--three-bg-color);
    background-size: 300px auto;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-image: url(https://sosqr.me/assets/imgs/index/funcion-paso-tres.png);
}
.func-content {
    max-width: 600px;
}
.func-content h3 {
    color: #666666;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    font-weight: 600;
}
.func-content h2 {
    color: var(--one-font-color);
    margin-bottom: 15px;
    font-weight: 300;
}
.funcs-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.f-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #666666;
    border: none;
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}
.f-dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: #000000;
}

/* Sección planes */
.plans-section {
    background: var(--three-bg-color);
    padding: 80px 40px 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.plans-container {
    width: 100%;
    max-width: 1100px;
    position: relative;
}
.plans-header {
    text-align: center;
    margin-bottom: 50px;
}
.plans-header h1 {
    margin-bottom: 15px;
}
.plans-grid {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}
.plan-card {
    background: transparent;
    width: 100%;
    max-width: 480px;
    height: 500px;
    perspective: 1000px;
    border-radius: 24px;
    transition: height 0.4s ease;
}
.plan-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 24px;
}
.plan-card.is-flipped .plan-inner {
    transform: rotateY(180deg);
}
.plan-front, .plan-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: var(--two-font-color);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 40px;
}
.plan-front {
    align-items: center;
    justify-content: center;
    text-align: center;
}
.plan-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
.plan-info p {
    margin-bottom: 20px;
}
.pricing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}
.price-block {
    display: flex;
    align-items: center;
}
.price-amount {
    font-size: var(--font-size-h3);
    font-weight: 300;
    color: var(--one-font-color);
    line-height: 1;
}
.price-details {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-left: 6px;
    justify-content: center;
}
.price-details span {
    line-height: 1.2;
}
.price-separator {
    font-size: 1.6rem;
    font-weight: 400;
    color: #000000;
    margin: 0 15px;
}
.plan-back {
    transform: rotateY(180deg);
    background-color: var(--two-font-color);
    overflow-y: auto;
    padding: 30px 40px;
}
.plan-back ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}
.plan-back li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 16px;
    color: var(--three-font-color);
}
.plan-back li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}
.button-info {
    background: var(--four-bg-color);
}
.button-info:hover {
    opacity: 0.8;
    transition: 0.5s;
    background: var(--four-bg-color);
}
.plan-front .button-info,
.plan-back .button-info {
    align-self: center;
    margin-top: auto;
}
.plans-footer {
    margin-top: 50px;
    text-align: center;
}
.plans-footer p {
    font-size: 0.8rem;
    color: #888888;
    max-width: 800px;
    margin: 0 auto;
}

/* Sección incentivo */
.incentive-section {
    background-color: #ffffff;
    padding: 80px 40px 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.inc-box {
    width: 100%;
    max-width: 1100px;
    background: var(--three-bg-color);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px 0 40px;
    gap: 40px;
    box-sizing: border-box;
}
.inc-info {
    flex: 1;
    max-width: 500px;
}
.inc-info h2 {
    margin-bottom: 20px;
}
.inc-info p b {
    color: #000000;
    font-weight: 600;
}
.inc-info span {
    font-size: 0.9rem;
    color: #666666;
}
.inc-link {
    color: #0071e3;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s;
    margin-top: 20px;
}
.inc-link:hover {
    opacity: 0.8;
}
.inc-link span {
    font-size: 1.2rem;
    margin-left: 6px;
    color: #0071e3;
    font-weight: 400;
}
.inc-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.inc-pic {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 100%;
}

/* Sección preguntas frecuentes */
.faqs-section {
    background-color: #ffffff;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.faqs-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.faqs-wrapper {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}
.faqs-wrapper details {
    border-bottom: 1px solid #e5e5e5;
    padding: 24px 0;
    transition: background-color 0.3s ease;
}
.faqs-wrapper details:first-child {
    border-top: 1px solid #e5e5e5;
}
.faqs-wrapper summary {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--one-font-color);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}
.faqs-wrapper summary::-webkit-details-marker {
    display: none;
}
.faqs-wrapper summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: #888888;
    transition: transform 0.3s ease;
}
.faqs-wrapper details[open] summary::after {
    transform: rotate(45deg);
}
.faqs-wrapper details[open] summary {
    color: #000000;
}
.faqs-wrapper p {
    margin-top: 16px;
    color: var(--three-font-color);
    line-height: var(--line-height-tertiary);
    font-size: 1rem;
    font-weight: 400;
}

@media (max-width: 960px) {
    .layout-hero {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .slider {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 30px;
    }
    .card {
        height: 520px;
    }
    .card-info, .card-back {
        padding: 20px 20px;
    }
    .func-card {
        height: auto;
        min-height: 400px;
        align-items: flex-start;
        padding: 20px;
    }
    .func-card.imgone {
        background-size: 200px auto;
        background-position: right 325px;
        background-repeat: no-repeat;
        background-image: url(https://sosqr.me/assets/imgs/index/funcion-paso-uno.png);
    }
    .func-card.imgtwo {
        background-size: 180px auto;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-image: url(https://sosqr.me/assets/imgs/index/funcion-paso-dos.png);
    }
    .func-card.imgthree {
        background-size: 180px auto;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-image: url(https://sosqr.me/assets/imgs/index/funcion-paso-tres.png);
    }
    .func-content {
        padding: 0 0 35% 0;
    }
    .plan-card {
        height: 300px;
    }
    .plan-front, .plan-back {
        padding: 30px 20px;
    }
    .price-amount {
        font-size: 1.8rem;
    }
    .price-separator {
        font-size: 1.4rem;
        margin: 0 10px;
    }
    .inc-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 40px;
    }
    .inc-info {
        max-width: 100%;
    }
    .inc-link {
        justify-content: center;
    }
    .faqs-section {
        padding: 60px 24px;
    }
    .faqs-wrapper summary {
        font-size: 1.1rem;
    }
}