/* ===== POSTULACIONES ===== */
.postulaciones {
    min-height: 100vh;
    background: var(--bg);
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 100vh;
}

/* Left: Image */
.post-image {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}
.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 10% center;
}
.post-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 40%, var(--bg) 100%);
}

/* Right: Form — overlaps image */
.post-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px 60px;
    margin-left: -80px;
    background: linear-gradient(to right, transparent 0%, var(--bg) 15%);
}

.post-form-inner {
    max-width: 480px;
    width: 100%;
}

.post-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.post-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.95;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 12px;
}
.post-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.post-desc {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
}

.post-stars {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 40px;
}

/* Notice */
.post-notice {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 30px;
    padding: 16px 20px;
    border-left: 3px solid var(--gold);
    background: rgba(201,169,110,0.08);
    border-radius: 0 8px 8px 0;
}

/* Phone group */
.phone-group {
    display: flex;
    gap: 8px;
}
.phone-code {
    width: 110px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 16px 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #fff;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B6B6B'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.phone-code:focus {
    border-color: var(--gold);
}
.phone-group input {
    flex: 1;
}

/* Form fields */
.post-field {
    margin-bottom: 20px;
}

.post-field label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.post-field input,
.post-field textarea {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 16px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #fff;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    resize: none;
}

.post-field input::placeholder,
.post-field textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.post-field input:focus,
.post-field textarea:focus {
    border-color: var(--gold);
}

/* Submit button */
.post-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0A0A0A;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.post-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,169,110,0.3);
}

/* Success */
.post-success {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 40px 0;
}
.post-success h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 2px;
    color: var(--gold);
}
.post-success p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}
.post-back {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 32px;
    border: 1px solid var(--gold);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    transition: background 0.3s, color 0.3s;
}
.post-back:hover {
    background: var(--gold);
    color: #0A0A0A;
}

/* Autocomplete dropdown */
.ac {
    position: relative;
}
.ac__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    max-height: 240px;
    overflow-y: auto;
}
.ac__list li {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s;
}
.ac__list li:hover {
    background: rgba(201,169,110,0.15);
}
.ac__empty {
    color: var(--text-muted) !important;
    cursor: default !important;
    font-style: italic;
}

/* Zone message */
.zona-msg {
    font-size: 0.78rem;
    margin-top: 8px;
    min-height: 20px;
}
.zona-msg.ok {
    color: #5fd07a;
}
.zona-msg.bad {
    color: var(--text-muted);
}

/* Disabled submit */
.post-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
    .post-image {
        min-height: auto;
        height: 45vh;
    }
    .post-image-overlay {
        background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
    }
    .post-form-col {
        margin-left: 0;
        background: var(--bg);
        padding: 40px 24px 60px;
    }
}

@media (max-width: 480px) {
    .post-image {
        height: 35vh;
    }
    .post-form-col {
        padding: 30px 20px 40px;
    }
    .post-title {
        font-size: 2.2rem;
    }
    .post-field input,
    .post-field textarea {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}
