/* =========================================================
   RB DOMAIN LANDING TEMPLATE
   Version: 1.0
   RB Comunicación Estratégica
========================================================= */


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #1c2333;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   RB HOSTING BAR
========================================================= */

.rb-hosting-bar {
    background: #0c1729;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.rb-hosting-content {
    min-height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 7px;

    text-align: center;
}

.rb-hosting-content p {
    margin: 0;
}

.rb-hosting-content a {
    color: #ffffff;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.rb-hosting-content a:hover {
    opacity: 0.75;
}

.rb-security-icon {
    font-size: 12px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(55, 111, 255, 0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(66, 193, 255, 0.09),
            transparent 32%
        ),
        #ffffff;
}


/* Decorative grid */

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(15, 23, 42, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.035) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.65),
            transparent 90%
        );

    pointer-events: none;
}


.hero-container {
    position: relative;
    z-index: 2;

    max-width: 820px;

    padding-block: 90px;

    text-align: center;
}


/* =========================================================
   CLIENT LOGO
========================================================= */

.client-logo-container {
    margin-bottom: 28px;
}

.client-logo-container img {
    width: auto;
    max-width: 360px;
    max-height: 130px;

    margin-inline: auto;

    object-fit: contain;
}


/* =========================================================
   STATUS
========================================================= */

.status-badge {
    display: inline-flex;

    align-items: center;

    padding: 7px 14px;

    margin-bottom: 22px;

    border: 1px solid rgba(30, 91, 255, 0.15);

    border-radius: 100px;

    background: rgba(30, 91, 255, 0.06);

    color: #2457c5;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   COMPANY
========================================================= */

.company-name {
    margin: 0 0 12px;

    color: #6c7587;

    font-size: 16px;
    font-weight: 600;

    letter-spacing: 0.03em;
}


/* =========================================================
   HERO TYPOGRAPHY
========================================================= */

.hero h1 {
    max-width: 800px;

    margin: 0 auto 24px;

    color: #101828;

    font-size: clamp(38px, 5vw, 64px);

    font-weight: 750;

    line-height: 1.05;

    letter-spacing: -0.045em;
}

.hero-description {
    max-width: 640px;

    margin: 0 auto;

    color: #667085;

    font-size: 18px;

    line-height: 1.75;
}


/* =========================================================
   CLIENT CONTACT
========================================================= */

.client-contact {
    margin-top: 36px;
}

.contact-actions {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    justify-content: center;
    align-items: center;

    min-height: 48px;

    padding: 12px 22px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 650;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #101828;
    color: #ffffff;

    box-shadow:
        0 5px 15px rgba(16, 24, 40, 0.14);
}

.btn-primary:hover {
    box-shadow:
        0 8px 22px rgba(16, 24, 40, 0.20);
}

.btn-secondary {
    border: 1px solid #e2e7ef;

    background: #ffffff;

    color: #344054;
}

.btn-secondary:hover {
    background: #f8fafc;
}


/* =========================================================
   ADDRESS / SOCIAL
========================================================= */

.client-address {
    margin-top: 24px;

    color: #667085;

    font-size: 14px;
}

.client-social {
    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 16px;
}

.client-social a {
    color: #475467;

    font-size: 14px;
    font-weight: 600;
}

.client-social a:hover {
    color: #101828;
}


/* =========================================================
   RB SERVICES
========================================================= */

.rb-services {
    position: relative;

    padding: 85px 0;

    background: #0c1729;

    color: #ffffff;

    overflow: hidden;
}


/* Decorative glow */

.rb-services::before {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    top: -300px;
    right: -200px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(64, 123, 255, 0.22),
            transparent 65%
        );

    pointer-events: none;
}


.rb-services-header {
    position: relative;

    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: center;

    gap: 55px;

    max-width: 1000px;
    margin-bottom: 55px;
}


/* =========================================================
   RB LOGO
========================================================= */

.rb-logo {
    width: 230px;
    max-width: 100%;
    max-height: 140px;

    object-fit: contain;
}


/* =========================================================
   RB TEXT
========================================================= */

.rb-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #8caeff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.rb-services h2 {
    max-width: 700px;

    margin: 0 0 15px;

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.12;

    letter-spacing: -0.035em;
}

.rb-services-header p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 17px;
}


/* =========================================================
   SERVICES GRID
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 12px;
}

.service-item {
    min-height: 130px;

    padding: 22px 16px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.035);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.service-item:hover {
    transform: translateY(-4px);

    background:
        rgba(255, 255, 255, 0.06);

    border-color:
        rgba(255, 255, 255, 0.14);
}

.service-icon {
    width: 28px;
    height: 28px;

    margin-bottom: 20px;

    object-fit: contain;

    opacity: 0.9;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.08);
    opacity: 1;
}

.service-item h3 {
    margin: 0;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.35;
}


/* =========================================================
   RB CTA
========================================================= */

.rb-cta {
    margin-top: 38px;
}

.btn-rb {
    background: #ffffff;

    color: #101828;

    padding-inline: 26px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);
}

.btn-rb:hover {
    background: #f4f7fb;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #08111f;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    color:
        rgba(255, 255, 255, 0.45);

    font-size: 12px;
}

.footer-content {
    min-height: 68px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.footer-content p {
    margin: 0;
}

.footer-content a {
    color:
        rgba(255, 255, 255, 0.75);

    font-weight: 600;
}

.footer-content a:hover {
    color: #ffffff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .services-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {
        width:
            min(100% - 30px, 1120px);
    }


    /* Hosting */

    .rb-hosting-content {
        min-height: 50px;

        padding-block: 8px;

        font-size: 11px;
    }


    /* Hero */

    .hero {
        min-height: auto;
    }

    .hero-container {
        padding-block: 70px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 16px;
    }


    /* RB */

    .rb-services {
        padding: 65px 0;
    }

    .rb-services-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rb-logo {
         width: 190px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* Footer */

    .footer-content {
        flex-direction: column;

        justify-content: center;

        padding-block: 22px;

        text-align: center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 34px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        min-height: auto;
    }

}