/* ========== INICIO: Variables y Reset ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #04328d;
    --secondary-color: #ffffff;
    --accent-color: #0056b3;
    --text-dark: #333333;
    --text-light: #666666;
    --gradient: linear-gradient(135deg, #04328d 0%, #0056b3 100%);
    --gradient-alt: linear-gradient(45deg, #04328d, #0066cc, #0056b3);
    --shadow: 0 10px 30px rgba(4, 50, 141, 0.1);
    --shadow-hover: 0 15px 40px rgba(4, 50, 141, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    /*overflow-x: hidden;*/
    background: #fafbfc;
    width: 100%;
}

/* ========== FIN: Variables y Reset ========== */

/* ========== INICIO: Header Responsivo ========== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(4, 50, 141, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container img {
    width: 18.75rem;
    height: fit-content;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(4, 50, 141, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(4, 50, 141, 0.1);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ========== FIN: Header Responsivo ========== */

/* ========== INICIO: Contenido Principal Responsivo ========== */
main {
    margin-top: 80px;
    overflow: hidden;
}

/* ========== INICIO: Hero Section Responsivo ========== */
.hero-media {
    background: url('../img/fondo-inicio-hamilton-segura-taller-de-voceria.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 1rem;
    position: relative;
}

.hero-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a1a1a;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-hero-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(4, 50, 141, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(4, 50, 141, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.media-card {
    background: rgba(4, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.media-card:hover {
    transform: scale(1.02);
}

.media-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.media-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.media-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.stat-porcent {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ========== FIN: Hero Section Responsivo ========== */

/* ========== INICIO: Sección de Beneficios Responsivo ========== */
.benefits-section {
    padding: 4rem 1rem;
    background: white;
    position: relative;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-header {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========== FIN: Sección de Beneficios Responsivo ========== */

/* ========== INICIO: Sección Sobre Media Training Responsivo ========== */
.about-media {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-visual {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 1.3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.experience-card {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(4, 50, 141, 0.3);
}

.experience-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.experience-text {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.experience-details {
    font-size: 0.95rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* ========== FIN: Sección Sobre Media Training Responsivo ========== */

/* ========== INICIO: Sección del Instructor Responsivo ========== */
.instructor-section {
    padding: 4rem 1rem;
    background: white;
}

.instructor-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.instructor-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.instructor-profile {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.instructor-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.instructor-profile img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
}

.instructor-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.instructor-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.instructor-title {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.instructor-bio {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.credential-item {
    background: var(--primary-color);
    color: white;
    padding: 1.2rem;
    border-radius: 10px;
    transition: var(--transition);
}

.credential-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(4, 50, 141, 0.3);
}

.credential-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.credential-text {
    font-size: 0.9rem;
}

/* ========== FIN: Sección del Instructor Responsivo ========== */

/* ========== INICIO: Sección de Clientes Responsivo ========== */
.clients-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.clients-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.clients-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* ========== FIN: Sección de Clientes Responsivo ========== */

/* ========== INICIO: Sección Oratoria y Liderazgo Responsivo ========== */
.final-cta {
    background: var(--gradient);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* ========== FIN: Sección CTA Final Responsivo ========== */

/* ========== INICIO: Footer Responsivo ========== */
.footer {
    background: #1a1a1a;
    color: var(--secondary-color);
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-section>ul {
    font-size: 0.9rem;
    padding: 0px 15px;
    list-style-position: inside;
}

.footer-section>ul>li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-content>img {
    width: 200px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
}

/* ========== FIN: Footer Responsivo ========== */

/* ========== INICIO: Botón WhatsApp Responsivo ========== */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
}

.whatsapp-text {
    display: none;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    z-index: -1;
    animation: pulse 2s infinite;
}

/* ========== FIN: Botón WhatsApp Responsivo ========== */

/* ========== INICIO: Responsive Design ========== */
/* Tablet */
@media (max-width: 1024px) {

    .header {
        width: 100%;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .btn-hero {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .media-card {
        padding: 1.8rem;
    }

    .benefits-header h2,
    .about-content h2,
    .instructor-header h2,
    .clients-header h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .experience-number {
        font-size: 3rem;
    }
}

/* Móvil */
@media (max-width: 768px) {

    .header {
        width: 100%;
    }

    .hero-media {
        background-position: right center;
        height: auto;
    }

    .nav-container {
        width: 100%;
        padding: 0.8rem 1rem;
        
    }

    .nav-container img {
        width: 200px;
        height: fit-content;
        display: flex;
        gap: 0;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .instructor-info {
        text-align: center;
    }

    .credentials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        text-align: center;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }
}

/* Pequeños móviles */
@media (max-width: 480px) {

    .header {
        width: 100%;
    }
    
    .nav-container img {
        width: 75%;
        height: auto;
    }
    
    .menu-toggle { /*agregado*/
        width: 15%;
    }
    
    .header {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* ========== FIN: Responsive Design ========== */

/* ========== INICIO: Animaciones ========== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========== FIN: Animaciones ========== */


#aviso {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

#aviso img {
	width: 800px;
	display: flex;
	flex-direction: column;
    align-items: center;
    margin: 20px auto;
    border-radius: 12px;
	}


