/* =========================================================
   Allied Filmmaker Elementor — Shared Styles
   ========================================================= */

/* Full-width breakout for Header / Hero / Footer — escapes
   any constrained Elementor / theme container and stretches
   edge-to-edge without causing horizontal scroll. */
.afe-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    box-sizing: border-box;
}

/* =========================================================
   Kill ALL surrounding spacing for structural widgets
   (Header, Hero, Footer). Elementor wraps every widget in
   section → container → column → widget-wrap → widget →
   widget-container. Each of those can add margin/padding.
   ========================================================= */

.elementor-widget-afe_header,
.elementor-widget-afe_hero,
.elementor-widget-afe_footer,
.elementor-widget-afe_header > .elementor-widget-container,
.elementor-widget-afe_hero   > .elementor-widget-container,
.elementor-widget-afe_footer > .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Zero out the parent section/container/column when it contains
   one of these structural widgets. `:has()` is supported in all
   modern browsers. */
.elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-afe_header),
.elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-afe_hero),
.elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget-afe_footer),
.e-con:has(> .e-con-inner > .elementor-widget-afe_header),
.e-con:has(> .e-con-inner > .elementor-widget-afe_hero),
.e-con:has(> .e-con-inner > .elementor-widget-afe_footer),
.e-con:has(> .elementor-widget-afe_header),
.e-con:has(> .elementor-widget-afe_hero),
.e-con:has(> .elementor-widget-afe_footer) {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.elementor-section:has(.elementor-widget-afe_header) .elementor-container,
.elementor-section:has(.elementor-widget-afe_hero)   .elementor-container,
.elementor-section:has(.elementor-widget-afe_footer) .elementor-container,
.elementor-section:has(.elementor-widget-afe_header) .elementor-column,
.elementor-section:has(.elementor-widget-afe_hero)   .elementor-column,
.elementor-section:has(.elementor-widget-afe_footer) .elementor-column,
.elementor-section:has(.elementor-widget-afe_header) .elementor-widget-wrap,
.elementor-section:has(.elementor-widget-afe_hero)   .elementor-widget-wrap,
.elementor-section:has(.elementor-widget-afe_footer) .elementor-widget-wrap,
.e-con:has(.elementor-widget-afe_header) .e-con-inner,
.e-con:has(.elementor-widget-afe_hero)   .e-con-inner,
.e-con:has(.elementor-widget-afe_footer) .e-con-inner {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    gap: 0 !important;
}

/* Fallback for browsers without :has() — use a class the user
   can add to their containing section (CSS Classes field). */
.afe-fullwidth-section,
.afe-fullwidth-section > .elementor-container,
.afe-fullwidth-section > .elementor-container > .elementor-column,
.afe-fullwidth-section .elementor-widget-wrap,
.afe-fullwidth-section .elementor-widget,
.afe-fullwidth-section .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    gap: 0 !important;
}

/* Prevent horizontal scrollbar caused by 100vw breakout
   when the page has a vertical scrollbar. */
html, body { overflow-x: clip; }

:root {
    --afe-primary: #0a0a0e;
    --afe-surface: #14141b;
    --afe-accent:  #c9a227;
    --afe-muted:   #7a7a85;
    --afe-text:    #1d1d23;
    --afe-light:   #ffffff;
    --afe-border:  rgba(0,0,0,.08);
    --afe-radius:  14px;
    --afe-shadow:  0 10px 30px rgba(0,0,0,.08);
    --afe-shadow-hover: 0 14px 40px rgba(0,0,0,.14);
}

.afe-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
    color: var(--afe-text);
    line-height: 1.6;
    box-sizing: border-box;
}
.afe-section * { box-sizing: border-box; }

.afe-section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 16px;
}
.afe-section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--afe-accent);
    margin-top: 14px;
    border-radius: 2px;
}
.afe-section-intro {
    color: var(--afe-muted);
    max-width: 780px;
    margin: 0 0 36px;
    font-size: 1.05rem;
}

/* ===== GRID ===== */
.afe-grid {
    display: grid;
    gap: 28px;
    margin-top: 28px;
}
.afe-grid-2 { grid-template-columns: repeat(2, 1fr); }
.afe-grid-3 { grid-template-columns: repeat(3, 1fr); }
.afe-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== MOVIE / SLATE CARDS ===== */
.afe-movie-card,
.afe-slate-card {
    background: var(--afe-light);
    border-radius: var(--afe-radius);
    overflow: hidden;
    box-shadow: var(--afe-shadow);
    transition: transform .35s ease, box-shadow .35s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--afe-border);
}
.afe-movie-card:hover,
.afe-slate-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--afe-shadow-hover);
}
.afe-movie-img,
.afe-slate-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #eee;
}
.afe-movie-img img,
.afe-slate-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
}
.afe-movie-card:hover .afe-movie-img img,
.afe-slate-card:hover .afe-slate-img img { transform: scale(1.06); }

.afe-slate-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--afe-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 6px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}
.afe-movie-body,
.afe-slate-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.afe-movie-body h3,
.afe-slate-body h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--afe-primary);
}
.afe-movie-body p,
.afe-slate-body p {
    margin: 0 0 14px;
    color: #4a4a55;
    font-size: 0.95rem;
    flex: 1;
}
.afe-movie-meta,
.afe-slate-meta {
    display: inline-block;
    color: var(--afe-accent);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: pre-line;
}

/* ===== INVESTORS ===== */
.afe-investors .afe-hero {
    position: relative;
    border-radius: var(--afe-radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 360px;
    display: flex;
    align-items: center;
    color: #fff;
    margin-bottom: 50px;
}
.afe-hero-overlay {
    background: linear-gradient(120deg, rgba(10,10,14,.85), rgba(10,10,14,.55));
    padding: 50px 40px;
    width: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.afe-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--afe-accent);
    margin-bottom: 10px;
}
.afe-hero-overlay h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.afe-hero-overlay p { font-size: 1.05rem; max-width: 720px; margin: 0; opacity: .92; }

.afe-inv-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
}
.afe-inv-card {
    background: var(--afe-light);
    border: 1px solid var(--afe-border);
    border-radius: var(--afe-radius);
    padding: 32px;
    box-shadow: var(--afe-shadow);
}
.afe-inv-card h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    color: var(--afe-accent);
    font-weight: 700;
}
.afe-inv-sub {
    display: block;
    color: var(--afe-muted);
    font-size: 0.95rem;
    margin-bottom: 14px;
    font-style: italic;
}
.afe-inv-card p { margin: 0; color: #3a3a42; }
.afe-or {
    align-self: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--afe-accent);
    letter-spacing: 0.18em;
}

.afe-inv-block {
    background: var(--afe-light);
    padding: 32px;
    border-radius: var(--afe-radius);
    border: 1px solid var(--afe-border);
    margin-bottom: 28px;
    box-shadow: var(--afe-shadow);
}
.afe-inv-block h3 { margin: 0 0 14px; font-size: 1.4rem; color: var(--afe-primary); }
.afe-inv-block p { margin: 0 0 12px; }

.afe-inv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.afe-inv-grid .afe-inv-block { margin: 0; }

.afe-inv-closing {
    background: var(--afe-primary);
    color: #fff;
    padding: 44px 34px;
    border-radius: var(--afe-radius);
    text-align: center;
}
.afe-inv-closing p {
    font-size: 1.05rem;
    max-width: 860px;
    margin: 0 auto 26px;
    opacity: .92;
}
.afe-cta-btn {
    display: inline-block;
    background: var(--afe-accent);
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 24px rgba(201,162,39,.35);
}
.afe-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(201,162,39,.5);
}

/* ===== TERMINOLOGY ACCORDION ===== */
.afe-term-group {
    margin-bottom: 40px;
}
.afe-term-group > h3 {
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: var(--afe-primary);
    letter-spacing: -0.01em;
}
.afe-term-intro { color: var(--afe-muted); margin: 0 0 18px; }

.afe-accordion {
    border-top: 1px solid var(--afe-border);
}
.afe-acc-item { border-bottom: 1px solid var(--afe-border); }
.afe-acc-head {
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    padding: 18px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--afe-primary);
    transition: color .25s ease, background .25s ease;
    font-family: inherit;
}
.afe-acc-head:hover { color: var(--afe-accent); background: rgba(201,162,39,.04); }
.afe-acc-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(201,162,39,.12);
    color: var(--afe-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform .3s ease, background .3s ease;
    flex: none;
    margin-left: 14px;
}
.afe-acc-item.is-open .afe-acc-icon {
    transform: rotate(45deg);
    background: var(--afe-accent);
    color: #fff;
}
.afe-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s ease;
}
.afe-acc-body p {
    margin: 0;
    padding: 0 12px 20px;
    color: #4a4a55;
}

/* ===== SUBMISSIONS ===== */
.afe-submissions {
    background-color: var(--afe-primary);
    background-size: cover;
    background-position: center;
    color: #fff;
    border-radius: var(--afe-radius);
}
.afe-submissions .afe-section-title { color: #fff; }
.afe-submissions .afe-section-title::after { background: var(--afe-accent); }
.afe-sub-wrap { max-width: 820px; margin: 0 auto; }
.afe-sub-intro { font-size: 1.1rem; margin-bottom: 20px; opacity: .9; }
.afe-sub-email {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px 24px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    margin: 18px 0 26px;
}
.afe-sub-email-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--afe-accent);
    font-weight: 700;
}
.afe-sub-email a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}
.afe-sub-email a:hover { color: var(--afe-accent); }
.afe-sub-note { opacity: .85; margin: 0 0 18px; font-size: 0.97rem; }
.afe-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.afe-sub-list li {
    position: relative;
    padding: 14px 16px 14px 52px;
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    border-left: 3px solid var(--afe-accent);
}
.afe-sub-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--afe-accent);
    font-weight: 700;
}

/* ===== ABOUT ===== */
.afe-about-top {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}
.afe-about-img {
    border-radius: var(--afe-radius);
    overflow: hidden;
    box-shadow: var(--afe-shadow);
}
.afe-about-img img { width: 100%; display: block; height: 100%; object-fit: cover; }
.afe-about-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--afe-primary);
    font-weight: 500;
    margin: 0 0 18px;
}
.afe-about-objectives {
    background: var(--afe-light);
    padding: 40px;
    border-radius: var(--afe-radius);
    border: 1px solid var(--afe-border);
    box-shadow: var(--afe-shadow);
    margin-bottom: 40px;
}
.afe-about-objectives h3 {
    font-size: 1.5rem;
    margin: 0 0 20px;
    color: var(--afe-accent);
}
.afe-about-objectives ul {
    padding-left: 0;
    list-style: none;
    margin: 0 0 26px;
    display: grid;
    gap: 12px;
}
.afe-about-objectives li {
    position: relative;
    padding-left: 34px;
    font-size: 1rem;
}
.afe-about-objectives li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--afe-accent);
}
.afe-about-overview h3 {
    font-size: 1.5rem;
    margin: 0 0 18px;
    color: var(--afe-primary);
}
.afe-about-overview p { margin: 0 0 14px; color: #3a3a42; }

/* ===== CONTACT ===== */
.afe-contact-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    margin-top: 30px;
}
.afe-contact-info img {
    width: 100%;
    border-radius: var(--afe-radius);
    margin-bottom: 22px;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.afe-contact-info h3 {
    margin: 0 0 4px;
    font-size: 1.35rem;
    color: var(--afe-primary);
}
.afe-contact-info p { margin: 0 0 8px; color: #4a4a55; }
.afe-contact-info a { color: var(--afe-accent); text-decoration: none; font-weight: 600; }
.afe-contact-info a:hover { text-decoration: underline; }
.afe-contact-branches { font-style: italic; color: var(--afe-muted); }
.afe-contact-note {
    margin-top: 16px !important;
    padding: 14px 16px;
    background: rgba(201,162,39,.08);
    border-left: 3px solid var(--afe-accent);
    border-radius: 4px;
    font-size: 0.92rem;
}

.afe-contact-form {
    background: var(--afe-light);
    padding: 34px;
    border-radius: var(--afe-radius);
    border: 1px solid var(--afe-border);
    box-shadow: var(--afe-shadow);
    display: grid;
    gap: 16px;
}
.afe-contact-form .afe-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.afe-contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--afe-primary);
}
.afe-contact-form input,
.afe-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--afe-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #fafafa;
    transition: border .2s ease, background .2s ease, box-shadow .2s ease;
    color: var(--afe-text);
}
.afe-contact-form input:focus,
.afe-contact-form textarea:focus {
    outline: none;
    border-color: var(--afe-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201,162,39,.12);
}
.afe-contact-form textarea { resize: vertical; min-height: 130px; }
.afe-contact-form button {
    background: var(--afe-accent);
    color: #fff;
    border: 0;
    padding: 15px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    justify-self: start;
    font-family: inherit;
}
.afe-contact-form button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(201,162,39,.35);
}
.afe-contact-form button:disabled { opacity: .6; cursor: wait; }
.afe-form-status { font-size: 0.95rem; min-height: 20px; }
.afe-form-status.success { color: #1e7c43; }
.afe-form-status.error   { color: #c23b3b; }

/* ===== HEADER ===== */
.afe-header-section {
    background-color: var(--afe-primary);
    color: #fff;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.afe-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.afe-header-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}
.afe-header-logo img { max-height: 50px; width: auto; display: block; }
.afe-header-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
.afe-header-logo-tag {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--afe-accent);
    margin-top: 4px;
    font-weight: 600;
}
.afe-header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.afe-header-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}
.afe-header-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color .25s ease;
}
.afe-header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--afe-accent);
    transition: width .3s ease;
}
.afe-header-nav a:hover::after { width: 100%; }
.afe-header-cta {
    background: var(--afe-accent);
    color: #fff !important;
    padding: 11px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.afe-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201,162,39,.4);
}
.afe-header-cta::after { display: none !important; }

.afe-header-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.afe-header-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    transition: transform .3s ease, opacity .3s ease;
}
.afe-header-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.afe-header-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.afe-header-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.afe-hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    padding: 80px 40px;
    text-align: center;
}
.afe-hero-inner {
    max-width: 960px;
    width: 100%;
    z-index: 2;
}
.afe-hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--afe-accent);
    margin-bottom: 20px;
    padding: 8px 18px;
    border: 1px solid rgba(201,162,39,.5);
    border-radius: 50px;
}
.afe-hero-heading {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.afe-hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 36px;
    opacity: .92;
}
.afe-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.afe-hero-btn {
    display: inline-block;
    padding: 16px 34px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.03em;
    border: 2px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.afe-hero-btn-primary {
    background: var(--afe-accent);
    color: #fff;
    box-shadow: 0 10px 30px rgba(201,162,39,.4);
}
.afe-hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(201,162,39,.55);
    color: #fff;
}
.afe-hero-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.afe-hero-btn-secondary:hover {
    background: #fff;
    color: var(--afe-primary);
    transform: translateY(-3px);
}
.afe-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 14px;
    z-index: 2;
}
.afe-hero-scroll span {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: afe-scroll 1.8s ease-in-out infinite;
}
@keyframes afe-scroll {
    0%, 100% { opacity: 1; transform: translate(-50%, 0); }
    50%      { opacity: 0.2; transform: translate(-50%, 10px); }
}

/* ===== FOOTER ===== */
.afe-footer-section {
    background-color: var(--afe-primary);
    color: rgba(255,255,255,.75);
    padding: 70px 0 0;
    position: relative;
}
.afe-footer-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--afe-accent), transparent);
}
.afe-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.afe-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
}
.afe-footer-col h4 {
    color: var(--afe-accent);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0 0 22px;
}
.afe-footer-col p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,.7);
}
.afe-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.afe-footer-col li a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color .25s ease, padding-left .25s ease;
    display: inline-block;
}
.afe-footer-col li a:hover {
    color: var(--afe-accent);
    padding-left: 6px;
}
.afe-footer-logo-img { max-height: 48px; margin-bottom: 18px; display: block; }
.afe-footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.afe-footer-locations {
    font-size: 0.88rem;
    color: var(--afe-accent);
    letter-spacing: 0.05em;
}
.afe-footer-col a[href^="mailto:"] {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.afe-footer-col a[href^="mailto:"]:hover { color: var(--afe-accent); }

.afe-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 26px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}
.afe-footer-copy {
    font-size: 0.88rem;
    color: rgba(255,255,255,.55);
}
.afe-footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}
.afe-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    transition: all .25s ease;
}
.afe-footer-social a:hover {
    color: #fff;
    transform: translateY(-3px);
}
.afe-footer-social svg { width: 18px; height: 18px; display: block; }

/* ===== COMPACT CONTACT FORM WIDGET ===== */
.afe-cf-wrap {
    border-radius: var(--afe-radius);
    overflow: hidden;
}
.afe-cf-wrap.afe-cf-dark {
    background: var(--afe-primary);
    color: #fff;
}
.afe-cf-wrap.afe-cf-light {
    background: #f7f6f2;
    color: var(--afe-text);
}
.afe-cf-head {
    text-align: center;
    margin-bottom: 30px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.afe-cf-head h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin: 0 0 10px;
    font-weight: 700;
}
.afe-cf-wrap.afe-cf-dark .afe-cf-head h2 { color: #fff; }
.afe-cf-head p { margin: 0; opacity: .85; font-size: 1rem; }
.afe-cf {
    max-width: 720px;
    margin: 0 auto;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
.afe-cf-wrap.afe-cf-dark .afe-cf label { color: rgba(255,255,255,.9); }
.afe-cf-wrap.afe-cf-dark .afe-cf input,
.afe-cf-wrap.afe-cf-dark .afe-cf textarea {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
    color: #fff;
}
.afe-cf-wrap.afe-cf-dark .afe-cf input::placeholder,
.afe-cf-wrap.afe-cf-dark .afe-cf textarea::placeholder { color: rgba(255,255,255,.4); }
.afe-cf-wrap.afe-cf-dark .afe-cf input:focus,
.afe-cf-wrap.afe-cf-dark .afe-cf textarea:focus {
    background: rgba(255,255,255,.1);
    border-color: var(--afe-accent);
    box-shadow: 0 0 0 3px rgba(201,162,39,.2);
}
.afe-cf button { align-self: center; padding: 14px 40px; }
.afe-cf-wrap .afe-form-status { text-align: center; }
.afe-cf-wrap.afe-cf-dark .afe-form-status.success { color: #9ee6b5; }
.afe-cf-wrap.afe-cf-dark .afe-form-status.error   { color: #f2a1a1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .afe-grid-3, .afe-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .afe-inv-options { grid-template-columns: 1fr; }
    .afe-or { padding: 6px 0; }
    .afe-inv-grid { grid-template-columns: 1fr; }
    .afe-about-top { grid-template-columns: 1fr; }
    .afe-contact-wrap { grid-template-columns: 1fr; }

    .afe-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    .afe-header-inner { padding: 16px 24px; }
    .afe-header-toggle { display: flex; }
    .afe-header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--afe-primary);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 24px;
        gap: 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease, padding .35s ease;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .afe-header-nav.is-open {
        max-height: 600px;
        padding: 20px 24px 30px;
    }
    .afe-header-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }
    .afe-header-nav ul a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .afe-header-nav a::after { display: none; }
    .afe-header-cta {
        align-self: flex-start;
        margin-top: 10px;
    }
}
@media (max-width: 640px) {
    .afe-section { padding: 40px 16px; }
    .afe-grid-2, .afe-grid-3, .afe-grid-4 { grid-template-columns: 1fr; }
    .afe-hero-overlay { padding: 32px 22px; min-height: 280px; }
    .afe-inv-block, .afe-inv-card { padding: 24px; }
    .afe-about-objectives { padding: 26px; }
    .afe-contact-form { padding: 22px; }
    .afe-contact-form .afe-row-2 { grid-template-columns: 1fr; }
    .afe-sub-list li { padding: 12px 14px 12px 46px; font-size: 0.95rem; }

    .afe-hero-section { padding: 60px 20px; }
    .afe-hero-buttons { flex-direction: column; width: 100%; }
    .afe-hero-btn { width: 100%; text-align: center; }

    .afe-footer-inner { padding: 0 24px; }
    .afe-footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .afe-footer-bottom { flex-direction: column; text-align: center; }
}
