
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: #1d1d1f;
    background-color: #f5f5f7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
header {
    background-color: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0;
    height: 44px;
}

.nav-container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo h2 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.022em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    padding: 0 15px;
    height: 44px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    border-radius: 0;
}

.nav-link:hover {
    color: #0071e3;
    background-color: transparent;
}

main {
    margin-top: 44px;
    min-height: calc(100vh - 44px);
}

.hero {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    color: #1d1d1f;
    padding: 80px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 6px;
    color: #1d1d1f;
}

.hero h2 {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 400;
    letter-spacing: 0.007em;
    margin-bottom: 19px;
    color: #86868b;
}

.hero p {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: 0.011em;
    margin-bottom: 0.8em;
    color: #1d1d1f;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 100px 22px;
}

.proyectos {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    margin: 0;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    margin-bottom: 20px;
}

.sobre-mi {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    margin: 0;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    margin-bottom: 20px;
}

.proyectos h2, .sobre-mi h2 {
    color: #1d1d1f;
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 20px;
    text-align: center;
}

.proyectos p, .sobre-mi p {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: 0.011em;
    color: #86868b;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

footer {
    background-color: #f5f5f7;
    color: #1d1d1f;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.footer-content p {
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #86868b;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: #1d1d1f;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    background-color: transparent;
}

.social-link:hover {
    color: #0071e3;
    background-color: rgba(0, 113, 227, 0.1);
    transform: scale(1.1);
}

@media (max-width: 1068px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .container {
        padding: 80px 16px;
    }
    
    .proyectos, .sobre-mi {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .nav-menu {
        gap: 0;
    }
    
    .nav-link {
        padding: 0 10px;
        font-size: 11px;
    }
    
    .hero h1 {
        font-size: 40px;
        line-height: 1.1;
    }
    
    .hero h2 {
        font-size: 24px;
        line-height: 1.16667;
    }
    
    .hero p {
        font-size: 19px;
        line-height: 1.42105;
    }
    
    .proyectos h2, .sobre-mi h2 {
        font-size: 32px;
        line-height: 1.125;
    }
    
    .proyectos p, .sobre-mi p {
        font-size: 19px;
        line-height: 1.42105;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero h2 {
        font-size: 20px;
    }
    
    .hero p {
        font-size: 17px;
    }
    
    .proyectos h2, .sobre-mi h2 {
        font-size: 28px;
    }
    
    .proyectos p, .sobre-mi p {
        font-size: 17px;
    }
}

.projects-section {
    background-color: #f5f5f7;
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
}

.project-card {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    color: white;
    font-size: 48px;
    opacity: 0.8;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 24px;
    line-height: 1.125;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.project-category {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: #0071e3;
    margin-bottom: 16px;
}

.project-description {
    font-size: 16px;
    line-height: 1.42105;
    font-weight: 400;
    letter-spacing: 0.011em;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.project-features {
    margin-bottom: 24px;
}

.project-features h4 {
    font-size: 18px;
    line-height: 1.381;
    font-weight: 600;
    letter-spacing: 0.011em;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.project-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li {
    font-size: 14px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: #86868b;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.project-features li:before {
    content: "•";
    color: #0071e3;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.project-tech {
    margin-bottom: 32px;
}

.project-tech h4 {
    font-size: 18px;
    line-height: 1.381;
    font-weight: 600;
    letter-spacing: 0.011em;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background-color: #f5f5f7;
    color: #1d1d1f;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background-color: #0071e3;
    color: white;
    transform: scale(1.05);
}

.project-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #0071e3;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.022em;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.project-link i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .projects-section {
        padding: 60px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-content h3 {
        font-size: 20px;
        line-height: 1.125;
    }
    
    .project-description {
        font-size: 15px;
        line-height: 1.47059;
    }
    
    .project-features h4,
    .project-tech h4 {
        font-size: 16px;
        line-height: 1.42105;
    }
    
    .project-features li {
        font-size: 13px;
        line-height: 1.47059;
    }
    
    .project-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-content h3 {
        font-size: 18px;
    }
    
    .project-description {
        font-size: 14px;
    }
    
    .project-features h4,
    .project-tech h4 {
        font-size: 15px;
    }
    
    .project-features li {
        font-size: 12px;
    }
}

.contact-section {
    background-color: #f5f5f7;
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 32px;
    line-height: 1.125;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: #1d1d1f;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item i {
    font-size: 24px;
    color: #0071e3;
    margin-top: 4px;
    width: 24px;
    text-align: center;
}

.contact-item h4 {
    font-size: 19px;
    line-height: 1.42105;
    font-weight: 600;
    letter-spacing: 0.011em;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: #86868b;
    margin: 0;
}

.social-contact {
    margin-top: 40px;
}

.social-contact h4 {
    font-size: 19px;
    line-height: 1.42105;
    font-weight: 600;
    letter-spacing: 0.011em;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.contact-form-container {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.contact-form-container h3 {
    font-size: 32px;
    line-height: 1.125;
    font-weight: 600;
    letter-spacing: -0.003em;
    color: #1d1d1f;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 500;
    letter-spacing: -0.022em;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: #1d1d1f;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

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

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.022em;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.submit-btn i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .contact-info h3,
    .contact-form-container h3 {
        font-size: 28px;
        line-height: 1.125;
    }
    
    .contact-item h4 {
        font-size: 17px;
        line-height: 1.47059;
    }
    
    .contact-item p {
        font-size: 15px;
        line-height: 1.47059;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info h3,
    .contact-form-container h3 {
        font-size: 24px;
    }
    
    .contact-item h4 {
        font-size: 15px;
    }
    
    .contact-item p {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}
