/* =====================================================
   ranchos.css — Directorio y Detalle de Ranchos
   ===================================================== */

/* ── HEADER DE RANCHOS (Directorio) ── */
.ranch-header {
    background: var(--ch);
    color: #fff;
    padding: 80px 0;
    margin-bottom: 50px;
    border-bottom: 4px solid var(--red);
}

.ranch-header-tag {
    color: #e87877;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.ranch-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.ranch-header h1 em {
    color: #e87877;
    font-style: normal;
}

/* ── GRID DEL DIRECTORIO (Index) ── */
.ranch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding-bottom: 80px;
}

.ranch-card {
    background: #fff;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    padding: 30px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.ranch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-hover);
}

.ranch-card-logo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    padding: 15px;
}

.ranch-card-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ranch-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ch);
    margin-bottom: 5px;
}

.ranch-card-lema {
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.ranch-card-resumen {
    color: var(--lgray);
    font-size: 13px;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 20px;
}

.ranch-card-footer {
    border-top: 1px solid var(--beige);
    padding-top: 15px;
    font-size: 13px;
    color: var(--ch);
}

/* ── DETALLE DEL RANCHO ── */
.ranch-detail-banner {
    background: var(--ch);
    color: #fff;
    padding: 100px 0;
    border-bottom: 5px solid var(--red);
}

.ranch-detail-logo-wrap {
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: var(--r-lg);
    border: 5px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ranch-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    margin: 10px 0 5px;
}

.ranch-detail-lema {
    font-style: italic;
    color: var(--lgray);
    font-size: 1.4rem;
}

.ranch-about-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--ch);
}

.ranch-resumen-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 50px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) { .ranch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .ranch-detail-title { font-size: 36px; } }