/* =============================================
   LUMINUS CASTING AGENCY — Stylesheet
   ============================================= */

/* ---------- Variables ---------- */
:root {
    --beige-light: #FAF7F3;
    --beige: #F5F0EB;
    --beige-medium: #E8E0D6;
    --gold: #C9A96E;
    --gold-dark: #B08D4E;
    --gold-light: #D4BC8E;
    --gold-pale: rgba(201,169,110,0.12);
    --dark: #1A1714;
    --dark-soft: #2C2C2C;
    --dark-muted: #4A4A4A;
    --text: #2C2C2C;
    --text-light: #7A7A7A;
    --text-muted: #AAAAAA;
    --white: #FFFFFF;
    --border: rgba(201,169,110,0.2);
    --border-light: rgba(0,0,0,0.07);
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.08);
    --shadow-gold: 0 4px 20px rgba(201,169,110,0.2);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    --max-width: 1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--beige-light);
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width:100%; display:block; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.text-gold { color: var(--gold); }
.text-muted { color: var(--text-light); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(201,169,110,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-dark {
    background: transparent;
    color: var(--gold-dark);
    border: 1px solid var(--border);
}
.btn-outline-dark:hover {
    background: var(--gold-pale);
    border-color: var(--gold);
}

.btn-sm { padding: 10px 22px; font-size: 11.5px; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #a93226; transform: translateY(-1px); }

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark-soft);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 15px;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.8;
}

/* ---------- Fade-in animation ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(250,247,243,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo img {
    height: 50px;
    width: auto;
}

.header-logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.header.scrolled .header-logo-text {
    color: var(--dark-soft);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header-nav a {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    position: relative;
}

.header.scrolled .header-nav a {
    color: var(--text-light);
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--gold);
}

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

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

/* Mobile toggle */
.header-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 1px;
}

.header.scrolled .header-toggle span {
    background: var(--dark-soft);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201,169,110,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(201,169,110,0.05) 0%, transparent 60%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--beige-light), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 160px;
    max-width: 720px;
}

.hero-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 32px;
    border-radius: 50%;
    border: 1px solid rgba(201,169,110,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,169,110,0.05);
}

.hero-logo img {
    height: 150px;
    width: auto;
}

.hero-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
    padding: 100px 0;
    background: var(--beige-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--beige-medium);
}

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

.about-image-overlay {
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--gold);
    line-height: 1;
}

.about-stat-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
}

/* =============================================
   CASTINGS SECTION
   ============================================= */
.castings-section {
    padding: 100px 0;
    background: var(--white);
}

.castings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.castings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.casting-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.casting-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.casting-card-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.casting-card-body {
    padding: 28px;
}

.casting-card-category {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: var(--gold-pale);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.casting-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--dark-soft);
    margin-bottom: 10px;
    line-height: 1.3;
}

.casting-card-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.casting-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.casting-card-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
}

.casting-card-meta-item svg {
    width: 15px;
    height: 15px;
    color: var(--gold);
    flex-shrink: 0;
}

.casting-card-status {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.casting-card-status.activo {
    background: rgba(39,174,96,0.1);
    color: #27ae60;
}

.casting-card-status.cerrado {
    background: rgba(192,57,43,0.1);
    color: #c0392b;
}

.casting-card-actions {
    display: flex;
    gap: 10px;
}

.no-castings {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 15px;
    grid-column: 1 / -1;
}

/* =============================================
   VER CASTING (Detail)
   ============================================= */
.detail-section {
    padding: 120px 0 100px;
    background: var(--beige-light);
    min-height: 100vh;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 36px;
    letter-spacing: 0.03em;
}

.detail-back:hover { color: var(--gold); }
.detail-back svg { width: 16px; height: 16px; }

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.detail-main {}

.detail-category {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: var(--gold-pale);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 500;
    color: var(--dark-soft);
    line-height: 1.2;
    margin-bottom: 28px;
}

.detail-block {
    margin-bottom: 32px;
}

.detail-block-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.detail-block p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.85;
}

.detail-sidebar {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.detail-sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.detail-sidebar-item:last-of-type { border-bottom: none; }

.detail-sidebar-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.detail-sidebar-value {
    font-size: 14px;
    color: var(--dark-soft);
    font-weight: 500;
    text-align: right;
}

.detail-sidebar-value.activo { color: #27ae60; }
.detail-sidebar-value.cerrado { color: #c0392b; }

.detail-cta {
    margin-top: 28px;
}

/* =============================================
   POSTULAR (Form)
   ============================================= */
.postular-section {
    padding: 120px 0 100px;
    background: var(--beige-light);
    min-height: 100vh;
}

.postular-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.postular-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 500;
    color: var(--dark-soft);
    margin-bottom: 8px;
}

.postular-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 36px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark-muted);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    background: var(--beige-light);
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-pale);
    background: var(--white);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237A7A7A' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-submit {
    margin-top: 28px;
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 13px;
}

/* Success message */
.success-message {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--dark-soft);
    margin-bottom: 12px;
}

.success-text {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 32px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--dark);
    padding: 60px 0 32px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 14px;
}

.footer-brand-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,0.4);
    line-height: 1.8;
    max-width: 300px;
}

.footer-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 13.5px;
    color: rgba(255,255,255,0.45);
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-link:hover {
    border-color: var(--gold);
    background: var(--gold-pale);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.5);
}

.footer-social-link:hover svg { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 12.5px;
    color: rgba(255,255,255,0.3);
}

/* =============================================
   ADMIN — Login
   ============================================= */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--beige-light);
    padding: 24px;
}

.admin-login-card {
    width: 100%;
    max-width: 400px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.admin-login-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-pale);
}

.admin-login-logo img { height: 34px; }

.admin-login-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--dark-soft);
    margin-bottom: 6px;
}

.admin-login-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.admin-login .form-group { margin-bottom: 18px; text-align: left; }
.admin-login .form-input { background: var(--beige-light); }

.login-error {
    background: rgba(192,57,43,0.08);
    color: #c0392b;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid rgba(192,57,43,0.15);
}

/* =============================================
   ADMIN — Layout
   ============================================= */
.admin-layout {
    min-height: 100vh;
    background: var(--beige-light);
}

.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.admin-topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-topbar-brand img { height: 30px; }

.admin-topbar-brand span {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--dark-soft);
}

.admin-topbar-brand small {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-pale);
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 8px;
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.admin-nav a {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.admin-nav a:hover { background: var(--gold-pale); color: var(--gold-dark); }
.admin-nav a.active { background: var(--gold-pale); color: var(--gold-dark); font-weight: 600; }

.admin-nav-sep {
    width: 1px;
    height: 24px;
    background: var(--border-light);
    margin: 0 8px;
}

.admin-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* ---------- Dashboard Stats ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

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

.stat-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.stat-card-value {
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--dark-soft);
    line-height: 1;
}

/* ---------- Admin Tables ---------- */
.admin-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 12px;
}

.admin-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--dark-soft);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--beige-light);
}

.admin-table th {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 12px 20px;
    text-align: left;
    white-space: nowrap;
}

.admin-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: rgba(201,169,110,0.03);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 3px 12px;
    border-radius: 20px;
}

.badge-activo { background: rgba(39,174,96,0.1); color: #27ae60; }
.badge-cerrado { background: rgba(192,57,43,0.1); color: #c0392b; }
.badge-gold { background: var(--gold-pale); color: var(--gold-dark); }

.admin-actions {
    display: flex;
    gap: 6px;
}

.admin-actions .btn-sm { padding: 7px 14px; font-size: 10.5px; }

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ---------- Admin Form ---------- */
.admin-form-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 800px;
}

.admin-form-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--dark-soft);
    margin-bottom: 6px;
}

.admin-form-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.admin-form .form-grid {
    gap: 20px;
}

.admin-form .form-submit {
    max-width: 280px;
}

/* Filter bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-bar .form-select {
    width: auto;
    min-width: 220px;
    padding: 9px 40px 9px 14px;
    font-size: 13px;
    background-color: var(--white);
}

/* Page title */
.page-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--dark-soft);
    margin-bottom: 28px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(26,23,20,0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
    }

    .header-nav.open { display: flex; }

    .header-nav a {
        color: rgba(255,255,255,0.7);
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }

    .header-nav a:hover { background: rgba(255,255,255,0.05); color: var(--gold); }

    .header-toggle { display: flex; }

    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-image { aspect-ratio: 16/10; }
    .about-stats { gap: 28px; }

    .castings-grid { grid-template-columns: 1fr; }

    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: 1; }

    .postular-card { padding: 32px 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .admin-nav { display: none; }
    .admin-nav.open {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--border-light);
    }

    .admin-topbar { position: relative; }

    .admin-mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
    }

    .admin-mobile-toggle span {
        width: 20px;
        height: 1.5px;
        background: var(--dark-soft);
        border-radius: 1px;
    }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .castings-header { flex-direction: column; align-items: flex-start; }
    .admin-form-card { padding: 24px 18px; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* Admin mobile toggle - hidden on desktop */
.admin-mobile-toggle { display: none; }

@media (min-width: 769px) {
    .admin-mobile-toggle { display: none !important; }
}