* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #191919;
    --green: #d2fa64;
    --blue: #3232ff;
    --dark-gray: #545454;
    --light-gray: #c8c8c8;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(25, 25, 25, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo como texto */
.logo {
    font-size: 1.8rem;       /* tamaño proporcional */
    font-weight: bold;
    color: #111;
    text-decoration: none;
}

/* Logo como imagen */
.logo-img {
    height: 50px;             /* ajusta según necesidad */
    width: auto;
    display: block;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--black);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::after {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    transform: rotate(45deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--blue);
}

/* Hero Section */
.hero {
    margin-top: 100px;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    background: var(--blue);
    color: var(--white);
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #2020cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(50, 50, 255, 0.3);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    background: var(--black);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(25, 25, 25, 0.3);
    position: relative;
    overflow: hidden;
}

.code-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--dark-gray);
    display: flex;
    align-items: center;
}

.code-content {
    color: var(--green);
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    margin-top: 20px;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(25, 25, 25, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(25, 25, 25, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--green);
    border-radius: 20px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-card:nth-child(2) .service-icon {
    background: var(--blue);
    color: var(--white);
}

.service-card:nth-child(3) .service-icon {
    background: var(--black);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 120px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue);
    display: block;
}

.stat-label {
    color: var(--dark-gray);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--black);
    color: var(--white);
}

.contact .section-title h2,
.contact .section-title p {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item span {
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--green);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}


.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-gray);
}

.submit-button {
    background: var(--green);
    color: var(--black);
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #c0e850;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}

/* Estilos para reCAPTCHA */
.recaptcha-wrapper {
    display: flex;
    justify-content: right;  /* centra horizontalmente */
    margin-top: 10px;         /* opcional: separación del resto de los campos */
    margin-bottom: 20px;      /* opcional: separación del botón */
}

.g-recaptcha {
    transform: scale(1);      /* escala 1 por defecto */
    transform-origin: 0 0;    /* origen superior izquierdo */
}


.contact-item img {
    filter: invert(100%) brightness(200%);
}