/* ==========================================
   RESET Y VARIABLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #8a8a8aff;
    --text-light: #f5f5f5;
    --text-dark: #1a1a1a;
    --bg-light: #ffffff;
    --bg-gray: #f8f8f8;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   NAVEGACIÓN
   ========================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(25, 28, 31, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.justified-text {
    text-align: justify;
}

.definition-quote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    margin: 20px auto;
    padding: 10px 20px;
    max-width: 650px;
    text-align: justify;
    border-left: 4px solid #333;
    color: #444;
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
}

.nav-spacer {
    height: 70px;
}

/* ==========================================
   HERO SECTION (PÁGINA INICIO)
   ========================================== */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* para cambiar a fijo -> fixed; para cambiar a scroll -> scroll */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(7px); /*desenfoque del fondo*/
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.hero-content .hero-title {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s backwards;
    border: 2px solid var(--accent-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

/* ==========================================
   PAGE HEADER (PÁGINAS INTERNAS)
   ========================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
    padding: 5rem 2rem 3rem;
}

.page-header .container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    word-wrap: break-word;
}

/* ==========================================
   SERVICIOS (INICIO)
   ========================================== */

.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--secondary-color);
    line-height: 1.8;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.cta-section h2::after {
    background: var(--text-light);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================
   SESIONES
   ========================================== */

.session-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.session-section.session-alternate {
    background: var(--bg-gray);
}

.session-header {
    text-align: center;
    margin-bottom: 3rem;
}

.session-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.session-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.session-header p {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 1.5rem;
    font-weight: 300;
}

.session-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   DETALLE DE PROYECTO - ACTUALIZADO CON VIDEO
   ========================================== */

.project-detail {
    padding: 4rem 0;
    background: var(--bg-light);
}

.project-detail .container {
    max-width: 1400px; /* Aumentado desde 1200px */
    padding: 0 3rem; /* Más padding lateral */
}

/* Layout de 2 columnas */
.project-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; /* Gap más amplio */
    align-items: start;
}

/* Columna de texto */
.project-text {
    padding-right: 1rem;
}

.project-info {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.project-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.project-description {
    font-size: 1.05rem; /* Ligeramente más grande */
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-top: 2rem;
}

.project-meta span {
    padding: 0.5rem 1.5rem;
    background: var(--bg-gray);
    border-radius: 50px;
}

/* Columna de video */
.project-video {
    padding-top: 4rem;
    position: sticky;
    top: 120px;
    padding-left: 1rem;
}

/* Wrapper responsive para iframe */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}

.video-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
}

/* ==========================================
   RESPONSIVE PARA PROJECT-DETAIL
   ========================================== */

/* Pantallas grandes - más ancho aún */
@media (min-width: 1600px) {
    .project-detail .container {
        max-width: 1600px;
        padding: 0 4rem;
    }

    .project-layout {
        gap: 5rem;
    }
}

/* Desktop estándar */
@media (max-width: 1400px) and (min-width: 969px) {
    .project-detail .container {
        max-width: 1200px;
        padding: 0 2rem;
    }

    .project-layout {
        gap: 3rem;
    }
}

/* Tablets - Stack en una columna */
@media (max-width: 968px) {
    .project-detail .container {
        padding: 0 2rem;
    }

    .project-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .project-text {
        padding-right: 0;
    }

    .project-video {
        position: relative;
        top: auto;
        padding-left: 0;
    }

    .project-info {
        text-align: left;
    }

    .project-info h2 {
        font-size: 2.2rem;
    }

    .project-meta {
        justify-content: flex-start;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .project-detail {
        padding: 2rem 0;
    }

    .project-detail .container {
        padding: 0 1rem;
    }

    .project-layout {
        gap: 2rem;
    }

    .project-info h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .project-description {
        font-size: 0.95rem;
    }

    /* CSS PARA LA OPCIÓN 4 - ENLACE DIRECTO CON THUMBNAIL */
.video-link-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.video-link-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;          /* Reducido de 80px a 50px */
    height: 50px;         /* Reducido de 80px a 50px */
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;    /* Reducido de 2rem a 1.2rem */
    color: white;
    padding-left: 3px;    /* Ajuste visual del triángulo */
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.video-thumbnail:hover .play-button {
    background: rgb(255, 0, 0);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-caption {
    font-size: 0.85rem;   /* Texto más pequeño */
}

.video-caption a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.video-caption a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .play-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

    .project-meta {
        justify-content: center;
        gap: 1rem;
    }

    .project-meta span {
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
    }

    .video-caption {
        font-size: 0.85rem;
    }
}

/* ==========================================
   GALERÍA
   ========================================== */

.gallery-section {
    padding: 3rem 0 5rem;
    background: var(--bg-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    text-align: center;              /*fuerza el centrado del texto */
    width: 90%;                      /*evita saltos raros por ancho */
    margin: 0 auto;                  /*garantiza centrado del bloque */
}


/* ==========================================
   LIGHTBOX
   ========================================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--text-light);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.7);
    border-radius: 5px;
    max-width: 80%;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: var(--text-light);
    border: none;
    font-size: 40px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 5px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ==========================================
   SOBRE MÍ (PÁGINA)
   ========================================== */

.about-page {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🔥 MODIFICADO → CÍRCULO MÁS GRANDE + FOTO DENTRO */
.about-photo {
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    overflow: hidden;     /* NECESARIO PARA QUE LA FOTO SE RECORTE */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 🔥 FOTO DENTRO DEL CÍRCULO */
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* ==========================================
   EXPERIENCIA
   ========================================== */
.experience-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.experience-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.experience-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.exp-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.experience-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience-card p {
    color: var(--secondary-color);
}

/* ==========================================
   FILOSOFÍA
   ========================================== */

.philosophy-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.philosophy-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.philosophy-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.philosophy-item {
    text-align: center;
}

.philosophy-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.philosophy-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.philosophy-item p {
    color: var(--secondary-color);
    line-height: 1.8;
}

/* ==========================================
   CONTACTO
   ========================================== */

.contact-page {
    padding: 5rem 0;
    background: var(--bg-gray);
}

/* Mensajes del formulario */
.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.form-message.hidden {
    display: none;
}

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

/* Estado de carga del botón */
.submit-btn {
    position: relative;
}

.btn-loader {
    display: inline-block;
}

.btn-loader.hidden,
.btn-text.hidden {
    display: none;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Aviso de reCAPTCHA */
.recaptcha-notice {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-gray);
    border-radius: 5px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.recaptcha-notice a {
    color: var(--accent-color);
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-info p {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--secondary-color);
    margin: 0;
}

.social-media h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-btn {
    display: inline-block;
    margin: 0.5rem 0.5rem 0.5rem 0;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.footer-main h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.footer-main p {
    opacity: 0.8;
    line-height: 1.8;
    margin: 0.5rem 0;
    font-weight: 300;
}

.footer-contact h4 {
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

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

.contact-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    font-weight: 300;
}

.contact-links a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.contact-links svg {
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    font-weight: 300;
}

/* ==========================================
   ANIMACIONES
   ========================================== */

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

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .hero-title {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-header {
        padding: 4rem 1.5rem 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr; /* Se apila en móvil */
    }

    /* 🔥 Ajuste del tamaño en tablet */
    .about-photo {
        width: 300px;
        height: 300px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-header {
        padding: 3.5rem 1rem 2rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 75%;
    }

    /* 🔥 Ajuste tamaño móvil */
    .about-photo {
        width: 200px;
        height: 200px;
    }

    .about-text p {
        font-size: 1rem;
    }

    .contact-page {
        padding: 2rem 0;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 1rem;
    }

    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .contact-item p {
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.9rem;
        padding: 0.875rem;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 0.875rem;
    }

    .recaptcha-notice {
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    .social-btn {
        font-size: 0.9rem;
        padding: 0.625rem 1.25rem;
    }

    .service-card,
    .experience-card {
        padding: 1.5rem;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        padding: 0 1rem 1.5rem;
        gap: 2rem;
    }

    .footer-main h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .footer-main p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .footer-contact h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .contact-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 0.75rem 1rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .session-section {
        padding: 2rem 0;
    }

    .session-header {
        margin-bottom: 2rem;
    }

    .session-header h2 {
        font-size: 1.75rem;
    }

    .session-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item {
        max-width: 100%;
    }
}

/* Nueva estructura una sola columna */
.contact-centered {
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.contact-single {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
}

.contact-single h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-single .contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-single .contact-icon {
    font-size: 1.4rem;
}

.contact-single a {
    color: var(--accent-color);
    text-decoration: none;
}
