@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Variables de diseño con tema de lujo sensual */
:root {
    --bg-main: #0a0609;
    --bg-card: rgba(22, 14, 20, 0.6);
    --bg-input: rgba(15, 9, 14, 0.8);
    --border-color: rgba(212, 175, 55, 0.15);
    --border-hover: rgba(212, 175, 55, 0.4);
    
    --accent-gold: #d4af37;
    --accent-gold-hover: #f3e5ab;
    --accent-burgundy: #800020;
    --accent-burgundy-hover: #9b111e;
    --accent-rose: #e0115f;
    --accent-green: #2ecc71;
    
    --text-primary: #f5ebe6;
    --text-secondary: #c5a059;
    --text-muted: #8c828a;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.15);
    --shadow-gold-hover: 0 0 25px rgba(212, 175, 55, 0.3);
    --shadow-burgundy: 0 0 15px rgba(128, 0, 32, 0.3);
}

/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(128, 0, 32, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-burgundy);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--accent-gold-hover);
}

/* Estilos de tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.text-gold {
    color: var(--text-secondary);
    background: linear-gradient(135deg, #d4af37, #f3e5ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contenedor principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabecera y Navegación */
header {
    background: rgba(10, 6, 9, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 45px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-main);
    box-shadow: var(--shadow-gold-hover);
}

/* Pantalla de bloqueo / Login de Clientes */
.gate-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.gate-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    padding: 40px 30px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8), var(--shadow-gold);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.gate-logo {
    height: 90px;
    margin-bottom: 20px;
}

.gate-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.gate-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Formularios de Lujo */
.form-group {
    margin-bottom: 22px;
    text-align: left;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.form-input::placeholder {
    color: rgba(245, 235, 230, 0.25);
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: left;
    border-left: 4px solid transparent;
}

.alert-danger {
    background: rgba(155, 17, 30, 0.15);
    border-color: var(--accent-rose);
    color: #ff8c94;
}

.alert-success {
    background: rgba(46, 204, 113, 0.15);
    border-color: var(--accent-green);
    color: #a3e4d7;
}

/* Botón Lujoso */
.btn-gold {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-gold), #b3922e);
    border: none;
    color: #0a0609;
    padding: 14px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #f3e5ab, var(--accent-gold));
}

.btn-gold:active {
    transform: translateY(0);
}

.btn-burgundy {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-burgundy), #5d0016);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-burgundy:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-burgundy-hover), var(--accent-burgundy));
    box-shadow: var(--shadow-burgundy);
}

/* Galería de Chicas (Main Dashboard) */
.gallery-section {
    padding: 40px 0 80px;
}

.section-title-container {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Filtros */
.filter-bar {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.filter-group {
    flex: 1 1 200px;
}

.filter-select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    padding: 10px;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* Grid de Modelos */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Card de Modelo */
.model-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold-hover);
}

.model-img-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #110c10;
}

.model-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.model-card:hover .model-img {
    transform: scale(1.05);
}

/* Badges */
.badge-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(5px);
}

.badge-online {
    background: rgba(46, 204, 113, 0.25);
    border: 1px solid var(--accent-green);
    color: #a3e4d7;
}

.badge-online::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

.badge-offline {
    background: rgba(140, 130, 138, 0.25);
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

.badge-offline::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.badge-nationality {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 10;
    background: rgba(10, 6, 9, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-secondary);
}

.model-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.model-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.model-name {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.model-age {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.model-rate {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.model-desc-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-profile-details {
    width: 100%;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.model-card:hover .btn-profile-details {
    background: var(--accent-gold);
    color: var(--bg-main);
}

/* Página de Detalle de Modelo */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 40px 0 80px;
}

@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb-img {
    aspect-ratio: 1/1;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

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

.thumb-img:hover, .thumb-img.active {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.detail-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

.detail-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-title {
    font-size: 2.5rem;
}

.detail-status-badge {
    display: inline-flex;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
}

.detail-description {
    font-size: 1rem;
    color: rgba(245, 235, 230, 0.85);
    line-height: 1.8;
}

/* WhatsApp Botón Sensual */
.btn-whatsapp-large {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #34e073, #25d366);
}

/* WhatsApp Float Button (Para todas las páginas si es necesario) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(37, 211, 102, 0.3);
    z-index: 999;
    font-size: 30px;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20ba5a;
}

/* Tablas Modernas */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.modern-table th, .modern-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.modern-table th {
    background: rgba(20, 12, 18, 0.9);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.modern-table tr:hover {
    background: rgba(212, 175, 55, 0.03);
}

.modern-table td {
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Dashboard Módulos de Administración */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Formularios rápidos del admin (en línea) */
.admin-action-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-action-title {
    font-size: 1.25rem;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--text-secondary);
}

/* Acciones en Tablas (Botones pequeños) */
.btn-action {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-action-approve {
    background: rgba(46, 204, 113, 0.15);
    border-color: var(--accent-green);
    color: #a3e4d7;
}

.btn-action-approve:hover {
    background: var(--accent-green);
    color: black;
}

.btn-action-suspend {
    background: rgba(128, 0, 32, 0.15);
    border-color: var(--accent-burgundy);
    color: #ff8c94;
}

.btn-action-suspend:hover {
    background: var(--accent-burgundy);
    color: white;
}

.btn-action-delete {
    background: rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
    color: #f5b041;
}

.btn-action-delete:hover {
    background: #e74c3c;
    color: white;
}

.btn-action-edit {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    color: var(--text-secondary);
}

.btn-action-edit:hover {
    background: var(--accent-gold);
    color: black;
}

/* Footer elegante */
footer {
    background: #070406;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 80px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-warning {
    font-size: 0.75rem;
    color: var(--accent-burgundy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    font-weight: 600;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive grid helper */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 576px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .gate-card {
        padding: 30px 20px;
    }
}

/* Subida de foto estilización */
.photo-upload-container {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
    background: var(--bg-input);
}

.photo-upload-container:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.02);
}

.photo-upload-icon {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.photo-upload-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Vista previa de imagen */
.img-preview {
    width: 100%;
    max-width: 150px;
    height: 200px;
    border-radius: 6px;
    object-fit: cover;
    margin-top: 10px;
    border: 1px solid var(--border-color);
}

/* Hero section para la página de inicio (Landing Page) */
.hero-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(10, 6, 9, 0.5), rgba(10, 6, 9, 0.9)), url('../img/landing_bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 50px 40px;
    background: rgba(22, 14, 20, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-gold-hover);
    animation: fadeIn 1s ease-out;
}

.hero-logo {
    height: 80px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-primary);
}

.hero-desc {
    color: #e6dbd5;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-btn-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    flex: 1 1 200px;
    max-width: 250px;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-content {
        padding: 30px 20px;
    }
    .hero-btn-container {
        flex-direction: column;
        align-items: center;
    }
    .hero-btn {
        width: 100%;
        max-width: 280px; /* Ancho máximo rectangular elegante */
        flex: none !important; /* Desactivar flex-basis para corregir altura cuadrada */
    }
}

/* Sección de Preguntas Frecuentes (FAQ) en Landing */
.faq-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

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

.faq-img-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-gold);
    aspect-ratio: 3/4;
    background: #0f0a0d;
}

.faq-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.faq-img-container:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.faq-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-family: var(--font-serif);
    line-height: 1.3;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-header:hover .faq-question {
    color: var(--accent-gold);
}

.faq-icon {
    font-size: 1.1rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-content-inner {
    padding-bottom: 20px;
    padding-top: 5px;
    color: rgba(245, 235, 230, 0.7);
}

.faq-item.active .faq-content {
    max-height: 1000px; /* Suficiente espacio para desplegar */
}

/* Banner de Reclutamiento (Join Us) */
.join-banner {
    position: relative;
    width: 100%;
    height: 380px;
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.4)), url('../img/join_us_bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 60px;
    display: flex;
    align-items: flex-start; /* Desplazar hacia arriba */
    justify-content: flex-end; /* Alinear a la derecha */
    padding-right: 40px; /* Margen derecho */
    padding-top: 30px; /* Margen superior */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.join-card {
    background: #000000;
    padding: 25px 30px; /* Reducir padding interno */
    border-radius: 6px;
    max-width: 360px; /* Reducir ancho máximo */
    width: 100%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.15);
    z-index: 10;
}

.join-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.join-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.join-btn {
    display: inline-block;
    background: var(--accent-gold);
    color: #000000;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition);
}

.join-btn:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-hover);
}

.footer-brand-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.footer-brand-text span.brand-gold {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .join-banner {
        height: auto;
        padding: 40px 20px;
        justify-content: center;
    }
    .join-card {
        max-width: 100%;
    }
}

/* Página de Servicios */
.services-hero {
    position: relative;
    width: 100%;
    min-height: 350px;
    background-image: linear-gradient(rgba(10, 6, 9, 0.4), rgba(10, 6, 9, 0.85)), url('../img/services_hero_bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
    padding: 40px 20px;
}

.services-hero-title {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.services-hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.services-breadcrumbs {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    display: flex;
    gap: 8px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-breadcrumbs a {
    color: var(--text-muted);
}
.services-breadcrumbs a:hover {
    color: var(--accent-gold);
}

.services-intro-title {
    font-size: 2.2rem;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 10px;
}

.services-intro-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.services-intro-desc {
    color: rgba(245, 235, 230, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 900px;
}

.services-types-section {
    margin-bottom: 70px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.4);
}

.services-types-title {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-bottom: 15px;
}

.services-types-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

.services-types-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.services-type-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.services-type-icon {
    font-size: 1.3rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.services-type-content h4 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.services-type-content p {
    color: rgba(245, 235, 230, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Grilla de 12 Tarjetas de Servicios */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.service-item-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 25px;
    border: 1px solid var(--border-color);
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.service-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 6, 9, 0.75), rgba(10, 6, 9, 0.98));
    transition: var(--transition);
    z-index: 1;
}

.service-item-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold-hover);
}

.service-item-card:hover::before {
    background: linear-gradient(rgba(10, 6, 9, 0.45), rgba(10, 6, 9, 0.9));
}

.service-card-content {
    position: relative;
    z-index: 2;
}

.service-card-number {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.35);
    transition: var(--transition);
}

.service-item-card:hover .service-card-number {
    color: var(--accent-gold);
    -webkit-text-stroke-color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: var(--transition);
}

.service-item-card:hover .service-card-title {
    color: var(--accent-gold);
}

.service-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    transition: var(--transition);
}

.service-item-card:hover .service-card-desc {
    color: rgba(245, 235, 230, 0.85);
}

@media (max-width: 576px) {
    .services-hero-title {
        font-size: 2.5rem;
    }
    .services-types-section {
        padding: 25px 20px;
    }
}

/* Ajustes de cabecera para dispositivos móviles (Responsividad) */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    .nav-wrapper {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding-left: 0;
        margin-top: 5px;
    }
    .nav-link {
        font-size: 0.85rem;
        padding: 4px 0;
    }
    .nav-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}
