/* ============================================
   EBM HCS - Top Announcement Slider Bar
   ============================================ */

:root {
    --ebm-bg-primary: #0a0e27;
    --ebm-bg-secondary: #141b3d;
    --ebm-bg-card: #1a2142;
    --ebm-accent-purple: #a855f7;
    --ebm-accent-pink: #ec4899;
    --ebm-accent-blue: #3b82f6;
    --ebm-accent-cyan: #06b6d4;
    --ebm-accent-green: #10b981;
    --ebm-gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --ebm-gradient-blue: linear-gradient(135deg, #667eea 0%, #06b6d4 100%);
    --ebm-text-primary: #ffffff;
    --ebm-text-secondary: #94a3b8;
}

/* === Top Bar Container (disabled) === */
.ebm-top-bar {
    display: none !important;
}
.ebm-top-bar-DISABLED {
    position: relative;
    width: 100%;
    background: var(--ebm-gradient-purple);
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.3);
}

.ebm-top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px 0 20px;
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Slide Track === */
.ebm-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Individual Slides === */
.ebm-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    white-space: nowrap;
}

.ebm-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ebm-slide.exit-up {
    opacity: 0;
    transform: translateY(-10px);
}

.ebm-slide-icon {
    font-size: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

.ebm-slide-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13.5px;
    color: #ffffff;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.ebm-slide-text strong {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 6px;
}

.ebm-slide-text a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 2px;
    font-weight: 600;
    transition: text-decoration-color 0.2s ease;
}

.ebm-slide-text a:hover {
    text-decoration-color: #ffffff;
}

/* === Close Button === */
.ebm-top-bar-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    font-size: 18px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    line-height: 1;
    padding: 0;
}

.ebm-top-bar-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* === Progress Indicator === */
.ebm-top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    animation: ebm-slider-progress 5s linear infinite;
}

@keyframes ebm-slider-progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* === Hidden State === */
.ebm-top-bar.ebm-bar-hidden {
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* === Responsive === */
@media (max-width: 768px) {
    .ebm-top-bar-inner {
        padding: 0 40px 0 12px;
        height: 52px;
    }

    .ebm-slide {
        white-space: normal;
        text-align: center;
        padding: 4px 0;
    }

    .ebm-slide-text {
        font-size: 12px;
        line-height: 1.3;
    }

    .ebm-slide-text strong {
        font-size: 10px;
        display: block;
        margin-bottom: 2px;
        margin-right: 0;
        display: inline;
    }

    .ebm-slide-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .ebm-top-bar-inner {
        height: 58px;
    }

    .ebm-slide-text {
        font-size: 11.5px;
        padding: 0 4px;
    }
}

/* ============================================
   EBM Site Header
   ============================================ */

.site-header {
    background: var(--ebm-bg-primary) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* --- Logo: larger + breathing lung animation --- */
.custom-logo {
    max-height: 85px !important;
    width: auto !important;
    object-fit: contain;
}

.site-branding,
.site-logo {
    max-width: 320px;
}

.site-footer .custom-logo {
    max-height: 60px !important;
}

/* Breathing animation — wraps the header logo */
.ebm-breathing-logo {
    display: inline-block;
    position: relative;
}

/* Breathing animation — only the lung lobes, centered */
.ebm-breathing-logo .ebm-lung-lobes {
    transform-origin: 795px 440px;
    transform-box: fill-box;
    transform-origin: center center;
    animation: ebm-lung-breathe 4.5s ease-in-out infinite;
}

.ebm-breathing-logo .ebm-lungs-group {
    animation: ebm-lung-glow 4.5s ease-in-out infinite;
}

@keyframes ebm-lung-breathe {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.08); }
    55%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes ebm-lung-glow {
    0%   { filter: drop-shadow(0 0 2px rgba(57,181,74,0.0)); }
    35%  { filter: drop-shadow(0 0 8px rgba(57,181,74,0.5)); }
    55%  { filter: drop-shadow(0 0 8px rgba(57,181,74,0.5)); }
    100% { filter: drop-shadow(0 0 2px rgba(57,181,74,0.0)); }
}


/* ============================================
   EBM Footer
   ============================================ */

.ebm-footer {
    background: var(--ebm-bg-primary) !important;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 4rem 2rem 2rem;
}

.ebm-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

/* Brand + Contact */
.ebm-footer-logo img {
    max-height: 55px;
    width: auto;
}

.ebm-footer-tagline {
    color: var(--ebm-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.ebm-footer-contact {
    font-style: normal;
    margin-top: 1.25rem;
}

.ebm-footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--ebm-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.ebm-footer-contact svg {
    flex-shrink: 0;
    color: var(--ebm-accent-purple);
    margin-top: 2px;
}

.ebm-footer-contact a {
    color: var(--ebm-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.ebm-footer-contact a:hover {
    color: var(--ebm-accent-purple);
}

/* Nav columns */
.ebm-footer-nav h4 {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 1.1rem;
}

.ebm-footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ebm-footer-nav li {
    margin-bottom: 0.65rem;
}

.ebm-footer-nav a {
    color: var(--ebm-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.ebm-footer-nav a:hover {
    color: var(--ebm-accent-purple);
}

/* Bottom bar */
.ebm-footer-bottom {
    max-width: 1100px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

.ebm-footer-bottom p {
    color: rgba(148,163,184,0.5);
    font-size: 0.78rem;
    margin: 0;
    text-align: center;
}

/* Tablet */
@media (max-width: 768px) {
    .ebm-footer {
        padding: 3rem 1.5rem 2rem;
    }
    .ebm-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .ebm-footer-brand {
        grid-column: 1 / -1;
    }
    .ebm-footer-bottom {
        padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    }
}

/* Phone */
@media (max-width: 480px) {
    .ebm-footer {
        padding: 2.5rem 1.25rem 1.5rem;
    }
    .ebm-footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ebm-footer-brand {
        grid-column: auto;
        text-align: center;
    }
    .ebm-footer-contact p {
        justify-content: center;
    }
    .ebm-footer-tagline br { display: none; }
    .ebm-footer-nav { text-align: center; }
    .ebm-footer-bottom {
        padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
    }
}

.site-header .site-navigation a {
    color: #e2e8f0 !important;
    font-size: 0.9rem;
    font-weight: 500;
}

.site-header .site-navigation a:hover {
    color: #a855f7 !important;
}

/* Hide old demo menu items */
body {
    background: var(--ebm-bg-primary);
}

/* ============================================
   EBM Landing Pages
   ============================================ */

.ebm-landing {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #e2e8f0;
    background: var(--ebm-bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Force dark background on landing pages — override theme defaults */
.ebm-landing h1,
.ebm-landing h2,
.ebm-landing h3 {
    color: #ffffff !important;
}

.ebm-landing p {
    color: #94a3b8 !important;
}

.ebm-landing p strong {
    color: #e2e8f0 !important;
}

/* Page title that Hello Elementor adds above content */
.ebm-landing .page-header,
.ebm-landing .entry-header {
    display: none !important;
}

/* Make the whole page dark + full-width when .ebm-landing is present */
body:has(.ebm-landing) .site-main,
body:has(.ebm-landing) .page-content,
body:has(.ebm-landing) .entry-content,
body:has(.ebm-landing) {
    background: #0a0e27 !important;
}

body:has(.ebm-landing) .site-main {
    max-width: 100% !important;
    padding: 0 !important;
}

body:has(.ebm-landing) .page-header h1,
body:has(.ebm-landing) .entry-title {
    display: none !important;
}

/* Hero */
.ebm-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1040 40%, transparent 100%);
}

/* Force top-level Elementor sections full width (not nested containers) */
.elementor > .elementor-element.e-con,
.elementor > .elementor-element.e-con-boxed,
.elementor > .elementor-element.e-con-boxed > .e-con-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.ebm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(168,85,247,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(59,130,246,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.ebm-hero-inner {
    max-width: 100%;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.ebm-hero-badge {
    display: inline-block;
    font-size: 0.94rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a855f7;
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.2);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.ebm-hero h1,
.ebm-landing .ebm-hero h1,
.ebm-hero-inner h1 {
    font-size: clamp(3rem, 7.5vw, 5.25rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    margin: 0 0 1.25rem !important;
    letter-spacing: -0.02em;
}

.ebm-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ebm-hero p {
    font-size: clamp(1.25rem, 3.1vw, 1.56rem);
    color: #94a3b8;
    margin: 0 0 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

#ebm-hero-rotator {
    text-align: center;
    position: relative;
    min-height: 6rem;
}

#ebm-hero-rotator .ebm-hero-phrase {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

.ebm-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 30px;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}

.ebm-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139,92,246,0.4);
    color: #fff;
}

/* Sections */
.ebm-section {
    padding: 5rem 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.ebm-section-dark {
    background: rgba(255,255,255,0.02);
    max-width: 100%;
}

.ebm-section-dark .ebm-section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.ebm-section-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #8b5cf6;
    margin-bottom: 0.75rem;
}

.ebm-section h2 {
    font-size: clamp(1.875rem, 5vw, 2.81rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.ebm-section p {
    font-size: 1.05rem;
    color: #94a3b8;
    margin: 0 0 1.5rem;
}

.ebm-section p strong {
    color: #e2e8f0;
}

/* Outcome Cards */
.ebm-outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.ebm-outcome-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: border-color 0.3s;
}

.ebm-outcome-card:hover {
    border-color: rgba(168,85,247,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 0 40px rgba(139,92,246,0.08);
}

.ebm-outcome-card {
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.ebm-outcome-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.ebm-outcome-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.35rem;
}

.ebm-outcome-card p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Clickable outcome cards — remove default link/button styling */
a.ebm-outcome-card,
a.ebm-outcome-card:hover,
a.ebm-outcome-card:focus,
a.ebm-outcome-card:visited {
    text-decoration: none !important;
    display: block !important;
    color: inherit !important;
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
}

a.ebm-outcome-card:hover {
    border-color: rgba(168,85,247,0.3) !important;
}

/* Kill any ghost buttons or empty elements in outcome cards */
.ebm-landing a:not(.ebm-hero-cta)::after,
.ebm-outcomes a::after {
    display: none !important;
    content: none !important;
}

/* Hide empty paragraphs WordPress inserts between cards */
.ebm-outcomes > p,
.ebm-outcomes > br,
.ebm-outcomes > p:empty,
.ebm-landing .ebm-outcomes > :not(a):not(div) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

/* Ensure WordPress doesn't style content area links as buttons */
.ebm-landing .entry-content a,
.ebm-landing .page-content a,
.ebm-landing .elementor-widget-container a {
    background: none !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Re-apply styles only for our CTA buttons */
.ebm-landing .ebm-hero-cta {
    padding: 0.9rem 2rem !important;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 20px rgba(139,92,246,0.3) !important;
}

/* Re-apply card styles */
.ebm-landing a.ebm-outcome-card {
    padding: 1.5rem !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 0.75rem !important;
    background: rgba(255,255,255,0.03) !important;
}

/* Final CTA */
.ebm-final-cta {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(160deg, #0a0e27, #1a1040);
    position: relative;
}

.ebm-final-cta h2 {
    font-size: clamp(1.875rem, 5vw, 3.125rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
}

.ebm-final-cta p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin: 0 0 2rem;
}

/* Divider line */
.ebm-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    border: none;
    margin: 0 0 2rem;
    border-radius: 2px;
}

/* Section Images — stylish with glow */
.ebm-img {
    width: 100%;
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 60px rgba(139,92,246,0.08);
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ebm-img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 80px rgba(139,92,246,0.15);
}

.ebm-img-float {
    max-width: 380px;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    object-fit: cover;
    float: right;
    margin: 0 0 1.5rem 2rem;
}

.ebm-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.ebm-two-col-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.ebm-two-col img,
.ebm-two-col-reverse img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 60px rgba(139,92,246,0.08);
    border: 1px solid rgba(255,255,255,0.06);
    object-fit: cover;
    max-height: 350px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ebm-two-col img:hover,
.ebm-two-col-reverse img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 80px rgba(139,92,246,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .ebm-two-col,
    .ebm-two-col-reverse {
        grid-template-columns: 1fr;
    }
    .ebm-img-float {
        float: none;
        max-width: 100%;
        margin: 1.5rem 0;
    }
    .ebm-hero { min-height: auto; padding: 4rem 1.25rem 2rem; }
    .ebm-section { padding: 3rem 1.25rem; }
    .ebm-final-cta {
        padding: 3rem 1.25rem calc(7rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 480px) {
    .ebm-outcomes { grid-template-columns: 1fr; }
    .ebm-final-cta {
        padding: 3rem 1.25rem calc(8rem + env(safe-area-inset-bottom, 0px));
    }
}

/* ============================================
   Contact Page
   ============================================ */

.ebm-contact-page {
    background: var(--ebm-bg-primary);
}

/* Hero */
.ebm-contact-hero {
    text-align: center;
    padding: 6rem 2rem 3rem;
    background: linear-gradient(160deg, #0a0e27 0%, #1a1040 50%, #0a0e27 100%);
    position: relative;
}

.ebm-contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    border-radius: 2px;
}

.ebm-contact-hero .ebm-section-label {
    display: inline-block;
    margin-bottom: 1rem;
}

.ebm-contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.ebm-contact-hero p {
    font-size: 1.15rem;
    color: var(--ebm-text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Body */
.ebm-contact-body {
    padding: 4rem 2rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.ebm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3.5rem;
    align-items: start;
}

/* Info cards */
.ebm-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ebm-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.75rem;
    transition: border-color 0.3s, background 0.3s;
}

.ebm-info-card:hover {
    border-color: rgba(139,92,246,0.3);
    background: rgba(139,92,246,0.04);
}

.ebm-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(59,130,246,0.15));
    border-radius: 0.625rem;
    color: var(--ebm-accent-purple);
}

.ebm-info-card h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.ebm-info-card p {
    color: var(--ebm-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.ebm-info-card a {
    color: var(--ebm-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.ebm-info-card a:hover {
    color: var(--ebm-accent-purple);
}

/* Form wrapper */
.ebm-contact-form-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    padding: 2.5rem;
}

.ebm-contact-form-wrap h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.ebm-contact-form-wrap > p {
    color: var(--ebm-text-secondary);
    font-size: 0.95rem;
    margin: 0 0 2rem;
}

/* Gravity Forms dark theme overrides */
.gform_wrapper.gform-theme {
    margin: 0;
    padding: 0.5rem 0.75rem;
}

.gform_wrapper .gfield {
    margin-bottom: 1.25rem;
}

.gform_wrapper .gfield_label,
.gform_wrapper label {
    color: #cbd5e1 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem !important;
}

.gform_wrapper input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.gform_wrapper select,
.gform_wrapper textarea {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 0.5rem !important;
    color: #e2e8f0 !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    width: 100% !important;
}

.gform_wrapper input:not([type="submit"]):focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
    outline: none !important;
    border-color: var(--ebm-accent-purple) !important;
    box-shadow: 0 0 0 3px rgba(139,92,246,0.15) !important;
    background: rgba(255,255,255,0.08) !important;
}

.gform_wrapper textarea {
    min-height: 130px !important;
    resize: vertical;
}

.gform_wrapper select {
    appearance: auto;
    cursor: pointer;
}

.gform_wrapper select option {
    background: #1a1040;
    color: #e2e8f0;
}

/* Placeholder text */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
    color: rgba(148,163,184,0.5) !important;
}

/* Submit button */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_footer button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    padding: 0.9rem 2rem !important;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    border-radius: 0.5rem !important;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 20px rgba(139,92,246,0.3) !important;
    letter-spacing: 0.02em;
    margin-top: 0.5rem !important;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(139,92,246,0.4) !important;
}

/* Validation */
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea {
    border-color: #ef4444 !important;
}

.gform_wrapper .validation_message {
    color: #f87171 !important;
    font-size: 0.8rem !important;
}

.gform_wrapper .gform_confirmation_message {
    color: var(--ebm-accent-green) !important;
    font-size: 1.05rem;
    text-align: center;
    padding: 2rem 0;
}

/* Required asterisk */
.gform_wrapper .gfield_required {
    color: var(--ebm-accent-purple) !important;
}

/* GF theme reset — kill bright white defaults */
.gform_wrapper.gform-theme input:not([type="submit"]):not([type="hidden"]),
.gform_wrapper.gform-theme select,
.gform_wrapper.gform-theme textarea {
    background-color: rgba(255,255,255,0.06) !important;
    color: #e2e8f0 !important;
    border-color: rgba(255,255,255,0.1) !important;
}

/* Contact page responsive */
@media (max-width: 768px) {
    .ebm-contact-hero {
        padding: 4rem 1.5rem 2.5rem;
    }
    .ebm-contact-body {
        padding: 3rem 1.25rem 4rem;
    }
    .ebm-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .ebm-contact-form-wrap {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .ebm-contact-hero h1 {
        font-size: 1.75rem;
    }
    .ebm-contact-form-wrap {
        padding: 1.5rem 1.25rem;
        border-radius: 0.75rem;
    }
    .ebm-info-card {
        padding: 1rem 1.25rem;
    }
}

/* ============================================
   EBM HCS - Page Padding + Title Color Fix (2026-04-14)
   ============================================ */
.page .site-main,
.single .site-main,
.site-main > article,
.page .entry-content,
.single .entry-content {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
.page .entry-title,
.single .entry-title,
.page h1,
.page h2,
.page h3,
.single h1,
.single h2,
.single h3 {
    color: var(--ebm-text-primary, #ffffff);
}

/* ============================================
   EBM HCS - Homepage Attention Block (2026-04-14)
   ============================================ */
#ebm-role-selector {
    padding: 48px 20px 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(10,14,39,0) 0%, rgba(124,58,237,0.08) 100%);
}
#ebm-role-selector .ebm-rs-kicker {
    color: var(--ebm-accent-purple, #a855f7);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 0 6px;
}
#ebm-role-selector .ebm-rs-title {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 auto 28px;
    font-weight: 700;
}
#ebm-role-selector .ebm-rs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}
.ebm-rs-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 24px 22px;
    min-height: 160px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(0,0,0,0.25);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    position: relative;
    overflow: hidden;
}
.ebm-rs-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.35), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}
.ebm-rs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.35);
    filter: brightness(1.08);
}
.ebm-rs-card-label {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}
.ebm-rs-card-sub {
    font-size: 0.92rem;
    opacity: 0.92;
    line-height: 1.35;
    position: relative;
}
.ebm-rs-card-arrow {
    font-size: 1.5rem;
    font-weight: 700;
    align-self: flex-end;
    transition: transform 0.25s ease;
    position: relative;
}
.ebm-rs-card:hover .ebm-rs-card-arrow { transform: translateX(6px); }

/* Rotating tagline under hero H1 */
#ebm-tagline-rotator {
    position: relative;
    min-height: 2.4em;
    margin: 12px auto 18px;
    max-width: 900px;
    text-align: center;
}
#ebm-tagline-rotator .ebm-tr-phrase {
    position: absolute;
    left: 0; right: 0;
    top: 0;
    color: var(--ebm-text-secondary, #94a3b8);
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-style: italic;
    opacity: 0;
    transition: opacity 900ms ease;
    pointer-events: none;
}
#ebm-tagline-rotator .ebm-tr-phrase.is-active { opacity: 1; }
