/* =========================================================
   TECNO STUDIO
   Reparación de celulares
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --primary: #0077ff;
    --primary-dark: #005dcc;

    --secondary: #00e5a0;

    --background: #f5f7fb;
    --surface: #ffffff;
    --surface-secondary: #eef3f8;

    --text: #151a21;
    --text-secondary: #64707d;

    --border: rgba(0, 0, 0, 0.08);

    --success: #00a878;

    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.07);

    --shadow-hover:
        0 18px 45px rgba(0, 0, 0, 0.13);

    --radius: 18px;

    --transition: 0.3s ease;
}


/* =========================================================
   MODO OSCURO
========================================================= */

body.dark {

    --background: #0b0f14;

    --surface: #121820;

    --surface-secondary: #18222d;

    --text: #f4f7fb;

    --text-secondary: #aab5c1;

    --border: rgba(255, 255, 255, 0.08);

    --success: #00d89b;

    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.35);

    --shadow-hover:
        0 18px 45px rgba(0, 0, 0, 0.5);
}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;
}


html {

    scroll-behavior: smooth;

    scroll-padding-top: 80px;
}


body {

    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background:
        var(--background);

    color:
        var(--text);

    line-height: 1.6;

    transition:
        background var(--transition),
        color var(--transition);
}


a {

    color: inherit;

    text-decoration: none;
}


button {

    font-family: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        color-mix(
            in srgb,
            var(--surface) 92%,
            transparent
        );

    backdrop-filter:
        blur(14px);

    border-bottom:
        1px solid var(--border);
}


.navbar {

    max-width: 1200px;

    margin: auto;

    min-height: 70px;

    padding:
        0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   MARCA
========================================================= */

.brand {

    font-size: 1.15rem;

    font-weight: 900;

    letter-spacing: 1.5px;

    color:
        var(--text);

    transition:
        color var(--transition);
}


.brand:hover {

    color:
        var(--primary);
}


/* =========================================================
   MENÚ
========================================================= */

.nav-menu {

    position: absolute;

    top: 70px;

    left: 0;

    width: 100%;

    background:
        var(--surface);

    border-bottom:
        1px solid var(--border);

    padding:
        20px;

    display: none;

    flex-direction: column;

    gap: 18px;

    box-shadow:
        var(--shadow);
}


.nav-menu.active {

    display: flex;
}


.nav-menu a {

    font-size: 0.93rem;

    font-weight: 600;

    color:
        var(--text-secondary);

    transition:
        color var(--transition);
}


.nav-menu a:hover {

    color:
        var(--primary);
}


/* =========================================================
   BOTONES DEL HEADER
========================================================= */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 10px;
}


.theme-toggle,
.menu-toggle {

    width: 42px;

    height: 42px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background:
        var(--surface);

    color:
        var(--text);

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        transform var(--transition),
        background var(--transition);
}


.theme-toggle:hover,
.menu-toggle:hover {

    transform:
        translateY(-2px);

    background:
        var(--surface-secondary);
}


.menu-toggle {

    font-size: 1.3rem;
}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height:
        calc(100vh - 70px);

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding:
        80px 20px;

    position: relative;

    overflow: hidden;

    background:
        var(--background);
}


.hero::before {

    content: "";

    position: absolute;

    width: 320px;

    height: 320px;

    background:
        var(--primary);

    opacity:
        0.12;

    filter:
        blur(110px);

    border-radius:
        50%;

    top:
        5%;

    left:
        50%;

    transform:
        translateX(-50%);
}


.hero-content {

    position: relative;

    max-width:
        850px;
}


.hero-tag {

    display: inline-block;

    margin-bottom:
        20px;

    padding:
        7px 14px;

    border-radius:
        50px;

    background:
        rgba(0, 119, 255, 0.1);

    color:
        var(--primary);

    font-size:
        0.73rem;

    font-weight:
        800;

    letter-spacing:
        1.2px;
}


.hero h1 {

    font-size:
        clamp(2.5rem, 9vw, 5rem);

    line-height:
        1.03;

    font-weight:
        900;

    letter-spacing:
        -2.5px;

    margin-bottom:
        25px;
}


.hero h1 span {

    display:
        block;

    color:
        var(--primary);
}


.hero p {

    max-width:
        700px;

    margin:
        0 auto 28px;

    color:
        var(--text-secondary);

    font-size:
        1.05rem;
}


/* =========================================================
   BENEFICIOS DEL HERO
========================================================= */

.hero-highlights {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        10px;

    margin-bottom:
        30px;
}


.hero-highlights span {

    color:
        var(--success);

    font-size:
        0.9rem;

    font-weight:
        700;

    background:
        rgba(0, 168, 120, 0.08);

    border:
        1px solid rgba(0, 168, 120, 0.15);

    padding:
        7px 13px;

    border-radius:
        50px;
}


/* =========================================================
   BOTONES
========================================================= */

.hero-buttons {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        12px;
}


.btn {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        48px;

    padding:
        12px 24px;

    border-radius:
        12px;

    font-weight:
        800;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}


.btn:hover {

    transform:
        translateY(-3px);
}


.btn-primary {

    background:
        var(--primary);

    color:
        white;

    box-shadow:
        0 8px 22px
        rgba(0, 119, 255, 0.25);
}


.btn-primary:hover {

    background:
        var(--primary-dark);

    box-shadow:
        0 12px 30px
        rgba(0, 119, 255, 0.35);
}


.btn-secondary {

    background:
        var(--surface);

    color:
        var(--text);

    border:
        1px solid var(--border);
}


/* =========================================================
   BARRA DE CONFIANZA
========================================================= */

.trust-section {

    background:
        var(--surface);

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    padding:
        25px 20px;
}


.trust-grid {

    max-width:
        1100px;

    margin:
        auto;

    display:
        grid;

    grid-template-columns:
        1fr;

    gap:
        20px;
}


.trust-item {

    text-align:
        center;

    padding:
        8px;
}


.trust-item strong {

    display:
        block;

    color:
        var(--text);

    font-size:
        0.95rem;

    margin-bottom:
        4px;
}


.trust-item span {

    color:
        var(--text-secondary);

    font-size:
        0.82rem;
}


/* =========================================================
   SECCIONES
========================================================= */

.section {

    max-width:
        1200px;

    margin:
        auto;

    padding:
        90px 20px;
}


.section-heading {

    max-width:
        700px;

    margin:
        0 auto 45px;

    text-align:
        center;
}


.section-tag {

    display:
        inline-block;

    margin-bottom:
        12px;

    color:
        var(--primary);

    font-size:
        0.74rem;

    font-weight:
        900;

    letter-spacing:
        1.5px;
}


.section-heading h2 {

    font-size:
        clamp(2rem, 6vw, 3rem);

    line-height:
        1.15;

    margin-bottom:
        15px;
}


.section-heading p {

    color:
        var(--text-secondary);
}


/* =========================================================
   QUIÉNES SOMOS
========================================================= */

.about-card {

    max-width:
        900px;

    margin:
        auto;

    padding:
        35px;

    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}


.about-text h3 {

    font-size:
        1.6rem;

    line-height:
        1.3;

    margin-bottom:
        18px;
}


.about-text p {

    color:
        var(--text-secondary);

    margin-bottom:
        15px;
}


.about-text p:last-child {

    margin-bottom:
        0;
}


.about-text strong {

    color:
        var(--primary);
}


/* =========================================================
   SERVICIOS
========================================================= */

.services-grid {

    display:
        grid;

    grid-template-columns:
        1fr;

    gap:
        20px;
}


.service-card {

    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    padding:
        30px;

    box-shadow:
        var(--shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.service-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(0, 119, 255, 0.25);
}


.service-icon {

    width:
        55px;

    height:
        55px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        14px;

    background:
        rgba(0, 119, 255, 0.1);

    font-size:
        1.7rem;

    margin-bottom:
        20px;
}


.service-card h3 {

    margin-bottom:
        10px;

    font-size:
        1.25rem;
}


.service-card p {

    color:
        var(--text-secondary);

    margin-bottom:
        18px;
}


.service-card a {

    color:
        var(--primary);

    font-weight:
        800;

    font-size:
        0.9rem;
}


/* =========================================================
   SERVICIO DESTACADO - DIAGNÓSTICO
========================================================= */

.featured-service {

    border:
        1px solid
        rgba(0, 119, 255, 0.3);

    background:
        linear-gradient(
            145deg,
            var(--surface),
            rgba(0, 119, 255, 0.05)
        );
}


.featured-service .service-icon {

    background:
        var(--primary);

    color:
        white;
}


/* =========================================================
   SECCIÓN DIAGNÓSTICO
========================================================= */

.diagnostic-section {

    padding:
        90px 20px;

    text-align:
        center;

    background:
        var(--surface-secondary);
}


.diagnostic-content {

    max-width:
        750px;

    margin:
        auto;
}


.diagnostic-content h2 {

    font-size:
        clamp(2.2rem, 6vw, 3.5rem);

    line-height:
        1.1;

    margin-bottom:
        15px;
}


.diagnostic-content p {

    max-width:
        600px;

    margin:
        0 auto 25px;

    color:
        var(--text-secondary);

    font-size:
        1.05rem;
}


.diagnostic-points {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        9px;

    margin-bottom:
        30px;
}


.diagnostic-points span {

    color:
        var(--success);

    font-weight:
        700;
}


/* =========================================================
   COMUNIDAD
========================================================= */

.community-section {

    max-width:
        100%;

    background:
        var(--surface);

    text-align:
        center;
}


.community-content {

    max-width:
        700px;

    margin:
        auto;
}


.community-content h2 {

    font-size:
        clamp(2rem, 5vw, 3.2rem);

    margin-bottom:
        15px;
}


.community-content p {

    color:
        var(--text-secondary);

    margin-bottom:
        30px;
}


/* =========================================================
   MERCADO LIBRE
========================================================= */

.market-section {

    background:
        var(--background);
}


.market-placeholder {

    max-width:
        750px;

    margin:
        auto;

    padding:
        55px 30px;

    text-align:
        center;

    background:
        var(--surface);

    border:
        1px dashed var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}


.market-icon {

    font-size:
        3rem;

    margin-bottom:
        15px;
}


.market-placeholder h3 {

    margin-bottom:
        8px;
}


.market-placeholder p {

    color:
        var(--text-secondary);
}


/* =========================================================
   ÚNETE AL EQUIPO
========================================================= */

.team-section {

    max-width:
        100%;

    text-align:
        center;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #004cff
        );

    color:
        white;
}


.team-content {

    max-width:
        700px;

    margin:
        auto;
}


.team-content .section-tag {

    color:
        white;
}


.team-content h2 {

    font-size:
        clamp(2rem, 6vw, 3rem);

    line-height:
        1.15;

    margin-bottom:
        15px;
}


.team-content p {

    opacity:
        0.9;

    margin-bottom:
        30px;
}


.team-content .btn-secondary {

    color:
        #111;

    background:
        white;

    border:
        none;
}


/* =========================================================
   CONTACTO FINAL
========================================================= */

.contact-section {

    padding:
        90px 20px;

    text-align:
        center;

    background:
        var(--surface);
}


.contact-content {

    max-width:
        700px;

    margin:
        auto;
}


.contact-content h2 {

    font-size:
        clamp(2rem, 6vw, 3rem);

    line-height:
        1.15;

    margin-bottom:
        15px;
}


.contact-content p {

    color:
        var(--text-secondary);

    margin-bottom:
        30px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background:
        #0b0f14;

    color:
        white;

    padding:
        50px 20px 20px;
}


.footer-content {

    max-width:
        1200px;

    margin:
        auto;

    display:
        flex;

    flex-direction:
        column;

    gap:
        30px;
}


.footer-content strong {

    font-size:
        1.2rem;

    letter-spacing:
        1px;
}


.footer-content p {

    margin-top:
        8px;

    color:
        #9aa6b2;
}


.footer-links {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        18px;
}


.footer-links a {

    color:
        #c5ced8;

    font-size:
        0.9rem;

    transition:
        color var(--transition);
}


.footer-links a:hover {

    color:
        white;
}


.footer-bottom {

    max-width:
        1200px;

    margin:
        40px auto 0;

    padding-top:
        20px;

    border-top:
        1px solid
        rgba(255,255,255,0.1);

    text-align:
        center;

    color:
        #7d8995;

    font-size:
        0.85rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 700px) {

    .hero-highlights {

        flex-direction:
            row;

        justify-content:
            center;

        flex-wrap:
            wrap;
    }


    .hero-buttons {

        flex-direction:
            row;

        justify-content:
            center;
    }


    .trust-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }


    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .diagnostic-points {

        flex-direction:
            row;

        justify-content:
            center;

        flex-wrap:
            wrap;

        gap:
            20px;
    }


    .footer-content {

        flex-direction:
            row;

        justify-content:
            space-between;

        align-items:
            flex-start;
    }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1000px) {

    .navbar {

        padding:
            0 30px;
    }


    .nav-menu {

        position:
            static;

        width:
            auto;

        padding:
            0;

        display:
            flex;

        flex-direction:
            row;

        align-items:
            center;

        gap:
            22px;

        background:
            transparent;

        border:
            none;

        box-shadow:
            none;
    }


    .menu-toggle {

        display:
            none;
    }


    .hero {

        padding:
            100px 30px;
    }


    .hero-highlights span {

        padding:
            8px 15px;
    }


    .section {

        padding:
            110px 30px;
    }


    .services-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }


    .about-card {

        padding:
            50px;
    }


    .diagnostic-section {

        padding:
            110px 30px;
    }


    .contact-section {

        padding:
            110px 30px;
    }

}


/* =========================================================
   ACCESIBILIDAD
========================================================= */

:focus-visible {

    outline:
        3px solid
        var(--secondary);

    outline-offset:
        3px;
}