
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: #080808;
    color: #ffffff;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Menú de navegación */

header {
    background-color: #080808;
    border-bottom: 1px solid #333333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
}

.marca {
    font-family: Georgia, serif;
    font-size: 24px;
    letter-spacing: 4px;
    color: white;
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    color: #cccccc;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: white;
}

/* Página principal */

.inicio {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background: #000000;
}

.logo {
    width: 550px;
    max-width: 90%;
    height: auto;
}

h1 {
    font-family: Georgia, serif;
    font-size: clamp(32px, 5vw, 55px);
    font-weight: normal;
    max-width: 1000px;
    margin-bottom: 20px;
}

.inicio p {
    color: #b5b5b5;
    font-size: 19px;
    margin-bottom: 35px;
}

/* Botones */

.boton {
    display: inline-block;
    padding: 14px 25px;
    border: 1px solid #c0c0c0;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
}

.boton:hover {
    background-color: white;
    color: black;
    box-shadow: 0 0 20px #ffffff30;
}

/* Secciones */

.seccion {
    padding: 100px 8%;
    text-align: center;
    border-top: 1px solid #222222;
}

.seccion h2 {
    font-family: Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: normal;
    margin-bottom: 20px;
}

.seccion p {
    color: #b5b5b5;
    max-width: 850px;
    margin: auto;
}

.subtitulo {
    display: block;
    letter-spacing: 6px;
    font-size: 13px;
    color: #c0c0c0;
    margin-bottom: 20px;
}

/* Tarjetas de servicios y paquetes */

.tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.tarjeta {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(
        145deg,
        #1a1a1a,
        #0b0b0b
    );
    border: 1px solid #444444;
    border-radius: 18px;
    padding: 35px;
    text-align: left;
    transition: 0.3s;
}

.tarjeta:hover {
    transform: translateY(-8px);
    border-color: #ffffff;
    box-shadow: 0 10px 35px #ffffff12;
}

.tarjeta h3 {
    font-family: Georgia, serif;
    font-size: 32px;
    margin-bottom: 10px;
}

.tarjeta p {
    margin: 0;
    color: #bbbbbb;
}

.tarjeta hr {
    border: none;
    border-top: 1px solid #444444;
    margin: 25px 0;
}

.tarjeta ul {
    list-style: none;
    margin-bottom: 30px;
}

.tarjeta li {
    margin-bottom: 15px;
}

.tarjeta li::before {
    content: "✓";
    color: #c0c0c0;
    margin-right: 12px;
}

.tarjeta .boton {
    width: 100%;
    margin-top: auto;
}

/* Paquete destacado */

.destacado {
    border: 1px solid #eeeeee;
    box-shadow: 0 0 25px #ffffff20;
}

.etiqueta {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #eeeeee;
    color: black;
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
}

.destacado .boton {
    background: linear-gradient(
        135deg,
        #ffffff,
        #b0b0b0
    );
    color: black;
    font-weight: bold;
}

/* Pie de página */

footer {
    background-color: #000000;
    border-top: 1px solid #333333;
    padding: 35px 20px;
    text-align: center;
    color: #888888;
    font-size: 14px;
}

/* Adaptación para celulares */

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .tarjetas {
        grid-template-columns: 1fr;
    }

    .logo {
        width: 350px;
    }

    .seccion {
        padding: 70px 6%;
    }

    html {
        scroll-padding-top: 170px;
    }
}

/* DISEÑO AVANZADO J&A AGENCY */

.inicio {
    background: radial-gradient(
        ellipse at 50% 40%,
        #202020 0%,
        #080808 45%,
        #000000 75%
    );
}

.logo {
    width: 650px;
    mix-blend-mode: screen;
    margin-top: -40px;
    margin-bottom: -40px;
}

.marca {
    transition: 0.4s;
}

.marca:hover {
    text-shadow: 0 0 15px #ffffff80;
}

nav ul a {
    position: relative;
}

nav ul a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s;
}

nav ul a:hover::after {
    width: 100%;
}

/* Fondos elegantes */

#nosotros {
    background: linear-gradient(
        135deg,
        #080808,
        #151515,
        #080808
    );
}

#paquetes {
    background: radial-gradient(
        ellipse at center,
        #202020,
        #080808 70%
    );
}

/* Tarjetas premium */

.tarjeta {
    background: linear-gradient(
        145deg,
        #202020,
        #101010,
        #080808
    );
    overflow-wrap: break-word;
    transition: transform 0.4s,
                box-shadow 0.4s,
                border-color 0.4s;
}

.tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px #ffffff15;
}

.destacado {
    border: 1px solid #d8d8d8;
    box-shadow: 0 0 25px #ffffff25;
}

.destacado:hover {
    box-shadow: 0 0 40px #ffffff40;
}

.boton {
    transition: all 0.3s ease;
}

.boton:hover {
    transform: translateY(-3px);
}

/* Animaciones al desplazarse */

.revelar {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease,
                transform 0.8s ease;
}

.revelar.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Iconos de servicios y paquetes */

.icono-tarjeta {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    color: #d8d8d8;
}

/* Barra de desplazamiento */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #080808;
}

::-webkit-scrollbar-thumb {
    background: #555555;
    border-radius: 10px;
}

/* Adaptación para celulares */

@media (max-width: 768px) {
    .logo {
        width: 400px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .tarjeta {
        padding: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .revelar {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* PANTALLA PRINCIPAL PREMIUM */

.inicio {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    background:
        radial-gradient(
            ellipse at 50% 35%,
            #303030 0%,
            #101010 40%,
            #000000 80%
        );
}

.inicio::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 180px;
    background: linear-gradient(
        90deg,
        transparent,
        #ffffff08,
        #ffffff15,
        transparent
    );
    transform: rotate(-25deg);
    top: 15%;
    left: -10%;
    pointer-events: none;
}

.inicio > * {
    position: relative;
    z-index: 1;
}

.logo {
    width: 800px;
    max-width: 100%;
    margin-top: -70px;
    margin-bottom: -80px;
    filter: drop-shadow(0 0 25px #ffffff20);
}

.inicio h1 {
    font-size: clamp(30px, 4.5vw, 65px);
    line-height: 1.25;
    max-width: 1200px;
    letter-spacing: -1px;
}

.inicio p {
    font-size: 19px;
    letter-spacing: 0.5px;
    color: #c0c0c0;
}

.inicio .boton {
    background: linear-gradient(
        135deg,
        #ffffff,
        #a0a0a0
    );
    color: #080808;
    font-weight: bold;
    padding: 18px 35px;
    border-radius: 6px;
}

.inicio .boton:hover {
    background: #ffffff;
    box-shadow: 0 0 30px #ffffff40;
}

@media (max-width: 768px) {
    .logo {
        width: 450px;
        margin-top: 0;
        margin-bottom: -20px;
    }

    .inicio {
        min-height: 75vh;
    }

    .inicio p {
        font-size: 16px;
    }
}
/* LOGO DEL MENU SUPERIOR */

.marca {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    letter-spacing: 3px;
}

.marca img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    mix-blend-mode: screen;
}

nav {
    padding: 15px 5%;
}

@media (max-width: 768px) {
    .marca {
        font-size: 18px;
    }

    .marca img {
        width: 60px;
        height: 40px;
    }
}
/* FORMULARIO DE COTIZACIONES */

#contacto {
    background: radial-gradient(
        ellipse at center,
        #202020,
        #080808 75%
    );
}

.formulario {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 40px;
    background: #111111;
    border: 1px solid #444;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.campos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.formulario input,
.formulario select,
.formulario textarea {
    width: 100%;
    padding: 16px;
    background: #080808;
    color: white;
    border: 1px solid #444;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    outline: none;
}

.formulario input:focus,
.formulario select:focus,
.formulario textarea:focus {
    border-color: #dddddd;
}

.formulario textarea {
    resize: vertical;
}

.formulario .boton {
    background: linear-gradient(135deg, #ffffff, #a0a0a0);
    color: black;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.formulario .boton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .campos {
        grid-template-columns: 1fr;
    }

    .formulario {
        padding: 20px;
    }
}
/* VENTAJAS DE J&A AGENCY */

#ventajas {
    background: linear-gradient(
        135deg, #080808, #191919, #080808
    );
}

.ventajas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.ventaja {
    background: #111111;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 35px;
    text-align: left;
    transition: 0.3s;
}

.ventaja span {
    font-family: Georgia, serif;
    font-size: 45px;
    color: #999999;
}

.ventaja h3 {
    font-family: Georgia, serif;
    font-size: 25px;
    margin: 15px 0;
}

.ventaja:hover {
    transform: translateY(-5px);
    border-color: #cccccc;
    box-shadow: 0 0 25px #ffffff10;
}

@media (max-width: 768px) {
    .ventajas {
        grid-template-columns: 1fr;
    }
}
/* PORTAFOLIO DE PROYECTOS */

#portafolio {
    background: #080808;
}

.proyectos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.proyecto {
    background: #141414;
    border: 1px solid #333;
    border-radius: 15px;
    overflow: hidden;
    text-align: left;
    transition: 0.4s;
}

.imagen-proyecto {
    height: 250px;
    background: linear-gradient(
        135deg, #303030, #080808, #202020
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagen-proyecto span {
    font-family: Georgia, serif;
    font-size: 80px;
    color: #888888;
}

.proyecto h3 {
    font-family: Georgia, serif;
    font-size: 25px;
    padding: 20px 20px 5px;
}

.proyecto p {
    padding: 0 20px 25px;
}

.proyecto:hover {
    transform: translateY(-8px);
    border-color: #aaaaaa;
}

.aviso-portafolio {
    padding-top: 35px;
    font-style: italic;
}

@media (max-width: 768px) {
    .proyectos {
        grid-template-columns: 1fr;
    }
}
/* FOOTER PROFESIONAL */

footer {
    background: #050505;
    padding: 60px 8% 20px;
    text-align: left;
}

.footer-contenido {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
}

.footer-marca h3 {
    font-family: Georgia, serif;
    font-size: 25px;
    letter-spacing: 4px;
    color: white;
    margin-bottom: 20px;
}

.footer-marca p {
    margin-bottom: 15px;
    color: #999999;
}

footer h4 {
    color: white;
    font-size: 17px;
    margin-bottom: 20px;
}

.footer-enlaces a,
.footer-redes span {
    display: block;
    color: #999999;
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-enlaces a:hover {
    color: white;
    padding-left: 5px;
}

.footer-redes p {
    font-size: 12px;
    font-style: italic;
}

.footer-final {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-contenido {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}
/* MENU PARA CELULARES */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 5px 10px;
}

@media (max-width: 768px) {

    html {
        scroll-padding-top: 90px;
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 5%;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #080808;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #444;
        gap: 20px;
    }

    nav ul.activo {
        display: flex;
    }

    .marca img {
        width: 85px;
        height: 50px;
    }

    .marca {
        font-size: 16px;
        gap: 0;
        letter-spacing: 2px;
    }

    .inicio {
        min-height: 80vh;
        padding: 30px 20px;
    }
}
/* SOBRE NOSOTROS */

.descripcion-nosotros {
    max-width: 900px;
    margin: 35px auto 0;
}

.descripcion-nosotros p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 25px;
    color: #b5b5b5;
}

.frase-nosotros {
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: normal;
    font-style: italic;
    color: #eeeeee;
    border-top: 1px solid #444;
    padding-top: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {

    .descripcion-nosotros p {
        font-size: 16px;
    }

    .frase-nosotros {
        font-size: 23px;
    }
}
/* MISION, VISION Y VALORES */

#identidad {
    background: linear-gradient(
        135deg, #080808, #171717, #080808
    );
}

.identidad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.identidad-tarjeta {
    background: linear-gradient(
        145deg, #202020, #101010
    );
    border: 1px solid #444;
    border-radius: 15px;
    padding: 35px;
    text-align: left;
    transition: 0.4s;
}

.identidad-tarjeta span {
    font-family: Georgia, serif;
    font-size: 45px;
    color: #999999;
}

.identidad-tarjeta h3 {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: normal;
    margin: 15px 0;
}

.identidad-tarjeta p {
    font-size: 16px;
    line-height: 1.8;
}

.identidad-tarjeta:hover {
    transform: translateY(-8px);
    border-color: #cccccc;
    box-shadow: 0 0 25px #ffffff15;
}

@media (max-width: 768px) {
    .identidad {
        grid-template-columns: 1fr;
    }
}
/* SERVICIOS PROFESIONALES */

#servicios {
    background: radial-gradient(
        ellipse at center,
        #191919,
        #080808 80%
    );
}

.servicios-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.servicio {
    min-height: 300px;
    padding: 35px;
}

.numero-servicio {
    font-family: Georgia, serif;
    font-size: 40px;
    color: #999999;
    margin-bottom: 15px;
}

.servicio h3 {
    font-size: 27px;
    font-weight: normal;
    margin-bottom: 20px;
}

.servicio p {
    font-size: 16px;
    line-height: 1.8;
    color: #b5b5b5;
}

@media (max-width: 1000px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicio {
        min-height: auto;
        padding: 25px;
    }
}
/* COTIZACIONES PERSONALIZADAS */

#paquetes .precio-paquete {
    font-family: Georgia, serif;
    font-size: 19px;
    color: #eeeeee;
    text-align: center;
    margin-top: auto;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
    width: 100%;
}

#paquetes .tarjeta .boton {
    margin-top: 0;
}

#paquetes .tarjeta li {
    font-size: 15px;
    line-height: 1.6;
}
/* FONDO CORPORATIVO DE INICIO */

.inicio {
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.85)
        ),
        url("images/edificios.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 90vh;
}

.inicio::before {
    display: none;
}

.inicio .logo {
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 15px #00000080);
}

.inicio h1 {
    text-shadow: 0 3px 15px #000000;
}

.inicio p {
    color: #eeeeee;
    text-shadow: 0 2px 10px #000000;
}

@media (max-width: 768px) {
    .inicio {
        min-height: 80vh;
        background-position: center;
    }
}
/* IMAGEN SOBRE NOSOTROS */

.descripcion-nosotros {
    max-width: 1200px;
    text-align: left;
    display: flow-root;
}

.imagen-nosotros {
    float: right;
    width: 45%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    margin-left: 45px;
    margin-bottom: 25px;
    filter: grayscale(100%);
    border: 1px solid #444;
}

.frase-nosotros {
    clear: both;
    text-align: center;
}

@media (max-width: 768px) {
    .imagen-nosotros {
        float: none;
        width: 100%;
        height: 280px;
        margin-left: 0;
        margin-bottom: 30px;
    }

    .descripcion-nosotros {
        text-align: center;
    }
}
/* PORTAFOLIO VISUAL */

#portafolio {
    background: linear-gradient(
        135deg, #080808, #181818, #080808
    );
}

.imagen-proyecto {
    height: 280px;
    overflow: hidden;
}

.imagen-proyecto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.75);
    transition: transform 0.6s ease,
                filter 0.6s ease;
}

.proyecto:hover .imagen-proyecto img {
    transform: scale(1.07);
    filter: brightness(1) saturate(1);
}

.proyecto {
    border: 1px solid #444;
    background: #111111;
}

.proyecto h3 {
    font-size: 27px;
    font-weight: normal;
    padding: 25px 25px 10px;
}

.proyecto p {
    padding: 0 25px 30px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .imagen-proyecto {
        height: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .imagen-proyecto img {
        transition: none;
    }

    .proyecto:hover .imagen-proyecto img {
        transform: none;
    }
}
/* METODOS DE CONTACTO */

.metodos-contacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.formulario .boton-whatsapp {
    background: #167c43;
    color: white;
    border: 1px solid #167c43;
}

.formulario .boton-correo {
    background: linear-gradient(
        135deg, #ffffff, #a0a0a0
    );
    color: #080808;
}

@media (max-width: 768px) {
    .metodos-contacto {
        grid-template-columns: 1fr;
    }
}
/* FORMULARIO TEMPORALMENTE DESACTIVADO */

.formulario fieldset {
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formulario fieldset:disabled {
    opacity: 0.7;
}