@import url("brand/advisorcrm.css");
/* ════════════════════════════════════════════════════════════════════════
   STYLE-ADVISORCRM.CSS — the ONE custom stylesheet for the AdvisorCRM
   public site. UPLOAD TO: public/css/style-advisorcrm.css
   Load AFTER Bootstrap and the theme css in every public page:
     <link href="{{ asset('css/style-advisorcrm.css') }}" rel="stylesheet">
   Brand palette (classy, industry-standard white background):
     dark green  #1b4530   dark blue  #1e3a5f   gold accent #c9a84c
     pale green  #eef5ef   pale blue  #eef2f7   charcoal    #2c2c2a
   ════════════════════════════════════════════════════════════════════════ */

:root {
    /* These local names now alias the brand palette (public/css/brand/advisorcrm.css,
       @imported at the top of this file) so the front pages and dashboard share one
       source of truth. Values are unchanged — brand.css holds the same homepage hexes. */
    --acrm-green-dark:  var(--brand-deep);        /* #1b4530 */
    --acrm-green:       var(--brand-primary);     /* #2a6041 */
    --acrm-blue-dark:   var(--brand-blue-dark);   /* #1e3a5f */
    --acrm-blue:        var(--brand-blue);        /* #2c5282 */
    --acrm-gold:        var(--brand-gold);        /* #c9a84c */
    --acrm-pale-green:  var(--brand-wash);        /* #eef5ef */
    --acrm-pale-blue:   var(--brand-pale-blue);   /* #eef2f7 */
    --acrm-charcoal:    var(--brand-text);        /* #2c2c2a */
    --acrm-mid:         var(--brand-muted);       /* #555555 */
    --acrm-border:      var(--brand-border);      /* #e2e6e3 */
}

body.acrm {
    background: #ffffff;
    color: var(--acrm-charcoal);
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}

/* ── Navigation — selectors use #mainNav to outrank the theme's ID rules ── */
#mainNav.acrm-nav { background: #ffffff !important; border-top: 5px solid var(--acrm-green-dark); border-bottom: 1px solid var(--acrm-border); box-shadow: 0 1px 6px rgba(0,0,0,0.05); padding-top: 14px; padding-bottom: 14px; }
#mainNav.acrm-nav .navbar-brand { color: var(--acrm-green-dark) !important; font-weight: 700; letter-spacing: 0.02em; font-size: 1.15rem; }
#mainNav.acrm-nav .navbar-brand span { color: var(--acrm-blue-dark); font-weight: 400; }
#mainNav.acrm-nav .nav-link { color: var(--acrm-charcoal) !important; font-size: 14px; font-weight: 600; letter-spacing: 0.03em; }
#mainNav.acrm-nav .nav-link:hover { color: var(--acrm-green) !important; }
#mainNav.acrm-nav .navbar-toggler { color: var(--acrm-green-dark) !important; border: 1px solid var(--acrm-border); font-size: 13px; padding: 6px 10px; }
.acrm-btn-cta { background: var(--acrm-green); color: #ffffff !important; border-radius: 6px; padding: 10px 22px; font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; border: none; }
.acrm-btn-cta:hover { background: var(--acrm-green-dark); }
.acrm-btn-outline { background: transparent; color: var(--acrm-blue-dark) !important; border: 1.5px solid var(--acrm-blue-dark); border-radius: 6px; padding: 9px 20px; font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
.acrm-btn-outline:hover { background: var(--acrm-pale-blue); }

/* ── Hero / masthead: LIGHT. White room, dark type, green punctuation. ── */
.acrm-hero { background: linear-gradient(170deg, #ffffff 0%, var(--acrm-pale-green) 100%); color: var(--acrm-charcoal); padding: 140px 0 70px; }
.acrm-hero h1 { font-family: Georgia, serif; font-weight: 400; font-size: 2.4rem; line-height: 1.3; color: var(--acrm-charcoal); }
.acrm-hero .acrm-hero-label { color: var(--acrm-green); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.acrm-hero p.lead { color: var(--acrm-mid); font-size: 1.1rem; }

/* ── Sections ── */
.acrm-section { padding: 52px 0; }
.acrm-section-alt { background: var(--acrm-pale-green); }
.acrm-section-blue { background: var(--acrm-pale-blue); }
.acrm-section-label { color: var(--acrm-gold); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.acrm-section h2 { font-family: Georgia, serif; font-weight: 400; color: var(--acrm-charcoal); margin: 8px 0 18px; }

/* ── Cards / feature boxes ── */
.acrm-card { background: #ffffff; border: 1px solid var(--acrm-border); border-radius: 12px; padding: 28px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.acrm-card .acrm-card-icon { font-size: 30px; color: var(--acrm-green); margin-bottom: 14px; }
.acrm-card h4 { font-size: 17px; font-weight: 700; color: var(--acrm-blue-dark); }
.acrm-card p { font-size: 14px; color: var(--acrm-mid); line-height: 1.65; margin: 0; }
.acrm-card-green { background: var(--acrm-pale-green); border-color: #d8e8dd; }
.acrm-card-blue { background: var(--acrm-pale-blue); border-color: #d9e2ee; }

/* ── Footer ── */
.acrm-footer { background: var(--acrm-green-dark); color: rgba(255,255,255,0.75); padding: 44px 0 30px; font-size: 13px; }
.acrm-footer a { color: var(--acrm-gold); text-decoration: none; }
.acrm-footer a:hover { text-decoration: underline; }
.acrm-footer .acrm-footer-brand { color: #ffffff; font-weight: 700; font-size: 16px; }

/* ── Case-study cards (welcome page) ── */
.acrm-case-card { display: block; border-radius: 10px; padding: 18px 22px; font-weight: 700; font-size: 15px; text-align: center; text-decoration: none !important; border: 1px solid transparent; transition: transform .12s ease, box-shadow .12s ease; }
.acrm-case-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.acrm-case-green { background: var(--acrm-pale-green); color: var(--acrm-green-dark) !important; border-color: #d8e8dd; }
.acrm-case-blue { background: var(--acrm-pale-blue); color: var(--acrm-blue-dark) !important; border-color: #d9e2ee; }

/* ── CTA band ── */
.acrm-cta { background: linear-gradient(160deg, var(--acrm-blue-dark) 0%, var(--acrm-green-dark) 100%); color: #ffffff; padding: 42px 0; text-align: center; }
.acrm-cta h2 { font-family: Georgia, serif; font-weight: 400; font-size: 1.8rem; color: #ffffff; margin-bottom: 4px; }
.acrm-cta .btn { padding: 10px 26px !important; font-size: 13px !important; }

/* ── Contact strip ── */
.acrm-contact { background: var(--acrm-pale-blue); padding: 36px 0; text-align: center; }
.acrm-contact h2 { font-family: Georgia, serif; font-weight: 400; color: var(--acrm-blue-dark); margin-bottom: 22px; }
.acrm-contact .acrm-social-btn { display: inline-block; width: 52px; height: 52px; line-height: 52px; border-radius: 50%; background: var(--acrm-blue-dark); color: #ffffff !important; font-size: 20px; margin: 0 8px; text-align: center; }
.acrm-contact .acrm-social-btn:hover { background: var(--acrm-green); }

/* ── Hero overrides on top of the theme masthead (theme sets 100vh + its own gradient) ── */
header.masthead.acrm-hero { background: linear-gradient(170deg, #ffffff 0%, var(--acrm-pale-green) 100%) !important; height: auto !important; min-height: 0 !important; padding: 150px 0 70px !important; color: var(--acrm-charcoal); }
header.masthead.acrm-hero h1 { font-family: Georgia, serif; font-weight: 400; color: var(--acrm-charcoal) !important; font-size: 2.4rem; line-height: 1.3; }
/* Theme's .btn-outline is a white ghost button (invisible on a light hero) — make ours solid green */
header.masthead.acrm-hero .btn-outline,
.acrm-cta .btn-outline { background: var(--acrm-green) !important; border: 2px solid var(--acrm-green) !important; color: #ffffff !important; border-radius: 6px; font-weight: 700; letter-spacing: 0.05em; }
header.masthead.acrm-hero .btn-outline:hover { background: var(--acrm-green-dark) !important; border-color: var(--acrm-green-dark) !important; }
.acrm-cta .btn-outline { background: transparent !important; border-color: #ffffff !important; }
.acrm-cta .btn-outline:hover { background: rgba(255,255,255,0.12) !important; }
.acrm-section .feature-item i { color: var(--acrm-green) !important; }
.acrm-section .feature-item h3 { color: var(--acrm-blue-dark); font-size: 18px; font-weight: 700; }


/* ── Hero screenshot (replaces the old iPhone mockup) ── */
.acrm-hero-img { max-width: 380px; width: 100%; border-radius: 14px; box-shadow: 0 14px 40px rgba(27,69,48,0.18); border: 1px solid var(--acrm-border); }

/* ── Trust bar — dark credibility strip under the hero ── */
.acrm-trustbar { background: var(--acrm-green-dark); padding: 16px 0; }
.acrm-trustbar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 46px; }
.acrm-trust-item { color: #ffffff; font-size: 13.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.acrm-trust-item i { color: var(--acrm-gold); margin-right: 8px; }

/* ── Feature grid tightening (3-across, shorter page) ── */
.acrm-section .feature-item { max-width: 100%; padding: 18px 8px; }
.acrm-section .feature-item i { font-size: 42px !important; }


/* ── Product tour strip (Features section) ── */
.acrm-tour-card { background: #ffffff; border: 1px solid var(--acrm-border); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform .12s ease, box-shadow .12s ease; }
.acrm-tour-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(27,69,48,0.12); }
.acrm-tour-card img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--acrm-pale-green); }
.acrm-tour-card p { margin: 0; padding: 10px 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--acrm-blue-dark); text-align: center; border-top: 1px solid var(--acrm-border); }


/* ── Interior page header band (case studies, privacy, terms, demo) ── */
.acrm-pagehead { background: linear-gradient(170deg, #ffffff 0%, var(--acrm-pale-green) 100%); padding: 140px 0 40px; border-bottom: 1px solid var(--acrm-border); }
.acrm-pagehead h1 { font-family: Georgia, serif; font-weight: 400; font-size: 2.1rem; color: var(--acrm-charcoal); margin: 6px 0 0; }
── */


/* ── Long-form prose (case studies, legal pages) ── */
.acrm-prose { font-size: 16px; line-height: 1.8; color: var(--acrm-mid); }
.acrm-prose h3 { font-family: Georgia, serif; font-weight: 400; color: var(--acrm-blue-dark); font-size: 1.3rem; margin: 28px 0 10px; }
.acrm-prose p { margin-bottom: 16px; }
.acrm-case-tag { color: var(--acrm-gold); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 6px; }
.acrm-prose .content h3 { font-family: Georgia, serif; font-weight: 400; color: var(--acrm-blue-dark); font-size: 1.25rem; margin-top: 24px; }

/* ── Forms on brand pages ── */
.acrm .form-group label { font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--acrm-blue-dark); text-transform: uppercase; }
.acrm .form-control { border: 1px solid var(--acrm-border); border-radius: 6px; padding: 10px 14px; }
.acrm .form-control:focus { border-color: var(--acrm-green); box-shadow: 0 0 0 3px rgba(42,96,65,0.12); }

/* ── Interior page header band (case studies, privacy, terms, demo) ── */
.acrm-pagehead {
    background: linear-gradient(170deg, #ffffff 0%, var(--acrm-pale-green) 100%);
    padding: 160px 20px 60px;   /* More space at the top */
    border-bottom: 1px solid var(--acrm-border);
    text-align: center;
}

.acrm-pagehead .acrm-section-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--acrm-gold);
    margin-bottom: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.acrm-pagehead h1 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 2.65rem;
    color: var(--acrm-charcoal);
    margin: 0;
    line-height: 1.15;
}

/* ==================== SUB PAGE HEADER ==================== */
/* ── Interior page header band (Schedule Demo, etc.) ── */
.acrm-pagehead {
    background: linear-gradient(170deg, #ffffff 0%, var(--acrm-pale-green) 100%);
    padding: 180px 20px 70px;   /* Increased top padding */
    border-bottom: 1px solid var(--acrm-border);
    text-align: center;
}

.acrm-pagehead .acrm-section-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--acrm-gold);        /* Changed to Gold */
    margin-bottom: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.acrm-pagehead h1 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 2.75rem;
    color: var(--acrm-charcoal);
    margin: 0;
    line-height: 1.15;
}
.acrm-btn-cta {
    background: var(--acrm-green) !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 6px;
    transition: all 0.2s;
}

.acrm-btn-cta:hover {
    background: var(--acrm-green-dark) !important;
    transform: translateY(-2px);
}

/* ==================== FAQ ACCORDION ==================== */
.faq-item {
    border: 1px solid var(--acrm-border);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
}

.faq-q {
    width: 100%;
    text-align: left;
    background: #fff;
    border: none;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--acrm-charcoal);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q:hover {
    background: var(--acrm-pale-green);
}

.faq-q .faq-ico {
    color: var(--acrm-green);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-item.open {
    border-left: 5px solid var(--acrm-green);
}

.faq-item.open .faq-q {
    background: var(--acrm-pale-green);
    color: var(--acrm-green-dark);
}

.faq-item.open .faq-q .faq-ico {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-a-inner {
    padding: 0 24px 26px;
    line-height: 1.75;
    color: var(--acrm-mid);
}

/* Force footer to stay left-aligned on ALL pages (including welcome) */
.acrm-footer,
.acrm-footer .container,
.acrm-footer .row,
.acrm-footer [class*="col-"],
.acrm-footer p,
.acrm-footer a {
    text-align: left !important;
}

