/* =========================================================
   FEATURE BAND
   Sección reusable con fondo de color, badge, texto, meta,
   bloque de imágenes laterales y mapa inferior.
   ========================================================= */

.feature-band {
    --fb-bg: #43b02a;
    --fb-badge-bg: #ffffff;
    --fb-badge-color: #43b02a;
    --fb-text-color: #ffffff;
    --fb-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);

    background: var(--fb-bg);
    color: var(--fb-text-color);
    overflow: hidden;
}

.feature-band--green {
    --fb-bg: #43b02a;
    --fb-badge-bg: #ffffff;
    --fb-badge-color: #43b02a;
    --fb-text-color: #ffffff;
}

.feature-band__inner {
    overflow-y: hidden;
    display: grid;
    grid-template-columns: 1fr minmax(400px, 1.2fr);
    gap: 2rem;
    align-items: stretch;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2.6rem 0 0;
}

.feature-band__content {
    padding: 0 clamp(1.25rem, 5vw, 4.75rem) 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-band__badge {
    position: relative;
    width: min(100%, 760px);
    margin-bottom: 2rem;
    z-index: 1;
}

.feature-band__badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100vw;
    right: 0;
    bottom: 0;
    background: var(--fb-badge-bg);
    border-radius: 0 34px 34px 0;
    box-shadow: var(--fb-shadow);
    z-index: -1;
}

.feature-band__badge span {
    display: inline-flex;
    align-items: center;
    min-height: 76px;
    padding: 0 2rem 0 1.6rem;
    color: var(--fb-badge-color);
    font-family: var(--font-body);
    font-size: clamp(1.35rem, 1.8vw, 2rem);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.feature-band__text {
    max-width: 760px;
}

.feature-band__text p {
    color: var(--fb-text-color);
    font-size: clamp(1.02rem, 1.2vw, 1.3rem);
    line-height: 1.38;
    letter-spacing: 0.01em;
}

.feature-band__meta {
    width: min(100%, 650px);
    margin-top: 1.8rem;
    padding: 1rem 1.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--fb-badge-color);
    box-shadow: var(--fb-shadow);
}

.feature-band__meta p {
    margin: 0;
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    line-height: 1.25;
    font-weight: 600;
}

.feature-band__media {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 1.2rem;
    padding-right: clamp(1rem, 3vw, 3rem);
}

.feature-band__photo {
    margin: 0;
    overflow: hidden;
    box-shadow: var(--fb-shadow);
}

/* Imagen izquierda (pequeña) */
.feature-band__photo--small {
    width: clamp(240px, 20vw, 320px);
    /* Antes 170px-220px */
    aspect-ratio: 0.72 / 1;
    border-radius: 500px 500px 0 0;
    /* La subimos un poco para que no quede tan enterrada */
    transform: translateY(15px);
}

/* Imagen derecha (grande) */
.feature-band__photo--tall {
    width: clamp(280px, 25vw, 400px);
    /* Antes 190px-250px */
    aspect-ratio: 0.76 / 1;
    border-radius: 500px 500px 0 0;
}

.feature-band__photo--small,
.feature-band__photo--tall {
    height: auto;
}

.feature-band__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.feature-band__map-frame {
    width: 100%;
    height: clamp(220px, 30vw, 360px);
    overflow: hidden;
}

.feature-band__map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* -------------------------
   TABLET Y MOBILE
   Ocultar imágenes laterales
   ------------------------- */

@media (max-width: 1100px) {
    .feature-band__inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 2rem;
    }

    .feature-band__media {
        display: none;
    }

    .feature-band__content {
        max-width: 820px;
        margin: 0 auto;
        padding: 0 1.4rem 2rem;
        align-items: center;
    }

    .feature-band__badge {
        width: auto;
        margin-bottom: 1.25rem;
    }

    .feature-band__badge::before {
        display: none;
    }

    .feature-band__badge span {
        min-height: 56px;
        padding: 0.9rem 1.35rem;
        border-radius: 999px;
        background: var(--fb-badge-bg);
        box-shadow: var(--fb-shadow);
        text-align: center;
        justify-content: center;
        font-size: clamp(1rem, 2.5vw, 1.35rem);
    }

    .feature-band__text {
        max-width: 760px;
    }

    .feature-band__text p {
        font-size: 1.05rem;
        line-height: 1.42;
    }

    .feature-band__meta {
        width: 100%;
        max-width: 760px;
        border-radius: 24px;
        margin-top: 1.3rem;
    }
}

@media (max-width: 700px) {
    .feature-band__content {
        padding: 0 1rem 1.6rem;
    }

    .feature-band__text p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .feature-band__meta {
        padding: 0.95rem 1rem;
    }

    .feature-band__meta p {
        font-size: 0.98rem;
    }

    .feature-band__map-img {
        min-height: 180px;
        max-height: 260px;
    }
}

/* =========================
   OVERRIDE #1
   ========================= */

/* =========================
   RANCHOS ESCUELA + MAPAS
   ========================= */

.feature-band__ranches-wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 4.75rem) 3rem;
}

.feature-band__ranches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.feature-ranch-card {
    display: grid;
    grid-template-rows: auto 280px;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--fb-shadow);
}

.feature-ranch-card__content {
    padding: 1.5rem 1.6rem 1.35rem;
}

.feature-ranch-card__kicker {
    margin: 0 0 0.4rem;
    color: var(--fb-badge-color);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-ranch-card__title {
    margin: 0;
    color: var(--fb-badge-color);
    font-size: clamp(1.35rem, 1.7vw, 2rem);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.feature-ranch-card__text {
    margin: 0.85rem 0 0;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.38;
}

.feature-ranch-card__meta {
    margin-top: 1rem;
    display: grid;
    gap: 0.3rem;
}

.feature-ranch-card__meta p {
    margin: 0;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.3;
}

.feature-ranch-card__meta strong {
    color: var(--fb-badge-color);
}

.feature-ranch-card__map {
    width: 100%;
    min-height: 280px;
    background: #d9d9d9;
}

.feature-ranch-card__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* -------------------------
   TABLET
   ------------------------- */

@media (max-width: 1100px) {
    .feature-band__ranches-wrap {
        max-width: 820px;
        padding: 0 1.4rem 2.4rem;
    }

    .feature-band__ranches {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .feature-ranch-card {
        grid-template-rows: auto 300px;
        border-radius: 28px;
    }
}

/* -------------------------
   MOBILE
   ------------------------- */

@media (max-width: 700px) {
    .feature-band__ranches-wrap {
        padding: 0 1rem 2rem;
    }

    .feature-ranch-card {
        grid-template-rows: auto 240px;
        border-radius: 24px;
    }

    .feature-ranch-card__content {
        padding: 1.15rem 1rem 1rem;
    }

    .feature-ranch-card__title {
        font-size: 1.25rem;
    }

    .feature-ranch-card__text {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .feature-ranch-card__meta p {
        font-size: 0.92rem;
    }

    .feature-ranch-card__map {
        min-height: 240px;
    }
}

/* =========================
   OVERRIDE #2
   ========================= */
/* =========================================================
   FIELD DAY RANCHES SUBSECTION
   ========================================================= */

.field-day-ranches {
    padding: 4rem 0 4.5rem;
    background: rgba(255, 255, 255, 0.72);
}

.field-day-ranches__head {
    max-width: 920px;
    margin: 0 auto 2.2rem;
    text-align: center;
}

.field-day-ranches__head .section-badge {
    width: min(100%, 520px);
    justify-content: center;
    margin: 0 auto 1rem;
}

.field-day-ranches__intro {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(1.05rem, 1.25vw, 1.35rem);
    line-height: 1.4;
}

.field-day-ranches__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.field-day-ranch-card {
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.field-day-ranch-card__content {
    padding: 1.7rem 1.7rem 1.45rem;
}

.field-day-ranch-card__kicker {
    margin: 0 0 0.45rem;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-day-ranch-card__title {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(1.45rem, 1.8vw, 2.1rem);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.field-day-ranch-card__text {
    margin: 0.85rem 0 0;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.38;
}

.field-day-ranch-card__meta {
    margin-top: 1rem;
    display: grid;
    gap: 0.25rem;
}

.field-day-ranch-card__meta p {
    margin: 0;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.3;
}

.field-day-ranch-card__meta strong {
    color: var(--color-primary);
}

.field-day-ranch-card__map {
    width: 100%;
    height: clamp(240px, 24vw, 340px);
    background: #d9d9d9;
}

.field-day-ranch-card__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* -------------------------
   TABLET
   ------------------------- */

@media (max-width: 1100px) {
    .field-day-ranches {
        padding: 3.5rem 0 4rem;
    }

    .field-day-ranches__grid {
        grid-template-columns: 1fr;
        max-width: 820px;
        margin: 0 auto;
    }

    .field-day-ranch-card {
        border-radius: 28px;
    }

    .field-day-ranch-card__map {
        height: 300px;
    }
}

/* -------------------------
   MOBILE
   ------------------------- */

@media (max-width: 700px) {
    .field-day-ranches {
        padding: 3rem 0 3.5rem;
    }

    .field-day-ranches__head {
        margin-bottom: 1.5rem;
    }

    .field-day-ranches__head .section-badge {
        width: 100%;
    }

    .field-day-ranches__intro {
        font-size: 1rem;
        line-height: 1.4;
    }

    .field-day-ranch-card {
        border-radius: 24px;
    }

    .field-day-ranch-card__content {
        padding: 1.2rem 1rem 1.05rem;
    }

    .field-day-ranch-card__title {
        font-size: 1.25rem;
    }

    .field-day-ranch-card__text {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .field-day-ranch-card__meta p {
        font-size: 0.92rem;
    }

    .field-day-ranch-card__map {
        height: 240px;
    }
}