/* Reset some default styles */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: inherit;
}
ul{
    list-style: none;
}
body {
    background-color: #000000;
    font-family: 'Work Sans', sans-serif;
    color: #e0e0e0;
    line-height: 1.6;
    padding-top: 85px;
}

/* Variables para colores */
:root {
    --primary-color: #4dc6dc;
    --secondary-color: #2e94c9;
    --accent-color: #0553b1;
    --gradient-primary: linear-gradient(135deg, #4dc6dc, #0553b1);
    --gradient-dark: linear-gradient(45deg, #000000, #00316d);
    --text-light: #ffffff;
    --text-dark: #e0e0e0;
    --bg-light: #1e1e1e;
    --bg-dark: #121212;
    --card-bg: #252525;
    --transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header Styles */
.header{
    background: var(--gradient-dark);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.header--hidden {
    transform: translateY(-100%);
}

.header--visible {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header__content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
.logo__img{
    height: 60px;
    display: block;
}
.nav__list{
    display: flex;
    column-gap: 40px;
}
.nav__link{
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    transition: all 0.4s;
    position: relative;
}
.nav__link:hover,
.nav__link:focus{
    color: rgb(255, 255, 255, 1);
}
.nav__link::after{
    content: '';
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: all 0.2s;
    opacity: 0;
    pointer-events: none;
}
.nav__link:hover::after,
.nav__link:focus::after{
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    box-shadow: 0 4px 15px rgba(77, 198, 220, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(77, 198, 220, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(77, 198, 220, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(5, 83, 177, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 2;
}

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

.hero__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__text {
    max-width: 600px;
}

.hero__label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(77, 198, 220, 0.2), rgba(5, 83, 177, 0.2));
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-light);
}

.hero__title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero__description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #b0b0b0;
    line-height: 1.8;
}

.hero__cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.hero__image {
    width: 100%;
    max-width: 500px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.node-pulse {
    animation: node-pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes node-pulse {
    0%, 100% {
        r: 3px;
        opacity: 1;
    }
    50% {
        r: 6px;
        opacity: 0.5;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #181818;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about__img {
    width: 100%;
    max-width: 450px;
    height: auto;
    animation: pulse-slow 4s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about__title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.about__description {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 40px;
    line-height: 1.8;
}

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__highlights li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #b0b0b0;
}

.about__highlights i {
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header-contact {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    color: var(--text-light);
}

.star-icon {
    color: var(--primary-color);
    margin-left: 8px;
    font-size: 1.5rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(77, 198, 220, 0.15), rgba(5, 83, 177, 0.15));
    color: var(--primary-color);
    font-size: 28px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-light);
}

.service-description {
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: var(--secondary-color);
} 

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-cta .btn-primary {
    background: white;
    color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.contact-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    gap: 40px;
}

.footer-logo {
    flex: 0 0 auto;
    max-width: 300px;
}

.footer-logo-img {
    height: 80px;
    margin-bottom: 15px;
}

.footer-tagline {
    opacity: 0.7;
    max-width: 250px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex: 1;
    justify-content: flex-end;
}

.footer-column {
    min-width: 180px;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    color: var(--text-light);
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-list a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    opacity: 0.7;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    opacity: 0.7;
    font-size: 14px;
    transition: var(--transition);
}

/* Thank You Page Styles */
.thank-you-page {
    padding: 120px 0;
    background-color: var(--bg-dark);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.thank-you-icon {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.thank-you-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #b0b0b0;
}

.thank-you-contact {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.thank-you-contact-info {
    margin-bottom: 40px;
}

.thank-you-contact-info p {
    margin-bottom: 10px;
    color: #b0b0b0;
}

.thank-you-contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.thank-you-contact-info a {
    color: #b0b0b0;
    transition: var(--transition);
}

.thank-you-contact-info a:hover {
    color: var(--primary-color);
}

.thank-you-actions {
    margin-top: 20px;
}

/* Privacy Policy Styles */
.privacy-policy {
    padding: 20px 0;
    background-color: var(--bg-dark);
}

.last-update {
    color: #b0b0b0;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 40px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 10px;
}

.privacy-subtitle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.privacy-list {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.privacy-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Contact Page Styles */
.contact-page {
    padding: 15px 0;
    background-color: var(--bg-dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.contact-info {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    margin: 10px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(77, 198, 220, 0.15), rgba(5, 83, 177, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.info-content p, .info-content a {
    color: #b0b0b0;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-color);
}

.contact-form-container {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.form-group {
    margin-bottom: 8px;
}

.full-width {
    grid-column: span 2;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Work Sans', sans-serif;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(77, 198, 220, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.privacy-consent {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.privacy-consent input {
    width: auto;
    margin-right: 10px;
}

.privacy-consent label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.privacy-consent a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-submit {
    grid-column: span 2;
    margin-top: 10px;
}

/* ===============================================
   MEDIA QUERIES - RESPONSIVIDAD ESENCIAL
   =============================================== */

/* Tablet Landscape - 1024px */
@media(max-width: 1024px) {
    .hero__title {
        font-size: 3rem;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero__visual {
        display: none;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        justify-content: flex-start;
        gap: 40px;
    }
}

/* Tablet Portrait - 768px */
@media(max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }

    .hero__label {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero__text {
        max-width: 100%;
        text-align: center;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    /* About adjustments */
    .about__title {
        font-size: 2.2rem;
    }

    .about__img {
        max-width: 300px;
    }
    
    /* Grid layouts to single column */
    .services-grid,
    .stats__grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact page */
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .full-width,
    .form-submit {
        grid-column: span 1;
    }
    
    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    /* Titles */
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    /* Thank you and privacy pages */
    .thank-you-content,
    .privacy-content {
        padding: 30px 20px;
    }
    
    .thank-you-title {
        font-size: 2rem;
    }
    
    .thank-you-icon {
        font-size: 60px;
    }
}

/* Mobile - 650px */
@media(max-width: 650px) {
    body {
        padding-top: 100px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Header becomes vertical on small screens */
    .header__content {
        flex-direction: column;
        align-items: center;
        padding: 12px 0;
        row-gap: 12px;
        min-height: auto;
    }

    .logo__img {
        height: 50px;
    }
    
    .nav__list {
        column-gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav__link {
        font-size: 13px;
    }
    
    /* Reduce font sizes */
    .hero__title {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .hero__label {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .hero__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero__cta {
        gap: 10px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .about__title {
        font-size: 1.8rem;
    }

    .about__highlights {
        gap: 15px;
    }

    .about__highlights li {
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .service-card,
    .contact-info,
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Extra Small Mobile - 480px */
@media(max-width: 480px) {
    .footer-logo-img {
        height: 60px;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
    }
    
    .footer-heading {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-list li {
        margin-bottom: 8px;
    }
    
    .hero__title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}