/**
 * Secciones generales
 * Remodelando Pixel
 */

/* =========================================================
   BENEFICIOS RÁPIDOS
   ========================================================= */

.rmd-benefits {
    position: relative;
    z-index: 5;
    background: var(--rmd-white);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);
}

.rmd-benefits__grid {
    display: grid;
    min-height: 78px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
}

.rmd-benefit {
    display: flex;
    min-height: 48px;
    padding: 0 24px;
    border-right: 1px solid var(--rmd-gray-200);
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: var(--rmd-text);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.rmd-benefit:last-child {
    border-right: 0;
}

.rmd-benefit__icon {
    color: var(--rmd-brown);
    font-size: 19px;
}

/* =========================================================
   CIFRAS / GARANTÍAS
   ========================================================= */

.rmd-stats {
    color: var(--rmd-white);
    background:
        linear-gradient(
            90deg,
            #3b3526 0%,
            #272418 100%
        );
}

.rmd-stats__grid {
    display: grid;
    min-height: 128px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
}

.rmd-stat {
    display: flex;
    min-height: 78px;
    padding: 18px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.rmd-stat:last-child {
    border-right: 0;
}

.rmd-stat__icon {
    display: flex;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid rgba(185, 214, 111, 0.55);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--rmd-green);
    font-size: 25px;
}

.rmd-stat__content {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.rmd-stat__value {
    margin-bottom: 3px;
    color: var(--rmd-white);
    font-family: var(--rmd-font-heading);
    font-size: 30px;
    font-weight: 700;
}

.rmd-stat__title {
    color: var(--rmd-white);
    font-size: 13px;
    font-weight: 600;
}

.rmd-stat small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
}

/* =========================================================
   ANTES Y DESPUÉS
   ========================================================= */

.rmd-before-after {
    padding: 34px 0;
    color: var(--rmd-white);
    background:
        linear-gradient(
            90deg,
            #3b3526 0%,
            #272418 100%
        );
}

.rmd-before-after__layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.rmd-before-after__intro h2 {
    margin-bottom: 12px;
    color: var(--rmd-white);
    font-size: 30px;
}

.rmd-before-after__intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.rmd-before-after__viewer {
    display: grid;
    overflow: hidden;
    border-radius: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.08);
}

.rmd-before-after__panel {
    position: relative;
    min-height: 290px;
    overflow: hidden;
}

.rmd-before-after__panel img {
    width: 100%;
    height: 100%;
    min-height: 290px;
    object-fit: cover;
}

.rmd-before-after__panel:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.45);
}

.rmd-before-after__placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 290px;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

.rmd-before-after__label {
    position: absolute;
    top: 16px;
    padding: 6px 11px;
    border-radius: 4px;
    color: var(--rmd-white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.rmd-before-after__label--before {
    left: 16px;
    background: rgba(0, 0, 0, 0.68);
}

.rmd-before-after__label--after {
    right: 16px;
    background: var(--rmd-green-dark);
}

/* =========================================================
   PROCESO
   ========================================================= */

.rmd-process {
    background: var(--rmd-white);
}

.rmd-process__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.rmd-process__grid::before {
    position: absolute;
    top: 42px;
    right: 9%;
    left: 9%;
    height: 1px;
    content: "";
    background:
        repeating-linear-gradient(
            90deg,
            var(--rmd-orange) 0,
            var(--rmd-orange) 5px,
            transparent 5px,
            transparent 11px
        );
    opacity: 0.55;
}

.rmd-process-step {
    position: relative;
    z-index: 2;
    padding: 0 12px;
    text-align: center;
}

.rmd-process-step__top {
    position: relative;
    display: flex;
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #eef5db;
}

.rmd-process-step:nth-child(2) .rmd-process-step__top,
.rmd-process-step:nth-child(5) .rmd-process-step__top {
    background: #f0f4df;
}

.rmd-process-step:nth-child(3) .rmd-process-step__top {
    background: #fff0dc;
}

.rmd-process-step__number {
    position: absolute;
    top: -8px;
    left: -4px;
    display: flex;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--rmd-white);
    background: var(--rmd-brown);
    font-size: 11px;
    font-weight: 700;
}

.rmd-process-step:nth-child(2) .rmd-process-step__number,
.rmd-process-step:nth-child(5) .rmd-process-step__number {
    background: var(--rmd-green-dark);
}

.rmd-process-step:nth-child(3) .rmd-process-step__number {
    background: var(--rmd-orange);
}

.rmd-process-step__icon {
    color: var(--rmd-green-dark);
    font-size: 29px;
}

.rmd-process-step h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.rmd-process-step p {
    margin: 0;
    color: var(--rmd-text-soft);
    font-size: 12.5px;
    line-height: 1.55;
}


/* =========================================================
   FAQ + TESTIMONIOS
   ========================================================= */

.rmd-faq-testimonials__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.35fr);
    gap: 60px;
    align-items: start;
}

.rmd-faq__header,
.rmd-testimonials__header {
    margin-bottom: 26px;
}

.rmd-faq__header h2,
.rmd-testimonials__header h2 {
    margin-bottom: 0;
    font-size: clamp(28px, 3vw, 40px);
}

/* FAQ */

.rmd-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rmd-faq-item {
    overflow: hidden;
    border: 1px solid var(--rmd-gray-200);
    border-radius: 8px;
    background: var(--rmd-white);
}

.rmd-faq-item__question {
    display: flex;
    width: 100%;
    min-height: 56px;
    padding: 13px 16px;
    border: 0;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--rmd-text);
    background: transparent;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}

.rmd-faq-item__question:hover {
    color: var(--rmd-green-dark);
}

.rmd-faq-item__icon {
    flex: 0 0 auto;
    color: var(--rmd-orange);
    font-size: 22px;
    line-height: 1;
}

.rmd-faq-item__answer {
    padding: 0 16px 16px;
}

.rmd-faq-item__answer p {
    margin: 0;
    color: var(--rmd-text-soft);
    font-size: 13px;
    line-height: 1.65;
}

/* Testimonios */

.rmd-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rmd-testimonial-card {
    position: relative;
    min-height: 220px;
    padding: 28px 22px 22px;
    border: 1px solid var(--rmd-gray-200);
    border-radius: 12px;
    background: var(--rmd-white);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.035);
}

.rmd-testimonial-card__quote {
    margin-bottom: 8px;
    color: var(--rmd-orange);
    font-size: 48px;
    font-family: Georgia, serif;
    line-height: 0.7;
}

.rmd-testimonial-card p {
    margin-bottom: 22px;
    color: var(--rmd-text-soft);
    font-size: 13px;
    line-height: 1.65;
}

.rmd-testimonial-card__footer {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rmd-testimonial-card__footer strong {
    color: var(--rmd-black);
    font-size: 12px;
}

.rmd-testimonial-card__footer span {
    color: var(--rmd-green-dark);
    font-size: 11px;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.rmd-final-cta {
    position: relative;
    overflow: hidden;
    color: var(--rmd-white);
    background:
        linear-gradient(
            90deg,
            #302b20 0%,
            #1c1a14 100%
        );
}

.rmd-final-cta__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(248, 160, 43, 0.12),
            transparent 36%
        );
}

.rmd-final-cta__inner {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 300px;
    padding-top: 54px;
    padding-bottom: 54px;
    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(320px, 0.8fr);
    align-items: center;
    gap: 70px;
}

.rmd-final-cta__content {
    max-width: 700px;
}

.rmd-final-cta__content h2 {
    max-width: 650px;
    margin-bottom: 16px;
    color: var(--rmd-white);
    font-size: clamp(36px, 4vw, 58px);
    letter-spacing: -0.03em;
}

.rmd-final-cta__content > p {
    max-width: 610px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
}

.rmd-final-cta__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.rmd-final-cta__contact a,
.rmd-final-cta__contact > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rmd-final-cta__contact strong {
    color: var(--rmd-white);
    font-size: 14px;
}

.rmd-final-cta__contact span {
    color: var(--rmd-green);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rmd-final-cta__action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.rmd-final-cta__button {
    min-width: 310px;
    min-height: 58px;
    font-size: 14px;
}

.rmd-final-cta__action p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
}