/*!
 * RED Empresa - main stylesheet
 * Mobile first. No frameworks, no jQuery.
 */

/* ------------------------------------------------------------------------- *
 * 1. Tokens
 * ------------------------------------------------------------------------- */
:root {
    --re-primary: #0D5C63;
    --re-primary-dark: #0A464C;
    --re-accent: #052A2D;
    --re-ink: #17213C;
    --re-body: #1C2536;
    --re-surface: #f4f4f4;
    --re-white: #ffffff;
    --re-muted: #5a6472;
    --re-line: #e4e8ea;
    --re-whatsapp: #25d366;
    --re-star: #f5b301;
    --re-radius: 14px;
    --re-radius-lg: 22px;
    --re-shadow-sm: 0 4px 16px rgba(15, 23, 42, .06);
    --re-shadow: 0 18px 40px rgba(15, 23, 42, .1);
    --re-container: 1340px;
    --re-gutter: clamp(1rem, 4vw, 2.5rem);
    --re-section: clamp(3.5rem, 7vw, 6rem);
    --re-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ------------------------------------------------------------------------- *
 * 2. Reset and base
 * ------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    background: var(--re-white);
    color: var(--re-body);
    font-family: var(--re-font);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

svg.re-icon {
    display: inline-block;
    flex: none;
    vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 .5em;
    color: var(--re-ink);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -.015em;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--re-primary);
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease;
}

a:hover {
    color: var(--re-primary-dark);
}

ul,
ol {
    padding-left: 1.25rem;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
    background: none;
    border: 0;
}

input,
textarea,
select {
    font: inherit;
    color: inherit;
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--re-primary);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

/* ------------------------------------------------------------------------- *
 * 3. Utilities
 * ------------------------------------------------------------------------- */
.re-container {
    width: 100%;
    max-width: var(--re-container);
    margin-inline: auto;
    padding-inline: var(--re-gutter);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus,
.re-skip-link:focus {
    position: fixed;
    top: .5rem;
    left: .5rem;
    z-index: 200;
    width: auto;
    height: auto;
    padding: .85rem 1.25rem;
    clip: auto;
    background: var(--re-white);
    color: var(--re-primary);
    border-radius: 999px;
    box-shadow: var(--re-shadow);
    font-weight: 600;
}

.re-section {
    padding-block: var(--re-section);
}

.re-eyebrow {
    margin: 0 0 .75rem;
    color: var(--re-primary);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.re-section__head {
    max-width: 48rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.re-section__head.is-align-center {
    margin-inline: auto;
    text-align: center;
}

.re-section__title {
    margin: 0 0 .75rem;
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
}

.re-section__text {
    color: var(--re-muted);
}

.re-section__text p:last-child {
    margin-bottom: 0;
}

/* Buttons */
.re-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.re-button:hover {
    transform: translateY(-1px);
}

.re-button--primary {
    background: var(--re-primary);
    color: var(--re-white);
}

.re-button--primary:hover {
    background: var(--re-primary-dark);
    color: var(--re-white);
    box-shadow: 0 12px 26px rgba(13, 92, 99, .25);
}

.re-button--light {
    background: var(--re-white);
    color: var(--re-primary);
}

.re-button--light:hover {
    background: var(--re-surface);
    color: var(--re-primary-dark);
}

.re-button--ghost {
    border-color: currentColor;
    background: transparent;
    color: currentColor;
}

.re-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    font-size: .925rem;
}

.re-link-arrow .re-icon {
    transition: transform .18s ease;
}

.re-link-arrow:hover .re-icon {
    transform: translateX(3px);
}

.re-phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--re-ink);
    font-weight: 600;
    white-space: nowrap;
}

.re-phone:hover {
    color: var(--re-primary);
}

.re-phone__body {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
}

.re-phone__label {
    display: block;
    color: var(--re-muted);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.re-stars {
    display: inline-flex;
    gap: .15rem;
    color: var(--re-star);
}

.re-stars .is-empty {
    color: rgba(23, 33, 60, .18);
}

/* ------------------------------------------------------------------------- *
 * 4. Header
 * ------------------------------------------------------------------------- */
.re-header {
    position: relative;
    z-index: 60;
    background: var(--re-white);
    border-bottom: 1px solid var(--re-line);
}

.has-sticky-header .re-header {
    position: sticky;
    top: 0;
}

.re-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(15, 23, 42, .07);
}

.re-header__inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    min-height: 68px;
    padding-block: .6rem;
}

.re-branding {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.re-branding img,
.re-branding .custom-logo {
    width: auto;
    max-height: 46px;
    max-width: 100%;
}

.re-branding__link {
    display: block;
    color: var(--re-ink);
}

.re-branding__name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.re-branding__tagline {
    display: block;
    color: var(--re-muted);
    font-size: .75rem;
    font-weight: 500;
}

.re-header__actions {
    order: 2;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-left: auto;
}

.re-header__actions .re-phone__text {
    display: none;
}

.re-header__actions .re-phone {
    gap: 0;
    width: 42px;
    height: 42px;
    justify-content: center;
    border: 1px solid var(--re-line);
    border-radius: 50%;
    background: var(--re-surface);
}

.re-header__cta {
    display: none;
}

/* Navigation */
.re-nav {
    order: 3;
}

.re-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--re-line);
    border-radius: 12px;
    color: var(--re-ink);
}

.re-nav__toggle-icon--close {
    display: none;
}

.re-nav.is-open .re-nav__toggle-icon--close {
    display: inline-flex;
}

.re-nav.is-open .re-nav__toggle-icon--open {
    display: none;
}

.re-nav__panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 1rem var(--re-gutter) 1.5rem;
    background: var(--re-white);
    border-block: 1px solid var(--re-line);
    box-shadow: var(--re-shadow-sm);
}

.re-nav.is-open .re-nav__panel {
    display: block;
}

.re-menu {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.re-menu a {
    display: block;
    padding: .8rem .25rem;
    border-bottom: 1px solid var(--re-line);
    color: var(--re-ink);
    font-weight: 500;
}

.re-menu a:hover {
    color: var(--re-primary);
}

.re-menu .current-menu-item > a,
.re-menu .current_page_item > a {
    color: var(--re-primary);
    font-weight: 600;
}

.re-menu .sub-menu {
    margin: 0;
    padding: 0 0 0 1rem;
    list-style: none;
}

@media (min-width: 1000px) {
    .re-header__inner {
        flex-wrap: nowrap;
        gap: 2rem;
        min-height: 88px;
    }

    .re-branding {
        flex: none;
    }

    .re-branding img,
    .re-branding .custom-logo {
        max-height: 58px;
    }

    .re-nav {
        order: 2;
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
    }

    .re-nav__toggle {
        display: none;
    }

    .re-nav__panel {
        display: block;
        position: static;
        padding: 0;
        border: 0;
        box-shadow: none;
        max-height: none;
        overflow: visible;
        background: transparent;
    }

    .re-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: .25rem;
        justify-content: center;
    }

    .re-menu a {
        padding: .55rem .95rem;
        border: 0;
        border-radius: 999px;
        font-size: .95rem;
    }

    .re-menu a:hover {
        background: rgba(13, 92, 99, .08);
    }

    .re-menu .current-menu-item > a,
    .re-menu .current_page_item > a {
        background: rgba(13, 92, 99, .1);
    }

    .re-menu .sub-menu {
        position: absolute;
        z-index: 5;
        padding: .5rem;
        min-width: 13rem;
        background: var(--re-white);
        border: 1px solid var(--re-line);
        border-radius: 12px;
        box-shadow: var(--re-shadow);
    }

    .re-header__actions {
        order: 3;
        margin-left: 0;
    }

    .re-header__actions .re-phone {
        width: auto;
        height: auto;
        padding: 0;
        border: 0;
        background: transparent;
        gap: .5rem;
    }

    .re-header__actions .re-phone__text {
        display: inline;
    }
}

@media (min-width: 1160px) {
    .re-header__cta {
        display: inline-flex;
    }
}

/* ------------------------------------------------------------------------- *
 * 5. Hero
 * ------------------------------------------------------------------------- */
.re-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-accent) 100%);
    color: var(--re-white);
}

.re-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 12% 0%, rgba(255, 255, 255, .16), transparent 58%);
    pointer-events: none;
}

.re-hero.has-image {
    background-image: linear-gradient(125deg, rgba(5, 42, 45, .94) 0%, rgba(13, 92, 99, .72) 100%), var(--re-hero-image);
    background-size: cover;
    background-position: center;
}

.re-hero__inner {
    position: relative;
    padding-block: clamp(3rem, 8vw, 6.5rem);
}

.re-hero__content {
    max-width: 52rem;
}

.re-hero__label {
    display: inline-block;
    margin: 0 0 1.25rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .95);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.re-hero__title {
    margin: 0 0 1.25rem;
    color: var(--re-white);
    font-size: clamp(2rem, 5.2vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.re-hero__text {
    max-width: 44rem;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 1.7vw, 1.125rem);
}

.re-hero__text p:last-child {
    margin-bottom: 0;
}

.re-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* ------------------------------------------------------------------------- *
 * 6. Services
 * ------------------------------------------------------------------------- */
.re-services {
    background: var(--re-surface);
}

.re-cards {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    list-style: none;
}

.re-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--re-white);
    border: 1px solid var(--re-line);
    border-radius: var(--re-radius-lg);
    box-shadow: var(--re-shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease;
}

.re-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--re-shadow);
}

.re-card__title {
    margin: 0;
    font-size: 1.3rem;
}

.re-card__speed {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem;
    margin: 0;
    color: var(--re-muted);
    font-size: .95rem;
}

.re-card__speed strong {
    color: var(--re-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.re-card__speed-label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.re-card__features {
    display: grid;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .95rem;
}

.re-card__features li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.re-card__check {
    margin-top: .2rem;
    color: var(--re-primary);
}

.re-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto;
    padding: .8rem 1.2rem;
    border-radius: 999px;
    background: var(--re-primary);
    color: var(--re-white);
    font-size: .95rem;
    font-weight: 600;
}

.re-card__cta:hover {
    background: var(--re-primary-dark);
    color: var(--re-white);
}

.re-card__cta .re-icon {
    transition: transform .18s ease;
}

.re-card__cta:hover .re-icon {
    transform: translateX(3px);
}

/* ------------------------------------------------------------------------- *
 * 7. About / differentiators
 * ------------------------------------------------------------------------- */
.re-about__top {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.re-about__title {
    margin: 0 0 1rem;
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
}

.re-about__text {
    color: var(--re-muted);
    font-size: 1.05rem;
}

.re-about__highlight {
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--re-surface);
    border-left: 4px solid var(--re-primary);
    border-radius: var(--re-radius);
}

.re-about__subtitle {
    margin: 0 0 .75rem;
    font-size: 1.2rem;
}

.re-about__subtext {
    color: var(--re-muted);
    font-size: .975rem;
}

.re-about__subtext p:last-child,
.re-about__text p:last-child {
    margin-bottom: 0;
}

.re-features {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    list-style: none;
}

.re-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: rgba(13, 92, 99, .1);
    color: var(--re-primary);
}

.re-feature__title {
    margin: 0 0 .5rem;
    font-size: 1.15rem;
}

.re-feature__text {
    color: var(--re-muted);
    font-size: .95rem;
}

.re-feature__text p:last-child {
    margin-bottom: 0;
}

@media (min-width: 760px) {
    .re-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (min-width: 900px) {
    .re-about__top {
        grid-template-columns: 1.05fr .95fr;
        align-items: start;
    }

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

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

/* ------------------------------------------------------------------------- *
 * 8. Solutions
 * ------------------------------------------------------------------------- */
.re-solutions__grid {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    grid-template-columns: 1fr;
}

.re-solution {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid var(--re-line);
    border-radius: var(--re-radius-lg);
    background: var(--re-white);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.re-solution:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 92, 99, .35);
    box-shadow: var(--re-shadow-sm);
}

.re-solution__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--re-primary), var(--re-accent));
    color: var(--re-white);
}

.re-solution__title {
    margin: 0;
    font-size: 1.3rem;
}

.re-solution__text {
    color: var(--re-muted);
    font-size: .975rem;
}

.re-solution__text p:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------------------------- *
 * 9. Stats
 * ------------------------------------------------------------------------- */
.re-stats {
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-accent) 100%);
    color: var(--re-white);
}

.re-stats__inner {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
}

.re-stats__title {
    margin: 0 0 1rem;
    color: var(--re-white);
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
}

.re-stats__text {
    color: rgba(255, 255, 255, .85);
}

.re-stats__text p:last-child {
    margin-bottom: 0;
}

.re-stats__cta {
    margin-top: 1.75rem;
}

.re-stats__list {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    list-style: none;
}

.re-stat {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--re-radius);
}

.re-stat__value {
    display: block;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
}

.re-stat__label {
    display: block;
    margin-top: .4rem;
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
}

/* ------------------------------------------------------------------------- *
 * 10. Coverage
 * ------------------------------------------------------------------------- */
.re-coverage {
    background: var(--re-surface);
}

.re-coverage__inner {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.re-coverage__media img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--re-radius-lg);
}

.re-coverage__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background: var(--re-white);
    border-radius: var(--re-radius-lg);
    box-shadow: var(--re-shadow);
}

.re-coverage__title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.re-coverage__text {
    color: var(--re-muted);
}

.re-coverage__text p:last-child {
    margin-bottom: 0;
}

.re-coverage__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: .5rem;
}

.re-phone--large {
    gap: .65rem;
    font-size: clamp(1.35rem, 2.4vw, 1.6rem);
    font-weight: 700;
}

.re-phone--large .re-phone__label {
    font-size: .7rem;
}

.re-phone--large .re-phone__icon {
    width: 22px;
    height: 22px;
}

@media (min-width: 760px) {
    .re-solutions__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (min-width: 960px) {
    .re-stats__inner {
        grid-template-columns: 1.05fr .95fr;
        align-items: center;
    }

    .re-coverage__inner {
        grid-template-columns: 1.05fr .95fr;
        align-items: stretch;
    }
}

/* ------------------------------------------------------------------------- *
 * 11. Testimonials
 * ------------------------------------------------------------------------- */
.re-testimonials {
    background: var(--re-surface);
}

.re-testimonials__grid {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    list-style: none;
}

.re-testimonial {
    display: flex;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--re-white);
    border: 1px solid var(--re-line);
    border-radius: var(--re-radius-lg);
    box-shadow: var(--re-shadow-sm);
}

.re-testimonial__figure {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 0;
}

.re-testimonial__quote {
    margin: 0;
    color: var(--re-body);
    font-size: .975rem;
}

.re-testimonial__quote p {
    margin: 0;
}

.re-testimonial__author {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid var(--re-line);
}

.re-testimonial__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.re-testimonial__name {
    display: block;
    color: var(--re-ink);
    font-weight: 700;
}

.re-testimonial__role {
    display: block;
    color: var(--re-muted);
    font-size: .85rem;
}

/* ------------------------------------------------------------------------- *
 * 12. Partners
 * ------------------------------------------------------------------------- */
.re-partners__list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.re-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    padding: 1rem;
    background: var(--re-white);
    border: 1px solid var(--re-line);
    border-radius: var(--re-radius);
}

.re-partner__logo {
    width: auto;
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
    transition: filter .2s ease, opacity .2s ease;
}

.re-partner:hover .re-partner__logo {
    filter: none;
    opacity: 1;
}

@media (min-width: 760px) {
    .re-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (min-width: 1000px) {
    .re-testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .re-partners__list {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ------------------------------------------------------------------------- *
 * 13. Footer
 * ------------------------------------------------------------------------- */
.re-footer {
    padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
    background: #0C101C;
    color: #c3ccd9;
    font-size: .95rem;
}

.re-footer a {
    color: #dbe2ea;
}

.re-footer a:hover {
    color: var(--re-white);
}

.re-footer__grid {
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    grid-template-columns: 1fr;
    padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.re-footer__logo .custom-logo,
.re-footer__logo img {
    width: auto;
    max-height: 56px;
}

.re-footer__brand .re-branding__name,
.re-footer__brand .re-branding__link {
    color: var(--re-white);
}

.re-footer__brand .re-branding__tagline {
    color: #96a2b4;
}

.re-footer__tagline {
    margin: .85rem 0 0;
    color: #96a2b4;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.re-footer__about {
    margin: .85rem 0 0;
    color: #a9b4c4;
    font-size: .9rem;
}

.re-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
}

.re-footer__social:hover {
    background: rgba(255, 255, 255, .1);
}

.re-footer__heading {
    margin: 0 0 .85rem;
    color: var(--re-white);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.re-footer__list,
.re-footer__legal-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.re-footer__list li + li,
.re-footer__legal-list li + li {
    margin-top: .5rem;
}

.re-footer__list a {
    color: #b6c0cf;
    font-size: .925rem;
}

.re-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-top: 1.25rem;
    color: #8f9bad;
    font-size: .83rem;
}

.re-footer__copy,
.re-footer__legal {
    margin: 0;
}

.re-footer__legal a {
    color: #a9b4c4;
}

.re-widget {
    margin-bottom: 1.5rem;
}

.re-widget__title {
    margin: 0 0 .75rem;
    color: var(--re-white);
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .re-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .re-footer__grid {
        grid-template-columns: 1.5fr repeat(4, 1fr);
    }

    .re-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ------------------------------------------------------------------------- *
 * 14. Floating buttons
 * ------------------------------------------------------------------------- */
.re-whatsapp {
    position: fixed;
    right: clamp(.75rem, 2vw, 1.5rem);
    bottom: clamp(.75rem, 2vw, 1.5rem);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--re-whatsapp);
    color: var(--re-white);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.re-whatsapp:hover {
    color: var(--re-white);
    transform: scale(1.04);
}

.re-to-top {
    position: fixed;
    right: clamp(.75rem, 2vw, 1.5rem);
    bottom: calc(clamp(.75rem, 2vw, 1.5rem) + 68px);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--re-line);
    border-radius: 50%;
    background: var(--re-white);
    color: var(--re-primary);
    box-shadow: var(--re-shadow-sm);
}

.re-to-top:hover {
    background: var(--re-primary);
    color: var(--re-white);
}

/* ------------------------------------------------------------------------- *
 * 15. Blog, archives and search
 * ------------------------------------------------------------------------- */
.re-main {
    display: block;
}

.re-blog {
    padding-block: clamp(2rem, 5vw, 3.5rem);
}

.re-blog__header {
    max-width: 48rem;
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.re-blog__title {
    margin: 0 0 .75rem;
    font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.re-blog__intro {
    color: var(--re-muted);
}

.re-blog__search {
    max-width: 26rem;
    margin-top: 1.25rem;
}

.re-layout {
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.5rem);
}

.re-posts {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.5rem);
    grid-template-columns: 1fr;
}

.re-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--re-white);
    border: 1px solid var(--re-line);
    border-radius: var(--re-radius-lg);
    transition: transform .2s ease, box-shadow .2s ease;
}

.re-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--re-shadow-sm);
}

.re-post-card__media {
    display: block;
    overflow: hidden;
    background: var(--re-surface);
}

.re-post-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.re-post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .6rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
}

.re-post-card__title {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
}

.re-post-card__title a {
    color: var(--re-ink);
}

.re-post-card__title a:hover {
    color: var(--re-primary);
}

.re-post-card__excerpt {
    margin: 0;
    color: var(--re-muted);
    font-size: .925rem;
}

.re-post-card .re-link-arrow {
    margin-top: auto;
}

.re-entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: 0;
    color: var(--re-muted);
    font-size: .8rem;
}

.re-entry-meta__sep {
    color: var(--re-line);
}

/* Search form */
.re-search {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: var(--re-white);
    border: 1px solid var(--re-line);
    border-radius: 999px;
}

.re-search__field {
    flex: 1;
    min-width: 0;
    padding: .75rem 1.15rem;
    border: 0;
    background: transparent;
    font-size: .95rem;
}

.re-search__field:focus {
    outline: none;
}

.re-search:focus-within {
    border-color: var(--re-primary);
    box-shadow: 0 0 0 3px rgba(13, 92, 99, .12);
}

.re-search__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    background: var(--re-primary);
    color: var(--re-white);
}

.re-search__submit:hover {
    background: var(--re-primary-dark);
}

/* Breadcrumbs and pagination */
.re-breadcrumbs {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    font-size: .85rem;
}

.re-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--re-muted);
}

.re-breadcrumbs li + li::before {
    content: "/";
    margin-right: .4rem;
    color: var(--re-line);
}

.re-pagination {
    margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.re-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.re-pagination a,
.re-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: .5rem .85rem;
    border: 1px solid var(--re-line);
    border-radius: 999px;
    color: var(--re-ink);
    font-size: .9rem;
    font-weight: 500;
}

.re-pagination a:hover {
    border-color: var(--re-primary);
    color: var(--re-primary);
}

.re-pagination .current {
    background: var(--re-primary);
    border-color: var(--re-primary);
    color: var(--re-white);
}

/* Empty state and 404 */
.re-empty {
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--re-surface);
    border-radius: var(--re-radius-lg);
    text-align: center;
}

.re-empty__title {
    margin: 0 0 .5rem;
    font-size: 1.35rem;
}

.re-empty__text {
    color: var(--re-muted);
}

.re-empty__search,
.re-404__search {
    max-width: 26rem;
    margin: 1.25rem auto;
}

.re-404 {
    padding-block: clamp(3rem, 8vw, 6rem);
    text-align: center;
}

.re-404__code {
    margin: 0;
    color: var(--re-primary);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.re-404__title {
    margin: .5rem 0 .75rem;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.re-404__text {
    max-width: 32rem;
    margin: 0 auto;
    color: var(--re-muted);
}

@media (min-width: 700px) {
    .re-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .re-layout.has-sidebar {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .re-layout:not(.has-sidebar) .re-posts {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ------------------------------------------------------------------------- *
 * 16. Pages, posts and block content
 * ------------------------------------------------------------------------- */
.re-page,
.re-single {
    padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4rem);
}

.re-page__header,
.re-single__header {
    max-width: 48rem;
    margin-bottom: 1.5rem;
}

.re-page__title,
.re-single__title {
    margin: 0 0 .5rem;
    font-size: clamp(1.8rem, 4.2vw, 2.8rem);
}

.re-page__thumbnail,
.re-single__thumbnail {
    margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
}

.re-page__image,
.re-single__image {
    width: 100%;
    border-radius: var(--re-radius-lg);
}

.entry-content {
    color: var(--re-body);
    font-size: 1.0625rem;
}

.entry-content > * {
    margin-top: 0;
    margin-bottom: 1.35rem;
}

.entry-content h2 {
    margin-top: 2.25rem;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.entry-content h3 {
    margin-top: 1.85rem;
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    line-height: 1.75;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.4rem;
}

.entry-content li + li {
    margin-top: .4rem;
}

.entry-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content img,
.entry-content .wp-block-image img {
    border-radius: var(--re-radius);
}

.entry-content blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--re-surface);
    border-left: 4px solid var(--re-primary);
    border-radius: var(--re-radius);
    font-size: 1.05rem;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.entry-content th,
.entry-content td {
    padding: .65rem .85rem;
    border: 1px solid var(--re-line);
    text-align: left;
}

.entry-content th {
    background: var(--re-surface);
    color: var(--re-ink);
}

.entry-content pre,
.entry-content code {
    border-radius: 10px;
    background: #0C101C;
    color: #e7ecf3;
    font-size: .875rem;
}

.entry-content code {
    padding: .15rem .4rem;
}

.entry-content pre {
    padding: 1rem 1.15rem;
    overflow: auto;
}

.entry-content pre code {
    padding: 0;
}

.entry-content .wp-block-button__link {
    text-decoration: none;
}

.re-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.re-single__tags a {
    display: inline-flex;
    padding: .35rem .8rem;
    border: 1px solid var(--re-line);
    border-radius: 999px;
    color: var(--re-muted);
    font-size: .8rem;
}

.re-single__tags a:hover {
    border-color: var(--re-primary);
    color: var(--re-primary);
}

.re-post-nav {
    display: grid;
    gap: 1rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid var(--re-line);
}

.re-post-nav__item {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--re-line);
    border-radius: var(--re-radius);
}

.re-post-nav__item:hover {
    border-color: var(--re-primary);
}

.re-post-nav__label {
    color: var(--re-muted);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.re-post-nav__title {
    color: var(--re-ink);
    font-weight: 600;
}

.re-post-nav__item--next {
    text-align: right;
}

.re-related {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.re-related__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
}

.re-sidebar {
    font-size: .95rem;
}

.re-widget {
    padding: 1.25rem;
    border: 1px solid var(--re-line);
    border-radius: var(--re-radius);
}

.re-widget + .re-widget {
    margin-top: 1rem;
}

.re-widget .re-widget__title {
    margin: 0 0 .75rem;
    color: var(--re-ink);
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
}

.re-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.re-widget li + li {
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: 1px solid var(--re-line);
}

@media (min-width: 760px) {
    .re-post-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ------------------------------------------------------------------------- *
 * 17. Comments
 * ------------------------------------------------------------------------- */
.re-comments {
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid var(--re-line);
}

.re-comments__title {
    margin: 0 0 1.5rem;
    font-size: 1.35rem;
}

.re-comments__list {
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.re-comments__list .children {
    margin: .75rem 0 0;
    padding-left: 1.25rem;
    list-style: none;
}

.re-comments__list .comment-body {
    padding: 1rem 1.25rem;
    border: 1px solid var(--re-line);
    border-radius: var(--re-radius);
}

.re-comments__list .comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .5rem;
    color: var(--re-muted);
    font-size: .82rem;
}

.re-comments__list .comment-author img {
    margin-right: .4rem;
    border-radius: 50%;
}

.re-comments__list .reply a {
    font-size: .82rem;
    font-weight: 600;
}

.re-comment-form p {
    margin: 0 0 1rem;
}

.re-comment-form label {
    display: block;
    margin-bottom: .35rem;
    color: var(--re-ink);
    font-size: .85rem;
    font-weight: 600;
}

.re-comment-form input[type="text"],
.re-comment-form input[type="email"],
.re-comment-form input[type="url"],
.re-comment-form textarea {
    width: 100%;
    padding: .7rem .9rem;
    border: 1px solid var(--re-line);
    border-radius: 10px;
    background: var(--re-white);
}

.re-comment-form .submit {
    display: inline-flex;
    padding: .8rem 1.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--re-primary);
    color: var(--re-white);
    font-weight: 600;
    cursor: pointer;
}

.re-comment-form .submit:hover {
    background: var(--re-primary-dark);
}

/* ------------------------------------------------------------------------- *
 * 18. Motion and print
 * ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@media print {
    .re-header,
    .re-footer,
    .re-whatsapp,
    .re-to-top,
    .re-nav__toggle,
    .re-breadcrumbs,
    .re-post-nav,
    .re-related,
    .re-comments {
        display: none !important;
    }

    body {
        color: #000;
        font-size: 11pt;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}








