* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Bree Serif", serif;
    font-weight: 400;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Bree Serif', Arial, sans-serif;
    line-height: 1.6;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #f9d6d3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: flex-end;
    height: 60px;
    align-items: center;
    padding-right: 60px;
}

h2 {
    font-size: 4rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    width: 400px;
    height: 400px;
}

.title,
.subtitle {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: #e9665a;
    line-height: normal;
    z-index: 2;
}

.title {
    font-size: 48px;
}

.subtitle {
    font-size: 36px;
}

.youkoso {
    font-family: "Kosugi Maru", sans-serif;
    font-weight: bold;
    font-size: 56px;
    color: #f9d6d3;
    -webkit-text-stroke: .5px #737373;
    text-shadow: 2px 2px 0 #737373;
    z-index: 2;
}

.welcome {
    color: #737373;
    font-size: 28px;
    text-align: center;
    z-index: 2;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #e9665a;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #737373;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-margin-top: var(--header-height, 80px);
}

#inicio {
    background-color: #f9d6d3;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

#inicio .bg-inicio-upper-left,
#inicio .bg-inicio-upper-right,
#inicio .bg-inicio-lower-left,
#inicio .bg-inicio-lower-right,
#clases .bg-clases-upper-left,
#clases .bg-clases-lower-left,
#clases .bg-clases-lower-right,
#nosotros .bg-nosotros-upper-left,
#nosotros .bg-nosotros-upper-right,
#nosotros .bg-nosotros-lower-left,
#nosotros .bg-nosotros-lower-right,
#valoraciones .bg-valoraciones-upper-left,
#valoraciones .bg-valoraciones-upper-right,
#valoraciones .bg-valoraciones-lower-left,
#valoraciones .bg-valoraciones-lower-right,
#galeria .bg-galeria-upper-left,
#galeria .bg-galeria-upper-right,
#galeria .bg-galeria-lower-left,
#galeria .bg-galeria-lower-right {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

#inicio .bg-inicio-upper-left {
    background-image: url('../assets/bg-inicio-1.svg');
    bottom: 100%;
    right: 100%;
    width: 60vw;
    height: 60vh;
    transform: translate(60%, 80%);
}

#inicio .bg-inicio-upper-right {
    background-image: url('../assets/bg-inicio-2.svg');
    bottom: 100%;
    left: 100%;
    width: 60vw;
    height: 60vh;
    transform: translate(-60%, 80%);
}

#inicio .bg-inicio-lower-left {
    background-image: url('../assets/bg-inicio-3.svg');
    top: 100%;
    right: 100%;
    width: 60vw;
    height: 60vh;
    transform: translate(65%, -80%);
}

#inicio .bg-inicio-lower-right {
    background-image: url('../assets/bg-inicio-4.svg');
    top: 100%;
    left: 100%;
    width: 60vw;
    height: 60vh;
    transform: translate(-65%, -80%);
}

#clases {
    background-color: #f4bcb7;
    position: relative;
    overflow: hidden;
}

#clases .bg-clases-upper-left {
    background-image: url('../assets/bg-clases-1.svg');
    bottom: 100%;
    right: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(60%, 80%);
}

#clases .bg-clases-lower-left {
    background-image: url('../assets/bg-clases-1.svg');
    top: 100%;
    right: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(65%, -80%);
}

#clases .bg-clases-lower-right {
    background-image: url('../assets/bg-clases-2.svg');
    top: 100%;
    left: 100%;
    width: 45vw;
    height: 45vh;
    transform: translate(-64%, -80%);
}

#nosotros {
    background-color: #f9d6d3;
    position: relative;
    overflow: hidden;
}

#nosotros .bg-nosotros-upper-left {
    background-image: url('../assets/bg-clases-1.svg');
    bottom: 100%;
    right: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(60%, 80%);
}

#nosotros .bg-nosotros-upper-right {
    background-image: url('../assets/bg-clases-1.svg');
    bottom: 100%;
    left: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(-60%, 80%) scaleX(-1);
}

#nosotros .bg-nosotros-lower-left {
    background-image: url('../assets/bg-clases-1.svg');
    top: 100%;
    right: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(65%, -80%) scaleY(-1);
}

#nosotros .bg-nosotros-lower-right {
    background-image: url('../assets/bg-clases-1.svg');
    top: 100%;
    left: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(-65%, -80%) scaleX(-1) scaleY(-1);
}

#valoraciones {
    background-color: #f4bcb7;
    position: relative;
    overflow: hidden;
}

#valoraciones .bg-valoraciones-upper-left {
    background-image: url('../assets/bg-clases-1.svg');
    bottom: 100%;
    right: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(60%, 80%);
    z-index: 1;
}

#valoraciones .bg-valoraciones-upper-right {
    background-image: url('../assets/bg-clases-1.svg');
    bottom: 100%;
    left: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(-60%, 80%) scaleX(-1);
    z-index: 1;
}

#valoraciones .bg-valoraciones-lower-left {
    background-image: url('../assets/bg-clases-1.svg');
    top: 100%;
    right: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(65%, -80%) scaleY(-1);
    z-index: 1;
}

#valoraciones .bg-valoraciones-lower-right {
    background-image: url('../assets/bg-clases-1.svg');
    top: 100%;
    left: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(-65%, -80%) scaleX(-1) scaleY(-1);
    z-index: 1;
}

.valoraciones-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

#valoraciones h2 {
    color: #e9665a;
    /* font-size: 4.5rem; */
    text-align: center;
    margin: 0;
    position: relative;
}

#valoraciones h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e9665a;
}

#galeria {
    background-color: #f9d6d3;
    position: relative;
    overflow: hidden;
}

#galeria .bg-galeria-upper-left {
    background-image: url('../assets/bg-clases-1.svg');
    bottom: 100%;
    right: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(60%, 80%);
}

#galeria .bg-galeria-upper-right {
    background-image: url('../assets/bg-clases-1.svg');
    bottom: 100%;
    left: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(-60%, 80%) scaleX(-1);
}

#galeria .bg-galeria-lower-left {
    background-image: url('../assets/bg-clases-1.svg');
    top: 100%;
    right: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(65%, -80%) scaleY(-1);
}

#galeria .bg-galeria-lower-right {
    background-image: url('../assets/bg-clases-1.svg');
    top: 100%;
    left: 100%;
    width: 40vw;
    height: 40vh;
    transform: translate(-65%, -80%) scaleX(-1) scaleY(-1);
}

.galeria-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

#galeria h2 {
    color: #e9665a;
    text-align: center;
    margin: 0;
    position: relative;
}

#galeria h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e9665a;
}

.reviews-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
    /* -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: cover;
    
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover; */
    /* Difuminado lateral */
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
    width: fit-content;
    transform: translateX(0);
    padding: 0;
    position: relative;
}

.review-card,
.see-all-container {
    min-width: 400px;
    max-width: 400px;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(233, 102, 90, 0.15);
    border: 1px solid rgba(233, 102, 90, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

.review-card.active {
    transform: scale(1.02);
    z-index: 2;
}

.review-card:not(.active) {
  opacity: 0.6;
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(233, 102, 90, 0.3);
}

.review-header {
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f9d6d3, #f4bcb7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(233, 102, 90, 0.2);
}

.reviewer-avatar i {
    font-size: 2rem;
    color: #e9665a;
}

.reviewer-details h4 {
    color: #e9665a;
    font-size: 1.3rem;
    font-weight: 600;
}

.reviewer-details h5 {
    color: #777777;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.see-all-container {
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.see-all-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    background: white;
    border-radius: 2rem;
    cursor: pointer;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.see-all-btn:hover {
    background: #e9665a;
    color: white;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.stars {
    display: flex;
    gap: 0.2rem;
}

.stars i {
    color: #ffd700;
    font-size: 1rem;
}

.review-content p {
    color: #737373;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.reviews-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-btn {
    background: white;
    border: 2px solid #e9665a;
    color: #e9665a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.nav-btn:hover {
    background: #e9665a;
    color: white;
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.dots-container {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(233, 102, 90, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #e9665a;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(233, 102, 90, 0.6);
}

.nosotros-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

#nosotros h2 {
    color: #e9665a;
    text-align: center;
    margin: 0;
    position: relative;
}

#nosotros h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e9665a;
}

.director-container {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.director-avatar {
    flex-shrink: 0;
}

.director-avatar img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(233, 102, 90, 0.2);
    border: 3px solid rgba(233, 102, 90, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.director-avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(233, 102, 90, 0.3);
}

.director-info {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #737373;
    display: flex;
    flex-direction: column;
}

.director-info h3 {
    font-size: 2rem;
    font-weight: 600;
}

.director-info h3 span {
    color: #e9665a;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.team-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.sensei-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.sensei-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(233, 102, 90, 0.15);
    border: 2px solid rgba(233, 102, 90, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sensei-card:hover img {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(233, 102, 90, 0.25);
}

.sensei-card p {
    color: #e9665a;
    font-size: 1.2rem;
    font-weight: 500;
}

.clases-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
}

.clases-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

#clases h2 {
    color: #e9665a;
    /* font-size: 3rem; */
    text-align: center;
    margin: 0;
    position: relative;
}

.clases-section:first-child h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e9665a;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    aspect-ratio: 1;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(249, 214, 211, 0.2));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.75s ease;
}

.feature-item:hover {
    box-shadow: 0 8px 24px rgba(233, 102, 90, 0.2);
    border-color: rgba(233, 102, 90, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 214, 211, 0.3));
}

.feature-item:hover::before {
    animation: shine 0.5s ease;
    will-change: transform, opacity;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.feature-item h3 {
    color: #e9665a;
    font-size: 2rem;
    font-family: 'Bree Serif', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
    margin-bottom: 10px;
    text-transform: uppercase;

}

.feature-item:hover h3 {
    transform: scale(1.05);
}

.feature-item p {
    color: #737373;
    font-size: 1.4rem;
    line-height: 1.8;
    font-family: 'Bree Serif', sans-serif;
    text-align: center;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.feature-item:hover p {
    opacity: 1;
    transform: translateY(2px);
}

.rol {
    color: #007bff;
    font-weight: 500;
    margin: 0.5rem 0;
}

#contacto {
    background-color: #fdf1f0;
}

.contact-card {
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    background: white;
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(233, 102, 90, 0.2),
        0 0 0 1px rgba(233, 102, 90, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 2000px;
    transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.3s ease;
    will-change: transform;
}

.contact-card:hover {
    box-shadow: 
        0 30px 60px rgba(233, 102, 90, 0.3),
        0 0 0 2px rgba(233, 102, 90, 0.2);
}

.contact-header {
    background-color: #e9665a;
    background-image: linear-gradient(135deg, #e9665a, #ff8075);
    padding: 3rem;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.contact-header h2 {
    color: white;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.contact-body {
    background: white;
    padding: 4rem;
    flex: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    padding: 0.5rem;
    border-radius: 12px;
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(233, 102, 90, 0.05);
}

.contact-item i {
    color: #e9665a;
    font-size: 1.8rem;
    width: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

.contact-item a {
    color: #737373;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover a {
    color: #e9665a;
}

.contact-logo {
    flex-shrink: 0;
}

.contact-logo img {
    width: 250px;
    height: 250px;
}


/* Media queries */

@media (max-width: 1440px) {
    h2 {
        font-size: 3rem;
    }

    .review-card,
    .see-all-container {
        min-width: 350px;
        max-width: 350px;
    }

    .logo {
        width: 300px;
        height: 300px;
    }

    .title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 30px;
    }

    .youkoso {
        font-size: 44px;
    }

    .welcome {
        font-size: 22px;
    }

    .feature-item {
        aspect-ratio: unset;
        min-height: 250px;
    }

    .feature-item h3 {
        font-size: 1.5rem;
        min-height: 3rem;
    }

    .feature-item p {
        font-size: 1.1rem;
    }

    .team-grid {
        gap: 3rem;
    }

    .team-row {
        gap: 1.8rem;
    }

    .sensei-card img {
        width: 110px;
        height: 110px;
    }

    .sensei-card p {
        font-size: 1.1rem;
    }

    .director-avatar img {
        width: 200px;
        height: 200px;
    }

    .director-info {
        font-size: 1rem;
    }

    .director-info h3 {
        font-size: 1.5rem;
    }

    .team-grid {
        padding: 0 2rem;
        gap: 2rem;
    }

    .sensei-card img {
        width: 100px;
        height: 100px;
        margin-bottom: 0.3rem;
    }

    .sensei-card p {
        font-size: 1rem;
    }

    .review-card {
        padding: 1.5rem;
    }

    .reviewer-details h4 {
        font-size: 1.1rem;
    }

    .review-content p {
        font-size: .8rem;
    }

    .contact-card {
        margin: 2rem;
    }

    .contact-card h2 {
        font-size: 3rem;
    }

    .contact-body {
        padding: 3rem;
        gap: 3rem;
    }
}

@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 70%;
        gap: 2rem;
    }

    .feature-item {
        aspect-ratio: unset;
        min-height: 200px;
        padding: 2rem;
    }

    .feature-item h3 {
        min-height: auto;
    }
}

@media (max-width: 992px) {
    .director-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .team-grid {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
        padding: 1rem;
    }

    .team-row {
        flex-direction: column;
        gap: 2rem;
        flex: 0 1 auto;
    }

    .sensei-card img {
        width: 130px;
        height: 130px;
    }

    .contact-header h2 {
        font-size: 3rem;
    }

    .contact-body {
        flex-direction: column;
        padding: 3rem;
        gap: 3rem;
    }

    .contact-logo img {
        width: 200px;
        height: 200px;
    }

    .contact-header {
        padding: 2rem;
    }

    .contact-header h2 {
        font-size: 2.5rem;
    }

    .contact-item {
        font-size: 1.2rem;
    }

    .contact-item i {
        font-size: 1.5rem;
    }

    .contact-logo img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    #valoraciones {
        height: 100dvh;
    }

    .valoraciones-content {
        padding: 1.5rem;
        gap: 1rem;
    }

    .review-card,
    .see-all-container {
        min-width: 300px;
        max-width: 300px;
    }

    .review-card {
        padding: 1.5rem;
        box-shadow: none;
    }

    .reviewer-avatar {
        width: 50px;
        height: 50px;
    }

    .reviewer-avatar i {
        font-size: 1.5rem;
    }

    .reviewer-details h4 {
        font-size: 1.1rem;
    }

    .review-content p {
        font-size: .8rem;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .clases-content {
        padding: 1.5rem;
        gap: 3.5rem;
    }

    .clases-section {
        gap: 2.5rem;
    }

    .feature-grid {
        max-width: 80%;
    }

    .feature-item {
        min-height: 180px;
    }

    .feature-item h3 {
        font-size: 1.5rem;
    }

    .feature-item p {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        padding-top: 80px;
        transition: all 0.3s ease;
        align-items: center;
        gap: 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .section {
        padding: 4rem 1rem;
    }

    #inicio .bg-inicio-upper-left {
        transform: translate(60%, 65%);
    }
    #inicio .bg-inicio-upper-right {
        transform: translate(-60%, 65%);
    }
    #inicio .bg-inicio-lower-left {
        transform: translate(65%, -65%);
    }
    #inicio .bg-inicio-lower-right {
        transform: translate(-65%, -65%);
    }
}


@media (max-width: 480px) {
    h2 {
        font-size: 2.5rem;
    }

    .contact-body {
        padding: 1.5rem;
        gap: 1rem;
    }

    .contact-item {
        font-size: 1rem;
    }

    .contact-item i {
        font-size: 1rem;
    }

    .contact-logo img {
        width: 100px;
        height: 100px;
    }

    .team-grid {
        flex-direction: column;
        gap: 2.5rem;
        padding: 1rem;
    }

    .team-row {
        flex-direction: column;
        gap: 2.5rem;
    }

    .sensei-card {
        margin-bottom: -1rem;
    }

    .sensei-card img {
        width: 160px;
        height: 160px;
        margin-bottom: 0.4rem;
    }

    .sensei-card p {
        font-size: 1.1rem;
    }

    .reviews-container {
        -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
        mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    }

    .review-card,
    .see-all-container {
        min-width: 280px;
        max-width: 280px;
    }

    .review-card {
        padding: 1.2rem;
    }

    .reviews-controls {
        gap: 1.5rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    .dots-container {
        gap: 0.6rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .logo {
        width: 200px;
        height: 200px;
    }

    .subtitle {
        font-size: 24px;
    }

    .youkoso {
        font-size: 32px;
    }

    .welcome {
        font-size: 18px;
    }
}
