/* ==========================================================================
   BrandoAI shared design system + chrome (header, footer, buttons, FAQ)
   Linked by all inner pages. Page-unique section styles stay inline per page.
   Warm Beige / Golden Sun / Earth-tone palette — matches index.html exactly.
   ========================================================================== */
:root {
    --bg-warm: #FAF6EF;
    --bg-white: #FFFFFF;
    --bg-dark-obsidian: #121619;
    --bg-dark-card: rgba(26, 32, 38, 0.75);

    --primary-gold: #F5B700;
    --primary-gold-hover: #E0A700;
    --primary-gold-light: #FFF4CC;
    --accent-terracotta: #E05A47;
    --accent-terracotta-light: #FDF0EE;
    --accent-emerald: #2A5A3B;
    --accent-emerald-light: #EBF3EE;
    --accent-saffron: #D97706;

    --text-dark: #121619;
    --text-body: #424950;
    --text-muted: #717A82;
    --text-light: #F4F6F8;

    --border-soft: #EAE3D5;
    --border-gold: #F2D07B;
    --border-glass: rgba(255, 255, 255, 0.6);
    --border-glass-dark: rgba(255, 255, 255, 0.1);

    --shadow-sm: 0 4px 16px rgba(18, 22, 25, 0.04);
    --shadow-md: 0 12px 32px rgba(245, 183, 0, 0.15);
    --shadow-lg: 0 24px 48px rgba(18, 22, 25, 0.08);
    --shadow-glow: 0 0 35px rgba(245, 183, 0, 0.35);

    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-pill: 50px;
    --radius-card: 24px;
    --radius-sm: 14px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 5% 5%, rgba(245, 183, 0, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 95% 40%, rgba(224, 90, 71, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 20% 85%, rgba(42, 90, 59, 0.06) 0%, transparent 40%);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--text-dark); line-height: 1.2; letter-spacing: -0.5px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid rgba(245, 183, 0, 0.55); outline-offset: 3px; border-radius: 6px; }
.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--text-dark); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 15px 34px; font-size: 1rem; font-weight: 700; border-radius: var(--radius-pill);
    cursor: pointer; transition: var(--transition); border: none; outline: none;
    position: relative; overflow: hidden; font-family: var(--font-body);
}
.btn-gold { background: linear-gradient(135deg, var(--primary-gold) 0%, #ECA809 100%); color: var(--text-dark); box-shadow: 0 8px 24px rgba(245, 183, 0, 0.38); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(245, 183, 0, 0.5); background: linear-gradient(135deg, #FFC826 0%, var(--primary-gold) 100%); }
.btn-terracotta { background: linear-gradient(135deg, var(--accent-terracotta) 0%, #C84331 100%); color: var(--bg-white); box-shadow: 0 8px 24px rgba(224, 90, 71, 0.3); }
.btn-terracotta:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(224, 90, 71, 0.45); }
.btn-dark { background: var(--text-dark); color: var(--bg-white); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline:hover { border-color: var(--primary-gold); background: var(--bg-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------------- Badges / headers / glass ---------------- */
.pill-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px;
    background: rgba(255, 244, 204, 0.92); border: 1px solid var(--border-gold); border-radius: var(--radius-pill);
    font-size: 0.85rem; font-weight: 700; color: var(--text-dark); text-transform: uppercase;
}
.section-header { text-align: center; max-width: 740px; margin: 0 auto 55px auto; }
.section-header h2 { font-size: 2.75rem; font-weight: 800; margin-top: 14px; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-glass); box-shadow: var(--shadow-sm);
    border-radius: var(--radius-card); transition: var(--transition);
}

/* ---------------- Header / navigation ---------------- */
.header {
    position: sticky; top: 0; z-index: 1000; background: rgba(250, 246, 239, 0.96);
    border-bottom: 1px solid var(--border-soft); padding: 16px 0;
}
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.65rem; font-weight: 800; color: var(--text-dark); font-family: var(--font-head); }
.logo-badge { width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary-gold), var(--accent-terracotta)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; color: var(--bg-white); box-shadow: 0 4px 14px rgba(245, 183, 0, 0.4); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link { font-weight: 600; font-size: 0.98rem; color: var(--text-body); padding: 8px 0; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--text-dark); }
.nav-link.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background: var(--primary-gold); border-radius: 3px; box-shadow: 0 2px 8px rgba(245, 183, 0, 0.5); }
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(14px); width: 340px;
    border-radius: var(--radius-card); padding: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: var(--transition);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius-sm); color: var(--text-body); font-weight: 600; font-size: 0.94rem; }
.dropdown-item i { color: var(--accent-terracotta); width: 22px; font-size: 1.1rem; }
.dropdown-item:hover { background: var(--primary-gold-light); color: var(--text-dark); transform: translateX(4px); }
.nav-cta { display: inline-flex; }
.mobile-toggle { display: none; font-size: 1.65rem; cursor: pointer; color: var(--text-dark); }

/* ---------------- FAQ accordion (shared) ---------------- */
.faq-accordion { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.faq-item { overflow: hidden; }
.faq-header { padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; font-size: 1.12rem; gap: 18px; }
.faq-header i { color: var(--accent-terracotta); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-body { padding: 0 30px 24px 30px; color: var(--text-muted); font-size: 1rem; display: none; line-height: 1.65; }
.faq-item.active { border-color: var(--primary-gold); box-shadow: var(--shadow-md); }
.faq-item.active .faq-header i { transform: rotate(180deg); }
.faq-item.active .faq-body { display: block; }

/* ---------------- Breadcrumb ---------------- */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--text-muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--primary-gold-hover); }
.breadcrumb span { color: var(--border-gold); }

/* ---------------- Footer ---------------- */
.footer { background: var(--bg-dark-obsidian); color: #E2DCD2; padding: 85px 0 35px 0; border-top-left-radius: 44px; border-top-right-radius: 44px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { color: #A0A8B0; margin-top: 18px; font-size: 0.94rem; max-width: 320px; }
.footer-col h4 { color: var(--bg-white); font-size: 1.12rem; margin-bottom: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a { color: #A0A8B0; font-size: 0.94rem; }
.footer-links a:hover { color: var(--primary-gold); padding-left: 5px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; color: #A0A8B0; font-size: 0.94rem; margin-bottom: 14px; }
.footer-contact-item i { color: var(--primary-gold); margin-top: 4px; }
.footer-contact-item a { color: #A0A8B0; }
.footer-contact-item a:hover { color: var(--primary-gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; color: #717A82; font-size: 0.9rem; gap: 18px; flex-wrap: wrap; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: inline-flex; align-items: center; justify-content: center; color: var(--bg-white); margin-left: 8px; transition: var(--transition); }
.social-btn:hover { background: var(--primary-gold); color: var(--text-dark); transform: translateY(-3px); }

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section-header h2 { font-size: 2.25rem; }
}
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-cta { display: none !important; }
    .nav-links {
        position: fixed; top: 75px; left: -100%; width: 100%; height: calc(100vh - 75px);
        background: var(--bg-warm); flex-direction: column; padding: 40px 24px; transition: var(--transition); align-items: flex-start; gap: 24px; overflow-y: auto;
    }
    .nav-links.active { left: 0; }
    .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; width: 100%; border: none; box-shadow: none; background: transparent; padding: 10px 0 0 10px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 18px; text-align: center; }
    .section-header h2 { font-size: 1.9rem; }
}
