/* ==========================================================
   MORENO IMPRESORES
   Hoja de estilos principal

   Azul:     #000036
   Amarillo: #FFBD10
   Blanco:   #FFFFFF
========================================================== */

:root {
    --azul: #000036;
    --azul-2: #08085a;
    --amarillo: #FFBD10;
    --amarillo-hover: #e9aa00;
    --blanco: #ffffff;
    --gris-fondo: #f6f7f9;
    --gris-borde: #e6e7eb;
    --texto: #202033;
    --texto-gris: #646473;

    --ancho: 1180px;
    --radio: 14px;
    --sombra: 0 15px 40px rgba(0, 0, 54, 0.10);
}


/* ==========================================================
   RESET
========================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--texto);
    background: var(--blanco);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(92%, var(--ancho));
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   ELEMENTOS GENERALES
========================================================== */

.section {
    padding: 95px 0;
}

.section-light {
    background: var(--gris-fondo);
}

.section-dark {
    background: var(--azul);
    color: var(--blanco);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #bd8500;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title {
    max-width: 760px;
    color: var(--azul);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.section-description {
    max-width: 700px;
    color: var(--texto-gris);
    font-size: 17px;
}

.yellow-line {
    width: 62px;
    height: 4px;
    margin: 20px 0 24px;
    border-radius: 10px;
    background: var(--amarillo);
}

.section-heading-center {
    max-width: 800px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-heading-center .section-title,
.section-heading-center .section-description {
    margin-left: auto;
    margin-right: auto;
}

.section-heading-center .yellow-line {
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   BOTONES
========================================================== */

.btn {
    display: inline-flex;
    min-height: 52px;
    padding: 0 24px;

    align-items: center;
    justify-content: center;

    border: 2px solid transparent;
    border-radius: 6px;

    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-yellow {
    background: var(--amarillo);
    color: var(--azul);
}

.btn-yellow:hover {
    background: var(--amarillo-hover);
}

.btn-dark {
    background: var(--azul);
    color: var(--blanco);
}

.btn-dark:hover {
    background: var(--azul-2);
}

.btn-outline {
    border-color: rgba(255,255,255,.65);
    color: var(--blanco);
}

.btn-outline:hover {
    border-color: var(--amarillo);
    color: var(--amarillo);
}


/* ==========================================================
   HEADER
========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--gris-borde);
    box-shadow: 0 3px 18px rgba(0,0,54,.035);
}


/* Contenedor interno del header */

.header-inner {
    min-height: 96px;

    display: flex;
    align-items: center;
    gap: 30px;
}


/* Enlace que contiene el logo */

.logo-link {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-start;
}


/* ==========================================================
   LOGO PRINCIPAL

   Aumentado para darle mayor presencia visual.
========================================================== */

.logo {
    display: block;

    width: 165px;
    max-width: 165px;
    height: 130px;

    object-fit: contain;
    object-position: left center;

    flex-shrink: 0;
}


/* ==========================================================
   NAVEGACIÓN
========================================================== */

.main-nav {
    display: flex;

    margin-left: auto;

    align-items: center;
    gap: 27px;
}

.main-nav a {
    position: relative;

    padding: 37px 0;

    color: var(--azul);

    font-size: 13px;
    line-height: 1;
    font-weight: 750;

    white-space: nowrap;

    transition: color .2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 28px;
    left: 0;

    height: 2px;

    background: var(--amarillo);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .2s ease;
}

.main-nav a:hover {
    color: #a87600;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.header-cta {
    flex-shrink: 0;
}


/* Botón hamburguesa */

.menu-toggle {
    display: none;

    margin-left: auto;
    padding: 7px;

    border: 0;
    background: transparent;

    color: var(--azul);

    font-size: 30px;
    line-height: 1;
}


/* ==========================================================
   HERO
========================================================== */

.hero {
    position: relative;

    min-height: 660px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--blanco);

    background:
        linear-gradient(
            90deg,
            rgba(0,0,54,.99) 0%,
            rgba(0,0,54,.95) 34%,
            rgba(0,0,54,.72) 57%,
            rgba(0,0,54,.25) 100%
        ),
        url("../images/hero-imprenta.jpg") center center / cover no-repeat;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,189,16,.08),
            transparent 40%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 720px;

    padding: 100px 0 110px;
}

.hero-kicker {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--amarillo);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero h1 {
    max-width: 720px;

    font-size: clamp(52px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--amarillo);
}

.hero-description {
    max-width: 630px;

    margin-top: 25px;

    color: rgba(255,255,255,.86);

    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;

    margin-top: 32px;
}


/* ==========================================================
   QUIÉNES SOMOS
========================================================== */

.about-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 75px;

    align-items: center;
}

.about-copy p {
    margin-bottom: 17px;

    color: var(--texto-gris);

    font-size: 16px;
}

.about-copy p strong {
    color: var(--azul);
}

.about-copy .btn {
    margin-top: 12px;
}

.about-gallery {
    display: grid;

    grid-template-columns: 1.35fr .8fr;

    gap: 12px;
}

.about-gallery img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 10px;
}

.about-main-image {
    min-height: 470px;
}

.about-side-images {
    display: grid;
    gap: 12px;
}

.about-side-images img {
    min-height: 229px;
}


/* ==========================================================
   SERVICIOS
========================================================== */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.service-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--blanco);

    border: 1px solid rgba(0,0,54,.06);
    border-radius: var(--radio);

    box-shadow: var(--sombra);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 22px 50px rgba(0,0,54,.14);
}

.service-content {
    flex: 1;

    padding: 32px;
}

.service-number {
    display: flex;

    width: 54px;
    height: 54px;

    margin-bottom: 22px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--azul);
    color: var(--amarillo);

    font-size: 14px;
    font-weight: 900;
}

.service-card h3 {
    margin-bottom: 12px;

    color: var(--azul);

    font-size: 22px;
    line-height: 1.2;
}

.service-card p {
    margin-bottom: 18px;

    color: var(--texto-gris);

    font-size: 15px;
}

.service-card ul {
    padding-left: 18px;

    color: var(--texto-gris);

    font-size: 15px;
}

.service-card li {
    margin-bottom: 5px;
}

.service-card li::marker {
    color: var(--amarillo);
}

.service-image {
    width: 100%;
    height: 235px;

    object-fit: cover;
}


/* ==========================================================
   FRANJA DE CAPACIDAD
========================================================== */

.capabilities {
    background: var(--azul);
    color: var(--blanco);
}

.capabilities-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);
}

.capability {
    position: relative;

    padding: 44px 35px;

    text-align: center;
}

.capability:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 25%;
    right: 0;

    width: 1px;
    height: 50%;

    background: rgba(255,255,255,.14);
}

.capability strong {
    display: block;

    margin-bottom: 6px;

    color: var(--amarillo);

    font-size: 20px;
}

.capability span {
    color: rgba(255,255,255,.72);

    font-size: 14px;
}


/* ==========================================================
   PRODUCTOS
========================================================== */

.products-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.product-card {
    position: relative;

    min-height: 300px;

    overflow: hidden;

    background: var(--azul);

    border-radius: 11px;
}

.product-card img {
    width: 100%;
    height: 100%;

    min-height: 300px;

    object-fit: cover;

    transition: transform .45s ease;
}

.product-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 35%,
            rgba(0,0,54,.90) 100%
        );
}

.product-card:hover img {
    transform: scale(1.055);
}

.product-info {
    position: absolute;
    z-index: 2;

    right: 0;
    bottom: 0;
    left: 0;

    padding: 50px 24px 23px;

    color: var(--blanco);
}

.product-info h3 {
    font-size: 20px;
    line-height: 1.2;
}

.product-info span {
    display: block;

    margin-top: 5px;

    color: var(--amarillo);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .8px;
}


/* ==========================================================
   CTA AMARILLO
========================================================== */

.quote-cta {
    padding: 50px 0;

    background: var(--amarillo);
}

.quote-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;
}

.quote-cta h2 {
    max-width: 760px;

    color: var(--azul);

    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.quote-cta p {
    max-width: 650px;

    margin-top: 8px;

    color: rgba(0,0,54,.70);
}


/* ==========================================================
   CONTACTO
========================================================== */

.contact-section {
    position: relative;

    overflow: hidden;

    background: var(--azul);
    color: var(--blanco);
}

.contact-section::before {
    content: "";

    position: absolute;

    top: -250px;
    right: -250px;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    background: rgba(255,189,16,.06);
}

.contact-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 75px;
}

.contact-section .section-title {
    color: var(--blanco);
}

.contact-section .section-description {
    color: rgba(255,255,255,.70);
}

.contact-points {
    display: grid;

    gap: 18px;

    margin-top: 35px;
}

.contact-point {
    display: flex;

    gap: 14px;

    align-items: center;

    color: rgba(255,255,255,.85);
}

.contact-point-icon {
    display: flex;

    width: 43px;
    height: 43px;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,189,16,.65);
    border-radius: 50%;

    color: var(--amarillo);

    font-weight: 800;
}


/* ==========================================================
   FORMULARIO
========================================================== */

.contact-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    padding: 35px;

    background: rgba(255,255,255,.055);

    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radio);
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.form-full {
    grid-column: 1 / -1;
}

#formMessage:empty {
    display: none;
}

.contact-form label {
    color: rgba(255,255,255,.82);

    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;

    padding: 14px 15px;

    outline: none;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 6px;

    background: var(--blanco);
    color: var(--azul);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.contact-form input {
    min-height: 50px;
}

.contact-form textarea {
    min-height: 145px;

    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--amarillo);

    box-shadow: 0 0 0 3px rgba(255,189,16,.14);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999ba6;
}

.form-submit {
    width: max-content;

    border: 0;
}

.form-note {
    margin-top: 4px;

    color: rgba(255,255,255,.55);

    font-size: 12px;
    line-height: 1.5;
}


/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
    padding-top: 60px;

    background: #000025;
    color: var(--blanco);
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.35fr .75fr .9fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}

.footer-logo {
    width: 180px;
    max-width: 180px;
    height: 130px;

    margin-bottom: 20px;

    object-fit: contain;
    object-position: left center;
}

.footer-description {
    max-width: 330px;

    color: rgba(255,255,255,.60);

    font-size: 14px;
    line-height: 1.7;
}

.footer-heading {
    margin-bottom: 17px;

    color: var(--amarillo);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact {
    color: rgba(255,255,255,.62);

    font-size: 14px;

    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--amarillo);
}

.social-links {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 5px;
}

.social-link {
    display: flex;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    color: var(--blanco);

    font-size: 12px;
    font-weight: 800;

    transition:
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.social-link:hover {
    color: var(--amarillo);

    border-color: var(--amarillo);

    transform: translateY(-2px);
}

.footer-bottom {
    padding: 21px 0;

    border-top: 1px solid rgba(255,255,255,.08);

    color: rgba(255,255,255,.43);

    text-align: center;

    font-size: 12px;
}


/* ==========================================================
   BOTÓN FLOTANTE DE WHATSAPP
========================================================== */

.whatsapp-float {
    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25D366;
    color: #ffffff;

    text-decoration: none;

    box-shadow: 0 8px 24px rgba(0,0,0,.22);

    z-index: 9999;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);

    box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

.whatsapp-float svg {
    width: 31px;
    height: 31px;

    fill: currentColor;
}


/* ==========================================================
   RESPONSIVE - TABLET
========================================================== */

@media (max-width: 1020px) {

    .header-inner {
        gap: 22px;
    }

    .logo {
        width: 150px;
        max-width: 150px;
        height: 130px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .header-cta {
        padding-left: 17px;
        padding-right: 17px;
    }

    .about-grid {
        gap: 45px;
    }

    .services-grid {
        gap: 18px;
    }

    .service-content {
        padding: 26px;
    }

}


/* ==========================================================
   RESPONSIVE - MENÚ MÓVIL
========================================================== */

@media (max-width: 900px) {

    html {
        scroll-padding-top: 82px;
    }

    .section {
        padding: 75px 0;
    }

    .header-inner {
        min-height: 82px;
    }

    .logo {
        width: 145px;
        max-width: 145px;
        height: 130px;
    }

    .menu-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .main-nav {
        position: absolute;

        top: 82px;
        right: 0;
        left: 0;

        display: none;

        margin: 0;

        padding: 20px 4% 25px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: var(--blanco);

        border-top: 1px solid var(--gris-borde);

        box-shadow: 0 18px 35px rgba(0,0,54,.10);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 15px 3px;

        border-bottom: 1px solid #efeff2;

        font-size: 14px;
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        min-height: 610px;

        background:
            linear-gradient(
                90deg,
                rgba(0,0,54,.97),
                rgba(0,0,54,.80)
            ),
            url("../images/hero-imprenta.jpg") center / cover no-repeat;
    }

    .hero-content {
        padding: 85px 0;
    }

    .hero h1 {
        max-width: 620px;

        font-size: clamp(48px, 10vw, 68px);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 48px;
    }

    .about-copy {
        max-width: 720px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        display: grid;

        grid-template-columns: 1.2fr .8fr;
    }

    .service-image {
        height: 100%;

        min-height: 320px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .capability {
        padding: 28px 20px;
    }

    .capability:not(:last-child)::after {
        top: auto;
        right: 15%;
        bottom: 0;
        left: 15%;

        width: 70%;
        height: 1px;
    }

    .quote-cta-inner {
        align-items: flex-start;

        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==========================================================
   RESPONSIVE - TELÉFONOS
========================================================== */

@media (max-width: 620px) {

    .container {
        width: min(90%, var(--ancho));
    }

    .section {
        padding: 65px 0;
    }

    .section-title {
        font-size: 36px;

        letter-spacing: -1px;
    }

    .section-description {
        font-size: 16px;
    }

    .header-inner {
        min-height: 78px;
    }

    .logo {
        width: 135px;
        max-width: 135px;
        height: 130px;
    }

    .main-nav {
        top: 78px;
    }

    html {
        scroll-padding-top: 78px;
    }

    .hero {
        min-height: 590px;
    }

    .hero-content {
        padding: 70px 0 80px;
    }

    .hero h1 {
        font-size: 49px;

        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;

        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .about-main-image {
        min-height: 340px;
    }

    .about-side-images {
        grid-template-columns: 1fr 1fr;
    }

    .about-side-images img {
        min-height: 170px;
    }

    .service-card {
        display: flex;
    }

    .service-image {
        height: 230px;
        min-height: 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card,
    .product-card img {
        min-height: 310px;
    }

    .contact-form {
        grid-template-columns: 1fr;

        padding: 25px 20px;
    }

    .form-full {
        grid-column: auto;
    }

    .form-submit {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-logo {
        width: 160px;
        max-width: 160px;
        height: 130px;
    }

    .quote-cta {
        padding: 40px 0;
    }

    .whatsapp-float {
        right: 17px;
        bottom: 17px;

        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg {
        width: 29px;
        height: 29px;
    }

}


/* ==========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================== */

@media (max-width: 390px) {

    .hero h1 {
        font-size: 43px;
    }

    .logo {
        width: 125px;
        max-width: 125px;
        height: 52px;
    }

    .about-side-images {
        grid-template-columns: 1fr;
    }

}