.hero {
    min-height: 100vh;
}

@media (min-width: 768px) {
    .hero-content {
        max-width: 600px;
        margin-left: auto;
    }
}

@media (min-width: 992px) {
    .hero-content {
        max-width: 660px;
        margin-right: 0;
    }
}

.btn-hero-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: .75rem 1.5rem;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 2px;
    text-decoration: none;
    transition: background .25s, transform .2s;
    display: inline-block;
    text-align: center;
}

@media (min-width: 768px) {
    .btn-hero-primary {
        padding: .85rem 2rem;
        font-size: .9rem;
    }
}

.btn-hero-primary:hover {
    background: var(--caramel);
    color: #fff;
    transform: translateY(-2px);
}

.btn-hero-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    padding: .75rem 1.5rem;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 2px;
    text-decoration: none;
    transition: border-color .25s, background .25s;
    display: inline-block;
    text-align: center;
}

@media (min-width: 768px) {
    .btn-hero-ghost {
        padding: .85rem 1.8rem;
        font-size: .9rem;
    }
}

.btn-hero-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.history-section {
    background: var(--cream);
}

.history-section p {
    font-size: .95rem;
    color: #6a5040;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.materials-section {
    padding: 3rem 0;
    background: var(--sand);
}

@media (min-width: 768px) {
    .materials-section {
        padding: 5rem 0;
    }
}

.material-card {
    background: var(--cream);
    border: 1px solid var(--linen);
    border-radius: 12px;
    padding: 0;
    height: 100%;
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.material-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(74, 46, 26, .12);
}

.material-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8f8f8;
}

.material-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .55s cubic-bezier(.25, .46, .45, .94);
    padding: 1rem;
}

.material-card:hover .material-img-wrap img {
    transform: scale(1.05);
}

.material-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--espresso);
    margin: 1rem 1rem 0.5rem;
    font-weight: 700;
    text-align: center;
}

@media (min-width: 768px) {
    .material-card h5 {
        font-size: 1.2rem;
        margin: 1.2rem 1.5rem 0.6rem;
    }
}

.material-card p {
    font-size: 0.85rem;
    color: #7a6050;
    line-height: 1.6;
    margin: 0 1rem 1.2rem;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .material-card p {
        font-size: 0.9rem;
        margin: 0 1.5rem 1.5rem;
        line-height: 1.65;
    }
}

.products-section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .products-section {
        padding: 5rem 0;
    }
}

.product-card {
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    background: var(--linen);
    cursor: pointer;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--linen);
}

.product-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.25, .46, .45, .94);
    cursor: pointer;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.07);
}

.product-img-wrap .zoom-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: rgba(74, 46, 26, .35);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.product-card:hover .zoom-icon {
    opacity: 1;
}

.swiper-wrapper-custom {
    position: relative;
    width: 100%;
}

.swiper-productos {
    width: 100%;
    padding-bottom: 56px !important;
}

.products-section .swiper-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-calc(50% + 28px));
    z-index: 10;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (min-width: 768px) {
    .products-section .swiper-btn {
        display: flex;
        width: 48px;
        height: 48px;
    }
}

@media (min-width: 1200px) {
    .products-section .swiper-btn {
        width: 52px;
        height: 52px;
    }
}

.products-section .swiper-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 148, 58, .5);
    background: rgba(253, 248, 242, .95);
    backdrop-filter: blur(6px);
    transition: all .3s ease;
    box-shadow: 0 4px 20px rgba(74, 46, 26, .18);
}

.products-section .swiper-btn:hover::before {
    background: var(--espresso);
    border-color: var(--espresso);
    box-shadow: 0 8px 28px rgba(74, 46, 26, .35);
}

.products-section .swiper-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--espresso);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: relative;
    z-index: 1;
    transition: stroke .3s;
}

@media (min-width: 768px) {
    .products-section .swiper-btn svg {
        width: 18px;
        height: 18px;
    }
}

.products-section .swiper-btn:hover svg {
    stroke: var(--cream);
}

.products-section .swiper-btn-prev {
    left: -15px;
}

@media (min-width: 768px) {
    .products-section .swiper-btn-prev {
        left: -20px;
    }
}

@media (min-width: 992px) {
    .products-section .swiper-btn-prev {
        left: -25px;
    }
}

.products-section .swiper-btn-next {
    right: -15px;
}

@media (min-width: 768px) {
    .products-section .swiper-btn-next {
        right: -20px;
    }
}

@media (min-width: 992px) {
    .products-section .swiper-btn-next {
        right: -25px;
    }
}

.swiper-counter {
    text-align: center;
    font-size: .78rem;
    color: rgba(74, 46, 26, .45);
    letter-spacing: .08em;
    margin-top: .5rem;
}

.swiper-counter span {
    color: var(--accent);
    font-weight: 600;
}

.btn-galeria {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: var(--espresso);
    border: 1.5px solid var(--caramel);
    padding: .65rem 1.5rem;
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 2px;
    text-decoration: none;
    transition: background .25s, color .25s, border-color .25s;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

.btn-galeria:hover {
    background: var(--espresso);
    color: var(--cream);
    border-color: var(--espresso);
}

.testimonios-section {
    padding: 3rem 0;
    background: var(--sand);
}

@media (min-width: 768px) {
    .testimonios-section {
        padding: 5rem 0;
    }
}

.testi-card {
    background: var(--cream);
    border: 1px solid var(--linen);
    border-radius: 4px;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    transition: transform .3s, box-shadow .3s;
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74, 46, 26, .09);
}

@media (min-width: 768px) {
    .testi-card {
        padding: 2rem;
    }
}

.testi-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--linen);
    position: absolute;
    top: -.2rem;
    left: 0.8rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .testi-card::before {
        font-size: 5rem;
        top: -.5rem;
        left: 1.2rem;
    }
}

.testi-card p {
    font-size: .85rem;
    line-height: 1.6;
    color: #6a5040;
    margin-bottom: 1rem;
    font-style: italic;
}

@media (min-width: 768px) {
    .testi-card p {
        font-size: .9rem;
        line-height: 1.75;
        margin-bottom: 1.2rem;
    }
}

.testi-author {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--caramel);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .testi-avatar {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }
}

.testi-name {
    font-weight: 500;
    font-size: .85rem;
    color: var(--espresso);
}

.testi-loc {
    font-size: .7rem;
    color: #aaa;
}

.stars {
    color: var(--accent);
    font-size: .8rem;
    margin-bottom: .5rem;
}

.clientes-section {
    padding: 3rem 0;
    background: var(--cream);
    border-top: 1px solid var(--linen);
    border-bottom: 1px solid var(--linen);
}

@media (min-width: 768px) {
    .clientes-section {
        padding: 3.5rem 0;
    }
}

.clientes-label {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(74, 46, 26, .4);
    font-weight: 500;
    text-align: center;
    margin-bottom: 2rem;
}

.logos-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3.5rem;
}

@media (min-width: 768px) {
    .logos-row {
        gap: 2rem 5rem;
    }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.06);
}

.logo-item img {
    height: 42px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

@media (min-width: 768px) {
    .logo-item img {
        height: 52px;
        max-width: 160px;
    }
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--espresso);
    letter-spacing: .04em;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
    }
}

.gap-3 {
    gap: 0.8rem !important;
}

@media (min-width: 768px) {
    .gap-3 {
        gap: 1rem !important;
    }
}