* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color-scheme: dark;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --bg-primary: #090C11;
    --bg-secondary: #262B32;
    --bg-card: #41444B;
    --text-primary: #FFFFFF;
    --text-secondary: #F6F4E6;
    --text-tertiary: #757B81;
    --text-detail: #52575D;
    --border: #41444B;
    --accent: #FFD300;
    --accent-hover: #FDDB3A;
    --accent-vivid-1: #FF6B35;
    --accent-vivid-2: #00D9FF;
    --accent-vivid-3: #FF2D92;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.splash-screen.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.splash-logo {
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
    animation: fadeInScale 1.5s ease;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.navbar {
    background: var(--bg-primary);
    backdrop-filter: blur(12px);
    padding: 2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--accent);
}

.logo-img {
    width: auto;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(255, 211, 0, 0.8);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(9, 12, 17, 0.9) 0%, rgba(38, 43, 50, 0.9) 50%, rgba(9, 12, 17, 0.9) 100%), url('img/FONDODEPANTALLAPRINCIPAL.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 211, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 5rem;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    padding: 20px 40px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-primary);
    background: var(--accent);
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 211, 0, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(0);
}

.about {
    background: linear-gradient(135deg, rgba(38, 43, 50, 0) 0%, rgba(9, 12, 17, 0) 100%), url('img/FONDOSOBREMI.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 12rem 0;
    border-bottom: 1px solid var(--border);
}

.section-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 6rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
}

.services {
    background: var(--bg-primary);
    padding: 12rem 0;
    border-bottom: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 211, 0, 0.2);
    border-color: rgba(255, 211, 0, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.service-details p {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-details ul {
    list-style: none;
}

.service-details li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    padding: 0.5rem 0;
    line-height: 1.6;
}

.service-subsection {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.service-subsection:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-subsection p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.service-subsection strong {
    color: var(--accent);
}

.costos {
    background: var(--bg-secondary);
    padding: 12rem 0;
    border-bottom: 1px solid var(--border);
}

.costos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.costo-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.costo-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 211, 0, 0.2);
    border-color: rgba(255, 211, 0, 0.3);
}

.costo-category {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.costo-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.costo-card .precio {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.costo-separator {
    height: 1px;
    background: rgba(82, 87, 93, 0.3);
    margin: 1.5rem 0;
}

.costo-card .ejemplo {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.costo-card .total {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1rem;
}

.costo-card ul {
    list-style: none;
    margin-top: 1rem;
}

.costo-card li {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
    padding: 0.5rem 0;
    line-height: 1.6;
}

.costo-button {
    margin-top: auto;
    padding: 1rem 2rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    background: transparent;
    border: 2px solid var(--accent);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.costo-button:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 0, 0.3);
}

.costo-card.featured {
    border: 1px solid var(--accent);
    background: linear-gradient(135deg, #262B32 0%, #1a1f26 100%);
    padding: 4rem 2.5rem;
}

.costo-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.costo-card.featured .precio {
    font-size: 40px;
}

.contact {
    background: var(--bg-secondary);
    padding: 12rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.social-button svg {
    flex-shrink: 0;
}

.social-button span {
    letter-spacing: 0.5px;
}

.social-button:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 211, 0, 0.4);
}

.contact-info-text {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(65, 68, 75, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 211, 0, 0.1);
    backdrop-filter: blur(10px);
}

.contact-info-text p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 0.25rem;
}

.info-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.info-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.whatsapp-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    transform: translateX(5px);
}

.whatsapp-link svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 0.25rem;
}

.whatsapp-link h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.whatsapp-link p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 211, 0, 0.15), 0 0 20px rgba(255, 211, 0, 0.2);
}

.form-group input::placeholder {
    color: var(--text-tertiary);
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-primary);
    background: var(--accent);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 0, 0.3);
}

.submit-button:hover::before {
    left: 100%;
}


.footer {
    background: var(--bg-primary);
    padding: 4rem 4rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* GALERIA Section */
.galeria {
    background: var(--bg-primary);
    padding: 12rem 0;
    border-bottom: 1px solid var(--border);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.proyecto-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

.proyecto-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 211, 0, 0.2);
    border-color: rgba(255, 211, 0, 0.3);
}

.proyecto-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.proyecto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(30%) brightness(0.8);
}

.proyecto-card:hover .proyecto-image img {
    transform: scale(1.15);
    filter: grayscale(0%) brightness(1);
}

.proyecto-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(9, 12, 17, 0.95), transparent);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.proyecto-card:hover .proyecto-overlay {
    transform: translateY(0);
    opacity: 1;
}

.proyecto-overlay h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
    text-shadow: 0 0 15px rgba(255, 211, 0, 0.5);
}

.proyecto-overlay p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 300;
    line-height: 1.6;
}

/* CERTIFICADOS Section */
.certificados {
    background: var(--bg-secondary);
    padding: 12rem 4rem;
    border-bottom: 1px solid var(--border);
}

.certificados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.certificado-item {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.certificado-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 211, 0, 0.2);
    border-color: rgba(255, 211, 0, 0.3);
}

.certificado-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.certificado-item:hover .certificado-img {
    transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 12, 17, 0.85);
    backdrop-filter: blur(25px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    animation: scaleInFade 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 211, 0, 0.2);
    border: 1px solid rgba(255, 211, 0, 0.2);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@keyframes scaleInFade {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: var(--accent);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    text-shadow: 0 0 30px rgba(255, 211, 0, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 211, 0, 0.2);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 211, 0, 0.5);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(9, 12, 17, 0.8);
    color: var(--accent);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10001;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 211, 0, 0.3);
}

/* Lightbox Thumbnails */
.lightbox-thumbnails {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10001;
    padding: 1rem;
    background: rgba(9, 12, 17, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(255, 211, 0, 0.2);
    max-width: 90vw;
    overflow-x: auto;
}

.lightbox-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.lightbox-thumbnail:hover,
.lightbox-thumbnail.active {
    opacity: 1;
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 211, 0, 0.5);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 10px 12px;
    }
    
    .logo-img {
        height: 22px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 0.65rem;
        padding: 0.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .lightbox-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .lightbox-content {
        max-height: 65vh;
    }
    
    .lightbox-counter {
        bottom: 7rem;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .costos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 4rem;
    }
    
    .services-grid,
    .costos-grid,
    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .footer {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 8px 6px;
    }
    
    .nav-container {
        padding: 0 6px;
        white-space: nowrap;
    }
    
    .logo-link {
        white-space: nowrap;
        font-size: 0.72rem;
        letter-spacing: 0.05em;
        gap: 0.5rem;
    }
    
    .logo-img {
        width: auto;
        height: 18px;
    }
    
    .logo-text {
        font-size: 0.72rem;
        white-space: nowrap;
    }
    
    .nav-links {
        gap: 5px;
        white-space: nowrap;
    }
    
    .nav-links a {
        font-size: 0.56rem;
        letter-spacing: 0.02em;
        white-space: nowrap;
        padding: 0;
    }
    
    .nav-links a::after {
        bottom: -3px;
        height: 1px;
    }
}
