/* ============================================================
   M360 Elementor Addon  |  m360-addon.css
   All widget front-end styles
   ============================================================ */

/* ── Shared Utilities ─────────────────────────────────────── */
.m360-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
.m360-text-center { text-align: center; }

/* ============================================================
   1. HERO SECTION
   ============================================================ */
.m360-hero {
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.m360-hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e0264a;
    margin: 0 0 16px;
}
.m360-hero-headline {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a2e;
    margin: 0 0 24px;
    max-width: 680px;
}
.m360-hero-headline .m360-accent { color: #e0264a; }
.m360-hero-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    max-width: 540px;
    margin: 0 0 32px;
}
.m360-hero-btn {
    display: inline-block;
    background-color: #e0264a;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.m360-hero-btn:hover { background-color: #c01f3d; color: #ffffff; }

/* ============================================================
   2. NEWSLETTER SECTION
   ============================================================ */
.m360-newsletter {
    padding: 80px 0;
    background-color: #f3f4f6;
    box-sizing: border-box;
}
.m360-newsletter-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 56px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
    box-sizing: border-box;
}
.m360-newsletter-left { flex: 1 1 300px; }
.m360-newsletter-right {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.m360-newsletter-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e0264a;
    margin: 0 0 12px;
}
.m360-newsletter-headline {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a2e;
    margin: 0 0 16px;
}
.m360-newsletter-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
    max-width: 400px;
    margin: 0 0 24px;
}
.m360-newsletter-btn {
    display: inline-block;
    background-color: #e0264a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.m360-newsletter-btn:hover { background-color: #c01f3d; }

/* Features */
.m360-feat { max-width: 160px; }
.m360-feat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background-color: rgba(224,38,74,0.1);
}
.m360-feat-icon-wrap i, .m360-feat-icon-wrap svg { font-size: 22px; width: 22px; height: 22px; color: #e0264a; }
.m360-feat-title { font-size: 0.75rem; font-weight: 700; color: #1a1a2e; margin: 0 0 6px; }
.m360-feat-text  { font-size: 0.75rem; color: #6b7280; margin: 0; line-height: 1.5; }

/* ============================================================
   3. CONTRIBUTOR SECTION
   ============================================================ */
.m360-contributor {
    background-color: #0d1224;
    padding: 64px 0;
    box-sizing: border-box;
}
.m360-contributor-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    background-color: #1a2035;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 48px;
    max-width: 760px;
    margin: 0 auto;
    box-sizing: border-box;
}
.m360-contributor-avatar-wrap { flex-shrink: 0; }
.m360-contributor-avatar {
    width: 128px;
    height: 128px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}
.m360-contributor-body { flex: 1; }
.m360-contributor-headline {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
}
.m360-contributor-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin: 0 0 24px;
}
.m360-contributor-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e0264a;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.m360-contributor-btn:hover { background-color: #c01f3d; color: #ffffff; }
.m360-contributor-btn i, .m360-contributor-btn svg { font-size: 16px; width: 16px; height: 16px; }

/* ============================================================
   4. MASCOT SECTION
   ============================================================ */
.m360-mascot {
    background-color: #ffffff;
    padding: 80px 0;
    box-sizing: border-box;
}
.m360-mascot-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}
.m360-mascot-inner.m360-mascot-reverse { flex-direction: row-reverse; }
.m360-mascot-text { flex: 1 1 300px; }
.m360-mascot-img-wrap { flex-shrink: 0; }
.m360-mascot-image { width: 320px; height: auto; display: block; }

.m360-mascot-headline {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 20px;
    font-style: normal;
}
.m360-mascot-headline .m360-accent {
    color: #e0264a;
    font-style: italic;
}
.m360-mascot-body p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 16px;
    max-width: 480px;
}
.m360-mascot-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.m360-mascot-divider {
    width: 40px;
    height: 2px;
    background-color: #e0264a;
    flex-shrink: 0;
}
.m360-mascot-tagline {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1a1a2e;
}

/* ============================================================
   5. VERTICALS SECTION
   ============================================================ */
.m360-verticals {
    background-color: #0d1224;
    padding: 80px 0;
    box-sizing: border-box;
}
.m360-verticals-headline {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
}
.m360-verticals-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.65;
}

/* Icon Grid */
.m360-verticals-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 56px;
}
.m360-vert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.m360-vert-icon-wrap {
    width: 64px;
    height: 64px;
    background-color: #1a2035;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.m360-vert-icon-wrap i, .m360-vert-icon-wrap svg { font-size: 26px; width: 26px; height: 26px; color: #e0264a; }
.m360-vert-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

/* Quote Card */
.m360-verticals-quote-card {
    background-color: #1a2035;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px;
    max-width: 760px;
    margin: 0 auto;
}
.m360-verticals-quote {
    font-size: 1rem;
    font-style: italic;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   6. MAP SECTION
   ============================================================ */
.m360-map-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
}
.m360-map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.m360-map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    white-space: nowrap;
}
.m360-map-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e0264a;
    margin: 0 0 4px;
}
.m360-map-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

/* ============================================================
   7. CONTACT US SECTION
   ============================================================ */
.m360-contact {
    background-color: #0d1224;
    padding: 80px 0;
    box-sizing: border-box;
}
.m360-contact-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    align-items: flex-start;
}
.m360-col { flex: 1 1 300px; min-width: 280px; }

/* Headline */
.m360-contact-headline {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    margin: 0 0 24px;
}
.m360-contact-subtext {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.6);
    max-width: 380px;
    margin: 0 0 32px;
}

/* Contact Cards */
.m360-contact-cards { display: flex; flex-direction: column; gap: 16px; }
.m360-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #1a2035;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px;
    max-width: 400px;
    box-sizing: border-box;
}
.m360-contact-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.m360-contact-card-icon i, .m360-contact-card-icon svg { font-size: 18px; width: 18px; height: 18px; }
.m360-contact-card-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin: 0 0 3px;
}
.m360-contact-card-email {
    font-size: 0.85rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.m360-contact-card-email:hover { color: #e0264a; }

/* Form Card */
.m360-form-card {
    background-color: #1a2035;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px;
    box-sizing: border-box;
}
.m360-form-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 24px;
    letter-spacing: 0.03em;
}

/* Form Elements */
.m360-form-card form { display: flex; flex-direction: column; gap: 16px; }
.m360-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.m360-form-card input[type="text"],
.m360-form-card input[type="email"],
.m360-form-card textarea {
    width: 100%;
    background-color: #0d1224;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: #ffffff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}
.m360-form-card input::placeholder, .m360-form-card textarea::placeholder { color: rgba(255,255,255,0.3); }
.m360-form-card input:focus, .m360-form-card textarea:focus { border-color: #e0264a; outline: none; }
.m360-form-card textarea { resize: none; }

/* Submit Button */
.m360-contact-btn {
    width: 100%;
    background-color: #ffffff;
    color: #0d1224;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: inherit;
}
.m360-contact-btn:hover { background-color: #e0264a; color: #ffffff; }

/* ============================================================
   Responsive – All widgets
   ============================================================ */
@media (max-width: 768px) {
    /* Hero */
    .m360-hero { min-height: auto; }

    /* Newsletter */
    .m360-newsletter-card { padding: 32px 24px; }
    .m360-newsletter-right { flex-direction: column; gap: 24px; }

    /* Contributor */
    .m360-contributor-card { flex-direction: column; text-align: center; padding: 32px 24px; }
    .m360-contributor-avatar { margin: 0 auto; }

    /* Mascot */
    .m360-mascot-inner, .m360-mascot-inner.m360-mascot-reverse { flex-direction: column; }
    .m360-mascot-image { width: 100%; max-width: 280px; margin: 0 auto; }

    /* Verticals */
    .m360-verticals-grid { gap: 20px; }

    /* Contact */
    .m360-contact-inner { flex-direction: column; gap: 40px; }
    .m360-form-row { grid-template-columns: 1fr; }
    .m360-contact-card { max-width: 100%; }
}
