/* ══════════════════════════════════════════════
   CSS VARIABLES
   ══════════════════════════════════════════════ */
:root {
    --ef-black: #050505;
    --ef-charcoal: #111111;
    --ef-dark: #1a1a1a;
    --ef-amber: #d4a373;
    --ef-gold: #c9a84c;
    --ef-red: #c0392b;
    --ef-red-glow: #e74c3c;
    --ef-warm-white: #f0e6d3;
    --ef-muted: #5a5a5a;
    --ef-serif: 'Playfair Display', 'Georgia', serif;
    --ef-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--ef-black) !important;
    overflow-x: hidden;
}

/* ── NAVBAR / FOOTER dark overrides ── */
.footer {
    background: rgba(10,10,10,0.9) !important;
    backdrop-filter: blur(10px) !important;
}
.footer .badge.bg-dark { background-color: var(--ef-charcoal) !important; }
.footer .badge.bg-light { background-color: rgba(255,255,255,0.08) !important; }
.footer .badge.bg-light a { color: var(--ef-warm-white) !important; }

/* ══════════════════════════════════════════════
   FILM GRAIN OVERLAY
   ══════════════════════════════════════════════ */
.ef-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

/* ══════════════════════════════════════════════
   CONTACT PAGE BASE
   ══════════════════════════════════════════════ */
.ef-contact-page {
    position: relative;
    color: var(--ef-warm-white);
    font-family: var(--ef-sans);
    min-height: 100vh;
    padding-bottom: 100px;
}
.ef-contact-page * { box-sizing: border-box; }

/* ── Section label ── */
.ef-section-label {
    font-family: var(--ef-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ef-amber);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.ef-section-label::before {
    content: '';
    width: 40px; height: 1px;
    background: var(--ef-amber);
}

/* ── Heading ── */
.ef-heading {
    font-family: var(--ef-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ef-warm-white);
}

/* ══════════════════════════════════════════════
   HERO AREA
   ══════════════════════════════════════════════ */
.ef-contact-hero {
    position: relative;
    padding: 140px 0 60px;
    text-align: center;
    overflow: hidden;
}
.ef-contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212,163,115,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(192,57,43,0.03) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 80%, rgba(201,168,76,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.ef-contact-hero .ef-heading {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 1rem;
}
.ef-contact-hero .ef-heading em {
    font-style: italic;
    color: var(--ef-amber);
    position: relative;
}
.ef-contact-hero .ef-heading em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ef-amber), transparent);
    opacity: 0.4;
}
.ef-hero-subtitle {
    font-family: var(--ef-sans);
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(240,230,211,0.5);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Clapperboard decorative line ── */
.ef-clap-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 40px auto 0;
    opacity: 0.25;
}
.ef-clap-stripe {
    width: 28px;
    height: 4px;
    background: var(--ef-warm-white);
    transform: skewX(-20deg);
}
.ef-clap-stripe:nth-child(even) {
    background: var(--ef-charcoal);
    border: 1px solid rgba(255,255,255,0.15);
}

/* ══════════════════════════════════════════════
   MAIN CONTENT – TWO COLUMNS
   ══════════════════════════════════════════════ */
.ef-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 0;
    align-items: start;
}

/* ── Left column: Contact info ── */
.ef-contact-info {
    padding-top: 20px;
}
.ef-contact-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 42px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(212,163,115,0.13);
}
.ef-contact-brand-mark {
    width: 96px;
    height: 96px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 12px;
    background: #f0e6d3;
    box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}
.ef-contact-brand-mark img { width: 88px; height: 88px; display: block; }
.ef-contact-brand-copy { display: grid; gap: 8px; }
.ef-contact-brand-copy strong {
    color: var(--ef-warm-white);
    font: 700 1.28rem/1 var(--ef-serif);
    letter-spacing: 0.03em;
}
.ef-contact-brand-copy small {
    color: var(--ef-amber);
    font: 600 0.58rem/1.4 var(--ef-sans);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.ef-info-block {
    margin-bottom: 40px;
}
.ef-info-label {
    font-family: var(--ef-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ef-amber);
    margin-bottom: 10px;
}
.ef-info-value {
    font-family: var(--ef-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--ef-warm-white);
    line-height: 1.7;
}
.ef-info-value a {
    color: var(--ef-warm-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(212,163,115,0.3);
    transition: border-color 0.3s, color 0.3s;
}
.ef-info-value a:hover {
    color: var(--ef-amber);
    border-bottom-color: var(--ef-amber);
}
.ef-info-desc {
    font-size: 0.92rem;
    font-weight: 300;
    color: rgba(240,230,211,0.68);
    line-height: 1.8;
    margin-top: 8px;
}
.ef-info-legal {
    font-family: var(--ef-sans);
    font-size: 0.8rem;
    color: rgba(240,230,211,0.58);
    line-height: 1.8;
}
.ef-info-legal strong {
    color: rgba(240,230,211,0.45);
    font-weight: 500;
}

/* ── Divider between info blocks ── */
.ef-info-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--ef-amber), transparent);
    opacity: 0.3;
    margin: 30px 0;
}

/* ── Film-strip side decoration ── */
.ef-filmstrip-deco {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    opacity: 0.15;
}
.ef-filmstrip-hole {
    width: 8px;
    height: 12px;
    border: 1px solid var(--ef-warm-white);
    border-radius: 2px;
}

/* ══════════════════════════════════════════════
   FORM CARD
   ══════════════════════════════════════════════ */
.ef-form-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}
.ef-form-card:focus-within {
    border-color: rgba(212,163,115,0.22);
    box-shadow: 0 24px 80px rgba(0,0,0,0.22);
}
.ef-form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ef-red), var(--ef-red-glow), var(--ef-amber));
    opacity: 0.7;
}
.ef-form-title {
    font-family: var(--ef-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ef-warm-white);
    margin-bottom: 8px;
}
.ef-form-subtitle {
    font-family: var(--ef-sans);
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--ef-muted);
    margin-bottom: 36px;
}

/* ── Form groups ── */
.ef-form-group {
    margin-bottom: 24px;
}
.ef-form-label {
    display: block;
    font-family: var(--ef-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(240,230,211,0.45);
    margin-bottom: 8px;
}
.ef-form-label .ef-required {
    color: var(--ef-red);
    margin-left: 2px;
}

.ef-form-input,
.ef-form-textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 14px 16px;
    font-family: var(--ef-sans);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ef-warm-white);
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    outline: none;
}
.ef-form-input::placeholder,
.ef-form-textarea::placeholder {
    color: var(--ef-muted);
    font-weight: 300;
}
.ef-form-input:focus,
.ef-form-textarea:focus {
    border-color: var(--ef-amber);
    box-shadow: 0 0 0 3px rgba(212,163,115,0.1), 0 0 20px rgba(212,163,115,0.05);
    background: rgba(255,255,255,0.06);
}
.ef-form-textarea {
    min-height: 160px;
    resize: vertical;
}
.ef-form-input[aria-invalid="true"],
.ef-form-textarea[aria-invalid="true"] {
    border-color: var(--ef-red-glow);
}
.errorlist,
.ef-field-error {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    color: #f5a9a0;
    font: 400 0.78rem/1.5 var(--ef-sans);
}
.ef-field-error { margin-bottom: 20px; }
.ef-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.ef-privacy-note {
    margin: 0 0 10px;
    color: rgba(240,230,211,0.48);
    font: 300 0.75rem/1.6 var(--ef-sans);
}
.ef-privacy-note a {
    color: var(--ef-amber);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Row for email + phone ── */
.ef-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ── Submit button (REC style) ── */
.ef-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    margin-top: 12px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--ef-red) 0%, var(--ef-red-glow) 100%);
    color: #fff;
    font-family: var(--ef-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
}
.ef-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}
.ef-submit-btn:hover {
    box-shadow: 0 0 30px rgba(231,76,60,0.35), 0 0 60px rgba(192,57,43,0.15);
    transform: translateY(-1px);
}
.ef-submit-btn:hover::before {
    opacity: 1;
}
.ef-submit-btn:active {
    transform: translateY(0);
}
.ef-submit-btn:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

/* REC dot */
.ef-rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: ef-rec-pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes ef-rec-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ══════════════════════════════════════════════
   MESSAGE ALERTS (cinematic dark cards)
   ══════════════════════════════════════════════ */
.ef-alert {
    padding: 18px 24px;
    border-radius: 4px;
    margin-bottom: 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    font-family: var(--ef-sans);
    font-size: 0.9rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: opacity 0.6s ease;
}
.ef-alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
}
.ef-alert-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}
.ef-alert small {
    display: block;
    margin-top: 4px;
    color: inherit;
    opacity: 0.72;
    font-size: 0.72rem;
}

/* Success */
.ef-alert--success {
    border-color: rgba(46,204,113,0.15);
    color: #a8e6cf;
}
.ef-alert--success::before {
    background: #2ecc71;
}
.ef-alert--success .ef-alert-icon {
    color: #2ecc71;
}

/* Error */
.ef-alert--error {
    border-color: rgba(231,76,60,0.15);
    color: #f5a9a0;
}
.ef-alert--error::before {
    background: var(--ef-red-glow);
}
.ef-alert--error .ef-alert-icon {
    color: var(--ef-red-glow);
}

/* ══════════════════════════════════════════════
   REVEAL ANIMATION CLASS
   ══════════════════════════════════════════════ */
.ef-reveal {
    opacity: 1;
    transform: none;
}

/* ══════════════════════════════════════════════
   BOKEH PARTICLES
   ══════════════════════════════════════════════ */
.ef-bokeh-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.ef-bokeh {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color, rgba(201,168,76,0.12)) 0%, transparent 70%);
    filter: blur(var(--blur, 0px));
    opacity: var(--opa, 0.3);
    animation: ef-float var(--dur, 20s) ease-in-out infinite alternate;
}
@keyframes ef-float {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(var(--dx1, 30px), var(--dy1, -40px)) scale(var(--s1, 1.1)); }
    66%  { transform: translate(var(--dx2, -20px), var(--dy2, 20px)) scale(var(--s2, 0.9)); }
    100% { transform: translate(var(--dx3, 15px), var(--dy3, -10px)) scale(1); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .ef-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px 16px 0;
    }
    .ef-contact-hero {
        padding: 120px 16px 40px;
    }
    .ef-form-card {
        padding: 32px 24px;
    }
    .ef-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ef-clap-deco {
        margin-top: 28px;
    }
    .ef-contact-hero .ef-heading {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    .ef-filmstrip-deco {
        display: none;
    }
    .ef-contact-brand-mark { width: 82px; height: 82px; }
    .ef-contact-brand-mark img { width: 74px; height: 74px; }
    .ef-bokeh-layer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ef-bokeh { animation: none !important; }
}

.ef-form-input:focus-visible,
.ef-form-textarea:focus-visible,
.ef-submit-btn:focus-visible,
.ef-info-value a:focus-visible {
    outline: 2px solid var(--ef-amber);
    outline-offset: 3px;
}
