:root {
    --background: #070b12;
    --background-light: #0d131d;
    --card: #111923;
    --white: #ffffff;
    --text: #d8dee8;
    --muted: #8d99a8;
    --green: #20d879;
    --border: rgba(255,255,255,0.08);
    --container: 1200px;
    --radius: 16px;
    --transition: .3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: auto;
}

.green {
    color: var(--green);
}

.section {
    padding: 110px 0;
}

.section-title {
    max-width: 750px;
    margin-bottom: 60px;
}

.section-title.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title h2,
.quote-info h2,
.contact-content h2 {
    font-size: clamp(2rem,5vw,3.4rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.section-title h2 span,
.quote-info h2 span,
.contact-content h2 span {
    color: var(--green);
}

.section-title p,
.contact-content p {
    color: var(--muted);
}


/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7,11,18,.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    color: var(--white);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(32,216,121,.1);
    color: var(--green);
    border: 1px solid rgba(32,216,121,.25);
    border-radius: 10px;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: #aeb8c5;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--green);
}

.nav-whatsapp {
    padding: 10px 16px;
    background: var(--green);
    color: #061009 !important;
    border-radius: 8px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 24px;
    cursor: pointer;
}


/* HERO */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 90px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%,rgba(32,216,121,.12),transparent 30%),
        radial-gradient(circle at 80% 20%,rgba(25,100,255,.08),transparent 30%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(32,216,121,.2);
    background: rgba(32,216,121,.06);
    border-radius: 50px;
    color: #b4c1cc;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 25px;
}

.badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}

.hero h1 {
    font-size: clamp(3rem,6vw,5.5rem);
    line-height: .98;
    letter-spacing: -3px;
    color: white;
    margin-bottom: 28px;
}

.hero h1 span {
    color: var(--green);
}

.hero-text > p {
    max-width: 650px;
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 35px;
}

.hero-text strong {
    color: white;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--green);
    color: #051009;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(32,216,121,.2);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37,211,102,.2);
}


/* HERO VISUAL */

.hero-visual {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tech-circle {
    position: absolute;
    border: 1px solid rgba(32,216,121,.15);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.circle-one {
    width: 430px;
    height: 430px;
}

.circle-two {
    width: 320px;
    height: 320px;
    animation-direction: reverse;
    border-color: rgba(255,255,255,.08);
}

.robot-card {
    position: relative;
    width: 310px;
    min-height: 370px;
    background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.015));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
    padding: 25px;
    z-index: 2;
}

.robot-header {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

.robot-icon {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--green);
    text-shadow: 0 0 40px rgba(32,216,121,.3);
}

.robot-data {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.robot-data div {
    display: flex;
    flex-direction: column;
}

.robot-data small {
    color: var(--muted);
    font-size: 9px;
}

.robot-data strong {
    color: var(--green);
    font-size: 12px;
}

.circuit {
    position: absolute;
    height: 1px;
    background: var(--green);
    opacity: .35;
}

.circuit-1 {
    width: 70px;
    right: -40px;
    top: 120px;
}

.circuit-2 {
    width: 90px;
    left: -50px;
    top: 200px;
}

.circuit-3 {
    width: 60px;
    right: -30px;
    bottom: 80px;
}


/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 18px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-weight: 700;
    margin-top: 15px;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mini-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mini-card:hover {
    transform: translateY(-5px);
    border-color: rgba(32,216,121,.25);
}

.mini-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(32,216,121,.08);
    color: var(--green);
    margin-bottom: 15px;
}

.mini-card h4 {
    color: white;
    margin-bottom: 7px;
}

.mini-card p {
    color: var(--muted);
    font-size: 13px;
}


/* SERVICES */

.services-section {
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.service-card {
    padding: 30px;
    min-height: 250px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(32,216,121,.3);
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(32,216,121,.08);
    color: var(--green);
    font-size: 20px;
    margin-bottom: 25px;
}

.service-card h3 {
    color: white;
    font-size: 17px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
}


/* PROCESS */

.process {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.process-step {
    width: 230px;
    text-align: center;
}

.step-number {
    color: var(--green);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 15px;
}

.process-step > i {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 20px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--green);
    font-size: 23px;
}

.process-step h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--muted);
    font-size: 13px;
}

.process-line {
    width: 60px;
    height: 1px;
    background: rgba(32,216,121,.25);
    margin-top: 120px;
}


/* QUOTE */

.quote-section {
    background: var(--background-light);
}

.quote-wrapper {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.quote-info {
    position: sticky;
    top: 110px;
}

.quote-info > p {
    color: var(--muted);
    margin-bottom: 30px;
}

.quote-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.quote-feature i {
    color: var(--green);
}

.direct-whatsapp {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.direct-whatsapp p {
    color: var(--muted);
    margin-bottom: 14px;
}


/* FORM */

.quote-form-container {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

.quote-form-container h3 {
    color: white;
    font-size: 25px;
}

.form-description {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #dce3ec;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: #0b1119;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 13px 14px;
    color: white;
    outline: none;
    transition: var(--transition);
    font-size: 13px;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(32,216,121,.6);
    box-shadow: 0 0 0 3px rgba(32,216,121,.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #596574;
}

.form-group select option {
    background: #0b1119;
    color: white;
}

.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 11px;
    margin-top: 5px;
    min-height: 15px;
}


/* RADIO */

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-option {
    position: relative;
    cursor: pointer;
}

.radio-option input {
    position: absolute;
    opacity: 0;
}

.radio-option span {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    font-size: 12px;
}

.radio-option input:checked + span {
    color: var(--green);
    border-color: rgba(32,216,121,.5);
    background: rgba(32,216,121,.07);
}


/* CHECKBOX */

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 10px 0 25px;
}

.checkbox-group input {
    margin-top: 4px;
    accent-color: var(--green);
}

.checkbox-group label {
    color: var(--muted);
    font-size: 11px;
}


/* FORM BUTTONS */

.form-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-buttons .btn {
    width: 100%;
}


/* SUCCESS / ERROR */

.success-message {
    display: none;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(32,216,121,.08);
    border: 1px solid rgba(32,216,121,.2);
    border-radius: 10px;
    color: var(--green);
}

.success-message.active {
    display: flex;
}

.success-message strong {
    color: white;
}

.success-message p {
    color: var(--muted);
    font-size: 12px;
}

.form-error {
    display: none;
    margin-top: 15px;
    padding: 12px;
    background: rgba(255,70,70,.08);
    border: 1px solid rgba(255,70,70,.2);
    border-radius: 8px;
    color: #ff7777;
    font-size: 12px;
}


/* CONTACT */

.contact-section {
    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(32,216,121,.08),
            transparent 35%
        );
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 13px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(32,216,121,.08);
    color: var(--green);
}

.contact-item small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.contact-item strong {
    color: white;
    font-size: 14px;
}


/* FOOTER */

footer {
    background: #05080d;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 70px 0;
}

.footer-brand p {
    color: var(--muted);
    font-size: 13px;
    max-width: 280px;
    margin-top: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4,
.footer-social h4 {
    color: white;
    font-size: 14px;
}

.footer-links a {
    color: var(--muted);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--green);
}

.social-icons {
    display: flex;
    gap: 9px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--muted);
}

.social-icons a:hover {
    color: var(--green);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.footer-bottom p {
    color: #586372;
    font-size: 11px;
    text-align: center;
}


/* WHATSAPP */

.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 29px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(37,211,102,.3);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    white-space: nowrap;
    background: #111923;
    border: 1px solid var(--border);
    color: white;
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 7px;
    opacity: 0;
    pointer-events: none;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
}


/* ANIMACIONES */

@keyframes rotate {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }

}


/* RESPONSIVE */

@media (max-width: 1000px) {

    nav {
        gap: 12px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text > p {
        margin: auto auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .about-grid,
    .quote-wrapper,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .quote-info {
        position: static;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 750px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 5%;
        background: #070b12;
        border-bottom: 1px solid var(--border);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 12px 0;
    }

    .nav-whatsapp {
        text-align: center;
    }

    .section {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .robot-card {
        width: 270px;
    }

    .circle-one {
        width: 330px;
        height: 330px;
    }

    .circle-two {
        width: 250px;
        height: 250px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process {
        flex-direction: column;
        align-items: center;
    }

    .process-line {
        width: 1px;
        height: 40px;
        margin: 0;
    }

    .form-row,
    .form-buttons {
        grid-template-columns: 1fr;
    }

    .quote-form-container {
        padding: 22px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp {
        right: 18px;
        bottom: 18px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}