/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');

/* Reset y variables */
* {
    margin: 0;
    padding-top: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #efc745;
    --accent-color: #d4af37;
    --text-dark: #4a4a4a;
    --background-light: rgb(241, 241, 196);
    --white: #ffffff;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family:Georgia, 'Times New Roman', Times, serif, sans-serif;
    line-height: 1.6;
    background: var(--primary-color);
    color: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header y Navigation */
/* .header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    background: var(--primary-color);
    z-index: 1000;
    transition: var(--transition);
} */

.header {
    position: fixed;
    top: 0;
    width: 100vw;
    max-width: 100vw;
    left: 0;
    height: auto;
    background: var(--primary-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo h1 {
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Tangerine', cursive;
    font-size: 3rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
    transition: var(--transition);
    font-size: 1.3rem;
    margin-right: 1rem;
}

.nav-menu.active {
    background: var(--primary-color);
}

.nav-menu a {
    text-decoration: none;
    background: linear-gradient(to right, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0.2rem;
    bottom: -0.5rem;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 2.5rem;
    height: 0.3rem;
    background: var(--white);
    margin: 0.3rem 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to top, var(--primary-color) 10%, transparent),
    linear-gradient(to right, var(--primary-color), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)),
    url(El\ club\ de\ la\ etiqueta.png);
    background-repeat: no-repeat;
    background-size: 75%;
    background-position: right 5rem;
    /* background: linear-gradient(to right, #fbf7b8, #f9f7d3, #fbf7b8); */
    /* padding-top: 80px; */
    padding-bottom: 3rem;
    margin: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 120rem;
    margin: 0 auto;
    margin-left: 5.5rem;
    margin-top: 8.5rem;
    padding: 0 2rem;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    /* color: var(--primary-color); */
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-text p {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-text .mini-letra {
    color: var(--white);
    margin-top: 0;
    font-size: 2rem;
    font-family: 'Lucida Handwriting', cursive;
}

.hero-buttons {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.btn {
    font-size: 1.5rem;
    margin-top: 3rem;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.btn-primary:hover {
    background: linear-gradient(to right, #DFBD69, #926F34);
    transform: translateY(-0.2rem);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.btn-suscription {
    background: var(--primary-color);
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.btn-suscription:hover {
    background: #34495e;
    transform: translateY(-0.2rem);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.btn-secondary {
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.btn-secondary:hover {
    background: linear-gradient(to right, #DFBD69, #926F34);
    transform: translateY(-0.2rem);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 35rem;
    border-radius: 50%;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.05);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10rem;
}

/* OVERLAP */
.overlap {
    padding: 5rem 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tips-container {
    position: relative;
    display: grid;
    align-items: center;
    justify-content: center;
    width: 60rem;
    margin-left: 10rem;
    height: auto;
}

.tips-container h2 {
     background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.tips-container p {
    margin-bottom: 2rem;
    text-align: justify;
    font-size: 1.5rem;
}

.p-especial::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    left: 0;
    margin-right: 0.5rem;
}

.image-stack {
    display: grid;
    position: relative;
    grid-template-columns: repeat(12, 1fr);
    width: 90rem;
    margin-right: 15rem;
    height: auto;
}

.image-stack__item--bottom {
    grid-column: 7 / -1;
    grid-row: 1;
}

.image-stack__item--top {
    grid-row: 1;
    grid-column: 5 / span 5;
    padding-top: 25%;
    z-index: 1;
}

.image-stack__item--top p {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    text-align: left;
}

.elegancia {
    /* width: 75%; */
    width: 30rem;
    height: auto;
    display: block;
    border: 3px solid #D2AC47;
    -webkit-box-reflect:
        below 
        0
        linear-gradient(
            transparent 85%, 
            rgba(255, 255, 255, 0.2) 90%, 
            rgba(255, 255, 255, 0.8) 100% 
        );
}

/* OVERLAP2 */
.overlap2 {
    padding: 5rem 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.errores-container {
    position: relative;
    right: 5rem;
    width: 60rem;
    height: auto;
}

.errores-container h2 {
     background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.errores-container p{
    margin-bottom: 2rem;
    text-align: justify;
    font-size: 1.5rem;
}

.image-stack2 {
    display: grid;
    position: relative;
    grid-template-columns: repeat(12, 1fr);
    width: 90rem;
    height: auto;
}

.image-stack__item--bottom2 {
    grid-column: 3 / -1;
    grid-row: 1;
}

.image-stack__item--top2 {
    grid-row: 1;
    grid-column: 4 / span 5;
    padding-top: 18%;
    z-index: 1;
}

.image-stack__item--top2 p {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    text-align: left;
}

.errores {
    /* width: 75%; */
    width: 30rem;
    height: auto;
    display: block;
    border: 3px solid #D2AC47;
    -webkit-box-reflect:
        below 
        0
        linear-gradient(
            transparent 85%, 
            rgba(255, 255, 255, 0.2) 90%, 
            rgba(255, 255, 255, 0.8) 100% 
        );
}

.sobre-empresa {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)), linear-gradient(to top, var(--primary-color), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)),
    url(black-gray\ background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right 5rem;
    padding-bottom: 3rem;
    margin: 0;
}

.empresa-info {
    display: grid;
    border: 5px solid #D2AC47;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 80rem;
    margin: 0 auto;
    margin-top: 8.5rem;
    margin-right: 20rem;
    padding: 2rem;
}

.empresa-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    /* color: var(--primary-color); */
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}

.empresa-info p {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: justify;
}

.divider-mv {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
}

.mv-body {
    background: black;
}

.informacion-adicional {
    display: grid;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    margin-bottom: 3rem;
}

.cred-cert {
    display: grid;
    align-items: center;
    margin: 8rem 0;
    margin-top: 4rem;
    justify-content: center;
    gap: 3rem;
    max-width: 90rem;
}

.title-cred-cert {
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.text-cred-cert {
    text-align: justify;
    font-size: 1.5rem;
    max-width: 80rem;
}

/* Mision y Vision Section */
.mv {
    padding: 10rem 0;
    background: linear-gradient(to right, rgba( 0, 0, 0.8), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)),
    linear-gradient(to top, black, var(--primary-color));
}

.mv-grid {
    display: grid;
    grid-template-rows: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 10rem;
}

.mv-card {
    display: grid;
    margin: 0 5rem;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    align-items: center;
    justify-content: center;
    max-width: 120rem;
}

.title-mision {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    position: relative;
    text-align: center;
    font-weight: 700;
    /* color: var(--primary-color); */
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}

.title-mision::before {
    content: '≫';
    display: block;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    text-align: center;
    line-height: 2rem;
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    padding: 2rem;    
    border: 5px solid #D2AC47;
    border-radius: 50%;
    color: #D2AC47;
}

.mision {
    max-width: 90rem;
    font-size: 1.2rem;
    color: var(--text-light);
}

.title-vision {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    position: relative;
    text-align: center;
    font-weight: 700;
    /* color: var(--primary-color); */
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}

.title-vision::before {
    content: '⏳';
    display: block;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    text-align: center;
    line-height: 2rem;
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    padding: 2rem;    
    border: 5px solid #D2AC47;
    border-radius: 50%;
    color: #D2AC47;
}

.vision {
    max-width: 90rem;
    font-size: 1.2rem;
    color: var(--text-light);
}

/* About Section */
.about {
    padding: 10rem 0;
    background: var(--primary-color);
}

.about-content {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 4rem; */
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 40rem;
    border-radius: 3rem;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.5rem;
    /* color: var(--white); */
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: justify;
}

.credentials {
    margin-bottom: 2rem;
}

.credentials h3 {
    color: #EDC967;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.credentials ul {
    list-style: none;
}

.credentials li {
    padding: 0.5rem 0;
    color: var(--white);
    position: relative;
    padding-left: 1.5rem;
    font-size: 1.5rem;
}

.credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.2rem;
}

.more-about {
    padding: 5rem 0;
    background: var(--primary-color);
}

.more-text {
    display: grid;
    justify-content: center;
    max-width: 100rem;
    margin: 0 auto;
    text-align: center;
}

.more-text p {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: justify;
}

/* Courses Section */
.courses {
    padding: 50px 0;
    background: var(--primary-color);
}

.courses h2 {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.course-icon {
    width: 8rem;
    height: 8rem;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.course-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.course-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.course-card .h3-especial {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
}

.course-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.course-detail h3 {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.course-detail p {
    font-size: 1.5rem;
}

.course-detail ul {
    font-size: 1.5rem;
}

.modal-price h3 {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.modal-price p {
   font-size: 1.5rem;
   margin-bottom: 0;
}

.modal-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    column-gap: 3rem;
}

.duration {
    color: var(--text-light);
    font-size: 0.9rem;
}

.course-btn {
    width: 100%;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 1.5rem;
    width: 90%;
    max-width: 60rem;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modalContent p, h2, h3, ul {
    color: var(--primary-color);
}

.modal-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    column-gap: 3rem;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: #aaa;
    font-size: 2.8rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary-color);
}

/* CSS para la Galería */
.gallery {
    padding: 10rem 0;
    background: var(--primary-color);
}

.title-galeria {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 1rem 2.5rem;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    color: var(--primary-color);
    border: 2px solid #D2AC47;
    border-radius: 2.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(to right, #DFBD69, #926F34);
    color: var(--primary-color);
    transform: translateY(-0.2rem);
    box-shadow: 0 5px 15px rgba(241, 198, 57, 0.401);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 25rem;
}

.gallery-item:hover {
    transform: translateY(-1rem);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content h4 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

/* Modal para vista ampliada */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.gallery-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gallery-close {
    position: absolute;
    top: 2rem;
    right: 3.5rem;
    color: #f1f1f1;
    font-size: 4rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.gallery-close:hover {
    color: #3498db;
}

.gallery-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem 3rem;
    border-radius: 2.5rem;
    font-size: 1.1rem;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
}

.gallery-prev,
.gallery-next {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(52, 152, 219, 0.8);
}

/* Filtros de animación */
.gallery-item.fade-out {
    opacity: 0;
    transform: scale(0.8);
}

.gallery-item.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 76.8rem) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-item {
        height: 20rem;
    }

    body {
        background-size: 100%;
    }
    
    .gallery-filters {
        gap: 1rem;
    }
    
    .filter-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .gallery h2 {
        font-size: 3rem;
    }
    
    .gallery-modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .gallery-close {
        font-size: 3rem;
        right: 2rem;
    }
    
    .gallery-nav {
        padding: 0 1rem;
    }
}

/* Testimonials */
.testimonials {
    padding: 10rem 0;
    background: var(--primary-color);
}

.testimonials h2 {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-slider {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 15rem;
}

.testimonial {
    opacity: 0;
    position: absolute;
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 1.5rem;
    margin-bottom: 2rem;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial p {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-testimonial, .next-testimonial {
    font-size: 2rem;
}    

.testimonial-controls button {
    background: #D2AC47;
    color: var(--primary-color);
    border: none;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background: #997d30;
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 2rem 0;
    background: var(--primary-color);
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 7rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--accent-color);
    width: 2rem;
    font-size: 1.5rem;
}

.contact-item span {
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 4rem;
    height: 4rem;
    background: var(--primary-color);
    color: #F7EF8A;
    border: 1px solid #F7EF8A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: #F7EF8A;
    color: var(--primary-color);
    transform: translateY(-0.2rem);
}

.social-links a i {
    font-size: 1.5rem;
}

.contact-form {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid white;
    border-radius: 1rem;
    font-size: 1.5rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
}

.divider-line {
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    width: 100%;
    height: 2rem;
    margin-top: 5rem;
}

.divider-line-mv {
    background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
    width: 100%;
    height: 2rem;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.footer-section p {
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 76.8rem) {
    header {
        padding: 1.5rem 2rem;
        max-width: 100%;
    }

    .logo h1 {
        font-size: 2.8rem;
    }

    .navbar {
        padding: 0 0;
    }

    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        background: linear-gradient(to top, var(--primary-color) 10%, transparent),
        linear-gradient(to right, var(--primary-color), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)),
        url(El\ club\ de\ la\ etiqueta.png);
        background-repeat: no-repeat;
        background-size: 75%;
        background-position: right 5rem;
        /* background: linear-gradient(to right, #fbf7b8, #f9f7d3, #fbf7b8); */
        /* padding-top: 80px; */
        padding-bottom: 3rem;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 5rem;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu li {
        font-size: 1.3rem;
        margin-bottom: 0.7rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        margin-top: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        margin-top: 18rem;
        margin-left: 0;
        text-align: center;
    }

    .hero-text h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3.5rem;
        font-weight: 700;
        /* color: var(--primary-color); */
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1.7rem;
        color: var(--text-light);
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    .hero-text .mini-letra {
        color: var(--white);
        margin-top: 0;
        font-size: 1.5rem;
        font-family: 'Lucida Handwriting', cursive;
    }

    .hero-buttons {
        display: flex;
        margin-top: 3rem;
        gap: 3rem;
        flex-wrap: wrap;
    }

    .btn {
        padding: 1.2rem 3rem;
        font-size: 1.3rem;
        border: none;
        border-radius: 5rem;
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
        cursor: pointer;
        display: inline-block;
        text-align: center;
    }

    .btn-primary {
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        color: var(--primary-color);
        font-family: 'Playfair Display', serif;
    }

    .btn-primary:hover {
        background: linear-gradient(to right, #DFBD69, #926F34);
        transform: translateY(-0.2rem);
        box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
    }

    .btn-suscription {
        background: var(--primary-color);
        color: var(--white);
        font-family: 'Playfair Display', serif;
    }

    .btn-suscription:hover {
        background: #34495e;
        transform: translateY(-0.2rem);
        box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
    }

    .btn-secondary {
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        color: var(--primary-color);

    }

    .btn-secondary:hover {
        background: linear-gradient(to right, #DFBD69, #926F34);
        transform: translateY(-0.2rem);
        box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
    }

    .divider {
        height: 5rem;
    }

    .divider img {
        width: 90%;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .divider-mv {
        height: 5rem;
    }

    .divider-mv img {
        width: 90%;
    }

    .informacion-adicional {
        display: grid;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
        margin-bottom: 3rem;
        max-width: 40rem;
        grid-template-columns: 1fr;
        margin-left: 5rem;
    }

    .cred-cert {
        display: grid;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        max-width: 90rem;
    }

    .title-cred-cert {
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .text-cred-cert {
        text-align: justify;
        font-size: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .overlap {
        flex-wrap: wrap;
        gap: 3rem;
    }

    .image-stack {
        /* flex-basis: 85%; */
        margin: 0;
    }

    .image-stack__item--bottom {
        grid-column: 9 / -1;
        width: 30rem;
        grid-row: 1;
    }

    .image-stack__item--top {
        grid-row: 1;
        grid-column: 8 / span 5;
        padding-top: 25%;
        /* width: 30rem; */
        z-index: 1;
    }

    .elegancia {
        width: 30rem;
    }

    .tips-container {
        margin: 5rem 0 5rem 10.5rem;
        position: relative;
        flex-basis: 60%;
        width: 80rem;
        height: auto;
    }

    .tips-container h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .tips-container p {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        text-align: justify;
    }

    .overlap2 {
        flex-wrap: wrap;
        margin-top: 5rem;
        gap: 3rem;
    }

    .image-stack2 {
        flex-basis: 85%;
        margin: 0;
    }

    .image-stack__item--bottom2 {
        grid-column: 7 / -1;
        width: 30rem;
        grid-row: 1;
    }

    .image-stack__item--top2 {
        grid-row: 1;
        grid-column: 8 / span 5;
        padding-top: 25%;
        width: 30rem;
        z-index: 1;
    }

    .errores-container {
        margin: 10rem 0 0 15.5rem;
        position: relative;
        flex-basis: 60%;
        width: 80rem;
        height: auto;
    }

    .errores-container h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .errores-container p {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        text-align: justify;
    }

    .errores {
        width: 100%;
    }

    .testimonials-slider {
        margin-bottom: 20rem;
    }

    .testimonials h2 {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    .testimonial p {
        font-size: 1.5rem;
        color: var(--text-dark);
        font-style: italic;
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    .testimonial-author h4 {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .about-image img {
        width: 70%;
        height: auto;
        max-width: 40rem;
        border-radius: 3rem;
    }

    .about-text h2 {
        font-family: 'Playfair Display', serif;
        font-size: 3rem;
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 1.5rem;
        /* color: var(--white); */
        margin-bottom: 2rem;
        line-height: 1.8;
        text-align: justify;
    }

    .credentials {
        margin-bottom: 2rem;
    }

    .credentials h3 {
        font-size: 1.8rem;
        color: #EDC967;
        margin: 7rem 1rem 4rem 1rem;
    }

    .credentials ul {
        list-style: none;
    }

    .credentials li {
        font-size: 1.4rem;
        padding: 0.5rem 0;
        color: var(--white);
        position: relative;
        padding-left: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .credentials li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--accent-color);
        font-weight: bold;
    }

    .stats {
        display: flex;
        gap: 2rem;
    }

    .stat {
        text-align: center;
    }

    .stat-number {
        display: block;
        margin-top: 4rem;
        font-size: 3rem;
        font-weight: bold;
        color: var(--accent-color);
        font-family: 'Playfair Display', serif;
    }

    .stat-label {
        color: var(--text-light);
        font-size: 1.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .contact h2 {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    .contact-info h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item span {
        font-size: 1.5rem;
    }

    .contact-form h3 {
        font-size: 2rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        font-family: 'Playfair Display', serif;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 1.2rem 1.5rem;
        border: 2px solid white;
        border-radius: 1rem;
        font-size: 1.2em;
        transition: var(--transition);
        font-family: inherit;
    }

    .social-links a {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.5rem;
    }

    .stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .courses h2 {
        font-size: 3rem;
    }

    .course-icon i {
        font-size: 3rem;
        color: var(--primary-color);
    }

    .course-card h3 {
        font-size: 1.7rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-family: 'Playfair Display', serif;
    }

    .course-detail h3 {
        font-size: 1.7rem;
        color: var(--primary-color);
        font-family: 'Playfair Display', serif;
    }

    .course-detail p {
        font-size: 1.2rem;
    }

    .course-detail ul {
        font-size: 1.2rem;
    }

    .modal-price h3 {
        font-size: 1.7rem;
        color: var(--primary-color);
        font-family: 'Playfair Display', serif;
    }

    .modal-price p {
        font-size: 1.2rem;
    }

    .course-price-section {
        margin-top: 0;
    }

    .empresa-info {
        max-width: 40rem;
        height: auto;
        margin-left: 5.5rem;
        margin-top: 8.5rem;
        margin-right: 5rem;
    }

    .empresa-info h2 {
        font-size: 3rem;
    }

    .empresa-info p {
        font-size: 1.2rem;
        text-align: justify;
    }

    .mv-grid {
        display: grid;
        grid-template-rows: repeat(auto-fit, minmax(30rem, 1fr));
        gap: 15rem;
    }

    .mv-card {
        display: grid;
        grid-template-rows: repeat(auto-fit, minmax(1fr, 1fr));
        gap: 5rem;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        max-width: 50rem;
    }

    .title-mision {
        text-align: center;
        font-family: 'Playfair Display', serif;
        font-size: 3rem;
        position: relative;
        text-align: center;
        font-weight: 700;
        /* color: var(--primary-color); */
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0;
    }

    .title-mision::before {
        content: '≫';
        display: block;
        width: 2rem;
        height: 2rem;
        display: flex;
        justify-content: center;
        text-align: center;
        line-height: 2rem;
        font-size: 3rem;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
        padding: 2rem;    
        border: 5px solid #D2AC47;
        border-radius: 50%;
        color: #D2AC47;
    }

    .mision {
        max-width: 90rem;
        font-size: 1.2rem;
        color: var(--text-light);
    }

    .title-vision {
        text-align: center;
        font-family: 'Playfair Display', serif;
        font-size: 3rem;
        position: relative;
        text-align: center;
        font-weight: 700;
        /* color: var(--primary-color); */
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0;
    }

    .title-vision::before {
        content: '⏳';
        display: block;
        width: 2rem;
        height: 2rem;
        display: flex;
        justify-content: center;
        text-align: center;
        line-height: 2rem;
        font-size: 2.5rem;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
        padding: 2rem;    
        border: 5px solid #D2AC47;
        border-radius: 50%;
        color: #D2AC47;
    }

    .vision {
        max-width: 90rem;
        font-size: 1.2rem;
        color: var(--text-light);
    }

    .more-about {
        padding: 5rem 0;
        background: var(--primary-color);
    }

    .more-text {
        display: grid;
        justify-content: center;
        max-width: 40rem;
        margin: 0 auto;
        text-align: center;
    }

    .more-text p {
        font-size: 1.5rem;
        color: var(--text-light);
        margin-bottom: 2rem;
        line-height: 1.8;
        text-align: justify;
    }
}

@media (max-width: 48rem) {
    body {
        overflow-x: hidden;
    }

    header {
        padding: 1.5rem 0;
        max-width: 100%;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 0 0;
    }

    .hamburger span {
        width: 1.5rem;
        height: 0.1rem;
    }

    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        background: linear-gradient(to top, var(--primary-color) 10%, transparent),
        linear-gradient(to right, var(--primary-color), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)),
        url(El\ club\ de\ la\ etiqueta.png);
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: right 4.2rem;
        /* background: linear-gradient(to right, #fbf7b8, #f9f7d3, #fbf7b8); */
        /* padding-top: 80px; */
        padding-bottom: 3rem;
    }

    .nav-menu li {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
        margin-left: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        margin-top: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        margin-top: 18rem;
        margin-left: 0;
        text-align: center;
    }

    .hero-text h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        font-weight: 700;
        /* color: var(--primary-color); */
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
        color: var(--text-light);
        line-height: 1.8;
    }

    .hero-text .mini-letra {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        font-size: 1rem;
        margin-top: 1.5rem;
        padding: 1rem 1.5rem;
        border: none;
        border-radius: 5rem;
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
        cursor: pointer;
        display: inline-block;
        text-align: center;
    }

    .hero-buttons {
        gap: 1.2rem;
    }

    .btn-primary {
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        color: var(--primary-color);
        font-family: 'Playfair Display', serif;
        margin-top: 0;
        padding: 1rem 1.5rem;
        margin-bottom: 0;
    }

    .btn-suscription {
        background: var(--primary-color);
        color: var(--white);
        font-family: 'Playfair Display', serif;
        padding: 1rem 1.5rem;
    }

    .btn-secondary {
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        color: var(--primary-color);
        font-family: 'Playfair Display', serif;
        margin-top: 0;
        padding: 1rem 1.5rem;
    }

    .modal-buttons {
        margin-top: 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        column-gap: 1.5rem;
    }

    .overlap {
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
    }

    .tips-container {
        width: 100%;
        margin: 5rem 0 0 0;
    }

    .tips-container h2 {
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 3rem;
        font-size: 1.2rem;
    }

    .tips-container p {
        margin-bottom: 2rem;
        text-align: center;
        font-size: 0.9rem;
    }

    .p-especial::before {
        content: '✓';
        color: var(--accent-color);
        font-weight: bold;
        left: 0;
    }

    .image-stack {
        display: contents;
        position: relative;
        width: 0;
        /* margin: 0 0 0 8rem; */
        height: auto;
    }

    .image-stack__item--bottom {
        grid-column: 4 / -1;
        grid-row: 1;
        display: none;
    }

    .image-stack__item--top {
        /* display: none; */
    }

    .elegancia {
        /* width: 75%; */
        width: 15rem;
        height: auto;
        display: block;
        border: 3px solid #D2AC47;
        -webkit-box-reflect:
            below 
            0
            linear-gradient(
                transparent 85%, 
                rgba(255, 255, 255, 0.2) 90%, 
                rgba(255, 255, 255, 0.8) 100% 
            );
    }

    /* OVERLAP2 */
    .overlap2 {
        flex-wrap: wrap;
        padding: 0;
        margin-top: 8rem;
    }

    .errores-container {
        width: 100%;
        margin: 5rem 0 0 10rem;
    }

    .errores-container h2 {
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 3rem;
        text-align: center;
        font-size: 1.2rem
    }

    .errores-container p {
        margin-bottom: 2rem;
        text-align: center;
        font-size: 0.9rem;
    }

    .image-stack2 {
        display: contents;
        position: relative;
        width: 20rem;
        margin: 0 8rem 0 8rem;
        height: auto;
        align-items: center;
        justify-content: center;
    }

    .image-stack__item--bottom2 {
        display: none
    }

    .image-stack__item--top2 {
        display: grid;
        align-items: center;
        justify-content: center;
    }

    .errores {
        /* width: 75%; */
        width: 15rem;
        height: auto;
        display: block;
        border: 3px solid #D2AC47;
        -webkit-box-reflect:
            unset
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-icon i {
        font-size: 1.5rem;
        color: var(--primary-color);
    }

    .course-card h3 {
        font-size: 1rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-family: 'Playfair Display', serif;
    }

    .h3-especial {
        font-size: 1rem;
    }

    .course-detail h3 {
        font-size: 1.2rem;
        color: var(--primary-color);
        font-family: 'Playfair Display', serif;
    }

    .course-detail p {
        font-size: 0.9rem;
    }

    .course-detail ul {
        font-size: 0.9rem;
    }

    .modal-price h3 {
        font-size: 1.2rem;
        color: var(--primary-color);
        font-family: 'Playfair Display', serif;
    }

    .modal-price p {
        font-size: 0.9rem;
    }

    .course-price-section {
        margin-top: 0;
    }
    
    .about-text h2,
    .courses h2,
    .testimonials h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .course-card {
        padding: 1.2rem;
    }

    .gallery h2 {
        font-size: 2rem;
    }

    .gallery-filters {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 4rem;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        position: relative;
        border-radius: 1.5rem;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        height: 19rem;
    }

    .mv-card {
        display: grid;
        grid-template-rows: repeat(auto-fit, minmax(25rem, 1fr));
        gap: 5rem;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        max-width: 30rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 25rem;
    }

    .btn-suscription {
    background: var(--primary-color);
    color: var(--white);
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
    }

    .testimonial-container {
        width: 100%; /* El contenedor ocupa todo el ancho */
        padding: 0 1rem; /* Añade un pequeño padding para que el contenido no se pegue a los bordes */
        box-sizing: border-box; /* Asegura que el padding no afecte al ancho total */
    }

    .testimonial-container .testimonial {
        padding: 1rem; /* Reduce aún más el padding del testimonio */
    }

    .testimonial p {
        font-size: 1rem;
    }

    .testimonial-author h4 {
        font-size: 1rem;
    }

    .testimonials-slider {
        margin-bottom: 20rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .contact-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-item span {
        font-size: 0.9rem;
    }

    .contact-form h3 {
        font-size: 1.2rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        font-family: 'Playfair Display', serif;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 1.2rem 1.5rem;
        border: 2px solid white;
        border-radius: 1rem;
        font-size: 1rem;
        transition: var(--transition);
        font-family: inherit;
    }

    .social-links a {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1rem;
    }

    .social-links i {
        font-size: 1rem;
    }

    .stats {
        justify-content: center;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .sobre-empresa {
        width: 100%;
        height: auto;
        padding: 3rem 0;
    }

    .empresa-info {
        max-width: 30rem;
        height: auto;
        margin-left: 2rem;
        margin-top: 5.5rem;
        margin-right: 2rem;
    }

    .empresa-info h2 {
        font-size: 1.5rem;
    }

    .empresa-info p {
        font-size: 1.2rem;
        text-align: justify;
    }

    .informacion-adicional {
        display: grid;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
        margin-bottom: 3rem;
        margin-left: 0;
        max-width: 40rem;
        grid-template-columns: 1fr;
    }

    .cred-cert {
        display: grid;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        padding: 0 3rem 0 4rem;
        max-width: 30rem;
    }

    .title-cred-cert {
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .text-cred-cert {
        text-align: center;
        font-size: 1.2rem;
    }

    .mv-card {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        max-width: 60rem;
    }

    .title-mision {
        text-align: center;
        font-family: 'Playfair Display', serif;
        font-size: 3rem;
        position: relative;
        text-align: center;
        font-weight: 700;
        /* color: var(--primary-color); */
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0;
    }

    .mision {
        max-width: 90rem;
        font-size: 1.2rem;
        text-align: center;
        color: var(--text-light);
    }

    .title-vision {
        text-align: center;
        font-family: 'Playfair Display', serif;
        font-size: 3rem;
        position: relative;
        text-align: center;
        font-weight: 700;
        /* color: var(--primary-color); */
        background: linear-gradient(to right, #AE8625, #F7EF8A, #D2AC47, #EDC967);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0;
    }

    .vision {
        max-width: 90rem;
        font-size: 1.2rem;
        text-align: center;
        color: var(--text-light);
    }

    .more-about {
        padding: 5rem 0;
        width: 100%;
        padding: 5rem 4rem;
        background: var(--primary-color);
    }

    .more-text {
        display: grid;
        justify-content: center;
        max-width: 90rem;
        margin: 0 auto;
        text-align: center;
    }

    .more-text p {
        font-size: 1.3rem;
        color: var(--text-light);
        line-height: 1.8;
        text-align: center;
    }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Hover effects */
.course-card,
.testimonial,
.contact-form {
    transition: var(--transition);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 0.8rem;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0.4rem;
}

::-webkit-scrollbar-thumb:hover {
    background: #34495e;
}
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}