/* =========================================================
   SERCOM S.R.L. - ESTILOS PRINCIPALES
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #17202a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   CONTENEDOR
   ========================================================= */

.contenedor {
    width: min(1180px, 90%);
    margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e8e8e8;
}

.nav {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #17202a;
}

.logo span {
    color: #d69b28;
}

/* MENU */

.menu {
    display: flex;
    gap: 32px;
}

.menu a {
    position: relative;

    font-size: 14px;
    font-weight: 600;
    color: #3f4650;

    transition: color 0.3s ease;
}

.menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: #d69b28;

    transition: width 0.3s ease;
}

.menu a:hover {
    color: #d69b28;
}

.menu a:hover::after {
    width: 100%;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 78px;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(214, 155, 40, 0.08),
            transparent 30%
        ),
        linear-gradient(
            115deg,
            #0b141b 0%,
            #101c25 52%,
            #1c2b35 100%
        );

    color: white;

    overflow: hidden;
}

.hero-contenido {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 65px;

    min-height: calc(100vh - 78px);
}

.hero-texto {
    max-width: 700px;
}

.etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;

    color: #d69b28;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;
}

.etiqueta::before {
    content: "";

    width: 28px;
    height: 2px;

    background: #d69b28;
}

.hero h1 {
    margin-bottom: 27px;

    font-size: clamp(48px, 5.2vw, 72px);
    line-height: 1.02;

    letter-spacing: -2.5px;
    font-weight: 800;
}

.hero h1 span {
    display: block;

    color: #d69b28;
}

.descripcion {
    max-width: 620px;

    margin-bottom: 36px;

    color: #cbd4da;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   BOTONES DEL HERO
   ========================================================= */

.hero-botones {
    display: flex;
    align-items: center;

    gap: 14px;
    flex-wrap: wrap;
}

.boton {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 49px;

    padding: 0 27px;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.boton:hover {
    transform: translateY(-2px);
}

.boton-principal {
    background: #d69b28;
    color: #101820;

    box-shadow:
        0 8px 25px rgba(214, 155, 40, 0.18);
}

.boton-principal:hover {
    background: #e7ad36;

    box-shadow:
        0 12px 30px rgba(214, 155, 40, 0.25);
}

.boton-secundario {
    border: 1px solid rgba(255, 255, 255, 0.28);

    color: white;

    background: rgba(255, 255, 255, 0.02);
}

.boton-secundario:hover {
    border-color: #d69b28;

    background: rgba(214, 155, 40, 0.08);

    color: white;
}


/* =========================================================
   PANEL ERP - HERO
   ========================================================= */

.hero-panel {
    position: relative;

    padding: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.085),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid rgba(255, 255, 255, 0.13);

    border-radius: 10px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.30);

    backdrop-filter: blur(12px);

    overflow: hidden;
}


/* Brillo decorativo */

.hero-panel::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -70px;

    background: rgba(214, 155, 40, 0.10);

    border-radius: 50%;

    filter: blur(20px);
}


/* Línea superior */

.hero-panel::after {
    content: "";

    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 0;

    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #d69b28,
        transparent
    );

    opacity: 0.55;
}

.panel-superior {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;

    gap: 10px;

    padding-bottom: 19px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);

    color: #d7dde2;

    font-size: 13px;
    font-weight: 700;
}

.panel-superior span {
    color: #55c878;

    font-size: 10px;
}

.panel-titulo {
    position: relative;
    z-index: 1;

    padding: 27px 0;

    font-size: 26px;
    font-weight: 700;

    letter-spacing: -0.5px;
}

.panel-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.panel-grid div {
    min-height: 91px;

    padding: 17px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.085);

    border-radius: 6px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.panel-grid div:hover {
    transform: translateY(-3px);

    border-color: rgba(214, 155, 40, 0.65);

    background: rgba(214, 155, 40, 0.07);
}

.panel-grid strong {
    color: #d69b28;

    font-size: 12px;
}

.panel-grid span {
    color: #e7ebee;

    font-size: 14px;
}


/* =========================================================
   RESPONSIVE HERO
   ========================================================= */

@media (max-width: 900px) {

    .hero-contenido {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 50px;
        padding-bottom: 70px;
    }

    .hero-texto {
        max-width: 700px;
    }

    .hero-panel {
        max-width: 650px;
        width: 100%;
    }

}


@media (max-width: 600px) {

    .hero {
        padding-top: 70px;
    }

    .hero-contenido {
        min-height: auto;

        gap: 38px;

        padding-top: 45px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -1.5px;
    }

    .descripcion {
        font-size: 16px;
    }

    .hero-panel {
        padding: 22px;
    }

    .panel-grid {
        grid-template-columns: 1fr 1fr;
    }

    .panel-grid div {
        min-height: 82px;

        padding: 14px;
    }

}

/* =========================================================
   SECCIONES
   ========================================================= */

.seccion {
    padding: 110px 0;
}

.seccion-oscura {
    background: #101820;
    color: white;
}

.titulo-seccion {
    margin-bottom: 55px;
}

.titulo-seccion p {
    color: #d69b28;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.titulo-seccion h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
}

/* =========================================================
   NOSOTROS
   ========================================================= */

.nosotros-contenido {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 25px;
}

.nosotros-contenido > div:first-child {
    padding-right: 40px;

    font-size: 20px;
    color: #5c6670;
}

.tarjeta-destacada {
    padding: 30px;

    background: #f5f6f7;

    border: 1px solid #e7e8e9;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tarjeta-destacada:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.tarjeta-destacada strong {
    display: block;

    margin-bottom: 20px;

    color: #d69b28;

    font-size: 14px;
}

.tarjeta-destacada h3 {
    margin-bottom: 12px;

    font-size: 22px;
}

.tarjeta-destacada p {
    color: #68717a;
}

/* =========================================================
   SERVICIOS
   ========================================================= */

.servicios-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.servicio {
    padding: 35px;

    border: 1px solid #34414b;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.servicio:hover {
    transform: translateY(-7px);

    border-color: #d69b28;

    background: #16232d;
}

.servicio span {
    color: #d69b28;

    font-size: 13px;
    font-weight: 700;
}

.servicio h3 {
    margin: 25px 0 15px;

    font-size: 25px;
}

.servicio p {
    color: #aeb8bf;
}

/* =========================================================
   PROYECTOS
   ========================================================= */

.proyectos-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.proyecto {
    background: #f5f6f7;

    overflow: hidden;
}

.proyecto-imagen {
    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #253541,
            #101820
        );

    color: #d69b28;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;
}

.proyecto-info {
    padding: 25px;
}

.proyecto-info h3 {
    margin-bottom: 8px;
}

.proyecto-info p {
    color: #68717a;
}

/* =========================================================
   CONTACTO
   ========================================================= */

.contacto {
    padding: 90px 0;

    background: #d69b28;
}

.contacto-contenido {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.contacto .etiqueta {
    color: #101820;
}

.contacto h2 {
    margin-bottom: 10px;

    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
}

.contacto p {
    color: #26323a;
}

.contacto .boton {
    background: #101820;
    color: white;
}

.contacto .boton:hover {
    background: #1c2b35;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 45px 0;

    background: #0b1116;

    color: #8e999f;
}

.footer-contenido {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer .logo {
    color: white;
}

.footer p {
    font-size: 13px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .menu {
        gap: 15px;
    }

    .menu a {
        font-size: 12px;
    }

    .nosotros-contenido,
    .servicios-grid,
    .proyectos-grid {
        grid-template-columns: 1fr;
    }

    .nosotros-contenido > div:first-child {
        padding-right: 0;
    }

    .contacto-contenido {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {

    .nav {
        height: 70px;
    }

    .logo {
        font-size: 23px;
    }

    .menu {
        display: none;
    }

    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .descripcion {
        font-size: 16px;
    }

    .seccion {
        padding: 75px 0;
    }

}

/* =========================================================
   PANEL ERP - HERO
   ========================================================= */

.hero-contenido {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
}

.hero-panel {
    padding: 28px;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(10px);
}

.panel-superior {
    display: flex;
    align-items: center;
    gap: 10px;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    color: #d7dde2;

    font-size: 13px;
    font-weight: 700;
}

.panel-superior span {
    color: #55c878;
}

.panel-titulo {
    padding: 28px 0;

    font-size: 25px;
    font-weight: 700;
}

.panel-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.panel-grid div {
    min-height: 90px;

    padding: 18px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 5px;

    transition: 0.3s ease;
}

.panel-grid div:hover {
    border-color: #d69b28;

    transform: translateY(-3px);
}

.panel-grid strong {
    color: #d69b28;

    font-size: 12px;
}

.panel-grid span {
    color: #e7ebee;

    font-size: 14px;
}


/* =========================================================
   NOSOTROS
   ========================================================= */

.nosotros-texto {
    padding-right: 40px;

    font-size: 18px;
    color: #5c6670;
}

.nosotros-texto p + p {
    margin-top: 20px;
}


/* =========================================================
   ERP
   ========================================================= */

.erp-seccion {
    background: #f5f6f7;
}

.erp-introduccion {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;
}

.erp-introduccion h3 {
    max-width: 700px;

    margin-bottom: 15px;

    font-size: 28px;
}

.erp-introduccion p {
    max-width: 700px;

    color: #68717a;
}

.erp-numero {
    display: flex;
    flex-direction: column;

    color: #d69b28;

    font-size: 70px;
    font-weight: 800;
    line-height: 0.8;
}

.erp-numero span {
    margin-top: 12px;

    color: #68717a;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.erp-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.erp-modulo {
    display: grid;

    grid-template-columns: 50px 1fr;

    gap: 20px;

    padding: 28px;

    background: white;

    border: 1px solid #e5e7e9;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.erp-modulo:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.erp-modulo > span {
    color: #d69b28;

    font-size: 13px;
    font-weight: 700;
}

.erp-modulo h3 {
    margin-bottom: 8px;

    font-size: 20px;
}

.erp-modulo p {
    color: #68717a;

    font-size: 14px;
}


/* =========================================================
   RESPONSIVE ERP
   ========================================================= */

@media (max-width: 900px) {

    .hero-contenido {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-panel {
        max-width: 600px;
    }

    .erp-grid {
        grid-template-columns: 1fr;
    }

    .erp-introduccion {
        align-items: flex-start;
    }

}

@media (max-width: 600px) {

    .hero-panel {
        padding: 20px;
    }

    .panel-grid {
        grid-template-columns: 1fr 1fr;
    }

    .erp-introduccion {
        flex-direction: column;
    }

    .erp-numero {
        font-size: 55px;
    }

}
/* =========================================================
   CONTACTO - FORMULARIO
   ========================================================= */

.contacto {
    padding: 110px 0;
    background: #d69b28;
}

.titulo-contacto {
    max-width: 750px;
    margin-bottom: 55px;
}

.titulo-contacto p {
    margin-bottom: 12px;

    color: #101820;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;
}

.titulo-contacto h2 {
    margin-bottom: 18px;

    color: #101820;

    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
}

.titulo-contacto span {
    color: #28333a;
    font-size: 17px;
}


/* CONTENEDOR */

.contacto-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 70px;

    align-items: start;
}


/* INFORMACIÓN */

.contacto-info h3 {
    margin-bottom: 18px;

    color: #101820;

    font-size: 30px;
}

.contacto-info > p {
    max-width: 430px;

    margin-bottom: 40px;

    color: #28333a;

    font-size: 16px;
}

.dato-contacto {
    display: flex;
    flex-direction: column;

    margin-bottom: 25px;
}

.dato-contacto strong {
    margin-bottom: 5px;

    color: #101820;

    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.dato-contacto a {
    color: #101820;

    font-size: 16px;
    font-weight: 600;
}

.dato-contacto a:hover {
    text-decoration: underline;
}


/* FORMULARIO */

.formulario-contacto {
    padding: 35px;

    background: #ffffff;

    border-radius: 6px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12);
}

.campo-doble {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.campo {
    margin-bottom: 20px;
}

.campo label {
    display: block;

    margin-bottom: 7px;

    color: #17202a;

    font-size: 13px;
    font-weight: 700;
}

.campo input,
.campo textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #dfe2e5;

    border-radius: 4px;

    background: #fafafa;

    color: #17202a;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.campo input {
    height: 48px;
}

.campo textarea {
    resize: vertical;
    min-height: 140px;
}

.campo input:focus,
.campo textarea:focus {
    background: #ffffff;

    border-color: #d69b28;

    box-shadow:
        0 0 0 3px rgba(214, 155, 40, 0.12);
}

.campo input::placeholder,
.campo textarea::placeholder {
    color: #9ba2a7;
}


/* BOTÓN */

.boton-enviar {
    width: 100%;

    border: none;

    background: #101820;
    color: #ffffff;

    cursor: pointer;
}

.boton-enviar:hover {
    background: #1c2b35;
}


/* MENSAJE */

.mensaje-formulario {
    margin-top: 15px;

    text-align: center;

    font-size: 13px;
    font-weight: 600;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .contacto-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

}


@media (max-width: 600px) {

    .campo-doble {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .formulario-contacto {
        padding: 25px 20px;
    }

    .contacto {
        padding: 75px 0;
    }

}
/* =========================================================
   MODAL DE CONTACTO
   ========================================================= */

.modal-contacto {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(8, 13, 17, 0.82);

    backdrop-filter: blur(6px);

    overflow-y: auto;
}

.modal-contacto.activo {
    display: flex;
}

.modal-contenido {
    position: relative;

    width: min(760px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    padding: 42px;

    background: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.35);

    animation: aparecerModal 0.25s ease;
}

@keyframes aparecerModal {

    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* BOTÓN CERRAR */

.cerrar-modal {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    background: #f1f2f3;

    color: #17202a;

    font-size: 27px;

    line-height: 1;

    cursor: pointer;

    transition: 0.25s ease;
}

.cerrar-modal:hover {
    background: #101820;
    color: white;
}


/* CABECERA */

.modal-cabecera {
    padding-right: 45px;

    margin-bottom: 30px;
}

.modal-cabecera p {
    margin-bottom: 8px;

    color: #d69b28;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;
}

.modal-cabecera h2 {
    margin-bottom: 10px;

    color: #17202a;

    font-size: 34px;

    line-height: 1.1;
}

.modal-cabecera span {
    color: #68717a;

    font-size: 15px;
}


/* FORMULARIO */

.formulario-contacto {
    width: 100%;
}

.campo-doble {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.campo {
    margin-bottom: 18px;
}

.campo label {
    display: block;

    margin-bottom: 7px;

    color: #17202a;

    font-size: 13px;
    font-weight: 700;
}

.campo input,
.campo textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #dfe2e5;

    border-radius: 4px;

    background: #fafafa;

    color: #17202a;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition: 0.25s ease;
}

.campo input {
    height: 46px;
}

.campo textarea {
    min-height: 125px;

    resize: vertical;
}

.campo input:focus,
.campo textarea:focus {
    background: white;

    border-color: #d69b28;

    box-shadow:
        0 0 0 3px rgba(214, 155, 40, 0.12);
}

.campo input::placeholder,
.campo textarea::placeholder {
    color: #9ba2a7;
}


/* BOTÓN ENVIAR */

.boton-enviar {
    width: 100%;

    border: none;

    background: #101820;

    color: white;

    cursor: pointer;
}

.boton-enviar:hover {
    background: #1c2b35;
}


/* MENSAJE */

.mensaje-formulario {
    margin-top: 12px;

    text-align: center;

    color: #68717a;

    font-size: 13px;
}


/* MÓVIL */

@media (max-width: 600px) {

    .modal-contacto {
        padding: 12px;
    }

    .modal-contenido {
        padding: 30px 22px;
    }

    .campo-doble {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .modal-cabecera h2 {
        font-size: 28px;
    }

}
/* =========================================================
   AJUSTE FINAL DEL HERO
   ========================================================= */

@media (min-width: 901px) {

    .hero-contenido {
        transform: translateY(-12px);
    }

    .hero-panel {
        transform: translateY(4px);
    }

}


/* Detalle tecnológico sutil */

.hero-panel {
    isolation: isolate;
}

.hero-panel::before {
    width: 260px;
    height: 260px;

    top: -140px;
    right: -110px;

    background:
        radial-gradient(
            circle,
            rgba(214, 155, 40, 0.13) 0%,
            rgba(214, 155, 40, 0.04) 35%,
            transparent 70%
        );

    filter: blur(8px);

    pointer-events: none;
}


/* Línea inferior más elegante */

.hero-panel::after {
    left: 12%;
    right: 12%;

    bottom: 0;

    height: 1px;

    opacity: 0.75;
}


/* Pequeño refinamiento de las tarjetas */

.panel-grid div {
    position: relative;
    overflow: hidden;
}

.panel-grid div::after {
    content: "";

    position: absolute;

    width: 45px;
    height: 45px;

    right: -25px;
    bottom: -25px;

    border: 1px solid rgba(214, 155, 40, 0.12);

    border-radius: 50%;
}

.panel-grid div:hover::after {
    border-color: rgba(214, 155, 40, 0.28);
}
/* =========================================================
   MEJORA - QUIÉNES SOMOS
   ========================================================= */

#nosotros {
    position: relative;
    overflow: hidden;

    background: #ffffff;
}


/* Detalle decorativo */

#nosotros::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    top: -180px;
    right: -150px;

    border: 1px solid rgba(214, 155, 40, 0.10);

    border-radius: 50%;

    pointer-events: none;
}


/* TÍTULO */

#nosotros .titulo-seccion {
    max-width: 1050px;

    margin-bottom: 60px;
}

#nosotros .titulo-seccion p {
    display: flex;
    align-items: center;

    gap: 12px;
}

#nosotros .titulo-seccion p::before {
    content: "";

    width: 28px;
    height: 2px;

    background: #d69b28;
}

#nosotros .titulo-seccion h2 {
    max-width: 1050px;

    font-size: clamp(38px, 4.5vw, 58px);

    letter-spacing: -1.8px;

    color: #101820;
}


/* CONTENIDO */

.nosotros-contenido {
    position: relative;

    grid-template-columns: 1.25fr 0.9fr 0.9fr;

    gap: 24px;

    align-items: stretch;
}


/* TEXTO */

.nosotros-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-right: 55px;
}

.nosotros-texto p {
    max-width: 520px;

    font-size: 18px;

    line-height: 1.75;

    color: #5c6670;
}

.nosotros-texto p + p {
    margin-top: 22px;
}

.nosotros-texto strong {
    color: #17202a;
}


/* TARJETAS */

.tarjeta-destacada {
    position: relative;

    min-height: 250px;

    padding: 34px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    background: #f7f8f9;

    border: 1px solid #e3e6e8;

    border-radius: 2px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* Línea lateral */

.tarjeta-destacada::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: #d69b28;

    transform: scaleY(0);

    transform-origin: bottom;

    transition: transform 0.3s ease;
}


/* Número */

.tarjeta-destacada strong {
    margin-bottom: 34px;

    color: #d69b28;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;
}


/* Título */

.tarjeta-destacada h3 {
    margin-bottom: 14px;

    color: #101820;

    font-size: 24px;

    letter-spacing: -0.5px;
}


/* Descripción */

.tarjeta-destacada p {
    color: #68717a;

    font-size: 15px;

    line-height: 1.7;
}


/* Hover */

.tarjeta-destacada:hover {
    transform: translateY(-5px);

    border-color: #d8dadd;

    box-shadow:
        0 18px 40px rgba(16, 24, 32, 0.08);
}

.tarjeta-destacada:hover::before {
    transform: scaleY(1);
}


/* =========================================================
   RESPONSIVE - QUIÉNES SOMOS
   ========================================================= */

@media (max-width: 900px) {

    .nosotros-contenido {
        grid-template-columns: 1fr 1fr;
    }

    .nosotros-texto {
        grid-column: 1 / -1;

        padding-right: 0;
    }

}


@media (max-width: 600px) {

    #nosotros .titulo-seccion h2 {
        font-size: 38px;

        letter-spacing: -1px;
    }

    .nosotros-contenido {
        grid-template-columns: 1fr;
    }

    .nosotros-texto {
        grid-column: auto;
    }

    .tarjeta-destacada {
        min-height: 220px;

        padding: 28px;
    }

}
/* =========================================================
   MEJORA - SERVICIOS
   ========================================================= */

#servicios {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(214, 155, 40, 0.06),
            transparent 28%
        ),
        #101820;
}


/* Detalle decorativo */

#servicios::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -250px;
    bottom: -280px;

    border: 1px solid rgba(255, 255, 255, 0.04);

    border-radius: 50%;

    pointer-events: none;
}


/* TÍTULO */

#servicios .titulo-seccion {
    position: relative;

    max-width: 900px;

    margin-bottom: 65px;
}

#servicios .titulo-seccion p {
    display: flex;
    align-items: center;

    gap: 12px;
}

#servicios .titulo-seccion p::before {
    content: "";

    width: 28px;
    height: 2px;

    background: #d69b28;
}

#servicios .titulo-seccion h2 {
    max-width: 900px;

    color: #ffffff;

    font-size: clamp(38px, 4.5vw, 58px);

    line-height: 1.05;

    letter-spacing: -1.8px;
}


/* GRID */

.servicios-grid {
    position: relative;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


/* TARJETAS */

.servicio {
    position: relative;

    min-height: 285px;

    padding: 34px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid #34414b;

    border-radius: 3px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* Línea superior */

.servicio::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 2px;

    background: #d69b28;

    transition: width 0.35s ease;
}


/* Número */

.servicio > span {
    display: block;

    margin-bottom: 55px;

    color: #d69b28;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;
}


/* Título */

.servicio h3 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 24px;

    line-height: 1.2;

    letter-spacing: -0.4px;
}


/* Descripción */

.servicio p {
    max-width: 330px;

    margin-top: auto;

    color: #aeb8bf;

    font-size: 15px;

    line-height: 1.7;
}


/* Hover */

.servicio:hover {
    transform: translateY(-7px);

    border-color: rgba(214, 155, 40, 0.55);

    background:
        linear-gradient(
            145deg,
            rgba(214, 155, 40, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.22);
}

.servicio:hover::before {
    width: 100%;
}


/* =========================================================
   RESPONSIVE - SERVICIOS
   ========================================================= */

@media (max-width: 900px) {

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicio {
        min-height: 240px;
    }

}


@media (max-width: 600px) {

    #servicios .titulo-seccion h2 {
        font-size: 38px;

        letter-spacing: -1px;
    }

    #servicios .titulo-seccion {
        margin-bottom: 45px;
    }

    .servicio {
        min-height: 230px;

        padding: 28px;
    }

    .servicio > span {
        margin-bottom: 40px;
    }

}
/* =========================================================
   MEJORA - SERCOM ERP
   ========================================================= */

#erp {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(214, 155, 40, 0.07),
            transparent 28%
        ),
        #f5f6f7;
}


/* Detalle decorativo */

#erp::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -300px;
    bottom: -300px;

    border: 1px solid rgba(214, 155, 40, 0.10);

    border-radius: 50%;

    pointer-events: none;
}


/* ENCABEZADO */

#erp .titulo-seccion {
    position: relative;

    margin-bottom: 48px;
}

#erp .titulo-seccion p {
    display: flex;
    align-items: center;

    gap: 12px;
}

#erp .titulo-seccion p::before {
    content: "";

    width: 28px;
    height: 2px;

    background: #d69b28;
}

#erp .titulo-seccion h2 {
    color: #101820;

    font-size: clamp(42px, 5vw, 62px);

    letter-spacing: -2px;
}


/* INTRODUCCIÓN */

.erp-introduccion {
    position: relative;

    padding: 0 0 48px;

    margin-bottom: 42px;

    border-bottom: 1px solid #dfe2e4;
}

.erp-introduccion h3 {
    max-width: 720px;

    margin-bottom: 16px;

    color: #101820;

    font-size: clamp(27px, 3vw, 36px);

    line-height: 1.2;

    letter-spacing: -0.8px;
}

.erp-introduccion p {
    max-width: 720px;

    color: #68717a;

    font-size: 16px;

    line-height: 1.75;
}


/* NÚMERO DE MÓDULOS */

.erp-numero {
    position: relative;

    min-width: 150px;

    align-items: flex-end;

    color: #d69b28;

    font-size: 82px;

    font-weight: 800;

    line-height: 0.82;

    letter-spacing: -4px;
}

.erp-numero::before {
    content: "";

    position: absolute;

    top: -12px;
    right: 0;

    width: 45px;
    height: 2px;

    background: #d69b28;
}

.erp-numero span {
    margin-top: 14px;

    color: #68717a;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* GRID */

.erp-grid {
    position: relative;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}


/* MÓDULOS */

.erp-modulo {
    position: relative;

    min-height: 155px;

    padding: 30px;

    grid-template-columns: 48px 1fr;

    gap: 22px;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid #e0e3e5;

    border-radius: 4px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* Línea lateral */

.erp-modulo::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: #d69b28;

    transform: scaleY(0);

    transform-origin: bottom;

    transition: transform 0.3s ease;
}


/* Número */

.erp-modulo > span {
    color: #d69b28;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
}


/* Título */

.erp-modulo h3 {
    margin-bottom: 9px;

    color: #101820;

    font-size: 21px;

    line-height: 1.2;
}


/* Descripción */

.erp-modulo p {
    color: #68717a;

    font-size: 14px;

    line-height: 1.65;
}


/* HOVER */

.erp-modulo:hover {
    transform: translateY(-5px);

    border-color: #d7dade;

    background: #ffffff;

    box-shadow:
        0 18px 40px rgba(16, 24, 32, 0.08);
}

.erp-modulo:hover::before {
    transform: scaleY(1);
}


/* =========================================================
   RESPONSIVE - SERCOM ERP
   ========================================================= */

@media (max-width: 900px) {

    .erp-introduccion {
        align-items: flex-start;
    }

    .erp-numero {
        min-width: auto;

        align-items: flex-start;
    }

    .erp-numero::before {
        left: 0;
        right: auto;
    }

}


@media (max-width: 600px) {

    #erp .titulo-seccion h2 {
        font-size: 42px;

        letter-spacing: -1px;
    }

    .erp-introduccion {
        flex-direction: column;

        gap: 30px;

        padding-bottom: 35px;
    }

    .erp-numero {
        font-size: 62px;
    }

    .erp-grid {
        grid-template-columns: 1fr;
    }

    .erp-modulo {
        min-height: auto;

        padding: 25px;

        grid-template-columns: 42px 1fr;

        gap: 16px;
    }

}