* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    background-color: #3f72af;
    background-image: linear-gradient(135deg, #3f72af 0%, #dbe2ef 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 60px;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    background-color: rgba(63, 114, 175, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 2rem;
}

.profile {
    margin-bottom: 2rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f9b17a;
    box-shadow: 0 0 20px rgba(249, 177, 122, 0.5);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.profile p {
    color: #ffffff;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-button {
    background-color: #ffffff;
    color: #333333;
    padding: 1.7rem;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid #dbe2ef;
    display: block;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.link-button div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
}

.link-button h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #3f72af;
}

.link-button p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.5;
    margin-top: 0.2rem;
}

.link-button:hover {
    background-color: #f8f9fb;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #f9b17a;
}

.link-button:hover h3 {
    color: #f9b17a;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 5px solid #3f72af;
}

.event-card:nth-child(1) .event-icon {
    color: #3f72af;
}

.event-card:nth-child(2) .event-icon {
    color: #112d4e;
}

.event-card:nth-child(2) .event-link {
    border-color: #112d4e;
    color: #112d4e;
}

.event-card:nth-child(2) {
    border-top-color: #112d4e;
}

.event-card:nth-child(3) .event-icon {
    color: #f9b17a;
}

.event-card:nth-child(3) {
    border-top-color: #f9b17a;
}

.event-link {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: transparent;
    border: 2px solid #3f72af;
    color: #3f72af;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-link:hover {
    background: #3f72af;
    color: white;
}

.news-slider {
    margin-top: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.slider-header h2 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 480px) {
    .slider-header h2 {
        font-size: 1.3rem;
    }
    
    .slider-subtitle {
        font-size: 0.8rem;
    }
}

.slider-container {
    width: 100%;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.news-item {
    min-width: 100%;
    padding: 1rem;
}

.news-link {
    text-decoration: none;
    color: white;
    display: block;
    transition: transform 0.3s ease;
}

.news-link:hover {
    transform: translateY(-5px);
}

.news-link .news-button {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.4rem 1rem;
    background-color: white;
    color: #3f72af;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.news-link .news-button:hover {
    background-color: transparent;
    color: white;
}

.news-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-link:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 0.5rem;
}

.news-date {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.news-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.news-button {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.4rem 1rem;
    background-color: white;
    color: #3f72af;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
    position: relative;
    z-index: 2;
}

.news-button:hover {
    background-color: transparent;
    color: white;
}

.news-content .news-button {
    display: block;
    width: fit-content;
    margin: 0.8rem auto 0;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ff6b6b;
    border: 3px solid white;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-nav:hover {
    background: #20bf6b;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
    
    .link-button {
        padding: 1.2rem;
    }
    
    .link-button h3 {
        font-size: 0.9rem;
    }
    
    .link-button p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
        margin-bottom: 60px;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
    
    .link-button {
        padding: 1.2rem;
    }
    
    .link-button h3 {
        font-size: 0.9rem;
    }
    
    .link-button p {
        font-size: 0.75rem;
    }
    
    .footer {
        font-size: 0.7rem;
        padding: 0.8rem;
    }
    
    .news-image {
        height: 150px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .news-content h3 {
        font-size: 1rem;
    }

    .news-content p {
        font-size: 0.8rem;
    }
}

.footer {
    position: static;
    width: 100%;
    text-align: center;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    background-color: rgba(63, 114, 175, 0.8);
    backdrop-filter: blur(5px);
    border-top: 3px solid rgba(255, 255, 255, 0.3);
}

.footer-rights {
    margin: 0;
}

.footer-created-by {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    opacity: 0.9;
}

.footer-brand-link {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: opacity 0.2s ease;
}

.footer-brand-link:hover {
    opacity: 0.85;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    color: #333;
    border: 5px solid #3f72af;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #3f72af;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup:hover {
    opacity: 1;
    background: #f9b17a;
}

.popup-content h2 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.popup-content p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #dbe2ef;
    border-radius: 12px;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.form-group input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.form-group select {
    appearance: none;
    padding-right: 2rem;
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: white;
}

.submit-btn {
    background: #3f72af;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-5px);
    background: #f9b17a;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Share Popup Styles */
.share-popup {
    text-align: center;
}

.popup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #dbe2ef;
}

.popup-header h2 {
    margin: 0.5rem 0 0 0;
    color: #3f72af;
    font-size: 1.5rem;
    font-weight: 700;
}

.popup-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ff6b6b;
    padding: 3px;
    background: white;
}

.qr-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.qr-wrapper {
    display: inline-block;
    padding: 10px;
    background: white;
    border-radius: 15px;
    border: 3px solid #dbe2ef;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qr-code {
    width: 180px;
    height: 180px;
    display: block;
}

.qr-container p {
    color: #1a1a1a;
    margin: 0;
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.share-btn {
    background: #3f72af;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Fredoka', sans-serif;
}

.share-btn:hover {
    background: #f9b17a;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.share-btn i {
    font-size: 1rem;
}

a.share-btn {
    text-decoration: none;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-size: 1rem;
    display: none;
    animation: fadeIn 0.3s ease;
    z-index: 2000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #3f72af;
}

.toast.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Confetti Animation */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    border-radius: 0;
    animation: confetti-fall linear forwards;
    transform: rotate(0);
}

@keyframes confetti-fall {
    0% {
        top: -10px;
        transform: rotate(0deg) translateX(0);
    }
    25% {
        transform: rotate(90deg) translateX(25px);
    }
    50% {
        transform: rotate(180deg) translateX(-25px);
    }
    75% {
        transform: rotate(270deg) translateX(25px);
    }
    100% {
        top: 100vh;
        transform: rotate(360deg) translateX(-25px);
    }
}

@media (max-width: 480px) {
    .qr-code {
        width: 150px;
        height: 150px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Estilos para la sección de sucursales */
.locations-section {
    padding: 1.5rem 0;
    margin: 1rem 0;
    width: 100%;
}

.locations-header {
    text-align: center;
    margin-bottom: 1rem;
}

.locations-header h2 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.locations-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    max-width: 80%;
    margin: 0 auto;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.location-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Estilo para la Sucursal Oeste similar a Últimas Novedades */
.location-card[data-location="sucursal-oeste"] {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Botones blancos para todos los popups */
.popup-overlay .map-action-btn {
    background-color: white;
    color: #3f72af;
    border: 1px solid rgba(63, 114, 175, 0.3);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.location-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.05);
}

.location-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.location-icon {
    width: 40px;
    height: 40px;
    background: #f9b17a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid #3f72af;
    margin: -20px auto 0.1rem;
}

.location-icon i {
    font-size: 1rem;
    color: white;
}

.location-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    padding: 0;
    font-weight: 600;
}

.location-card p {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    padding: 0;
}

.location-phone {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: white;
}


.location-buttons {
    display: flex;
    gap: 10px;
    margin-top: 0.8rem;
    justify-content: center;
}

.location-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #3f72af;
    background-color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border: 1px solid white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.location-link:hover {
    background-color: #f0f0f0;
    color: #3f72af;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.location-link.whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.location-link.whatsapp:hover {
    background-color: #20ba5a;
    border-color: #20ba5a;
    color: white;
}

/* Estilos para el popup del mapa */
.map-popup {
    max-width: 800px;
    width: 90%;
    padding: 0;
    overflow: hidden;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.map-header h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

.map-content {
    height: 450px;
    width: 100%;
}

.map-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-actions {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.map-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    margin: 0 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.map-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.map-action-btn:first-child {
    margin-left: 0;
}

.map-action-btn:last-child {
    margin-right: 0;
}

.map-action-btn i {
    font-size: 1.1rem;
}

#whatsappBtn {
    background: rgba(37, 211, 102, 0.5);
    border-color: rgba(37, 211, 102, 0.7);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

#whatsappBtn:hover {
    background: rgba(37, 211, 102, 0.7);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

#directionsBtn {
    background: rgba(66, 133, 244, 0.5);
    border-color: rgba(66, 133, 244, 0.7);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

#directionsBtn:hover {
    background: rgba(66, 133, 244, 0.7);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

@media (max-width: 768px) {
    .map-content {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-content {
        height: 300px;
    }
    
    .map-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .map-action-btn {
        margin: 0;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Testimonios de la bio =====
   Usa las mismas clases que el sitio (.testimonials__grid / .testimonial-card /
   __rating / __text / __author / __avatar). Los colores salen de currentColor
   porque las plantillas de bio no cargan las variables del theme. */
.bio-testimonios {
    margin: 30px auto;
    width: 100%;
    max-width: 680px;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: left;
}
.bio-testimonios-header {
    text-align: center;
    margin-bottom: 18px;
}
.bio-testimonios-header h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}
.bio-testimonios-header p {
    margin: 0;
    font-size: .88rem;
    opacity: .75;
}
.bio-testimonios .testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 700px) {
    .bio-testimonios .testimonials__grid { grid-template-columns: 1fr 1fr; }
}
.bio-testimonios .testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-radius: 16px;
    background: rgba(127, 127, 127, .08);
    border: 1px solid rgba(127, 127, 127, .22);
    background: color-mix(in srgb, currentColor 7%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.bio-testimonios .testimonial-card__rating {
    color: #f4b740;
    font-size: .85rem;
    margin-bottom: 8px;
}
.bio-testimonios .testimonial-card__text {
    font-size: .92rem;
    line-height: 1.6;
    opacity: .9;
    margin-bottom: 14px;
}
.bio-testimonios .testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.bio-testimonios .testimonial-card__author img,
.bio-testimonios .testimonial-card__avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    object-fit: cover;
}
.bio-testimonios .testimonial-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .55;
    background: rgba(127, 127, 127, .18);
    background: color-mix(in srgb, currentColor 14%, transparent);
}
.bio-testimonios .testimonial-card__author h3 {
    margin: 0;
    font-size: .9rem;
    font-weight: 700;
}
.bio-testimonios .testimonial-card__author p {
    margin: 0;
    font-size: .78rem;
    opacity: .7;
}

/* ===== Preguntas frecuentes de la bio =====
   Usa el acordeon compartido del sitio (.faq-accordion / .faq-item /
   .faq-question / .faq-answer). Los colores salen de currentColor porque
   las plantillas de bio no cargan las variables del theme. */
.bio-faq {
    margin: 30px auto;
    width: 100%;
    max-width: 680px;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: left;
}
.bio-faq-header {
    text-align: center;
    margin-bottom: 18px;
}
.bio-faq-header h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}
.bio-faq-header p {
    margin: 0;
    font-size: .88rem;
    opacity: .75;
}
.bio-faq .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bio-faq .faq-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s ease;
    background: rgba(127, 127, 127, .08);
    border: 1px solid rgba(127, 127, 127, .22);
    background: color-mix(in srgb, currentColor 7%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.bio-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
}
.bio-faq .faq-question h3 {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.4;
}
.bio-faq .faq-question i {
    font-size: .85rem;
    opacity: .6;
    transition: transform .3s ease;
}
.bio-faq .faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.bio-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    font-size: .9rem;
    line-height: 1.6;
    opacity: .85;
    transition: max-height .3s ease, padding .3s ease;
}
.bio-faq .faq-item.active .faq-answer {
    padding: 0 16px 14px;
    max-height: 400px;
}
/* FAQ y testimonios adaptados a la identidad del template 004 */
.bio-testimonios, .bio-faq { --bio-accent: #ffad72; --bio-soft: rgba(255,255,255,.18); --bio-border: rgba(255,255,255,.44); }
.bio-component-header { text-align: center; }
.bio-component-header-icon { width: 44px; height: 44px; display: grid; place-items: center; margin: 0 auto 10px; color: var(--bio-accent); background: var(--bio-soft); border: 1px solid var(--bio-border); border-radius: inherit; }
.bio-testimonios-carrusel { position: relative; }
.bio-testimonios-viewport { overflow: hidden; border-radius: inherit; }
.bio-testimonios-track { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.bio-testimonios .bio-testimonios-track .testimonial-card { min-width: 100%; width: 100%; margin: 0; box-sizing: border-box; }
.bio-testimonios-controles { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 16px; }
.bio-testimonios-btn { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; color: var(--bio-accent); background: var(--bio-soft); border: 1px solid var(--bio-border); border-radius: 50%; cursor: pointer; }
.bio-testimonios-btn:hover, .bio-testimonios-btn:focus-visible, .bio-testimonios-pause[aria-pressed="true"] { filter: brightness(1.08); transform: translateY(-1px); }
.bio-testimonios-dots { display: flex; align-items: center; gap: 6px; }
.bio-testimonios-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--bio-border); cursor: pointer; transition: width .25s ease, background .25s ease; }
.bio-testimonios-dot.is-active { width: 24px; background: var(--bio-accent); }
.bio-faq-header-descripcion { margin-top: 8px; line-height: 1.6; opacity: .78; }
.bio-faq .faq-question { width: 100%; color: inherit; font: inherit; text-align: left; background: transparent; border: 0; }
/* ===== Diseno por enlace de la bio =====
   El color llega en la variable --link-color que pone el HTML de cada boton,
   y el estilo como clase modificadora. Sin ninguno de los dos, el boton
   conserva el aspecto que le da esta plantilla. */
.link-card.bio-link--relleno,
.link-button.bio-link--relleno {
    background: var(--link-color, #3f72af) !important;
    border-color: var(--link-color, #3f72af) !important;
    color: #fff !important;
}
.link-card.bio-link--borde,
.link-button.bio-link--borde {
    background: transparent !important;
    border: 2px solid var(--link-color, #3f72af) !important;
    color: var(--link-color, #3f72af) !important;
}
.link-card.bio-link--suave,
.link-button.bio-link--suave {
    background: rgba(127, 127, 127, .12) !important;
    background: color-mix(in srgb, var(--link-color, #3f72af) 15%, transparent) !important;
    border: 1px solid var(--link-color, #3f72af) !important;
    color: var(--link-color, #3f72af) !important;
}

/* El texto interno hereda: si no, los h2/h3 de la plantilla pisan el color */
.link-card[class*="bio-link--"] h2,
.link-card[class*="bio-link--"] h3,
.link-card[class*="bio-link--"] p,
.link-card[class*="bio-link--"] span,
.link-button[class*="bio-link--"] h2,
.link-button[class*="bio-link--"] h3,
.link-button[class*="bio-link--"] p,
.link-button[class*="bio-link--"] span {
    color: inherit !important;
}

.bio-link-icono {
    margin-right: 8px;
}

/* Alineacion del texto del boton, elegida enlace por enlace */
.link-card.bio-link-txt--izquierda,
.link-button.bio-link-txt--izquierda {
    text-align: left !important;
    justify-content: flex-start !important;
}
.link-card.bio-link-txt--centro,
.link-button.bio-link-txt--centro {
    text-align: center !important;
    justify-content: center !important;
}
.link-card.bio-link-txt--derecha,
.link-button.bio-link-txt--derecha {
    text-align: right !important;
    justify-content: flex-end !important;
}

/* ===== Bloques de la bio: chrome comun (004) =====
   Plantilla azul con acento naranja: la seccion es un panel claro traslucido
   sobre el degradado y las tarjetas van blancas con el borde de 2px que usan
   los .link-button. Contenidos y productos dejan el carrusel de una lamina y
   pasan a un riel con scroll-snap. */
.locations-section,
.bio-testimonios,
.bio-contenidos,
.bio-productos,
.bio-videos,
.bio-faq {
    --bio-accent: #f9b17a;
    --bio-soft: rgba(255, 255, 255, .55);
    --bio-border: rgba(255, 255, 255, .8);
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 26px 0;
    padding: 22px 18px;
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 22px;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 12px 30px rgba(17, 45, 78, .14);
    backdrop-filter: blur(6px);
    text-align: left;
}

.bio-testimonios-header,
.bio-contenidos-header,
.bio-productos-header,
.bio-videos-header,
.bio-faq-header {
    margin: 0 0 20px;
    text-align: center;
}

/** Chip naranja: hoy heredaba el radio del encabezado, que no tiene */
.bio-component-header-icon {
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: #f9b17a;
    box-shadow: 0 6px 16px rgba(249, 177, 122, .45);
}

.bio-testimonios-header h2,
.bio-contenidos-header h2,
.bio-productos-header h2,
.bio-videos-header h2,
.bio-faq-header h2 {
    margin: 0 0 6px;
    color: #112d4e;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Jerarquia del encabezado: titulo > bajada > descripcion */
.bio-testimonios-header p,
.bio-contenidos-header p,
.bio-productos-header p,
.bio-videos-header p,
.bio-faq-header p {
    margin: 0;
    color: #3f72af;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    opacity: 1;
}

/* ===== Descripcion del encabezado de un bloque =====
   Comentarios y preguntas frecuentes la traen desde el admin, y sale del
   editor: puede venir con parrafos, listas y enlaces. */
.bio-bloque-descripcion {
    max-width: none;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 2px solid #dbe2ef;
    border-left: 4px solid #f9b17a;
    border-radius: 14px;
    background: rgba(255, 255, 255, .75);
    color: #4a6b8f;
    font-size: .85rem;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
    opacity: 1;
}
.bio-bloque-descripcion > *:last-child { margin-bottom: 0; }
.bio-bloque-descripcion p { margin: 0 0 8px; }
.bio-bloque-descripcion ul,
.bio-bloque-descripcion ol { margin: 0 0 8px; padding-left: 18px; }
.bio-bloque-descripcion li { margin-bottom: 4px; }
.bio-bloque-descripcion strong { color: #112d4e; font-weight: 600; }
.bio-bloque-descripcion a { color: #3f72af; text-decoration: underline; }

/* ===== Riel horizontal compartido =====
   El contenedor de esta plantilla mide 500px, asi que va una tarjeta por
   vista con un asomo de la siguiente. */
.bio-riel-wrap { position: relative; }

.bio-riel {
    display: flex;
    gap: 12px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.bio-riel::-webkit-scrollbar { display: none; }

.bio-riel > article {
    flex: 0 0 86%;
    min-width: 86%;
    scroll-snap-align: start;
}

.bio-riel-btn {
    position: absolute;
    top: 110px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 2px solid #dbe2ef;
    border-radius: 12px;
    color: #3f72af;
    background: #fff;
    box-shadow: 0 6px 16px rgba(17, 45, 78, .18);
    cursor: pointer;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}
.bio-riel-btn:hover,
.bio-riel-btn:focus-visible {
    color: #fff;
    background: #3f72af;
    border-color: #3f72af;
    transform: translateY(-50%) scale(1.05);
}
.bio-riel-btn.prev { left: 2px; }
.bio-riel-btn.next { right: 2px; }

/* ===== Tarjeta blanca compartida por novedades y productos ===== */
.bio-contenidos .blog-card,
.bio-productos .producto-card,
.bio-videos .video-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #dbe2ef;
    border-radius: 15px;
    background: #fff;
    color: #333;
    box-shadow: 0 6px 18px rgba(17, 45, 78, .10);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.bio-contenidos .blog-card:hover,
.bio-productos .producto-card:hover {
    transform: translateY(-3px);
    border-color: #f9b17a;
    box-shadow: 0 12px 26px rgba(17, 45, 78, .16);
}

.blog-card__image-link,
.producto-card__media-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bio-contenidos .blog-card__image,
.producto-card__media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #dbe2ef;
}
.bio-contenidos .blog-card__image img,
.producto-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.bio-contenidos .blog-card:hover .blog-card__image img,
.bio-productos .producto-card:hover .producto-card__media img { transform: scale(1.04); }

/** Sin foto cargada, para que la tarjeta no arranque en el texto */
.blog-card__image--vacia,
.producto-card__media--vacia {
    display: grid;
    place-items: center;
    color: #9db4d0;
    background: #dbe2ef;
    font-size: 2rem;
}

.blog-card__fecha {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 5px 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    background: rgba(17, 45, 78, .62);
    backdrop-filter: blur(6px);
    font-size: .72rem;
    font-weight: 600;
}
.blog-card__image--vacia .blog-card__fecha {
    color: #112d4e;
    background: rgba(255, 255, 255, .92);
    border-color: #dbe2ef;
}

/** El sello muestra el descuento real, no la palabra "Oferta" */
.producto-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 5px 11px;
    border-radius: 999px;
    color: #fff;
    background: #f9b17a;
    box-shadow: 0 4px 12px rgba(249, 177, 122, .5);
    font-size: .8rem;
    font-weight: 700;
}

.bio-contenidos .blog-card__content,
.bio-productos .producto-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 18px 16px;
    text-align: left;
}

.bio-contenidos .blog-card__title,
.bio-productos .producto-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 6px;
    color: #112d4e;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.bio-contenidos .blog-card__title a,
.bio-productos .producto-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}
.bio-contenidos .blog-card:hover .blog-card__title a,
.bio-productos .producto-card:hover .producto-card__title a { color: #3f72af; }

.bio-contenidos .blog-card__excerpt,
.producto-card__bajada {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 14px;
    color: #5b7ba0;
    font-size: .85rem;
    line-height: 1.55;
    opacity: 1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.bio-contenidos .blog-card__excerpt { -webkit-line-clamp: 3; }

.producto-card__precios {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #dbe2ef;
}
.bio-productos .producto-card__precio {
    margin: 0;
    color: #112d4e;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}
.bio-productos .producto-card__antes {
    margin: 0;
    color: #8ba3bf;
    font-size: .82rem;
    font-weight: 400;
    text-decoration: line-through;
    opacity: 1;
}

/** Mismo boton en los dos bloques */
.bio-contenidos .blog-card__link,
.producto-card__cta {
    margin-top: auto;
    min-height: 42px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 2px solid #3f72af;
    border-radius: 12px;
    background: #3f72af;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 1;
    transition: background .22s ease, border-color .22s ease;
}
.bio-contenidos .blog-card__link i,
.producto-card__cta i { font-size: .72rem; transition: transform .2s ease; }
.bio-contenidos .blog-card__link:hover,
.producto-card__cta:hover { background: #112d4e; border-color: #112d4e; color: #fff; }
.bio-contenidos .blog-card__link:hover i,
.producto-card__cta:hover i { transform: translateX(3px); }

.producto-card__cta { margin: 14px 18px 18px; }

/** Desde 560px entran dos productos por vista: el contenedor llega a 500px */
@media (min-width: 560px) {
    .bio-productos .bio-riel > article {
        flex: 0 0 calc(50% - 6px);
        min-width: calc(50% - 6px);
    }
    .bio-productos .producto-card__content { padding: 14px 15px 14px; }
    .bio-productos .producto-card__title { font-size: .98rem; }
    .producto-card__bajada { font-size: .8rem; margin-bottom: 12px; }
    .bio-productos .producto-card__precio { font-size: 1.12rem; }
    .bio-productos .producto-card__antes { font-size: .78rem; }
    .producto-card__cta {
        margin: 12px 15px 15px;
        min-height: 38px;
        padding: 9px 13px;
        font-size: .8rem;
    }
}

/* ===== Comentarios y testimonios ===== */
.bio-testimonios-resumen {
    margin: 14px auto 0;
    padding: 7px 14px 7px 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #dbe2ef;
    border-radius: 999px;
    background: #fff;
    text-align: left;
}
.bio-testimonios-resumen__nota {
    color: #112d4e;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
}
.bio-testimonios-resumen__detalle { min-width: 0; }
.bio-testimonios-resumen__estrellas {
    margin-bottom: 1px;
    color: #f9b17a;
    font-size: .72rem;
    letter-spacing: 1px;
}
.bio-testimonios-resumen__detalle span {
    display: block;
    color: #5b7ba0;
    font-size: .72rem;
    white-space: nowrap;
}

/** El borde y la sombra van en el visor: si fueran de la tarjeta, el propio
    visor los recortaria al hacer overflow hidden */
.bio-testimonios-viewport {
    border: 2px solid #dbe2ef;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(17, 45, 78, .10);
}

.bio-testimonios .bio-testimonios-track .testimonial-card {
    position: relative;
    padding: 22px 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #333;
}

.testimonial-card__comilla {
    position: absolute;
    top: 14px;
    right: 16px;
    color: #f9b17a;
    opacity: .35;
    font-size: 2rem;
    line-height: 1;
    pointer-events: none;
}

.bio-testimonios .testimonial-card__rating {
    margin-bottom: 10px;
    color: #f9b17a;
    font-size: .82rem;
    letter-spacing: 2px;
}

.bio-testimonios .testimonial-card__text {
    margin-bottom: 16px;
    color: #3b4a5c;
    font-size: .93rem;
    line-height: 1.62;
    opacity: 1;
}

.bio-testimonios .testimonial-card__author {
    padding-top: 14px;
    gap: 11px;
    border-top: 1px solid #dbe2ef;
}

.bio-testimonios .testimonial-card__author img,
.bio-testimonios .testimonial-card__avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

.bio-testimonios .testimonial-card__avatar {
    color: #3f72af;
    background: #dbe2ef;
    opacity: 1;
}

.bio-testimonios .testimonial-card__avatar--inicial {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.testimonial-card__author-datos { min-width: 0; }

.bio-testimonios .testimonial-card__author h3 {
    color: #112d4e;
    font-size: .95rem;
    font-weight: 600;
}

.bio-testimonios .testimonial-card__author p {
    margin-top: 2px;
    color: #5b7ba0;
    font-size: .78rem;
    opacity: 1;
}

.bio-testimonios-controles { margin-top: 12px; }
.bio-testimonios-btn {
    width: 34px;
    height: 34px;
    font-size: .82rem;
    color: #3f72af;
    background: #fff;
    border: 2px solid #dbe2ef;
}
.bio-testimonios-btn:hover,
.bio-testimonios-btn:focus-visible,
.bio-testimonios-pause[aria-pressed="true"] {
    color: #fff;
    background: #3f72af;
    border-color: #3f72af;
}
.bio-testimonios-dot { background: #b9cbe0; }
.bio-testimonios-dot.is-active { background: #f9b17a; }

/* ===== Preguntas frecuentes ===== */
.bio-faq .faq-accordion { gap: 8px; }

.bio-faq .faq-item {
    border: 2px solid #dbe2ef;
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
    transition: background .25s ease, border-color .25s ease;
}
.bio-faq .faq-item:hover { border-color: #b9cbe0; }
.bio-faq .faq-item.active {
    border-color: #f9b17a;
    background: #fff;
    box-shadow: 0 8px 20px rgba(17, 45, 78, .10);
}

.bio-faq .faq-question {
    padding: 14px 15px;
    gap: 14px;
    align-items: flex-start;
}
.bio-faq .faq-question h3 {
    color: #112d4e;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.45;
}

/** El chevron en su propia pastilla: da area de clic y marca el estado */
.faq-question__icono {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: grid;
    place-items: center;
    margin-top: 1px;
    border-radius: 8px;
    color: #3f72af;
    background: #dbe2ef;
    font-size: .68rem;
    transition: transform .3s ease, background .25s ease, color .25s ease;
}
.bio-faq .faq-question i { opacity: 1; font-size: inherit; }
.bio-faq .faq-item.active .faq-question i { transform: none; }
.bio-faq .faq-item.active .faq-question__icono {
    transform: rotate(180deg);
    color: #fff;
    background: #f9b17a;
}

.bio-faq .faq-answer {
    padding: 0 15px;
    color: #5b7ba0;
    font-size: .87rem;
    line-height: 1.65;
    opacity: 1;
}
.bio-faq .faq-item.active .faq-answer { padding: 0 15px 14px; }
.bio-faq .faq-answer > *:last-child { margin-bottom: 0; }
.bio-faq .faq-answer p { margin: 0 0 8px; }
.bio-faq .faq-answer ul,
.bio-faq .faq-answer ol { margin: 0 0 8px; padding-left: 18px; }
.bio-faq .faq-answer li { margin-bottom: 4px; }
.bio-faq .faq-answer strong { color: #112d4e; font-weight: 600; }
.bio-faq .faq-answer a { color: #3f72af; text-decoration: underline; }

/* ===== Biografia del perfil =====
   Heredaba .profile p: 0.8rem con 2px de tracking, que sirve para una linea
   corta pero no para un parrafo, y dejaba los emoji diminutos y separados. */
.bio-biografia {
    max-width: 400px;
    margin: 0 auto 1.5rem;
    font-family: 'Nunito', 'Fredoka', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    color: #ffffff;
    font-size: .9rem;
    line-height: 1.75;
    letter-spacing: .2px;
}
.bio-biografia p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0 0 .6rem;
}
.bio-biografia > *:last-child { margin-bottom: 0; }
.bio-biografia strong { color: #fff; font-weight: 700; }
.bio-biografia a { color: #fff; text-decoration: underline; }
.bio-biografia ul,
.bio-biografia ol { margin: 0 0 .6rem; padding-left: 20px; text-align: left; }
.bio-biografia li { margin-bottom: .3rem; }

/* ===== QR fijo de escritorio (004) =====
   Tarjeta blanca con el borde de 2px de la plantilla, abajo a la derecha.
   Se oculta bajo 1120px: en telefono estorba y no tiene sentido escanear
   desde el mismo aparato. */
.desktop-qr {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 178px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #dbe2ef;
    border-radius: 18px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 14px 34px rgba(17, 45, 78, .25);
    backdrop-filter: blur(10px);
}

.desktop-qr img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    padding: 4px;
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
}

.desktop-qr-text { display: flex; flex-direction: column; gap: 3px; }
.desktop-qr-text strong {
    color: #112d4e;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.25;
}
.desktop-qr-text span {
    color: #5b7ba0;
    font-size: .68rem;
    line-height: 1.3;
}

@media (max-width: 1120px) {
    .desktop-qr { display: none; }
}

/* ---- Bloque de videos ----
   Hereda la paleta de la plantilla: los colores salen de currentColor y de
   transparencias, no de valores fijos. El ancho de la tarjeta lo fija el riel. */
.bio-videos { margin-top: 26px; }

.bio-videos-header-descripcion {
    margin: 8px 0 12px;
    line-height: 1.6;
    opacity: .78;
}

.video-card {
    flex: 0 0 auto;
    width: 260px;
    max-width: 82vw;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(128, 128, 128, .22);
}

.video-card__media {
    position: relative;
    width: 100%;
    /* 16:9, que es como se graban casi todos */
    padding-top: 56.25%;
    background: rgba(0, 0, 0, .35);
}

.video-card__media video,
.video-card__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-card__body { padding: 12px 14px 14px; }

.video-card__title {
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.35;
}

.video-card__bajada {
    margin: 0 0 6px;
    font-size: .84rem;
    opacity: .75;
}

.video-card__text {
    margin: 0;
    font-size: .86rem;
    line-height: 1.55;
    opacity: .85;
}

.video-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    font-size: .85rem;
    font-weight: 600;
    color: currentColor;
    text-decoration: none;
    opacity: .9;
}

.video-card__link:hover { opacity: 1; }
.video-card__link i { font-size: .78rem; }

@media (max-width: 480px) {
    .video-card { width: 232px; }
}

/** El bloque de videos traia su descripcion al 78%: con la caja compartida
    del resto de los bloques ya no hace falta atenuarla */
.bio-videos-header-descripcion { opacity: 1; }

/* ===== Video: portada con play, popup y jerarquia de texto =====
   La tarjeta recorta a 16:9 con object-fit cover, asi que un video vertical
   se cortaba por los lados. Ahora la tarjeta muestra la portada y el archivo
   se ve completo en un popup. El popup se estila entero aca para no depender
   del sistema de modales de cada plantilla. */
.video-card__media--play {
    position: relative;
    display: block;
    width: 100%;
    /* el 56.25% arma la caja 16:9: si se resetea el padding, la tarjeta colapsa */
    padding: 56.25% 0 0;
    border: 0;
    background: #dbe2ef;
    cursor: pointer;
    font: inherit;
    overflow: hidden;
}

.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    padding-left: 4px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(6px);
    font-size: 1.05rem;
    transition: transform .22s ease, background .22s ease;
}
.video-card__media--play:hover .video-card__play {
    background: #f9b17a;
    transform: translate(-50%, -50%) scale(1.08);
}

/* --- Jerarquia de los tres textos de la tarjeta --- */
.bio-videos .video-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 6px;
    color: #112d4e;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bio-videos .video-card__bajada {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 8px;
    color: #3f72af;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.5;
    opacity: 1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bio-videos .video-card__text {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #5b7ba0;
    font-size: .85rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/** Boton del video: el mismo de novedades y productos */
.bio-videos .video-card__link {
    margin-top: 14px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #3f72af;
    border-radius: 10px;
    background: #3f72af;
    color: #ffffff;
    font-size: .85rem;
    font-weight: 600;
    opacity: 1;
    transition: background .22s ease, transform .22s ease;
}
.bio-videos .video-card__link:hover { transform: translateY(-2px); opacity: 1; }
.bio-videos .video-card__link i { transition: transform .2s ease; }
.bio-videos .video-card__link:hover i { transform: translateX(3px); }

/* --- Un solo video: ocupa todo el ancho del bloque --- */
.bio-videos .video-card {
    flex: 0 0 86%;
    width: auto;
    max-width: none;
    min-width: 86%;
}
.bio-videos .video-card:only-child {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}
.bio-videos .video-card:only-child .video-card__title { -webkit-line-clamp: 3; font-size: 1.15rem; }
.bio-videos .video-card:only-child .video-card__bajada { -webkit-line-clamp: 3; }
.bio-videos .video-card:only-child .video-card__text { -webkit-line-clamp: 5; }

@media (min-width: 560px) {
    .bio-videos .video-card { flex: 0 0 calc(50% - 6px); min-width: calc(50% - 6px); }
    .bio-videos .video-card:only-child { flex-basis: 100%; min-width: 100%; }
}

/* --- Popup --- */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    padding: 18px;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 24, .78);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.video-modal .close-modal {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #112d4e;
    background: #dbe2ef;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}
.video-modal .close-modal:hover { color: #fff; background: #f9b17a; }

.video-modal-title {
    margin: 0 44px 6px 0;
    color: #112d4e;
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.video-modal-bajada {
    margin: 0 44px 12px 0;
    color: #3f72af;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.video-modal-player {
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-modal-player video {
    display: block;
    width: 100%;
    max-height: min(72vh, 620px);
    /* contain: el video se ve entero aunque sea vertical */
    object-fit: contain;
    background: #000;
}

/* ===== Popup del video: solo el video =====
   Sin titulo ni bajada: la tarjeta ya los muestra y en el popup solo estorban.
   La tarjeta blanca desaparece y queda el video sobre el fondo oscuro, con la
   X flotando en la esquina de la pantalla. */
.video-modal-title,
.video-modal-bajada { display: none; }

.video-modal-content {
    width: min(1000px, 100%);
    max-width: 1000px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.video-modal .close-modal {
    position: fixed;
    top: 16px;
    right: 18px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(6px);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.video-modal .close-modal:hover {
    color: #fff;
    background: #f9b17a;
    transform: rotate(90deg);
}

.video-modal-player {
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.video-modal-player video {
    display: block;
    width: 100%;
    max-height: min(80vh, 720px);
    object-fit: contain;
    background: #000;
}

/** El QR se mostraba a 64px cuando el archivo mide 370px: a esa escala los
    modulos se juntan y la camara no lo lee. Sube a 132px, con mas zona
    silenciosa alrededor, y el panel pasa a vertical para no ensancharse. */
.desktop-qr {
    width: auto;
    flex-direction: column;
    gap: 9px;
    padding: 13px;
    text-align: center;
}
.desktop-qr img {
    width: 132px;
    height: 132px;
    flex: 0 0 auto;
    padding: 8px;
}
.desktop-qr-text { align-items: center; gap: 2px; }

/* Los iconos de redes son enlaces <a>: sin esto el navegador les deja el
   subrayado por defecto y quedaba una raya bajo el glifo. */
.social-icon,
.social-icon:link,
.social-icon:visited,
.social-icon:hover,
.social-icon:focus { text-decoration: none; }
