/* Global reset and typography */
body {
    font-family: 'Cantarell', sans-serif;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fjalla One', sans-serif;
    font-style: italic;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Header */
#header {
    background-color: #2A0C11;
    padding: 8px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

#header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

#header .logo-icon {
    width: 70px;
    height: 65px;
    background-color: #452A2F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#header .logo-icon img {
    height: 107px;
    display: block;
}

#header .logo-text {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: #fff;
}

#header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

#header nav ul li a {
    font-family: 'Cantarell', sans-serif;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

#header nav ul li a:hover {
    color: #CF332D;
}

/* Primary button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #cf332d;
    color: #ffffff;
    font-family: 'Cantarell', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 8px;
    padding: 14px 26px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary::after {
    content: "\2192";
}

.btn-primary:hover {
    background-color: #000000;
}

/* Landing hero shared layout */
#cliente-hero,
#ventas-hero,
#bpo-hero,
#ia-hero {
    background-size: cover;
    background-position: 25% 26%;
    padding: 100px 24px 160px;
    text-align: left;
    position: relative;
    z-index: 1;
}

#cliente-hero::before,
#ventas-hero::before,
#bpo-hero::before,
#ia-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(42, 12, 17, 0.80);
    z-index: -1;
}

#cliente-hero::after,
#ventas-hero::after,
#bpo-hero::after,
#ia-hero::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 55px;
    background-color: #F5F1EE;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 2;
}

.cliente-hero-content,
.ventas-hero-content,
.bpo-hero-content,
.ia-hero-content {
    flex: 1 1 380px;
}

#cliente-hero h1,
#ventas-hero h1,
#bpo-hero h1,
#ia-hero h1 {
    color: #ffffff;
    font-size: 60px;
    line-height: 1.5;
    max-width: 820px;
    margin: 0px 10px 10px 50px;
    position: relative;
    z-index: 1;
    display: inline-block;
}

#cliente-hero h1::after,
#ventas-hero h1::after,
#bpo-hero h1::after,
#ia-hero h1::after {
    content: "";
    position: absolute;
    left: -12px;
    right: -20px;
    bottom: 10px;
    height: 50px;
    background-color: rgba(207, 51, 45, 0.45);
    z-index: -1;
}

.cliente-leadU,
.ventas-leadU,
.bpo-leadU,
.ia-leadU {
    font-family: 'Cantarell', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 830px;
    margin: 10px 0 0 50px;
    color: #ffffff;
    border-left: 3px solid #CF332D;
    padding-left: 16px;
}

/* Landing section 3 shared layout */
#cliente-section3,
#ventas-section3,
#bpo-section3,
#ia-section3 {
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: center;
    gap: 40px;
    padding: 80px 40px;
    background-color: #F5F1EE;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.cliente-section3-image,
.ventas-section3-image,
.bpo-section3-image,
.ia-section3-image {
    flex: 1 1 280px;
    min-height: 330px;
    border-radius: 12px;
    background-size: cover;
    background-position: 25% 70%;
    background-repeat: no-repeat;
}

.cliente-section3-content,
.ventas-section3-content,
.bpo-section3-content,
.ia-section3-content {
    flex: 1 1 380px;
}

#cliente-section3 h2,
#ventas-section3 h2,
#bpo-section3 h2,
#ia-section3 h2 {
    color: #CF332D;
    font-size: 2rem;
    margin: 20px 0 20px;
}

.cliente-eyebrow,
.ventas-eyebrow,
.bpo-eyebrow,
.ia-eyebrow {
    color: #2A0C11;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 30px 0;
}

#cliente-section3 .cliente-leadD,
#ventas-section3 .ventas-leadD,
#bpo-section3 .bpo-leadD,
#ia-section3 .ia-leadD {
    font-family: 'Cantarell', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 10px;
    color: #2A0C11;
    border-left: 3px solid #CF332D;
    padding-left: 16px;
}

#cliente-section3 .cliente-text,
#ventas-section3 .ventas-text,
#bpo-section3 .bpo-text,
#ia-section3 .ia-text {
    color: #555;
    margin: 20px 0px 0px 30px;
}

.cliente-section3-content .btn-primary,
.ventas-section3-content .btn-primary,
.bpo-section3-content .btn-primary,
.ia-section3-content .btn-primary {
    margin-top: 40px;
    margin-left: 30px;
}

/* Footer */
#footer {
    background-color: #2A0C11;
    padding: 60px 40px 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 40px;
    max-width: 1160px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
    max-width: 380px;
}

#footer .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

#footer .logo-icon {
    width: 55px;
    height: 50px;
    background-color: #452A2F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#footer .logo-icon img {
    height: 70px;
    display: block;
}

#footer .logo-text {
    font-family: 'Fjalla One', sans-serif;
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.footer-brand>p {
    font-family: 'Cantarell', sans-serif;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.9;
    margin: 25px 0px 0px 10px;
}

.footer-nav h3,
.footer-contacto h3 {
    color: #ffffff;
    font-size: 1rem;
    margin: 0 0 16px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.footer-nav ul li a {
    font-family: 'Cantarell', sans-serif;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
    color: #CF332D;
}

.footer-contacto p {
    font-family: 'Cantarell', sans-serif;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin: 0 0 8px;
}

.footer-contacto p i {
    color: #CF332D;
    margin-right: 8px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    max-width: 1160px;
    margin: 0 auto;
    padding-top: 24px;
}

.footer-bottom p {
    font-family: 'Cantarell', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom a {
    font-family: 'Cantarell', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #CF332D;
}


/* Tablet responsive */
@media (max-width: 992px) {
    #header {
        padding: 8px 24px;
    }

    #header nav ul {
        gap: 20px;
    }

    #header nav ul li a {
        font-size: 0.75rem;
    }

    #cliente-hero,
    #ventas-hero,
    #bpo-hero,
    #ia-hero {
        padding: 80px 30px 140px;
    }

    #cliente-hero h1,
    #ventas-hero h1,
    #bpo-hero h1,
    #ia-hero h1 {
        font-size: 46px;
        margin: 0 0 10px 24px;
    }

    #cliente-hero h1::after,
    #ventas-hero h1::after,
    #bpo-hero h1::after,
    #ia-hero h1::after {
        left: -10px;
        right: -14px;
        height: 42px;
    }

    .cliente-leadU,
    .ventas-leadU,
    .bpo-leadU,
    .ia-leadU {
        margin: 10px 0 0 24px;
        font-size: 1rem;
    }

    #cliente-section3,
    #ventas-section3,
    #bpo-section3,
    #ia-section3 {
        padding: 60px 30px;
        gap: 30px;
    }

    .cliente-section3-image,
    .ventas-section3-image,
    .bpo-section3-image,
    .ia-section3-image {
        min-height: 280px;
    }

    #cliente-section3 h2,
    #ventas-section3 h2,
    #bpo-section3 h2,
    #ia-section3 h2 {
        font-size: 1.75rem;
    }

    .cliente-section3-content .btn-primary,
    .ventas-section3-content .btn-primary,
    .bpo-section3-content .btn-primary,
    .ia-section3-content .btn-primary {
        margin-left: 10px;
    }

    #footer {
        padding: 50px 30px 25px;
    }

    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
}


/* Mobile responsive */
@media (max-width: 768px) {
    #header {
        padding: 8px 16px;
    }

    #header .logo-icon {
        width: 46px;
        height: 42px;
    }

    #header .logo-icon img {
        height: 62px;
    }

    #header .logo-text {
        font-size: 0.9rem;
    }

    #header nav ul {
        gap: 14px;
    }

    #header nav ul li a {
        font-size: 0.72rem;
    }

    #cliente-hero,
    #ventas-hero,
    #bpo-hero,
    #ia-hero {
        padding: 70px 20px 120px;
        background-position: 30% center;
    }

    #cliente-hero::after,
    #ventas-hero::after,
    #bpo-hero::after,
    #ia-hero::after {
        height: 40px;
    }

    #cliente-hero h1,
    #ventas-hero h1,
    #bpo-hero h1,
    #ia-hero h1 {
        font-size: 2.7rem;
        margin: 0 0 12px 0;
        max-width: 100%;
    }

    #cliente-hero h1::after,
    #ventas-hero h1::after,
    #bpo-hero h1::after,
    #ia-hero h1::after {
        left: -8px;
        right: -8px;
        height: 34px;
        bottom: 6px;
    }

    .cliente-leadD,
    .ventas-leadD,
    .bpo-leadD,
    .ia-leadD {
        margin: 12px 0 0 0;
        padding-left: 14px;
        font-size: 0.98rem;
    }

    #cliente-hero .cliente-leadU,
    #ventas-hero .ventas-leadU,
    #bpo-hero .bpo-leadU,
    #ia-hero .ia-leadU {
        margin: 8px 8px 0px 20px;
        font-size: 0.8rem;
    }

    #cliente-section3,
    #ventas-section3,
    #bpo-section3,
    #ia-section3 {
        flex-direction: column-reverse;
        padding: 50px 20px;
        gap: 30px;
    }

    .cliente-section3-image,
    .ventas-section3-image,
    .bpo-section3-image,
    .ia-section3-image {
        display: none;
    }

    .cliente-section3-content,
    .ventas-section3-content,
    .bpo-section3-content,
    .ia-section3-content {
        flex: none;
        width: 100%;
    }

    #cliente-section3 h2,
    #ventas-section3 h2,
    #bpo-section3 h2,
    #ia-section3 h2 {
        margin: 10px 0 16px;
        font-size: 1.5rem;
    }

    .cliente-eyebrow,
    .ventas-eyebrow,
    .bpo-eyebrow,
    .ia-eyebrow {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 50px;
    }

    #cliente-section3 .cliente-leadD,
    #ventas-section3 .ventas-leadD,
    #bpo-section3 .bpo-leadD,
    #ia-section3 .ia-leadD {
        margin: 8px 0px 0px 20px;
    }

    #cliente-section3 .cliente-text,
    #ventas-section3 .ventas-text,
    #bpo-section3 .bpo-text,
    #ia-section3 .ia-text {
        margin: 30px 0px 20px 20px;
        text-align: center;
    }

    .cliente-section3-content .btn-primary,
    .ventas-section3-content .btn-primary,
    .bpo-section3-content .btn-primary,
    .ia-section3-content .btn-primary {
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
        text-align: center;
        display: block;
    }

    #footer {
        padding: 40px 20px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-brand>p {
        margin: 16px 0 0 8px;
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* Small mobile responsive */
@media (max-width: 480px) {
    #footer {
        padding: 35px 16px 18px;
    }

    #footer .logo-text {
        font-size: 1rem;
    }
}

/*
   PÁGINAS LEGALES
 */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
    font-family: 'Cantarell', sans-serif;
    color: #333;
    line-height: 1.7;
}

.legal-page h1 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2.5rem;
    color: #2A0C11;
    margin-bottom: 8px;
}

.legal-page .legal-updated {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.3rem;
    color: #2A0C11;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-page p {
    margin-bottom: 14px;
}

.legal-page ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 14px;
}

.legal-page ul li {
    margin-bottom: 6px;
}

.legal-page a {
    color: #CF332D;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 50px 20px;
    }

    .legal-page h1 {
        font-size: 1.9rem;
    }

    .legal-page h2 {
        font-size: 1.15rem;
    }
}