/* texas-ranch.css */

:root {
    --color-ranch-dark: #2D1F1A;
    --color-ranch-champagne: #F7E9D7;
    --color-ranch-leather: #D1A6AD;
    --color-ranch-gold: #C5A059;
}

body {
    background-color: var(--color-petal, #FFF8FA);
    font-family: var(--font-body, 'Inter', sans-serif);
    color: var(--color-ranch-dark);
}

.texas-ranch-page {
    padding-top: var(--header-height, 80px);
}

/* ═══════════════════════════════════════
   HERO BANNER
   ═══════════════════════════════════════ */
.ranch-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Each slide sits stacked, cross-fading */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: sepia(0.2) brightness(0.6);
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 31, 26, 0.9) 0%, rgba(45, 31, 26, 0.3) 50%, rgba(45, 31, 26, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    color: #fff;
}

.hero-sparkle {
    display: block;
    font-family: var(--font-accent, 'Playfair Display', serif);
    color: #FFE5A3; /* Brighter, elegant champagne gold */
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(197, 160, 89, 0.4);
}

.ranch-hero h1 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--color-ranch-champagne);
}

.ranch-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
}

.btn-ranch-gold {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-ranch-gold), #A67E3A);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
    border: none;
    cursor: pointer;
}

.btn-ranch-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(197, 160, 89, 0.4);
    background: linear-gradient(135deg, #A67E3A, var(--color-ranch-gold));
}

/* ═══════════════════════════════════════
   BENTO GRID PROTOCOL
   ═══════════════════════════════════════ */
.ranch-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 2.5rem;
    color: var(--color-ranch-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary, #666);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bento-item {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(45, 31, 26, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(209, 166, 173, 0.2);
}

.bento-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(45, 31, 26, 0.1);
}

.bento-img {
    height: 220px;
    width: 100%;
}

.bento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-content {
    padding: 30px;
}

.bento-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.bento-content h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-ranch-dark);
}

.bento-content p {
    color: var(--color-text-secondary, #666);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════
   RULES GLASSMORPHISM
   ═══════════════════════════════════════ */
.rules-section {
    background: var(--color-ranch-dark);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.rules-bg-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.rules-container {
    max-width: 1150px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    position: relative;
    z-index: 1;
}

.rules-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    color: var(--color-ranch-champagne);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

.rules-columns-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 992px) {
    .rules-columns-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.rule-list {
    list-style: none;
    padding: 0;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.6;
}

.rule-icon {
    flex-shrink: 0;
    color: var(--color-ranch-gold);
    font-size: 1.2rem;
}

/* ═══════════════════════════════════════
   APPLICATION FORM
   ═══════════════════════════════════════ */
.application-section {
    background: url('../images/bdsm_tx.jpg') no-repeat center center;
    background-size: cover;
    padding: 50px 20px;
    position: relative;
}

/* Desktop: la sección ocupa exactamente el espacio visible bajo el header sticky */
@media (min-width: 1024px) {
    .application-section {
        min-height: calc(100dvh - var(--header-height));
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 80px 40px;
    }

    /* 2-column layout for step 1 field pairs */
    .form-row-2col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }
}

.application-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 14, 20, 0.35); /* Elegant dark-burgundy overlay with lower opacity */
    z-index: 1;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 35px 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(209, 166, 173, 0.3);
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .form-wrapper {
        max-width: 1200px;
        padding: 55px 70px;
    }
}

@media (min-width: 1200px) {
    .form-wrapper {
        max-width: 1200px;
    }
}

.progress-bar-container {
    height: 4px;
    background: #EEDBE0;
    border-radius: 4px;
    margin-bottom: 25px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-ranch-leather), var(--color-ranch-gold));
    width: 33.33%;
    transition: width 0.5s var(--ease-spring, ease-out);
}

.step-indicator {
    text-align: center;
    font-weight: 700;
    color: var(--color-ranch-leather);
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-step {
    display: none;
    animation: fadeInRight 0.5s var(--ease-spring, ease-out) forwards;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-ranch-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1.5px solid rgba(209, 166, 173, 0.5);
    border-radius: 12px;
    background: #fff;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1rem;
    color: var(--color-ranch-dark);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-ranch-gold);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed rgba(209, 166, 173, 0.6);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Desktop: dropzone izquierda, lista de archivos derecha */
.file-upload-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 1024px) {
    .file-upload-layout {
        flex-direction: row;
        align-items: stretch;
        gap: 24px;
    }

    .file-upload-layout .file-upload-wrapper {
        flex: 0 0 45%;
        min-height: 160px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 30px 20px;
    }

    .file-upload-layout .uploaded-files-list {
        flex: 1;
        margin-top: 0;
        overflow-y: auto;
        max-height: 260px;
    }
}

.file-upload-wrapper:hover {
    border-color: var(--color-ranch-gold);
    background: rgba(197, 160, 89, 0.02);
}

.file-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content i {
    font-size: 2.5rem;
    color: var(--color-ranch-leather);
    margin-bottom: 15px;
}

.file-upload-content p {
    color: var(--color-text-secondary, #666);
    font-size: 0.95rem;
    margin: 0;
}

.file-name-display {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    color: var(--color-ranch-gold);
    word-break: break-all;
}

/* Multiple file items, progress bars, and delete buttons */
.uploaded-files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    background: #fff;
    border: 1px solid rgba(209, 166, 173, 0.4);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.file-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 85%;
}

.file-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-ranch-dark);
    word-break: break-all;
}

.file-meta {
    font-size: 0.8rem;
    color: #888;
}

.btn-remove-file {
    background: transparent;
    border: none;
    color: #e53935;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-file:hover {
    background-color: #ffebee;
}

.file-progress-bar {
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
}

.file-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-ranch-leather), var(--color-ranch-gold));
    width: 0%;
    transition: width 0.3s ease;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid var(--color-ranch-leather);
    color: var(--color-ranch-dark);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(209, 166, 173, 0.1);
}

/* Security Footer */
.security-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(209, 166, 173, 0.3);
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-ranch-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ranch-hero {
        height: auto;
        min-height: auto;
        padding: 120px 20px 80px 20px;
    }
    .ranch-hero h1 {
        font-size: 2.8rem;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .ranch-section {
        padding: 60px 20px;
    }
    .section-title,
    .section-subtitle,
    .ranch-cta-wrapper {
        padding-left: 4px;
        padding-right: 4px;
    }
    .rules-container {
        padding: 30px 20px;
    }
    .form-wrapper {
        padding: 30px 20px;
    }
    .form-actions {
        flex-direction: column-reverse;
        gap: 15px;
    }
    .btn-secondary, .btn-ranch-gold {
        width: 100%;
        text-align: center;
    }
}


/* ═══════════════════════════════════════
   OPEN POSITIONS (job cards)
   ═══════════════════════════════════════ */
.positions-section {
    position: relative;
    background: var(--color-ranch-dark);
    padding: 100px 0 0;
    overflow: hidden;
}

.positions-bg-overlay {
    position: absolute;
    top: -30%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.positions-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.positions-header {
    text-align: center;
    margin-bottom: 60px;
}

.positions-eyebrow {
    display: block;
    font-family: var(--font-accent, 'Dancing Script', cursive);
    color: var(--color-ranch-gold);
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin-bottom: 12px;
    opacity: 0.85;
}

.positions-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    color: var(--color-ranch-champagne);
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.15;
}

.positions-subtitle {
    color: rgba(247, 233, 215, 0.6);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

/* Job Card */
.job-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.job-card:hover {
    border-color: rgba(197, 160, 89, 0.55);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.job-card--dark {
    background: rgba(197, 160, 89, 0.06);
    border-color: rgba(197, 160, 89, 0.35);
}

.job-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.job-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
    filter: brightness(0.85);
}

.job-card:hover .job-card-img-wrapper img {
    transform: scale(1.05);
    filter: brightness(0.95);
}

.job-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(20, 10, 14, 0.75);
    color: var(--color-ranch-champagne);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.job-card-badge--gold {
    background: rgba(197, 160, 89, 0.85);
    color: var(--color-ranch-dark);
    border-color: transparent;
}

.job-card-body {
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

.job-card-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    color: var(--color-ranch-champagne);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Spec list — the "job description" rows */
.job-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    flex: 1;
}

.job-spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.job-spec-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-ranch-gold);
    white-space: nowrap;
    flex-shrink: 0;
}

.job-spec-value {
    font-size: 0.88rem;
    color: rgba(247, 233, 215, 0.75);
    line-height: 1.5;
    text-align: right;
}

.btn-job-apply {
    display: inline-block;
    text-decoration: none;
    background: transparent;
    border: 1.5px solid rgba(197, 160, 89, 0.5);
    color: var(--color-ranch-gold);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 4px;
    cursor: pointer;
}

.btn-job-apply:hover {
    background: var(--color-ranch-gold);
    color: var(--color-ranch-dark);
    border-color: var(--color-ranch-gold);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
}

.btn-job-apply--gold {
    background: var(--color-ranch-gold);
    color: var(--color-ranch-dark);
    border-color: var(--color-ranch-gold);
}

.btn-job-apply--gold:hover {
    background: #d4b06a;
    border-color: #d4b06a;
}

/* Night banner at the bottom of section */
.positions-night-banner {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    margin: 0 -20px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.positions-night-img {
    position: absolute;
    inset: 0;
}

.positions-night-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.55);
}

.positions-night-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,10,14,0.85) 0%, rgba(20,10,14,0.3) 100%);
}

.positions-night-text {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 24px;
    max-width: 740px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.positions-night-quote {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-ranch-champagne);
    line-height: 1.7;
    margin: 0;
    opacity: 0.92;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .role-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .role-card-img-wrapper {
        height: 260px;
    }
    .positions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .positions-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .choose-role-section {
        padding: 60px 0;
    }
    .positions-section {
        padding-top: 70px;
    }
    .positions-title {
        font-size: 1.9rem;
    }
    .positions-night-banner {
        margin: 0 -20px;
        min-height: 300px;
    }
    .positions-night-quote {
        font-size: 1.1rem;
    }
    .job-card-img-wrapper {
        height: 200px;
    }
    .job-spec-list li {
        flex-direction: column;
        gap: 3px;
        padding: 10px 0;
    }
    .job-spec-value {
        text-align: left;
    }
    .role-card-img-wrapper {
        height: 220px;
    }
    .role-card-body {
        padding: 22px 20px 26px;
    }
    .role-card-title {
        font-size: 1.45rem;
    }
}

/* ═══════════════════════════════════════
   BDSM SISSY SESSION SECTION
   ═══════════════════════════════════════ */
.session-section {
    background: #fff;
    padding: 90px 0;
}

.session-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.session-eyebrow {
    display: block;
    font-family: var(--font-accent, 'Dancing Script', cursive);
    color: var(--color-ranch-leather);
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.session-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    color: var(--color-ranch-dark);
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
}

.session-lead {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.session-lead strong {
    color: var(--color-ranch-dark);
}

.session-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.session-list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 0.97rem;
    color: #444;
    line-height: 1.5;
}

.session-list li span {
    flex-shrink: 0;
    font-size: 1rem;
}

.session-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(45, 31, 26, 0.15);
    border: 1.5px solid rgba(197, 160, 89, 0.25);
    aspect-ratio: 4 / 5;
}

.session-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.session-img-wrapper:hover img {
    transform: scale(1.04);
}

/* ═══════════════════════════════════════
   BDSM SISSY DUNGEON SECTION
   ═══════════════════════════════════════ */
.dungeon-section {
    position: relative;
    background: var(--color-ranch-dark);
    padding: 90px 0;
    overflow: hidden;
}

.dungeon-bg-overlay {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.dungeon-container {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.dungeon-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    color: var(--color-ranch-champagne);
    font-size: 2.4rem;
    font-weight: 700;
    margin: 8px 0 16px;
    line-height: 1.15;
}

.dungeon-lead {
    color: rgba(247, 233, 215, 0.65);
    font-size: 1.05rem;
    max-width: 660px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.dungeon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Card — ahora con imagen */
.dungeon-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 18px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: border-color 0.35s ease, background 0.35s ease,
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease;
    /* tap highlight desactivado en móvil */
    -webkit-tap-highlight-color: transparent;
}

.dungeon-card:hover,
.dungeon-card:focus-within {
    border-color: rgba(197, 160, 89, 0.55);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
}

/* Imagen */
.dungeon-card-img {
    position: relative;
    width: 100%;
    /* ratio fijo 16:10 — equilibrado para portrait e landscape */
    aspect-ratio: 16 / 10;
    overflow: hidden;
    flex-shrink: 0;
}

.dungeon-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease, filter 0.35s ease;
    filter: brightness(0.82) saturate(0.9);
}

.dungeon-card:hover .dungeon-card-img img,
.dungeon-card:focus-within .dungeon-card-img img {
    transform: scale(1.06);
    filter: brightness(0.95) saturate(1);
}

/* Badge sobre la imagen */
.dungeon-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(20, 10, 14, 0.72);
    color: var(--color-ranch-champagne);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /* mínimo 44px de touch target en height */
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    pointer-events: none; /* badge es decorativo */
}

.dungeon-card-badge--gold {
    background: rgba(197, 160, 89, 0.88);
    color: var(--color-ranch-dark);
    border-color: transparent;
}

/* Cuerpo de texto */
.dungeon-card-body {
    padding: 22px 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dungeon-card-body h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    color: var(--color-ranch-champagne);
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}

.dungeon-card-body p {
    color: rgba(247, 233, 215, 0.62);
    font-size: 0.875rem;
    line-height: 1.62;
    margin: 0;
}

.dungeon-disclaimer {
    color: rgba(247, 233, 215, 0.4);
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
}

/* ═══════════════════════════════════════
   RESPONSIVE — SESSION & DUNGEON
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .dungeon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .session-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .session-img-wrapper {
        aspect-ratio: 16 / 9;
        order: -1;
    }

    .session-title {
        font-size: 1.9rem;
    }

    .dungeon-title {
        font-size: 1.9rem;
    }

    /* 2 columnas en tablet portrait — imagen tiene aspect-ratio auto */
    .dungeon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .dungeon-card-img {
        aspect-ratio: 4 / 3;
    }

    .dungeon-card-body {
        padding: 16px 16px 18px;
    }

    .dungeon-card-body h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* 1 columna en móvil — imagen más alta para impacto visual */
    .dungeon-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dungeon-card-img {
        aspect-ratio: 16 / 9;
    }

    /* Touch: área activa mínima 44px garantizada por padding del body */
    .dungeon-card-body {
        padding: 18px 18px 20px;
        gap: 10px;
    }

    /* Animación reducida en móvil para respetar prefers-reduced-motion */
    @media (prefers-reduced-motion: no-preference) {
        .dungeon-card:active {
            transform: scale(0.98);
        }
    }
}

/* ═══════════════════════════════════════
   PROTOCOL VIDEO BACKGROUND & BENTO CARDS
   ═══════════════════════════════════════ */
.protocol-video-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    color: #fff;
    background-color: #000;
}

.protocol-video-section .video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.protocol-video-section .bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.protocol-video-section .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Overlay oscuro con mayor opacidad */
    z-index: 2;
}

.protocol-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
}

.protocol-video-section .text-light {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.protocol-video-section .section-subtitle.text-light {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Bento items con fondo blanco en sección de vídeo oscuro */
.bento-item.bg-white-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.bento-item.bg-white-card .bento-content h3 {
    color: #1a1a1a !important;
}

.bento-item.bg-white-card .bento-content p {
    color: #444444 !important;
}

/* ═══════════════════════════════════════
   SURGICAL GREEN MEDICAL PROCEDURES SECTION
   ═══════════════════════════════════════ */
.dungeon-section.medical-procedures-section {
    background: linear-gradient(135deg, #021a15 0%, #062620 35%, #031c17 65%, #052c24 100%);
    background-size: 300% 300%;
    animation: surgicalBreathe 16s ease-in-out infinite;
    border-top: 1px solid rgba(46, 139, 87, 0.25);
    border-bottom: 1px solid rgba(46, 139, 87, 0.25);
}

.dungeon-section.medical-procedures-section .dungeon-bg-overlay {
    background: radial-gradient(circle at 70% 80%, rgba(46, 204, 113, 0.12) 0%, transparent 60%);
}

.dungeon-section.medical-procedures-section .dungeon-card {
    background: rgba(2, 26, 21, 0.5) !important;
    border: 1px solid rgba(46, 139, 87, 0.35) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dungeon-section.medical-procedures-section .dungeon-card:hover {
    border-color: rgba(46, 204, 113, 0.8) !important;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.25);
    transform: translateY(-5px);
}

.dungeon-section.medical-procedures-section .dungeon-card-badge {
    background: rgba(46, 139, 87, 0.95) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(46, 139, 87, 0.4);
}

.dungeon-section.medical-procedures-section .dungeon-card-badge.dungeon-card-badge--gold {
    background: #27ae60 !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.4);
}

.dungeon-section.medical-procedures-section .session-eyebrow {
    color: #a3ffd6 !important;
}

.page-bdsm-medical .hero-sparkle {
    color: #a3ffd6 !important;
}

.page-bdsm-medical .hero-overlay {
    background: linear-gradient(to bottom, rgba(2, 26, 21, 0.35), rgba(2, 26, 21, 0.85)) !important;
}

.page-bdsm-medical .protocol-video-section .video-overlay {
    background: rgba(2, 26, 21, 0.75) !important;
}

.page-bdsm-medical .session-section .session-eyebrow {
    color: #082d25 !important;
}

/* Light surgical green buttons */
.page-bdsm-medical .btn-ranch-gold {
    background: #2ecc71 !important;
    background-image: none !important;
    border-color: #27ae60 !important;
    color: #021a15 !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3) !important;
    font-weight: 700 !important;
}

.page-bdsm-medical .btn-ranch-gold:hover {
    background: #a3ffd6 !important;
    background-image: none !important;
    border-color: #2ecc71 !important;
    box-shadow: 0 6px 20px rgba(163, 255, 214, 0.5) !important;
    color: #021a15 !important;
}

@keyframes surgicalBreathe {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


