
/* =========================================
   BUSINESS PRO
   Premium Website Template by Elevora
========================================= */


/* IDENTIDAD PERSONALIZABLE */

:root {

    --primary: #0F2440;
    --primary-dark: #08182B;
    --accent: #20B8A6;
    --accent-dark: #08796E;

    --white: #FFFFFF;
    --background: #F0F4F8;
    --text: #182D43;
    --muted: #596B7C;
    --border: #DFE6ED;

    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius: 16px;
    --shadow: 0 10px 35px rgba(15, 36, 64, 0.08);
    --transition: 0.3s ease;

}


/* CONFIGURACIÓN GENERAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(30px, 3.5vw, 45px);
    color: var(--primary);
    letter-spacing: -1px;
}

h2 span {
    color: var(--accent-dark);
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading p {
    color: var(--muted);
    font-size: 15px;
    margin-top: 18px;
}


/* BARRA SUPERIOR */

.topbar {
    background: var(--primary-dark);
    color: #C3D0DF;
    font-size: 11px;
    padding: 9px 0;
}

.topbar-content,
.topbar-contact {
    display: flex;
    align-items: center;
    gap: 25px;
}

.topbar-content {
    justify-content: space-between;
}

.topbar-contact span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.topbar svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}


/* ENCABEZADO */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-symbol {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-family: var(--font-title);
    font-size: 29px;
    font-weight: 800;
    font-style: italic;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-family: var(--font-title);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-text small {
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-top: 5px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navigation a {
    font-size: 13px;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.navigation a.active,
.navigation a:hover {
    color: var(--accent-dark);
}

.navigation a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.navigation a.active::after,
.navigation a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
}


/* BOTONES */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 14px 22px;
    font-size: 13px;
    font-weight: 700;
    min-height: 48px;
    transition: var(--transition);
}

.btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: #32CDBB;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(32, 184, 166, 0.25);
}

.btn-light-outline {
    border-color: rgba(255,255,255,0.55);
    color: var(--white);
    background: rgba(255,255,255,0.04);
}

.btn-light-outline:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}


/* PORTADA PRINCIPAL */

.hero {
    min-height: 640px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;

    background:
        linear-gradient(
            90deg,
            rgba(8,24,43,0.98) 0%,
            rgba(15,36,64,0.90) 45%,
            rgba(15,36,64,0.35) 100%
        ),
        url("../img/hero.webp") center / cover no-repeat,
        var(--primary);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    color: #7CE4D6;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.hero h1 {
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 800;
    letter-spacing: -2px;
    max-width: 820px;
    color: var(--white);
    margin-bottom: 25px;
}

.hero h1 span {
    color: #51D8C7;
    display: block;
}

.hero p {
    max-width: 600px;
    color: #D1DCE8;
    font-size: 17px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 32px;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #CFDCE8;
}

.hero-features svg {
    color: var(--accent);
    width: 17px;
}

.hero-decoration {
    position: absolute;
    right: -120px;
    bottom: -260px;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(32,184,166,0.18);
    border-radius: 50%;
    pointer-events: none;
    box-shadow:
        0 0 0 55px rgba(32,184,166,0.04),
        0 0 0 110px rgba(32,184,166,0.03),
        0 0 0 165px rgba(32,184,166,0.02);
}


/* CARACTERÍSTICAS */

.highlights {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 35px 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight > svg {
    width: 35px;
    height: 35px;
    color: var(--accent-dark);
    flex-shrink: 0;
    stroke-width: 1.6;
}

.highlight h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.highlight p {
    font-size: 12px;
    color: var(--muted);
}


/* NOSOTROS */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-image {
    min-height: 430px;
    border-radius: var(--radius);
    position: relative;

    background:
        url("../img/nosotros.webp") center / cover no-repeat,
        linear-gradient(140deg, #C8DCE8, #7494AE);
}

.image-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,0.6);
}

.image-placeholder svg {
    width: 100px;
    height: 100px;
    stroke-width: 0.8;
}

.about-image.has-image .image-placeholder {
    display: none;
}

.about-badge {
    position: absolute;
    right: -20px;
    bottom: 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
}

.about-badge svg {
    width: 35px;
    height: 35px;
    color: var(--accent);
}

.about-badge strong,
.about-badge small {
    display: block;
}

.about-badge small {
    color: #BFCFE0;
    font-size: 11px;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 18px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 25px 0;
}

.check-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.check-list svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    color: var(--accent-dark);
}


/* SERVICIOS */

.services {
    background: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #E7F8F5;
    color: var(--accent-dark);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
}

.service-icon svg {
    width: 29px;
    height: 29px;
    stroke-width: 1.7;
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

.text-link {
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
}

.text-link svg {
    width: 16px;
    height: 16px;
}


/* METODOLOGÍA */

.methodology {
    background: var(--primary);
    color: var(--white);
}

.methodology h2 {
    color: var(--white);
}

.methodology .eyebrow {
    color: #7CE4D6;
}

.methodology .section-heading p {
    color: #C1D0E1;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    border-top: 1px solid rgba(255,255,255,0.16);
    padding-top: 25px;
}

.step-number {
    color: var(--accent);
    font-family: var(--font-title);
    font-size: 44px;
    font-weight: 800;
}

.process-step h3 {
    font-size: 20px;
    margin: 12px 0;
}

.process-step p {
    color: #C1D0E1;
    font-size: 14px;
}


/* PROYECTOS */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.project-image {
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    background-size: cover;
    background-position: center;
}

.project-image svg {
    width: 60px;
    height: 60px;
    color: rgba(255,255,255,0.8);
    stroke-width: 1;
}

.project-image.has-image svg {
    display: none;
}

.project-one {
    background-image:
        url("../img/proyecto-1.webp"),
        linear-gradient(135deg, #254F73, #102740);
}

.project-two {
    background-image:
        url("../img/proyecto-2.webp"),
        linear-gradient(135deg, #318B8A, #16464E);
}

.project-three {
    background-image:
        url("../img/proyecto-3.webp"),
        linear-gradient(135deg, #758EAE, #344C69);
}

.project-content {
    padding: 25px;
}

.project-content small {
    color: var(--accent-dark);
    letter-spacing: 1px;
    font-size: 10px;
    font-weight: 700;
}

.project-content h3 {
    font-size: 20px;
    margin: 10px 0;
}

.project-content p {
    color: var(--muted);
    font-size: 14px;
}


/* PREGUNTAS FRECUENTES */

.faq-section {
    background: var(--background);
}

.faq-container {
    max-width: 900px;
}

.faq-list {
    display: grid;
    gap: 15px;
}

.faq-list details {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 25px;
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-weight: 600;
    font-size: 15px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    font-size: 25px;
    color: var(--accent-dark);
    flex-shrink: 0;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    margin-top: 15px;
    color: var(--muted);
    font-size: 14px;
}


/* LLAMADA A LA ACCIÓN */

.cta-section {
    background: linear-gradient(
        120deg,
        var(--primary-dark),
        #164D59
    );
    padding: 65px 0;
    color: var(--white);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(27px, 3vw, 39px);
}

.cta-content .eyebrow {
    color: #7CE4D6;
}

.cta-content p {
    color: #C7D7E3;
    margin-top: 15px;
}

.cta-content .btn {
    flex-shrink: 0;
}


/* CONTACTO */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    align-items: start;
}

.contact-info > p {
    color: var(--muted);
    margin: 20px 0 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: #E7F8F5;
    color: var(--accent-dark);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 13px;
    color: var(--muted);
}

.contact-form {
    padding: 35px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 0;
}

.contact-form h3 {
    font-size: 23px;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    min-width: 0;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    background: #F9FBFC;
    color: var(--text);
    font-size: 14px;
    width: 100%;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(32,184,166,0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

.form-notice {
    font-size: 11px;
    color: var(--muted);
    margin-top: 15px;
}

#formStatus {
    font-size: 13px;
    color: var(--accent-dark);
    margin-top: 10px;
}


/* PIE DE PÁGINA */

.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer .brand-text small {
    color: var(--accent);
}

.footer-brand p {
    margin-top: 20px;
    max-width: 280px;
    color: #B9C9DB;
    font-size: 13px;
}

.footer h3 {
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact p {
    color: #B9C9DB;
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    font-size: 11px;
    color: #B9C9DB;
}


/* BOTONES FLOTANTES */

.whatsapp-button,
.back-to-top {
    position: fixed;
    right: 22px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    z-index: 900;
    box-shadow: 0 5px 20px rgba(0,0,0,0.18);
    transition: var(--transition);
}

.whatsapp-button {
    bottom: 22px;
    background: #168746;
}

.whatsapp-button:hover {
    transform: scale(1.08);
}

.back-to-top {
    bottom: 82px;
    background: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ANIMACIONES */

.reveal {
    opacity: 1;
}

.js-ready .reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.js-ready .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* TABLETAS */

@media (max-width: 1100px) {

    .navigation {
        gap: 17px;
    }

    .nav-cta {
        padding: 12px 14px;
        font-size: 12px;
    }

    .about-grid {
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        gap: 35px;
    }

}


/* MENÚ Y DISEÑO MÓVIL */

@media (max-width: 900px) {

    .topbar {
        display: none;
    }

    .navbar {
        min-height: 72px;
        gap: 12px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--white);
        flex-shrink: 0;
    }

    .menu-toggle span {
        width: 23px;
        height: 2px;
        background: var(--primary);
        border-radius: 2px;
        transition: var(--transition);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 20px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 0 0 12px 12px;
        box-shadow: var(--shadow);

        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    .navigation.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .navigation a {
        padding: 16px 5px;
        border-bottom: 1px solid var(--border);
        font-size: 14px;
    }

    .navigation a:last-child {
        border-bottom: 0;
    }

    .navigation a::after {
        display: none;
    }

    .section {
        padding: 75px 0;
    }

    .hero {
        min-height: 580px;
    }

    .highlight-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image {
        max-width: 700px;
        width: 100%;
        margin-inline: auto;
    }

    .about-badge {
        right: 15px;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* CELULARES */

@media (max-width: 550px) {

    .nav-cta {
        display: none;
    }

    .brand-symbol {
        width: 40px;
        height: 40px;
        font-size: 25px;
    }

    .brand-text strong {
        font-size: 20px;
    }

    .brand-text small {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .hero {
        min-height: 580px;
        padding: 75px 0;

        background:
            linear-gradient(
                90deg,
                rgba(8,24,43,0.94),
                rgba(15,36,64,0.74)
            ),
            url("../img/hero.webp") center / cover no-repeat,
            var(--primary);
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(31px, 9vw, 44px);
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        justify-content: center;
        gap: 10px;
    }

    .hero-features span {
        font-size: 10px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .highlight-grid {
        gap: 25px 15px;
    }

    .highlight {
        gap: 8px;
        align-items: flex-start;
    }

    .highlight > svg {
        width: 23px;
        height: 23px;
    }

    .highlight h3 {
        font-size: 12px;
    }

    .highlight p {
        font-size: 10px;
    }

    .section {
        padding: 55px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .about-image {
        min-height: 300px;
    }

    .about-badge {
        bottom: 15px;
        padding: 15px;
    }

    .services-grid,
    .project-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px;
    }

    .process-grid {
        gap: 25px;
    }

    .process-step h3 {
        font-size: 16px;
    }

    .process-step p {
        font-size: 12px;
    }

    .step-number {
        font-size: 35px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 22px;
    }

    .footer-grid {
        gap: 30px 20px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding-bottom: 35px;
    }

}


/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .js-ready .reveal {
        opacity: 1;
        transform: none;
    }

}

/* =========================================
   BUSINESS PRO - MEJORAS PREMIUM V1.1
========================================= */

/* PORTADA PRINCIPAL */

.hero {
    min-height: 0;
    min-height: calc(100svh - 120px);

    padding: 45px 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 24, 43, 0.97) 0%,
            rgba(15, 36, 64, 0.85) 30%,
            rgba(15, 36, 64, 0.45) 60%,
            rgba(15, 36, 64, 0.12) 100%
        ),
        url("../img/hero.webp") center right / cover no-repeat,
        var(--primary);
}

.hero h1 {
    font-size: clamp(32px, 3.8vw, 56px);
    max-width: 740px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 540px;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.hero-label {
    margin-bottom: 18px;
}

.hero-features {
    margin-top: 22px;
}

.hero-decoration {
    display: none;
}


/* REDUCIR ESPACIOS ENTRE SECCIONES */

.section {
    padding: 75px 0;
}

.highlights {
    padding: 25px 0;
}


/* MEJORAR TARJETAS DE SERVICIOS */

.service-card {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent);
    transition: width 0.35s ease;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(15, 36, 64, 0.13);
}

.service-icon {
    transition: transform 0.35s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}


/* MEJORAR TARJETAS DE PROYECTOS */

.project-image {
    transition: background-size 0.4s ease;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: var(--accent);
    box-shadow: 0 18px 45px rgba(15, 36, 64, 0.13);
}


/* ADAPTACIÓN A TABLETAS */

@media (max-width: 900px) {

    .hero {
        min-height: calc(100svh - 72px);
        padding: 50px 0;

        background:
            linear-gradient(
                90deg,
                rgba(8, 24, 43, 0.92),
                rgba(15, 36, 64, 0.55)
            ),
            url("../img/hero.webp") center / cover no-repeat,
            var(--primary);
    }

    .hero h1 {
        font-size: clamp(32px, 5vw, 48px);
    }

    .section {
        padding: 60px 0;
    }

}


/* ADAPTACIÓN A CELULARES */

@media (max-width: 550px) {

    .hero {
        min-height: calc(100svh - 72px);
        padding: 40px 0;

        background:
            linear-gradient(
                180deg,
                rgba(8, 24, 43, 0.70),
                rgba(8, 24, 43, 0.92)
            ),
            url("../img/hero.webp") 65% center / cover no-repeat,
            var(--primary);
    }

    .hero h1 {
        font-size: clamp(28px, 7.5vw, 38px);
        line-height: 1.2;
        letter-spacing: -0.8px;
    }

    .hero p {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn {
        padding: 12px 15px;
    }

    .hero-features {
        margin-top: 20px;
    }

    .section {
        padding: 45px 0;
    }

    .highlights {
        padding: 25px 0;
    }

}


/* ACCESIBILIDAD DE LAS NUEVAS ANIMACIONES */

@media (prefers-reduced-motion: reduce) {

    .service-card,
    .service-card::before,
    .service-icon,
    .project-card,
    .project-image {
        transition: none;
    }

}

/* =========================================
   BUSINESS PRO - TESTIMONIOS PREMIUM
========================================= */

.testimonials {
    background: linear-gradient(
        145deg,
        #F0F4F8,
        #FFFFFF
    );
    border-top: 1px solid var(--border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: 0 8px 30px rgba(15, 36, 64, 0.05);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-7px);
    border-color: var(--accent);
    box-shadow: 0 18px 40px rgba(15, 36, 64, 0.12);
}

.testimonial-quote {
    position: absolute;
    top: 22px;
    right: 25px;
    color: var(--accent);
    opacity: 0.2;
}

.testimonial-quote svg {
    width: 40px;
    height: 40px;
}

.testimonial-stars {
    color: #B8873C;
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;

    border-top: 1px solid var(--border);
    padding-top: 22px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--accent-dark)
    );

    color: var(--white);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
}

.testimonial-author h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--muted);
    font-size: 11px;
}

.testimonial-notice {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    margin-top: 25px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card:last-child {
        grid-column: 1 / -1;
    }

}

@media (max-width: 550px) {

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 25px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .testimonial-card {
        transition: none;
    }

}

/* ========================================
   REGRESAR A LA TIENDA ELEVORA
======================================== */

.back-to-store {
    position: fixed;
    bottom: 22px;
    left: 22px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 20px;

    background: #0B1B3B;
    color: #D8B477;

    border: 1px solid #B8873C;
    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;

    box-shadow: 0 5px 25px rgba(0,0,0,0.20);

    z-index: 950;
    transition: 0.3s ease;
}

.back-to-store svg {
    width: 18px;
    height: 18px;
}

.back-to-store:hover {
    background: #B8873C;
    color: #FFFFFF;
    transform: translateY(-3px);
}

@media (max-width: 550px) {

    .back-to-store {
        left: 15px;
        bottom: 22px;
        padding: 12px 14px;
        font-size: 11px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .back-to-store {
        transition: none;
    }

}


/* =========================================
   COLORES PERSONALIZABLES - ELEVORA
========================================= */

.hero h1 span {
    color: var(--accent-light, #51D8C7);
}

.hero-label,
.methodology .eyebrow,
.cta-content .eyebrow {
    color: var(--accent-light, #51D8C7);
}

.btn-primary:hover {
    background: var(--accent-light, #51D8C7);
}

.service-icon,
.contact-icon {
    background: color-mix(
        in srgb,
        var(--accent) 12%,
        white
    );
}

.cta-section {
    background: linear-gradient(
        120deg,
        var(--primary-dark),
        var(--accent-dark)
    );
}

.social-links {
    margin-top: 18px;
    gap: 10px;
}

.social-links a img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

.social-links a:hover img {
    filter: brightness(0);
}
