/* Reset y Variables - Material Design 3 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Material Design 3 Color Palette */
    --md-primary: #1976d2;
    --md-primary-dark: #1565c0;
    --md-primary-light: #42a5f5;
    --md-secondary: #424242;
    --md-accent: #ff6f00;
    
    /* Material Design 3 Surface Colors */
    --md-surface: #ffffff;
    --md-surface-variant: #f5f5f5;
    --md-background: #fafafa;
    
    /* Material Design 3 Text Colors */
    --md-on-surface: #212121;
    --md-on-surface-variant: #757575;
    --md-on-primary: #ffffff;
    
    /* Material Design 3 Elevation Shadows */
    --md-elevation-0: none;
    --md-elevation-1: 0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
    --md-elevation-2: 0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
    --md-elevation-3: 0px 1px 3px 0px rgba(0, 0, 0, 0.3), 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
    --md-elevation-4: 0px 2px 3px 0px rgba(0, 0, 0, 0.3), 0px 6px 10px 4px rgba(0, 0, 0, 0.15);
    --md-elevation-5: 0px 4px 4px 0px rgba(0, 0, 0, 0.3), 0px 8px 12px 6px rgba(0, 0, 0, 0.15);
    
    /* Material Design 3 Transitions */
    --md-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --md-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --md-radius-sm: 4px;
    --md-radius-md: 8px;
    --md-radius-lg: 12px;
    --md-radius-xl: 16px;
    --md-radius-full: 9999px;
}

html {
    overflow-x: hidden;
    height: 100%;
    scroll-behavior: smooth;
    overflow-y: auto;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--md-on-surface);
    line-height: 1.5;
    overflow-x: hidden;
    background-color: var(--md-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

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

/* Header / Navegación - Material Design estilo Google */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    /* Efecto liquid glass - fondo semitransparente */
    background-color: rgba(255, 255, 255, 0.15);
    /* El desenfoque real que hace que el fondo se vea a través */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    /* Borde semitransparente */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Bordes redondeados */
    border-radius: var(--md-radius-full);
    /* Sombras sutiles para profundidad */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: rgba(33, 33, 33, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.1px;
    transition: var(--md-transition);
    position: relative;
    padding: 10px 16px;
    border-radius: var(--md-radius-full);
    display: inline-block;
    /* Borde sutil para mejor visibilidad */
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-menu a.nav-active {
    color: rgba(33, 33, 33, 1);
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 500;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-menu a:hover {
    color: rgba(33, 33, 33, 1);
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: var(--md-primary);
    color: var(--md-on-primary);
    text-decoration: none;
    border-radius: var(--md-radius-full);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.1px;
    text-transform: none;
    transition: var(--md-transition);
    box-shadow: 
        0 4px 12px rgba(25, 118, 210, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-call:hover {
    background: var(--md-primary-dark);
    box-shadow: 
        0 6px 16px rgba(25, 118, 210, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-call:active {
    box-shadow: 
        0 2px 8px rgba(25, 118, 210, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--md-on-surface);
    transition: var(--md-transition);
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--md-on-surface);
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content {
    max-width: 680px;
    text-align: left;
    margin: 0;
    padding-left: 0;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    /* Texto plano negro */
    color: #000000;
}

.title-indent {
    display: block;
    padding-left: 0;
}

.hero-subtitle {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 600px;
    font-weight: 400;
    letter-spacing: 0.15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
}


/* Botones */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--md-surface);
    color: var(--md-on-surface);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--md-on-primary);
    border: 2px solid var(--md-on-primary);
}

.btn-secondary:hover {
    background: var(--md-surface);
    color: var(--md-on-surface);
}


/* Secciones Generales - Material Design */
section {
    padding: 80px 0;
    background-color: var(--md-background);
    position: relative;
    z-index: 1;
}

.services,
.tools,
.contact {
    background-color: var(--md-surface);
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    color: var(--md-on-surface);
    margin-bottom: 8px;
    letter-spacing: 0;
}

.section-subtitle {
    font-size: 16px;
    color: var(--md-on-surface-variant);
    font-weight: 400;
    letter-spacing: 0.15px;
}

/* Servicios Section */
.services {
    background: var(--md-surface);
    position: relative;
    z-index: 10;
    margin-top: -120px;
    padding-top: 120px;
    padding-bottom: 120px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 24px;
}

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

.service-card {
    background: var(--md-surface);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--md-elevation-1);
    text-align: center;
    transition: var(--md-transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.service-card:hover {
    box-shadow: var(--md-elevation-3);
    transform: translateY(-4px);
}

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

.service-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--md-on-surface);
    margin-bottom: 8px;
    letter-spacing: 0.15px;
}

.service-description {
    color: var(--md-on-surface-variant);
    line-height: 1.5;
    font-size: 14px;
    letter-spacing: 0.25px;
}

/* Sobre Nosotros Section */
.about {
    background: transparent;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--md-radius-xl);
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-description {
    font-size: 1.1rem;
    color: var(--md-on-surface-variant);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--md-on-surface-variant);
    font-weight: 500;
}

/* Herramientas Section */
.tools {
    background: var(--md-surface);
    position: relative;
    z-index: 10;
    border-radius: 24px;
    padding-bottom: 80px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    background: var(--md-surface);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: var(--md-elevation-1);
    transition: var(--md-transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}


.tool-card:hover {
    box-shadow: var(--md-elevation-3);
    transform: translateY(-4px);
}

.tool-icon {
    margin-bottom: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    min-height: 80px;
}

.tool-logo {
    width: auto;
    height: 100%;
    object-fit: contain;
    max-height: 100px;
    max-width: 100%;
}

/* Logos individuales con proporciones específicas */
.tool-logo-python {
    width: auto;
    height: 100%;
    object-fit: contain;
    max-height: 80px;
    max-width: 100%;
}

.tool-logo-google-cloud {
    width: auto;
    height: auto;
    object-fit: contain;
    max-height: 120px;
    max-width: 200px;
    min-height: 100px;
}

.tool-logo-fastapi {
    width: auto;
    height: 100%;
    object-fit: contain;
    max-height: 80px;
    max-width: 100%;
}

.tool-logo-gemini {
    width: auto;
    height: 100%;
    object-fit: contain;
    max-height: 50px;
    max-width: 100%;
}

.tool-logo-docker {
    width: auto;
    height: 100%;
    object-fit: contain;
    max-height: 40px;
    max-width: 100%;
}

.tool-logo-react {
    width: auto;
    height: 100%;
    object-fit: contain;
    max-height: 80px;
    max-width: 100%;
}

.tool-name {
    font-size: 20px;
    font-weight: 500;
    color: var(--md-on-surface);
    margin-bottom: 12px;
    letter-spacing: 0.15px;
}

.tool-description {
    color: var(--md-on-surface-variant);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.25px;
    margin: 0;
    text-align: center;
}

/* Contacto Section */
.contact {
    background: transparent;
    position: relative;
    z-index: 10;
    padding-top: 80px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--md-radius-xl);
    padding: 48px;
    padding-bottom: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 0;
}


.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 600px;
    margin: 0;
}

.contact-info {
    margin-bottom: 0;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--md-on-surface);
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 0.15px;
}

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

.contact-item:last-of-type {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--md-on-surface);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--md-on-surface-variant);
    margin: 0;
}

.contact-item p a {
    color: var(--md-primary);
    text-decoration: none;
    transition: var(--md-transition);
}

.contact-item p a:hover {
    color: var(--md-primary);
    text-decoration: underline;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 0;
}

.contact-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--md-on-surface);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: var(--md-radius-sm);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: var(--md-transition);
    background-color: var(--md-surface);
    color: var(--md-on-surface);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--md-primary);
    border-width: 2px;
    padding: 15px;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--md-on-surface);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--md-on-surface);
    color: var(--md-on-primary);
    padding: 24px 0 12px;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 12px;
}

body > footer:last-child {
    margin-bottom: 0;
    padding-bottom: 12px;
}


.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    padding-left: 5px;
}

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

/* Responsive Design */
@media (min-width: 1025px) {
    .hero {
        min-height: 100vh;
        padding: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        min-height: 100vh;
        align-items: center;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
    }

    .navbar {
        padding: 6px 12px;
        border-radius: var(--md-radius-xl);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: calc(100% - 32px);
        margin: 0 16px;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--md-elevation-3);
        padding: 16px 0;
        gap: 4px;
        border-radius: var(--md-radius-xl);
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 12px 20px;
        border-radius: var(--md-radius-lg);
    }

    .menu-toggle {
        display: flex;
    }

    .nav-wrapper {
        gap: 0.5rem;
    }

    .hero {
        padding: 140px 0 120px;
        min-height: 100vh;
        align-items: center;
    }

    .services {
        margin-top: -80px;
        padding-top: 140px;
        padding-bottom: 60px;
        border-radius: 16px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.15;
    }
    
    .hero-title::after {
        top: -4px;
        left: -8px;
        right: -8px;
        bottom: -4px;
        backdrop-filter: blur(15px) saturate(180%) brightness(1.1);
        -webkit-backdrop-filter: blur(15px) saturate(180%) brightness(1.1);
    }

    .hero-subtitle {
        font-size: 1.05rem;
        max-width: 100%;
        line-height: 1.7;
    }

    .hero .container {
        padding: 0 20px;
    }

    .btn-call {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tools {
        border-radius: 16px;
        padding-bottom: 60px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 150px;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .logo-img {
        height: 50px;
    }

    .hero-content {
        text-align: center;
    }

    section {
        padding: 60px 0;
    }

    .service-card,
    .tool-card {
        padding: 24px 20px;
    }
}


