/* Custom Scrollbar */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: #f1f1f1;
}

html::-webkit-scrollbar-thumb {
    background: #d88c29;
    border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover {
    background: #b76e12;
}

html {
    scroll-behavior: smooth;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #d88c29 #f1f1f1;
    background-color: #F6F6F6;
    font-family: 'Montserrat', sans-serif;
}

/* Transiciones globales para elementos interactivos */
a, button {
    transition: all 0.3s ease;
}

img {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Centrado de contenido para pantallas grandes */
@media screen and (min-width: 1024px) {
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    main {
        width: 100%;
    }
}

.hero {
    margin: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 72px);
    gap: 2rem;
    overflow: hidden;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-caption {
    font-size: 2.3rem;
    line-height: 1.2;
    text-align: center;
}

.hero-cursive {
    font-style: italic;
}

.hero-highlight {
    color: #d88c29;
    font-weight: 600;
    margin: 0;
    font-size: 2.3rem;
    text-align: center;
}

.hero-cta-wrap {
    margin-top: 3rem;
    margin-bottom: 3.8rem;
    text-align: center;
}

.hero-cta {
    text-decoration: none;
    background: #EEDBC3;
    color: #1f1f1f;
    padding: 15px 40px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: #5c5c5c 0px 4px 12px -2px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    -webkit-mask-image: linear-gradient(to bottom,
        transparent 0%,
        black 14%,
        black 86%,
        transparent 100%);
    mask-image: linear-gradient(to bottom,
        transparent 0%,
        black 14%,
        black 86%,
        transparent 100%);
    pointer-events: none;
}

/* Hero Desktop */
@media screen and (min-width: 1024px) {
    .hero-cta-wrap {
        position: relative;
    }

    .hero-image {
        margin-top: -1rem;
    }

    .hero-left {
        margin-top: 4rem;
    }

    .hero-caption {
        font-size: 2.5rem;
        margin-top: -5rem;
    }

    .hero-highlight {
        font-size: 2.5rem;
    }

    .hero-cta-wrap {
        margin-top: 3.5rem;
    }

    .hero-cta {
        background: #EEDBC3;
        border-radius: 999px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hero-cta:hover {
        background: #d88c29;
        color: white;
        transform: translateX(10px) scale(1.05);
        box-shadow: #3c3c3c 0px 8px 24px -4px;
    }

    .hero-cta:active {
        background-color: #b87520;
        color: white;
        transform: translateX(5px) scale(1.02);
        box-shadow: #5c5c5c 0px 4px 12px -2px;
    }

    .hero-image:hover {
        transform: scale(1.02);
    }
}

/* Hero Mobile */
@media screen and (max-width: 599px) {
    body {
        font-size: 16px;
    }

    .hero {
        margin: 0;
        padding: 1.5rem;
        align-items: center;
        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        min-height: auto;
        overflow: visible;
        padding-top: 2rem;
        padding-bottom: 2rem;
        gap: 2rem;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        order: 1;
    }

    .hero-caption {
        font-size: 1.5rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
        color: #1f1f1f;
    }

    .hero-highlight {
        color: #d88c29;
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .hero-cta-wrap {
        margin-top: 1.5rem;
        margin-bottom: 0;
        padding: 0;
        width: 100%;
    }

    .hero-cta {
        appearance: none;
        text-decoration: none;
        background: #EEDBC3;
        color: #1f1f1f;
        padding: 10px 24px;
        border-radius: 999px;
        font-weight: 500;
        font-size: 16px;
        line-height: 1.2;
        cursor: pointer;
        box-shadow: none;
        transition: all 0.3s ease;
        display: inline-block;
        white-space: nowrap;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-cta:active {
        background-color: #d88c29;
        color: white;
        transform: scale(0.95);
        box-shadow: #5c5c5c 0px 2px 6px -1px;
    }

    .hero-right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        order: 2;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 14%,
            black 86%,
            transparent 100%);
        mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 14%,
            black 86%,
            transparent 100%);
    }
}

/* Hero Tablet */
@media screen and (min-width: 600px) and (max-width: 1023px) {
    body {
        font-size: 16px;
    }

    .hero {
        margin: 0;
        padding: 3rem 1rem 2rem;
        align-items: center;
        display: flex;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        min-height: auto;
        height: auto;
        overflow: visible;
        gap: 0;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-caption {
        font-size: 2rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .hero-highlight {
        color: #d88c29;
        font-size: 2rem;
    }

    .hero-cta-wrap {
        margin-top: 2rem;
        margin-bottom: 3.8rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-cta {
        appearance: none;
        text-decoration: none;
        background: #EEDBC3;
        color: #1f1f1f;
        padding: 15px 40px;
        border-radius: 999px;
        font-weight: 500;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        box-shadow: #5c5c5c 0px 4px 12px -2px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .hero-cta:active {
        background-color: #d88c29;
        color: white;
    }

    .hero-image {
        width: 100vw;
        max-width: 100%;
        display: block;
        margin: 0;
        -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 14%,
            black 86%,
            transparent 100%);
        mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 14%,
            black 86%,
            transparent 100%);
    }
}

.saludo {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.saludo-image {
    margin-left: 5rem;
    margin-top: -5rem;
}

/* Saludo Desktop */
@media screen and (min-width: 1024px) {
    .saludo {
        margin-top: 5rem;
        margin-bottom: 3rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .saludo > div:first-child {
        order: 2;
        text-align: right;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .saludo > div:last-child {
        order: 1;
    }

    .saludo-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        margin-right: 4rem;
    }

    .saludo-highlight {
        color: #d88c29;
        font-weight: 600;
        font-style: italic;
    }

    .saludo-texto {
        font-size: 1.5rem;
        line-height: 1.6;
        max-width: 85%;
        margin-left: auto;
        margin-right: 4rem;
    }

    .saludo-text-highlight {
        font-weight: 700;
    }

    .saludo-image {
        width: 80%;
        max-width: 80%;

        margin-left: 10rem;
        -webkit-mask-image: radial-gradient(ellipse 85% 78% at center, black 35%, transparent 78%);
        mask-image: radial-gradient(ellipse 85% 78% at center, black 35%, transparent 78%);
    }
}

/* Saludo Mobile */
@media screen and (max-width: 599px) {
    .saludo {
        align-items: center;
        display: flex;
        text-align: center;
        flex-direction: column;
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .saludo-title {
        font-size: 2rem;
        text-align: center;
    }

    .saludo-highlight {
        color: #d88c29;
    }

    .saludo-text-highlight {
        font-weight: 600;
    }

    .saludo-image {
        width: 75%;
        max-width: 75%;
        display: block;
        margin: 1rem auto 0;
        -webkit-mask-image: radial-gradient(ellipse 85% 78% at center, black 35%, transparent 78%);
        mask-image: radial-gradient(ellipse 85% 78% at center, black 35%, transparent 78%);
    }
}

/* Saludo Tablet */
@media screen and (min-width: 600px) and (max-width: 1023px) {
    .saludo {
        margin-top: 3rem;
        align-items: center;
        display: flex;
        text-align: center;
        flex-direction: column;
        padding: 0 2.5rem;
    }

    .saludo-texto {
        max-width: 90%;
        font-weight: 500;
        margin: 1rem auto 0;
    }

    .saludo-title {
        font-size: 2rem;
        text-align: center;
    }

    .saludo-highlight {
        color: #d88c29;
    }

    .saludo-text-highlight {
        font-weight: 600;
    }

    .saludo-image {
        width: 70%;
        max-width: 70%;
        display: block;
        margin: 1rem auto 0;
        -webkit-mask-image: radial-gradient(ellipse 85% 78% at center, black 35%, transparent 78%);
        mask-image: radial-gradient(ellipse 85% 78% at center, black 35%, transparent 78%);
    }
}

/* Servicios Desktop */
@media screen and (min-width: 1024px) {
    .servicios-wrap {
        margin-top: 8rem;
        margin-bottom: 10rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .servicios-container {
        width: 100%;
        max-width: 1500px;
        padding: 3rem 3rem 3.5rem;
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        background-color: #f0eeeb;
        border-radius: 24px;
        position: relative;
        overflow: hidden;
        margin-bottom: 5rem;
    }

    .servicios-container::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/desktop/servicios-image.png');
        background-size: 1500px;
        background-position: bottom center;
        background-repeat: no-repeat;
        opacity: 0.4;
        pointer-events: none;
        z-index: 0;
    }

    .servicios-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        position: relative;
        z-index: 1;
    }

    .servicio-card {
        display: flex;
        flex-direction: column;
    }

    .servicio-box {
        background-color: #ffffff;
        width: 100%;
        text-align: left;
        padding: 1.2rem 1rem 1.2rem;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        flex: 1;
    }

    .servicio-header {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .servicio-icon-container {
        width: 40px;
        height: 40px;
        min-width: 40px;
        background: #fdf3e3;
        border: 2px solid #d88c29;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #d88c29;
        font-size: 1.1rem;
    }

    .servicio-title {
        margin: 0;
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.3;
        color: #1f1f1f;
        white-space: nowrap;
    }

    .servicio-title strong {
        font-weight: 700;
    }

    .servicio-desc {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 400;
        line-height: 1.5;
        color: #5a5a5a;
    }

    .servicio-highlight {
        font-weight: 700;
    }

    .servicios-banner {
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .servicios-banner-text {
        margin: 0;
        font-size: 2rem;
        font-weight: 400;
        color: #1f1f1f;
    }
}

/* Servicios Mobile */
@media screen and (max-width: 599px) {
    .servicios-wrap {
        margin-top: 3rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 1rem;
    }

    .servicios-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        background-color: #f0eeeb;
        border-radius: 18px;
        padding: 2rem 1.2rem 2.5rem;
        position: relative;
        overflow: hidden;
    }

    .servicios-container::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/desktop/servicios-image.png');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 0.4;
        pointer-events: none;
        z-index: 0;
    }

    .servicios-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        position: relative;
        z-index: 1;
    }

    .servicio-card {
        display: flex;
        flex-direction: column;
    }

    .servicio-box {
        background-color: #ffffff;
        width: 100%;
        text-align: left;
        padding: 1.2rem;
        border-radius: 14px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }

    .servicio-header {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .servicio-icon-container {
        width: 42px;
        height: 42px;
        min-width: 42px;
        background: #fdf3e3;
        border: 2px solid #d88c29;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #d88c29;
        font-size: 1.1rem;
    }

    .servicio-title {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: #1f1f1f;
    }

    .servicio-title strong {
        font-weight: 700;
    }

    .servicio-desc {
        margin: 0;
        font-size: 0.9rem;
        font-weight: 400;
        line-height: 1.5;
        color: #5a5a5a;
    }

    .servicio-highlight {
        font-weight: 700;
    }

    .servicios-banner {
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .servicios-banner-text {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 600;
        color: #1f1f1f;
    }
}

/* Servicios Tablet */
@media screen and (min-width: 600px) and (max-width: 1023px) {
    .servicios-wrap {
        margin-top: 3rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 2rem;
    }

    .servicios-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        background-color: #f0eeeb;
        border-radius: 22px;
        padding: 2.5rem 2rem 3rem;
        position: relative;
        overflow: hidden;
    }

    .servicios-container::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/desktop/servicios-image.png');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 0.4;
        pointer-events: none;
        z-index: 0;
    }

    .servicios-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        position: relative;
        z-index: 1;
    }

    .servicio-card {
        display: flex;
        flex-direction: column;
    }

    .servicio-box {
        background-color: #ffffff;
        width: 100%;
        text-align: left;
        padding: 1.2rem 1rem 1.2rem;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        flex: 1;
    }

    .servicio-header {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.7rem;
    }

    .servicio-icon-container {
        width: 40px;
        height: 40px;
        min-width: 40px;
        background: #fdf3e3;
        border: 2px solid #d88c29;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #d88c29;
        font-size: 1.1rem;
    }

    .servicio-title {
        margin: 0;
        font-size: 1rem;
        font-weight: 500;
        color: #1f1f1f;
        white-space: nowrap;
    }

    .servicio-title strong {
        font-weight: 700;
    }

    .servicio-desc {
        margin: 0;
        font-size: 0.9rem;
        font-weight: 400;
        line-height: 1.5;
        color: #5a5a5a;
    }

    .servicio-highlight {
        font-weight: 700;
    }

    .servicios-banner {
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .servicios-banner-text {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 500;
        color: #1f1f1f;
    }
}

.productos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.productos-titulo {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.productos-btn-conoce {
    display: block;
    margin: 1.5rem auto;
    padding: 0.75rem 1.5rem;
}

.productos-highlight {
    font-weight: 700;
}

.texto-higlight {
    font-weight: 600;
}

/* Cards de productos en inicio */
.producto-link {
    text-decoration: none;
    color: inherit;
}

.producto-inicio-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.producto-inicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.producto-inicio-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px 10px;
}

.producto-inicio-caption {
    padding: 0 15px 20px;
    text-align: center;
}

.producto-inicio-texto {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #1f1f1f;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.producto-inicio-highlight {
    font-weight: 600;
    display: inline;
    background-color: #D4922A;
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 25px;
    line-height: 2;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Productos Desktop */
@media screen and (min-width: 1024px) {
    .productos {
        margin-top: 10rem;
        padding-top: 5rem;
        margin-bottom: 10rem;
        padding-bottom: 5rem;
        background-color: #d88c29;
        position: relative;
    }

    .top-wave {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 120px;
        transform: translateY(-99%);
    }

    .bottom-wave {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 120px;
        transform: translateY(99%);
    }

    .productos-section-title {
        text-align: center;
        color: #ffffff;
        font-size: 2rem;
        font-weight: 400;
        margin-top: -2rem;
        margin-bottom: 4rem;
    }

    .productos-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
        padding: 0 4rem;
        max-width: 1920px;
        margin: 0 auto;
        justify-content: center;
    }

    .producto-link {
        text-decoration: none;
        color: inherit;
        display: block;
        width: 100%;
    }

    .producto-image {
        max-width: 80%;
        max-height: 140px;
        height: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .producto-link:hover .producto-image {
        transform: scale(1.05);
        cursor: pointer;
    }

    .productos-cta {
        text-align: center;
        margin-top: 4rem;
    }

    .productos-btn {
        background-color: #F6F6F6;
        color: #1f1f1f;
        border: none;
        border-radius: 50px;
        padding: 0.5rem 3rem;
        font-size: 1.1rem;
        font-weight: 400;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
    }

    .productos-btn:hover {
        background-color: #ffffff;
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .productos-btn:active {
        background-color: #e0e0e0;
        transform: translateY(0) scale(0.98);
    }

    .productos-highlight {
        font-weight: 700;
        font-style: italic;
    }
}

/* Productos Mobile */
@media screen and (max-width: 599px) {
    .productos {
        margin-top: 3rem;
        padding: 4rem 1rem;
        background-color: #d88c29;
    }

    .top-wave {
        margin-top: -11rem;
        width: 100vw;
        left: 0;
        right: 0;
        margin-left: -1rem;
    }

    .bottom-wave {
        margin-bottom: -11rem;
        width: 100vw;
        left: 0;
        right: 0;
        margin-left: -1rem;
    }

    .productos-section-title {
        text-align: center;
        color: #ffffff;
        font-size: 1.3rem;
        font-weight: 400;
        margin: 0 0 2rem;
        padding: 0 1rem;
    }

    /* Carrusel horizontal con scroll-snap */
    .productos-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 0;
        padding: 0;
        scrollbar-width: none;
    }

    .productos-grid::-webkit-scrollbar {
        display: none;
    }

    .producto-link {
        flex: 0 0 100%;
        scroll-snap-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 2rem;
    }

    .producto-inicio-card {
        width: 100%;
        max-width: 320px;
    }

    .producto-inicio-icon {
        padding: 15px 10px 8px;
    }

    .producto-image {
        max-width: 70%;
        max-height: 100px;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .producto-inicio-caption {
        padding: 0 10px 14px;
    }

    .producto-inicio-texto {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .producto-inicio-highlight {
        padding: 3px 10px;
        font-size: 0.8rem;
    }

    /* Indicadores (dots) del carrusel */
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 1.5rem;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .carousel-dot.active {
        background-color: #ffffff;
        transform: scale(1.3);
    }

    .productos-cta {
        text-align: center;
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .productos-btn {
        width: auto;
        max-width: 100%;
        background-color: #F6F6F6;
        color: #1f1f1f;
        border: none;
        border-radius: 15px;
        padding: 1rem 2rem;
        font-size: 0.95rem;
        font-weight: 400;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
    }

    .productos-btn:active {
        background-color: #B76E12;
        color: white;
        transform: scale(0.98);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
}

/* Ocultar dots del carrusel en tablet y desktop */
@media screen and (min-width: 600px) {
    .carousel-dots {
        display: none;
    }
}

/* Productos Tablet */
@media screen and (min-width: 600px) and (max-width: 1023px) {
    .productos {
        margin-top: 3rem;
        padding: 4rem 0;
        background-color: #d88c29;
    }

    .top-wave {
        margin-top: -12rem;
        width: 100vw;
        left: 0;
    }

    .bottom-wave {
        margin-bottom: -13rem;
        width: 100vw;
        left: 0;
    }

    .productos-section-title {
        text-align: center;
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: 400;
        margin: 0 0 2rem;
        padding: 0 2rem;
    }

    .productos-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .producto-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }

    .producto-inicio-icon {
        padding: 18px 12px 8px;
    }

    .producto-image {
        max-width: 80%;
        max-height: 120px;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .producto-inicio-caption {
        padding: 0 12px 18px;
    }

    .producto-inicio-texto {
        font-size: 0.95rem;
    }

    .productos-cta {
        text-align: center;
        margin-top: 4rem;
    }

    .productos-btn {
        width: 95vw;
        background-color: #F6F6F6;
        color: #1f1f1f;
        border: none;
        border-radius: 50px;
        padding: 1rem 2rem;
        font-size: 1rem;
        font-weight: 400;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        text-decoration: none;
    }

    .productos-btn:active {
        background-color: #B76E12;
        color: #ffffff;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
}

/* Cards de integraciones tecnológicas */
.pagos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pagos-titulo {
    font-size: 2rem;
    text-align: center;
}

.pagos-list {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: stretch;
}

/* Card de integración - mismo estilo que producto-inicio-card */
.pagos-integracion-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
}


.pagos-integracion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px 15px;
    min-height: 160px;
}

.pagos-integracion-logo {
    max-width: 85%;
    max-height: 130px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pagos-integracion-icon picture {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagos-integracion-caption {
    padding: 0 20px 20px;
    text-align: left;
    flex-grow: 1;
}

.pagos-integracion-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pagos-integracion-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.pagos-tick {
    color: #ff9900;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pagos-logo-webpay {
    transform: scale(1.35);
}

.pagos-integracion-item span {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5a5a5a;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

/* Integraciones Tecnológicas Desktop */
@media screen and (min-width: 1024px) {
    .pagos {
        margin-top: 15rem;
        margin-bottom: 10rem;
        gap: 3rem;
    }

    .pagos-titulo {
        width: 70%;
        font-size: 2.2rem;
        font-weight: 400;
        color: white;
        text-align: center;
        background-color: #2f2f2f;
        padding: 1.2rem 3rem;
        border-radius: 0 50px 50px 0;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .pagos-list {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 8rem;
        padding: 0 6rem;
        max-width: 1400px;
        margin: 0 auto;
    }

    .pagos-integracion-card {
        flex: 1;
        max-width: 380px;
    }

    .pagos-integracion-icon {
        padding: 40px 25px 20px;
    }

    .pagos-integracion-logo {
        max-height: 150px;
        max-width: 90%;
    }

    .pagos-integracion-caption {
        padding: 0 25px 25px;
    }

    .pagos-integracion-item span {
        font-size: 1rem;
    }
}

/* Integraciones Tecnológicas Mobile */
@media screen and (max-width: 599px) {
    .pagos {
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    .pagos-titulo {
        width: 95%;
        font-size: 1.5rem;
        font-style: italic;
        font-weight: 400;
        color: white;
        text-align: center;
        background-color: #2f2f2f;
        padding: 1rem 2rem;
        margin-bottom: 2rem;
        border-radius: 0 50px 50px 0;
        text-transform: uppercase;
    }

    .pagos-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .pagos-integracion-card {
        width: 100%;
        max-width: 340px;
    }

    .pagos-integracion-icon {
        min-height: 120px;
        padding: 20px 15px 10px;
    }

    .pagos-integracion-logo {
        max-height: 100px;
        max-width: 75%;
    }

    .pagos-integracion-caption {
        padding: 0 15px 15px;
    }

    .pagos-integracion-item span {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Integraciones Tecnológicas Tablet */
@media screen and (min-width: 600px) and (max-width: 1023px) {
    .pagos {
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    .pagos-titulo {
        width: 95%;
        font-size: 1.5rem;
        font-style: italic;
        font-weight: 400;
        color: white;
        text-align: center;
        background-color: #2f2f2f;
        padding: 1rem 2rem;
        margin-bottom: 2rem;
        border-radius: 0 50px 50px 0;
        text-transform: uppercase;
    }

    .pagos-list {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 2rem;
        padding: 0 2rem;
    }

    .pagos-integracion-card {
        flex: 1;
        max-width: 350px;
    }

    .pagos-integracion-icon {
        min-height: 140px;
        padding: 22px 15px 10px;
    }

    .pagos-integracion-logo {
        max-height: 120px;
        max-width: 85%;
    }

    .pagos-integracion-caption {
        padding: 0 20px 20px;
    }

    .pagos-integracion-item span {
        font-size: 0.9rem;
    }
}

/* Compromiso Section */
.compromiso {
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.compromiso-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Remove gap to reduce excessive spacing if row height is large */
    gap: 0; 
}

.compromiso-row {
    display: flex;
    align-items: center;
    height: auto;
}

.compromiso-row.top {
    justify-content: flex-start;
    padding-left: 2rem;
}

.compromiso-row.bottom {
    justify-content: flex-end;
    padding-right: 2rem;
}

.line-horizontal {
    height: 6px;
    background-color: #d88c29;
    width: 120px;
    border-radius: 3px;
    margin: 0 1rem;
}

.quote-icon {
    font-size: 8rem; /* Balanced large size */
    line-height: 1;
    color: #d88c29;
    font-family: 'Times New Roman', serif;
    display: block;
}

/* Ensure correct quote characters */
.bi-quote::before {
    content: "\201C"; /* Left double quote */
}

.bottom .bi-quote::before {
    content: "\201D"; /* Right double quote */
}

.compromiso-content {
    display: flex;
    align-items: stretch; /* Stretch lines to match text height */
    justify-content: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.line-vertical {
    width: 6px;
    background-color: #d88c29;
    border-radius: 3px;
    flex-shrink: 0;
}

.compromiso-texto {
    flex-grow: 1;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.4;
    color: #1f1f1f;
    margin: 0;
    padding: 0 1rem;
    font-weight: 400;
}

.compromiso-highlight {
    color: #d88c29;
    font-weight: 700;
    font-style: italic;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .compromiso-container {
        pointer-events: none; /* Avoid interactions */
    }

    .compromiso-row.top {
        padding-left: 0;
        /* Ensure top quote has space above if needed, but flex should handle it */
    }
    .compromiso-row.bottom {
        padding-right: 0;
    }

    .line-horizontal {
        width: 80px;
    }
    
    .quote-icon {
        font-size: 5rem;
        /* Increasing line-height slightly or setting overflow visible might help if simple clipping */
        line-height: 1.2; 
        overflow: visible;
    }
    
    .compromiso-texto {
        font-size: 1.2rem;
    }
}

/* Info Desktop */
@media screen and (min-width: 1024px) {
    .info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 2rem;
        max-width: 1400px;
        margin: 3rem auto;
        padding: 2rem;
    }

    .info-left {
        grid-row: 1 / 3;
        display: flex;
        align-items: stretch;
        justify-content: center;
    }

    .info-image {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .info-image:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .info-right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 2rem;
    }

    .info-title {
        font-size: 2.5rem;
        line-height: 1.3;
        margin-bottom: 2rem;
        font-weight: 400;
    }

    .info-highlight {
        color: #d88c29;
        font-weight: 700;
        font-style: italic;
    }

    .info-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin: 0;
    }

    .info-row {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .info-label {
        font-weight: 700;
        font-size: 1.1rem;
    }

    .info-value {
        margin: 0;
        font-size: 1.1rem;
    }

    .info-value p {
        margin: 0;
    }

    .info-logo-container {
        grid-column: 2;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .info-logo {
        min-width: 250px;
        height: auto;
        margin-bottom: 3rem;
    }
}

/* Info Mobile */
@media screen and (max-width: 599px) {
    .info {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.5rem;
    }

    .info-left,
    .info-right {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .info-image {
        width: 90vw;
        max-width: 500px;
        height: 300px;
        margin: 0 auto 3rem;
        border: none;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .info-title {
        width: 90vw;
        display: block;
        text-align: center;
    }

    .info-highlight {
        font-weight: 900;
        color: #d88c29;
    }

    .info-logo-container {
        display: flex;
        justify-content: center;
    }

    .info-logo {
        max-width: 450px;
        margin-bottom: 2rem;
    }
}

/* Información Empresa Tablet */
@media screen and (min-width: 600px) and (max-width: 1023px) {
    .info {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.5rem;
    }

    .info-left,
    .info-right {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .info-image {
        width: 80vw;
        max-width: 600px;
        height: 350px;
        margin: 0 auto 3rem;
        border: none;
        border-radius: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .info-title {
        width: 90vw;
        display: block;
        text-align: center;
    }

    .info-highlight {
        font-weight: 900;
        color: #d88c29;
    }

    .info-logo-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .info-logo {
        width: auto;
        min-width: 30vw;
        margin-bottom: 2rem;
    }
}