/* ==========================================================================
   FLDM HOME EDITORIAL HERO STYLES (STITCH EDITORIAL PRESTIGE — 2-ROW COMPOSITION)
   ========================================================================== */

.hero-home-editorial {
    width: 100%;
    background-color: var(--bg-canvas, #FAF9F7);
    background: var(--bg-canvas, #FAF9F7);
    padding-top: 64px;
    padding-bottom: 88px;
    border-bottom: 1px solid var(--border-color, #E5E3DD);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.hero-home-container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 0 32px;
    box-sizing: border-box;
}

/* Subtle Top Wine Dash Marker */
.hero-home-wine-dash {
    width: 32px;
    height: 4px;
    background: var(--fldm-wine, #8B2332);
    margin-bottom: 32px;
}

/* Fila 1: Declaración Editorial y Acciones Asimétricas */
.hero-home-statement-row {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 56px;
    align-items: flex-start;
    margin-bottom: 48px;
    box-sizing: border-box;
}

.hero-home-statement-left {
    min-width: 0;
    text-align: left;
}

.hero-home-editorial__eyebrow,
.hero-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fldm-wine, #8B2332);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* H1: Gran escala editorial, tipografía Playfair Display */
.hero-home-editorial__h1,
.hero-home-h1 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 76px;
    font-weight: 700;
    line-height: 0.98;
    color: var(--text-main, #1A1A1A);
    letter-spacing: -0.02em;
    margin: 0;
    text-align: left;
    width: 100%;
}

.hero-home-statement-right {
    min-width: 0;
    text-align: left;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Subtítulo: Lectura clara, tipografía editorial */
.hero-home-editorial__subtitle,
.hero-home-sub {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--fldm-gris-text, #2D3748);
    max-width: 520px;
    margin: 0;
    text-align: left;
}

/* Grupo de CTAs: Botones con geometría 0px */
.hero-home-editorial__actions,
.hero-home-cta-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.hero-home-btn-primary {
    background: var(--fldm-wine, #8B2332) !important;
    color: #FFFFFF !important;
    padding: 14px 28px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border-radius: 0px !important;
    border: 1px solid var(--fldm-wine, #8B2332) !important;
    text-decoration: none !important;
    min-height: 48px !important;
    transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-home-btn-primary:hover {
    background: var(--fldm-wine-dark, #5A141E) !important;
    border-color: var(--fldm-wine-dark, #5A141E) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(139, 35, 50, 0.25) !important;
}

.hero-home-btn-secondary {
    background: transparent !important;
    color: var(--fldm-wine, #8B2332) !important;
    border: 1px solid var(--fldm-wine, #8B2332) !important;
    padding: 14px 28px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border-radius: 0px !important;
    text-decoration: none !important;
    min-height: 48px !important;
    transition: background 150ms ease, color 150ms ease, transform 150ms ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-home-btn-secondary:hover {
    background: var(--fldm-wine, #8B2332) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}

/* Fila 2: Gran Fotografía Documental de Portada (Ancho Completo de Contenedor) */
.hero-home-media-row {
    width: 100%;
    box-sizing: border-box;
}

.hero-home-editorial__media-frame,
.hero-home-media-frame {
    width: 100%;
    background-color: #FFFFFF;
    background: #FFFFFF;
    border: 1px solid var(--border-color, #E5E3DD);
    border-radius: 0px;
    padding: 16px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .hero-home-editorial__media-frame,
    .hero-home-media-frame {
        padding: 12px;
    }
}

.hero-home-editorial__media-wrapper,
.hero-home-photo-wrapper {
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 520px;
    min-height: 380px;
    border-radius: 0px;
    overflow: hidden;
    position: relative;
    background-color: var(--fldm-recessed, #F4F3F0);
}

.hero-home-editorial__media img,
.hero-home-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-home-editorial__media-frame:hover .hero-home-editorial__media img,
.hero-home-editorial__media-frame:hover .hero-home-photo-img,
.hero-home-editorial__media-frame:hover img,
.hero-home-editorial__media-wrapper:hover .hero-home-editorial__media img,
.hero-home-editorial__media-wrapper:hover .hero-home-photo-img,
.hero-home-editorial__media-wrapper:hover img,
.hero-home-photo-wrapper:hover .hero-home-photo-img,
.hero-home-photo-wrapper:hover img {
    transform: scale(1.018);
}

@media (prefers-reduced-motion: reduce) {
    .hero-home-editorial__media img,
    .hero-home-photo-img {
        transition: none !important;
        transform: none !important;
    }
}

.hero-home-media-caption {
    position: absolute;
    bottom: 16px;
    left: 20px;
    background: rgba(26, 26, 26, 0.78);
    backdrop-filter: blur(4px);
    color: #FAF9F7;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    border-radius: 0px;
}

.hero-home-caption-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E53E3E;
    display: inline-block;
}

/* Backward compatibility classes */
.hero-home-editorial__inner {
    width: 100%;
}
.hero-home-editorial__content {
    width: 100%;
}
.hero-home-editorial__media {
    width: 100%;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-home-editorial {
        padding-top: 56px;
        padding-bottom: 72px;
    }

    .hero-home-container {
        padding: 0 24px;
    }

    .hero-home-statement-row {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 36px;
    }

    .hero-home-editorial__h1,
    .hero-home-h1 {
        font-size: 56px;
        line-height: 1.08;
    }

    .hero-home-editorial__subtitle,
    .hero-home-sub {
        font-size: 19px;
        max-width: 100%;
        margin-bottom: 0;
    }

    .hero-home-editorial__media-wrapper,
    .hero-home-photo-wrapper {
        aspect-ratio: 16 / 9;
        min-height: 320px;
        max-height: 420px;
    }
}

@media (max-width: 768px) {
    .hero-home-editorial {
        padding-top: 44px;
        padding-bottom: 56px;
    }

    .hero-home-container {
        padding: 0 20px;
    }

    .hero-home-wine-dash {
        margin-bottom: 20px;
    }

    .hero-home-statement-row {
        gap: 24px;
        margin-bottom: 28px;
    }

    .hero-home-editorial__h1,
    .hero-home-h1 {
        font-size: 40px;
        line-height: 1.15;
    }

    .hero-home-editorial__subtitle,
    .hero-home-sub {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .hero-home-editorial__media-wrapper,
    .hero-home-photo-wrapper {
        aspect-ratio: 16 / 10;
        min-height: 240px;
        max-height: 340px;
    }

    .hero-home-media-caption {
        bottom: 12px;
        left: 12px;
        font-size: 10px;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .hero-home-editorial {
        padding-top: 36px;
        padding-bottom: 44px;
    }

    .hero-home-container {
        padding: 0 16px;
    }

    .hero-home-statement-row {
        gap: 20px;
        margin-bottom: 24px;
    }

    .hero-home-editorial__h1,
    .hero-home-h1 {
        font-size: 40px;
        line-height: 1.15;
    }

    .hero-home-editorial__subtitle,
    .hero-home-sub {
        font-size: 16px;
        line-height: 1.55;
        margin-bottom: 0;
    }

    .hero-home-editorial__actions,
    .hero-home-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-home-btn-primary,
    .hero-home-btn-secondary {
        width: 100%;
        max-width: 100%;
        padding: 14px 16px !important;
        text-align: center;
        box-sizing: border-box;
        font-size: 13px !important;
    }

    .hero-home-editorial__media-wrapper,
    .hero-home-photo-wrapper {
        aspect-ratio: 16 / 10;
        min-height: 200px;
        max-height: 260px;
    }
}

/* ==========================================================================
   TEACHING METHOD CTA INTERACTIVE STATES (HOME BLOCK 4)
   ========================================================================== */
.teaching-method-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0px;
    border: 1px solid var(--fldm-wine, #8B2332);
    background-color: transparent;
    color: var(--fldm-wine, #8B2332);
    min-height: 44px;
    box-sizing: border-box;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.teaching-method-cta:hover {
    background-color: var(--fldm-wine, #8B2332) !important;
    color: #FFFFFF !important;
    border-color: var(--fldm-wine, #8B2332) !important;
    transform: translateY(-1px);
}

.teaching-method-cta:hover span,
.teaching-method-cta:hover * {
    color: #FFFFFF !important;
}

.teaching-method-cta:focus-visible {
    outline: 2px solid var(--fldm-wine, #8B2332);
    outline-offset: 2px;
    color: var(--fldm-wine, #8B2332);
}

.teaching-method-cta:hover:focus-visible {
    color: #FFFFFF !important;
}

.teaching-method-cta:active {
    background-color: var(--fldm-wine-dark, #5A141E) !important;
    color: #FFFFFF !important;
    border-color: var(--fldm-wine-dark, #5A141E) !important;
}

