/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #00205c;  /* Dark blue from ALFRA logo */
    --secondary-color: #c8102e; /* Red accent color */
    --dark-bg: #111;
    --light-bg: #f5f5f5;
    --text-light: #fff;
    --text-dark: #111;
    --text-muted: #777;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --white: #ffffff;
    --black: #000000;
    --gradient-blue: linear-gradient(135deg, var(--primary-color) 0%, #0a3580 100%);
    --section-padding: 80px 0;
    --container-width: 1200px;
    --border-radius: 4px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

p {
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: #111;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #c8102e;
    margin: 20px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #c8102e;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #a50d25;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    max-width: 100%;
}

.logo-container {
    flex: 0 0 auto;
    padding-left: 50px;
    transition: all 0.3s ease;
}

.logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.header-actions {
    display: flex;
    align-items: center;
    padding-right: 70px;
}

.nav-action {
    margin-left: 25px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #111;
    background-color: transparent;
    border: 1px solid #111;
}

.nav-action:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-action:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-action:hover {
    color: white;
}

.header.scrolled .logo {
    height: 80px;
}

.header.scrolled .nav-action {
    color: #111;
    border-color: #111;
}

.header.scrolled .nav-action:after {
    background-color: #111;
}

.header.scrolled .nav-action:hover {
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow: hidden;
    background-position: 60% center !important;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/jeffreyreal.png');
    background-size: cover;
    background-position: 60% center !important;
    background-repeat: no-repeat;
    opacity: 0.75;
    z-index: 1;
}

.bg-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,32,92,0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    display: flex;
    text-align: left !important;
    max-width: 650px;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 30px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    align-items: flex-end;
    margin-right: 0;
    text-align: left;
}

.title-top {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.title-main {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.title-bottom {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0px;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    text-align: left;
}

.hero-image {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover {
    max-height: 450px;
    transform: perspective(1000px) rotateY(15deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    border-radius: 4px;
    position: relative;
    z-index: 3;
}

.book-cover:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.event-details-compact {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    justify-content: flex-end;
    align-items: flex-end;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.event-detail i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: flex-end;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    animation: bounce 2s infinite;
    z-index: 3;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@media (max-width: 960px) {
    .hero-content {
        max-width: 500px;
        margin-left: 100px;
    }
}

@media (max-width: 770px) {
    .hero-content {
        max-width: 500px;
        margin-left: 20px;
    }
}

@media (max-width: 600px) {
    .hero-content {
        max-width: 320px;
        margin-left: 20px;
    }

    .title-main {
        font-size: 3rem;
    }

    .title-top {
        margin-bottom: 0;
        font-size: 1.5rem;
    }

    .title-bottom {
        font-size: 18px;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-subtitle {
        font-size: 14px;
        margin: 0 !important;
        padding: 0 !important;
        margin-top: 0;
    }

    .event-details-compact {
        margin-top: 0;
    }

    .event-detail {
        margin-bottom: 0;
        margin-top: 0 !important;
    }

    .hero-cta {
        margin-top: 0;
    }

    .hero-cta {
        margin-bottom: 0;
        font-size: 12px !important;
        display: flex;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .heroctaMar{
        margin-bottom: 10px !important;
        margin-right: 10px;
        font-size: 12px !important;
        padding: 12px 20px !important;
    }

    .logo {
        width: 100px;
    }
}

/* Author Highlight */
.author-highlight {
    padding: 40px 0;
    background-color: #c8102e;
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-brief {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.author-brief strong {
    font-weight: 600;
}

/* About Event Section */
.about-event {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

/* Estilos para destacar el libro */
.book-highlight {
    flex: 0 0 auto;
    max-width: 350px;
}

.featured-book {
    max-width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(5deg);
}

.featured-book:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 30px 50px rgba(200, 16, 46, 0.3);
}

/* Ajustar el espaciado en la sección about */
.about-text-container {
    flex: 1;
    text-align: left;
}

.about-text-container p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.key-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 2rem;
    color: #c8102e;
}

.feature-text {
    flex-grow: 1;
}

.feature-text span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: block;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-left: 3px solid #c8102e;
}

/* Books Showcase */
.books-showcase {
    padding: 70px 0;
    background-color: #f5f5f5;
}

.books-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.book-item {
    flex: 0 0 220px;
}

.book-image img {
    height: 300px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateY(5deg);
}

.book-item:hover .book-image img {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.books-caption {
    margin-top: 40px;
}

.shingo-award {
    font-size: 1.5rem;
    font-weight: 800;
    color: #c8102e;
    letter-spacing: 2px;
}

/* Author Section con layout flex */
.author {
    padding: 40px 0;
    background-color: #f5f5f5;
    color: #333;
    position: relative;
    overflow: hidden;
}

.author .container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin: 0 auto;
    padding: 0 0;
}

.author-photo{
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
    margin-top: 30px;
}

.author .section-title {
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 3rem;
    color: #c8102e;
    text-align: center;
    letter-spacing: 1px;
}

.author-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    order: 2;
}

.author-info {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.author-info p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.7;
    color: #333;
    font-weight: 400;
}

.achievements {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.achievement {
    padding: 20px;
    background-color: #c8102e;
    color: white;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.achievement:hover {
    transform: translateY(-5px);
    background-color: #a50d25;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.achievement strong {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.author-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
}

.author-photo {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.2);
    transition: all 0.3s ease;
    object-fit: cover;
}


/* Animaciones específicas para la sección del autor */
.author-info.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.author-info.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.achievement.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.achievement.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.achievement.animate-on-scroll:nth-child(1) {
    transition-delay: 0.3s;
}

.achievement.animate-on-scroll:nth-child(2) {
    transition-delay: 0.5s;
}

/* Event Details Section */
.event-details {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.event-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(25, 25, 25, 0.9) 100%);
    z-index: 1;
}

.event-details .container {
    position: relative;
    z-index: 2;
}

.event-details .section-title {
    color: white;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.event-details .section-title:after {
    background-color: #c8102e;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.detail-card {
    padding: 30px 25px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.detail-icon {
    width: 60px;
    height: 60px;
    background-color: #c8102e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.detail-card:hover .detail-icon {
    transform: scale(1.1);
}

.detail-icon i {
    font-size: 1.8rem;
    color: white;
}

.detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white;
    font-weight: 700;
}

.detail-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.details-cta {
    margin-top: 50px;
}

.details-cta .btn-primary {
    background-color: #c8102e;
    color: white;
    border: none;
    font-size: 1.1rem;
    padding: 18px 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.details-cta .btn-primary:hover {
    background-color: #e41236;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.05) 0%, rgba(200, 16, 46, 0.05) 100%);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact .section-title {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 20px;
    color: #222;
}

.contact .section-title:after {
    background-color: #c8102e;
    width: 80px;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    flex: 0 0 600px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c8102e;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
    background-color: white;
}

.btn-block {
    width: 100%;
}

.contact-form .btn-primary {
    background-color: #c8102e;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: #e41236;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Mensaje de confirmación */
.confirmation-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.confirmation-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

.confirmation-content i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.confirmation-content h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.confirmation-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-alternative {
    flex: 0 0 350px;
    padding: 40px;
    background-color: #222;
    color: white;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-alternative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.contact-alternative p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
    align-items: center;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: rgba(200, 16, 46, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(200, 16, 46, 0.2);
    max-width: 80%;
    margin: 0 auto;
}

.contact-method:hover {
    background-color: rgba(200, 16, 46, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-method i {
    font-size: 1.8rem;
    color: #c8102e;
}

.contact-method span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background-color: #111;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(40, 40, 40, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.footer-logo {
    flex: 0 0 auto;
    margin-bottom: 0;
    text-align: center;
}

.logo-footer {
    max-height: 120px;
    filter: brightness(1.2) drop-shadow(0 5px 15px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
}

.logo-footer:hover {
    transform: translateY(-5px);
    filter: brightness(1.3) drop-shadow(0 8px 25px rgba(255, 255, 255, 0.25));
    background-color: rgba(255, 255, 255, 0.15);
}

.footer-info {
    flex: 1;
    text-align: right;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-info p:first-child {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Animaciones */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature:nth-child(1) { transition-delay: 0.1s; }
.feature:nth-child(2) { transition-delay: 0.2s; }
.feature:nth-child(3) { transition-delay: 0.3s; }
.feature:nth-child(4) { transition-delay: 0.4s; }
.feature:nth-child(5) { transition-delay: 0.5s; }

.book-item:nth-child(1) { transition-delay: 0.1s; }
.book-item:nth-child(2) { transition-delay: 0.3s; }
.book-item:nth-child(3) { transition-delay: 0.5s; }

/* Sección de premios Shingo */
.shingo-awards-section {
    margin: 0 auto;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    max-width: 900px;
    position: relative;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.shingo-awards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #c8102e;
}

.shingo-text {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.shingo-award {
    font-size: 2.5rem;
    font-weight: 900;
    color: #c8102e;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.shingo-award::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #c8102e;
}

.shingo-description {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
}

.shingo-image {
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
    margin: 40px auto 0;
    text-align: center;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.shingo-awards-img {
    width:100%;
    width: auto;
    height: auto;
    filter: none;
    transition: all 0.5s ease;
    transform: scale(1.15);
    object-fit: contain;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.shingo-awards-img:hover {
    transform: translateY(-5px) scale(1.15);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

/* Ajustes para evitar scroll horizontal y elementos fuera de pantalla */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Eliminar scroll en la sección de autor */
.author {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.author-content {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.author-info {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.achievements {
    overflow: visible !important;
    height: auto !important;
}

.achievement {
    overflow: visible !important;
    height: auto !important;
}

/* Eliminar animaciones del hero section */
.no-animation {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.hero-content.no-animation,
.hero-title.no-animation,
.title-top.no-animation,
.title-main.no-animation,
.title-bottom.no-animation,
.hero-subtitle.no-animation,
.event-details-compact.no-animation,
.hero-cta.no-animation {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    animation-delay: 0s !important;
    transition-delay: 0s !important;
}

/* Estilos para anular animaciones - mayor especificidad */
html body .hero-section .hero-content,
html body .hero-section .title-top,
html body .hero-section .title-main,
html body .hero-section .title-bottom,
html body .hero-section .hero-title,
html body .hero-section .hero-subtitle,
html body .hero-section .event-details-compact,
html body .hero-section .hero-cta,
html body .hero-section .no-animation {
    animation: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation-delay: 0s !important;
    transition-delay: 0s !important;
    visibility: visible !important;
    display: block !important;
}

/* Estilos específicos para cada clase */
.title-top.no-animation,
.title-main.no-animation,
.title-bottom.no-animation,
.hero-title.no-animation,
.hero-subtitle.no-animation,
.event-details-compact.no-animation,
.hero-cta.no-animation,
.hero-content.no-animation {
    animation: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation-delay: 0s !important;
    transition-delay: 0s !important;
    visibility: visible !important;
    display: block !important;
}

/* ========================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ======================================== */

/* ===== HEADER RESPONSIVE ===== */
@media (max-width: 1200px) {
    .header-actions {
        padding-right: 40px;
    }
    
    .logo-container {
        padding-left: 30px;
    }
    
    .nav-action {
        margin-left: 20px;
        padding: 8px 16px;
        font-size: 14px;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-container {
        padding-left: 0;
    }
    
    .logo {
        height: 60px;
    }
    
    .header-actions {
        padding-right: 0;
        justify-content: center;
    }
    
    .nav-action {
        margin-left: 10px;
        padding: 6px 12px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-action {
        margin-left: 0;
        width: 120px;
        text-align: center;
    }
    
    .logo {
        height: 50px;
    }
}

/* ===== AUTHOR HIGHLIGHT RESPONSIVE ===== */
@media (max-width: 768px) {
    .author-highlight {
        padding: 30px 0;
    }
    
    .author-brief {
        font-size: 1.2rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .author-highlight {
        padding: 20px 0;
    }
    
    .author-brief {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* ===== ABOUT EVENT SECTION RESPONSIVE ===== */
@media (max-width: 1200px) {
    .about-event {
        padding: 80px 0;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .book-highlight {
        max-width: 300px;
    }
}

@media (max-width: 968px) {
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .book-highlight {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .about-text-container {
        text-align: center;
    }
    
    .key-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .about-event {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .about-text-container p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .key-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .feature-text span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-event {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .book-highlight {
        max-width: 200px;
    }
    
    .about-text-container p {
        font-size: 0.9rem;
    }
    
    .feature {
        padding: 12px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-text span {
        font-size: 0.9rem;
    }
}

/* ===== BOOKS SHOWCASE RESPONSIVE ===== */
@media (max-width: 1200px) {
    .books-showcase {
        padding: 60px 0;
    }
    
    .books-grid {
        gap: 30px;
    }
    
    .book-item {
        flex: 0 0 200px;
    }
    
    .book-image img {
        height: 280px;
    }
}

@media (max-width: 968px) {
    .books-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }
    
    .book-item {
        flex: 0 0 180px;
    }
    
    .book-image img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .books-showcase {
        padding: 50px 0;
    }
    
    .books-grid {
        gap: 20px;
    }
    
    .book-item {
        flex: 0 0 160px;
    }
    
    .book-image img {
        height: 220px;
    }
    
    .books-caption {
        margin-top: 30px;
    }
    
    .shingo-award {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .books-showcase {
        padding: 40px 0;
    }
    
    .books-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .book-item {
        flex: none;
        width: 140px;
    }
    
    .book-image img {
        height: 200px;
    }
    
    .shingo-award {
        font-size: 1rem;
    }
}

/* ===== AUTHOR SECTION RESPONSIVE ===== */
@media (max-width: 1200px) {
    .author {
        padding: 80px 0;
    }
    
    .author .container {
        gap: 40px;
        padding: 0 15px;
    }
    
    .author .section-title {
        font-size: 2.5rem;
    }
    
    .author-photo {
        max-width: 500px;
    }
    
    .author-info {
        padding: 35px;
        max-width: 700px;
    }
}

@media (max-width: 968px) {
    .author {
        padding: 60px 0;
    }
    
    .author .container {
        gap: 35px;
    }
    
    .author .section-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .author-photo {
        max-width: 400px;
    }
    
    .author-info {
        padding: 30px;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .author {
        padding: 50px 0;
    }
    
    .author .container {
        gap: 30px;
        padding: 0 10px;
    }
    
    .author .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .author-image {
        max-width: 250px;
    }
    
    .author-photo {
        max-width: 250px;
        border-radius: 8px;
    }
    
    .author-info {
        padding: 25px 20px;
    }
    
    .author-info p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .achievement {
        padding: 15px;
    }
    
    .achievement strong {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .author {
        padding: 40px 0;
    }
    
    .author .container {
        gap: 25px;
        padding: 0 10px;
    }
    
    .author .section-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .author-image {
        max-width: 200px;
    }
    
    .author-photo {
        max-width: 200px;
        border-radius: 6px;
    }
    
    .author-info {
        padding: 20px 15px;
    }
    
    .author-info p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .achievement {
        padding: 12px;
    }
    
    .achievement strong {
        font-size: 0.85rem;
    }
}

/* ===== EVENT DETAILS SECTION RESPONSIVE ===== */
@media (max-width: 1200px) {
    .event-details {
        padding: 70px 0;
    }
    
    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        max-width: 900px;
    }
}

@media (max-width: 968px) {
    .event-details {
        padding: 60px 0;
    }
    
    .event-details .section-title {
        font-size: 2.5rem;
    }
    
    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .event-details {
        padding: 50px 0;
    }
    
    .event-details .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 500px;
    }
    
    .detail-card {
        padding: 25px 20px;
    }
    
    .detail-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .detail-icon i {
        font-size: 1.5rem;
    }
    
    .detail-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .detail-card p {
        font-size: 0.9rem;
    }
    
    .details-cta {
        margin-top: 40px;
    }
    
    .details-cta .btn-primary {
        font-size: 1rem;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .event-details {
        padding: 40px 0;
    }
    
    .event-details .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .details-grid {
        max-width: 100%;
    }
    
    .detail-card {
        padding: 20px 15px;
    }
    
    .detail-icon {
        width: 45px;
        height: 45px;
    }
    
    .detail-icon i {
        font-size: 1.3rem;
    }
    
    .detail-card h3 {
        font-size: 1rem;
    }
    
    .detail-card p {
        font-size: 0.85rem;
    }
    
    .details-cta .btn-primary {
        font-size: 0.9rem;
        padding: 12px 25px;
    }
}

/* ===== CONTACT SECTION RESPONSIVE ===== */
@media (max-width: 1200px) {
    .contact {
        padding: 80px 0;
    }
    
    .contact-container {
        max-width: 600px;
    }
}

@media (max-width: 968px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact .section-title {
        font-size: 2.5rem;
    }
    
    .contact-intro {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 50px 0;
    }
    
    .contact .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .contact-intro {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .contact-container {
        max-width: 90%;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .contact-form .btn-primary {
        padding: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 40px 0;
    }
    
    .contact .section-title {
        font-size: 1.5rem;
    }
    
    .contact-intro {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .contact-container {
        max-width: 95%;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .contact-form .btn-primary {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Mensaje de confirmación responsive */
    .confirmation-content {
        padding: 25px 20px;
        margin: 15px;
    }
    
    .confirmation-content i {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .confirmation-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .confirmation-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 968px) {
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .logo-footer {
        max-height: 100px;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 25px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .logo-footer {
        max-height: 80px;
        padding: 10px;
    }
    
    .footer-info p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .footer-info p:first-child {
        font-size: 1rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 20px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .logo-footer {
        max-height: 70px;
        padding: 8px;
    }
    
    .footer-info p {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .footer-info p:first-child {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
}

/* ===== SHINGO AWARDS SECTION RESPONSIVE ===== */
@media (max-width: 1200px) {
    .shingo-awards-section {
        max-width: 800px;
        padding: 35px 25px;
        gap: 25px;
    }
    
    
    .shingo-awards-img:hover {
        transform: translateY(-5px) scale(1.1);
    }
}

@media (max-width: 968px) {
    .shingo-awards-section {
        max-width: 700px;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .shingo-award {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .shingo-description {
        font-size: 1.1rem;
    }
    
    .shingo-awards-img:hover {
        transform: translateY(-5px) scale(1.05);
    }
}

@media (max-width: 768px) {
    .shingo-awards-section {
        max-width: 90%;
        padding: 25px 15px;
        gap: 15px;
    }
    
    .shingo-award {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }
    
    .shingo-award::after {
        width: 80px;
        height: 2px;
        bottom: -6px;
    }
    
    .shingo-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .shingo-image {
        margin: 30px auto 0;
    }
    
    .shingo-awards-img {
        transform: scale(1.0);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .shingo-awards-img:hover {
        transform: translateY(-3px) scale(1.0);
    }
}

@media (max-width: 480px) {
    .shingo-awards-section {
        max-width: 95%;
        padding: 20px 12px;
        gap: 12px;
    }
    
    .shingo-award {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }
    
    .shingo-award::after {
        width: 60px;
        height: 2px;
        bottom: -5px;
    }
    
    .shingo-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .shingo-image {
        margin: 20px auto 0;
    }
    
    .shingo-awards-img {
        transform: scale(0.95);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }
    
    .shingo-awards-img:hover {
        transform: translateY(-2px) scale(0.95);
    }
}

/* ===== GENERAL TYPOGRAPHY RESPONSIVE ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
        letter-spacing: 0.5px;
    }
    
    .section-title:after {
        width: 50px;
        height: 3px;
        margin: 15px auto 0;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
        letter-spacing: 0px;
    }
    
    .section-title:after {
        width: 40px;
        height: 2px;
        margin: 12px auto 0;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 12px;
        letter-spacing: 0px;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* ===== CONTAINER RESPONSIVE ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* ===== ANIMATIONS RESPONSIVE ===== */
@media (max-width: 768px) {
    .animate-on-scroll {
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .feature:nth-child(1) { transition-delay: 0.05s; }
    .feature:nth-child(2) { transition-delay: 0.1s; }
    .feature:nth-child(3) { transition-delay: 0.15s; }
    .feature:nth-child(4) { transition-delay: 0.2s; }
    .feature:nth-child(5) { transition-delay: 0.25s; }
    
    .book-item:nth-child(1) { transition-delay: 0.05s; }
    .book-item:nth-child(2) { transition-delay: 0.15s; }
    .book-item:nth-child(3) { transition-delay: 0.25s; }
}

@media (max-width: 480px) {
    .animate-on-scroll {
        transform: translateY(15px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
    /* Reducir delays en móviles para mejor performance */
    .feature:nth-child(1) { transition-delay: 0s; }
    .feature:nth-child(2) { transition-delay: 0.05s; }
    .feature:nth-child(3) { transition-delay: 0.1s; }
    .feature:nth-child(4) { transition-delay: 0.15s; }
    .feature:nth-child(5) { transition-delay: 0.2s; }
    
    .book-item:nth-child(1) { transition-delay: 0s; }
    .book-item:nth-child(2) { transition-delay: 0.1s; }
    .book-item:nth-child(3) { transition-delay: 0.2s; }
}

/* ===== PERFORMANCE OPTIMIZATIONS FOR MOBILE ===== */
@media (max-width: 768px) {
    /* Reducir efectos de hover en dispositivos táctiles */
    .feature:hover,
    .book-item:hover .book-image img,
    .featured-book:hover,
    .achievement:hover,
    .detail-card:hover,
    .contact-form:hover,
    .logo-footer:hover {
        transform: none;
    }
    
    /* Simplificar sombras en móviles */
    .contact-form,
    .detail-card,
    .author-info {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Reducir blur effects en móviles para mejor performance */
    .author-info,
    .detail-card {
        backdrop-filter: none;
    }
}

@media (max-width: 480px) {
    /* Eliminar transformaciones complejas en móviles pequeños */
    .book-cover,
    .featured-book,
    .book-image img {
        transform: none !important;
    }
    
    /* Simplificar gradientes */
    .author::after {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .bg-overlay::after {
        background: rgba(0, 0, 0, 0.5);
    }
}