/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #999693;
    --primary-dark: #000000;
    --secondary-color: #f3f4f6;
    --text-color: #1d151a;
    --text-light: #6b7280;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1, h2, h3 {
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 8px 28px;
    border-radius: 50px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    margin: 5px;
    font-family: "Poppins", sans-serif;
}

.btn-primary {
    background-color: #5a002b;
    color: var(--white);
    border: 2px solid #5a002b;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: #5a002b;
    border: 3px solid #5a002b;
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: #5a002b;
    color: var(--white);
}

/* Navegación */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex: 1;
    margin: 0 auto;
    color: #4a0020;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 600;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 100px 0px 50px;
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 0 !important;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-title {
    margin-bottom: 1rem;
    font-family: "poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 5rem;
}

.highlight {
    color: #5a002b;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Secciones */
.section {
    padding: 80px 80px;
}

.section-title {
    text-align: left;
    margin-bottom: 50px;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Sobre mí */
.sobre-mi-simple {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
    height: 100vh;
    align-content: center;
}

.sobre-mi-simple-content {
    max-width: 1500px;
    margin: 0 auto;
}

.sobre-mi-simple-titulo {
    color: #1d151a;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    font-family: "poppins", sans-serif;
}

.sobre-mi-simple-texto {
    color: #1d151a;
    font-size: 2.1rem;
    line-height: 1.5;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 10px;
}

.skill-tag {
    background-color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    border: 1px solid rgba(153, 150, 147, 0.4);
    transition: var(--transition);
    font-weight: 500;
}

.skill-tag:hover {
    background-color: rgba(153, 150, 147, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Proyectos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 500px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 4rem;
}

.project-content {
    padding: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.project-tag {
    background-color: var(--light-bg);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Contacto */
.contact-content {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-date {
        width: 80px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* CAROUSEL "PORTFOLIO" REPETIDO */
.portfolio-carousel-container {
    margin: 0;
    padding: 5px;
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: #5a002b;
}

.portfolio-carousel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.portfolio-track {
    display: flex;
    gap: 40px;
    animation: scrollPortfolio 40s linear infinite;
    width: max-content;
}

.portfolio-text {
    flex-shrink: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    font-family: "poppins", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.portfolio-text:hover {
    color: rgba(153, 150, 147, 0.5);
    transform: scale(1.05);
}

@keyframes scrollPortfolio {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

/* Responsive carousel */
@media (max-width: 768px) {
    .portfolio-text {
        font-size: 3rem;
        gap: 25px;
    }
    
    .portfolio-track {
        gap: 25px;
        animation: scrollPortfolio 30s linear infinite;
    }
}

@media (max-width: 480px) {
    .portfolio-text {
        font-size: 2.2rem;
    }
    
    .portfolio-track {
        gap: 20px;
    }
}

/* BOTÓN DE CURRÍCULUM */
.btn-cv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 8px 28px;
    background-color: #5a002b;
    color: white;
    border: none;
    border-radius: 50px;
    font-family: "poppins", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(90, 0, 43, 0.2);
}

.btn-cv:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-cv i {
    font-size: 1.1rem;
}

/* MODAL/POPUP */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: white;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    border-radius: 20px 20px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #ffffff;
}

.modal-header h2 {
    color: #4a0020;
    margin: 0;
    font-size: 2rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #999693;
    cursor: pointer; 
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #5a002b;
    background-color: #f0f0f0;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

/* CONTENIDO DEL CURRÍCULUM */
.cv-content {
    font-family: 'Raleway', sans-serif;
    color: #333;
}

.cv-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.cv-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cv-section h3 {
    color: #5a002b;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.cv-section h3 i {
    font-size: 1.5rem;
}


.cv-info p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.cv-info a {
    color: #5a002b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cv-info a:hover {
    color: #4a0020;
    text-decoration: underline;
}

.cv-item {
    margin-bottom: 25px;

}

.cv-item:last-child {
    margin-bottom: 0;
}

.cv-item h4 {
    color: #1d151a;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.cv-subtitle {
    color: #999693;
    font-style: italic;
    margin-bottom: 10px !important;
}

.cv-item ul {
    padding-left: 20px;
    margin-top: 10px;
}

.cv-item li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.skill-category {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 15%;
}

.skill-category h4 {
    color: #1d151a;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.skill-category p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cv-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #5a002b;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #4a0020;
    transform: translateY(-2px);
}

.btn-close-cv {
    padding: 12px 24px;
    background-color: transparent;
    color: #999693;
    border: 2px solid #999693;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-cv:hover {
    background-color: #999693;
    color: white;
}


/* FRASE */
.frase-contacto {
    background-color: #5a002b;
    text-align: center;
    height: 100vh;
    align-content: center;
}

.frase-contacto-content {
    max-width: 1500px;
    margin: 0 auto;
}

.frase-contacto-uno {
    color: #ffffff;
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    font-family: "poppins", sans-serif;
    line-height: 1.5;
    display: block;
    margin-bottom: 1px;
}

.frase-contacto-dos {
    font-family: "poppins", sans-serif;
    color: #ffffff;
    font-size: 2.1rem;
    line-height: 0.1;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
}

/* FORMULARIO DE CONTACTO */
.contact-title {
    color: #1d151a;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 100px;
    font-family: "poppins", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.contact-form-simple {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group-simple {
    width: 100%;
}

.form-group-simple input,
.form-group-simple textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #999693;
    background-color: transparent;
    font-family: "poppins", sans-serif;
    font-size: 1.1rem;
    color: #1d151a;
    transition: all 0.3s ease;
    border-radius: 0;
    outline: none;
}

.form-group-simple textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group-simple input::placeholder,
.form-group-simple textarea::placeholder {
    color: #999693;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.form-group-simple input:focus,
.form-group-simple textarea:focus {
    outline: none;
    border-bottom-color: #5a002b;
    background-color: transparent;
    padding-left: 10px;
}

.btn-primary-simple {
    width: auto;
    min-width: 200px;
    padding: 12px 40px;
    margin: 40px auto 0;
    border: 2px solid #5a002b;
    border-radius: 50px;
    font-family: "poppins", sans-serif;
    background-color: #5a002b;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-simple:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#contacto .contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.form-group-simple + .form-group-simple {
    margin-top: 40px;
}

/* SECCIÓN PROYECTOS DESTACADOS */
.section-proyectos-destacados {
    padding: 100px 20px;
    background-color: #ffffff;
}

.section-proyectos-destacados .container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-proyectos-destacados .section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 70px;
    color: #1d151a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "poppins", sans-serif;
}

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.proyecto-tarjeta {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.proyecto-tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.proyecto-categoria {
    padding: 12px 25px;
    background-color: #5a002b;
    color: white;
    font-family: "poppins", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

.proyecto-imagen-contenedor {
    height: 450px;
    overflow: hidden;
    position: relative;
}

.proyecto-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.proyecto-tarjeta:hover .proyecto-imagen {
    transform: scale(1.05);
}

.proyecto-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.proyecto-titulo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1d151a;
    margin-bottom: 8px;
    font-family: "poppins", sans-serif;
    line-height: 1;
    text-align: center;
}


.ver-mas-contenedor {
    text-align: center;
    margin-top: 15px;
}

.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background-color: #1d151a;
    color: white;
    border-radius: 50px;
    font-family: "poppins", sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.1px;
}

.btn-ver-mas:hover {
    background-color: #5a002b;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(29, 21, 26, 0.2);
}

.btn-ver-mas i {
    transition: transform 0.3s ease;
}

.btn-ver-mas:hover i {
    transform: translateX(5px);
}

/* RESPONSIVE PROYECTOS */
@media (max-width: 1200px) {
    .proyectos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .section-proyectos-destacados {
        padding: 80px 20px;
    }
    
    .section-proyectos-destacados .section-title {
        font-size: 2.4rem;
        margin-bottom: 60px;
    }
    
    .proyectos-grid {
        gap: 30px;
    }
    
    .proyecto-imagen-contenedor {
        height: 300px;
    }
    
    .proyecto-info {
        padding: 25px;
    }
    
    .proyecto-titulo {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .proyectos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .section-proyectos-destacados .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .proyecto-imagen-contenedor {
        height: 280px;
    }
    
    .proyecto-titulo {
        font-size: 1.5rem;
    }
    
    .proyecto-descripcion {
        font-size: 0.95rem;
    }
    
    .btn-proyecto {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .btn-ver-mas {
        padding: 13px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .proyectos-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .proyecto-imagen-contenedor {
        height: 320px;
    }
    
    .proyecto-categoria {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .section-proyectos-destacados {
        padding: 70px 15px;
    }
    
    .section-proyectos-destacados .section-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .proyecto-info {
        padding: 20px;
    }
    
    .proyecto-titulo {
        font-size: 1.4rem;
    }
    
    .btn-proyecto {
        width: 100%;
        text-align: center;
    }
    
    .btn-ver-mas {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* RESPONSIVE MODAL */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .modal-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .close-modal {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cv-actions {
        flex-direction: column;
    }
    
    .btn-cv {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        border-radius: 15px;
    }
    
    .cv-section h3 {
        font-size: 1.3rem;
    }
    
    .cv-item h4 {
        font-size: 1.1rem;
    }
}

/* RESPONSIVE SOBRE MÍ */
@media (max-width: 768px) {
    .sobre-mi-simple {
        padding: 60px 20px;
    }
    
    .sobre-mi-simple-titulo {
        font-size: 2.5rem;
    }
    
    .sobre-mi-simple-texto {
        font-size: 1.1rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .sobre-mi-simple-titulo {
        font-size: 2rem;
    }
    
    .sobre-mi-simple-texto {
        font-size: 1rem;
    }
    
    .btn-cv {
        width: 100%;
        padding: 12px 24px;
    }
}

/* RESPONSIVE FORMULARIO */
@media (max-width: 768px) {
    .contact-form-simple {
        max-width: 90%;
        padding: 10px;
    }
    
    .form-group-simple input,
    .form-group-simple textarea,
    .form-group-simple input::placeholder,
    .form-group-simple textarea::placeholder {
        font-size: 1.1rem;
    }
    
    .btn-primary-simple {
        min-width: 180px;
        padding: 10px 30px;
        font-size: 1rem;
    }
    
    .form-group-simple + .form-group-simple {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .contact-form-simple {
        max-width: 100%;
    }
    
    .form-group-simple input,
    .form-group-simple textarea,
    .form-group-simple input::placeholder,
    .form-group-simple textarea::placeholder {
        font-size: 1rem;
    }
    
    .btn-primary-simple {
        width: 100%;
        max-width: 300px;
        min-width: unset;
    }
}

/* ANIMACIONES */
.timeline-item, .project-card, .stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.animate-in, .project-card.animate-in, .stat-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(2) { transition-delay: 0.2s; }
.timeline-item:nth-child(3) { transition-delay: 0.4s; }
.project-card:nth-child(2) { transition-delay: 0.2s; }
.project-card:nth-child(3) { transition-delay: 0.4s; }
.stat-item:nth-child(2) { transition-delay: 0.1s; }
.stat-item:nth-child(3) { transition-delay: 0.2s; }
.stat-item:nth-child(4) { transition-delay: 0.3s; }


