/* =========================================
   DESIGN SYSTEM — DIGITALLY ROASTED
   Coffee Bean Dark Theme
   ========================================= */

:root {
    /* Coffee Bean Palette */
    --bg-primary: #0a0806;
    --bg-secondary: #141110;
    --bg-tertiary: #1e1a17;
    --bg-glass: rgba(20, 17, 16, 0.75);

    --accent-roast: #c2703a;     /* Rich roasted orange */
    --accent-warm: #d4943c;      /* Warm amber */
    --accent-copper: #a0522d;    /* Deep copper */
    --accent-espresso: #6b3a2a;  /* Deep espresso */
    --accent-latte: #c8a882;     /* Latte cream */
    --accent-green: #22c55e;     /* Success green */

    --text-primary: #f5f0eb;
    --text-secondary: #a89b8e;
    --text-muted: #6b5e52;

    --grad-primary: linear-gradient(135deg, var(--accent-roast) 0%, var(--accent-warm) 100%);
    --grad-text: linear-gradient(135deg, #ffffff 30%, var(--accent-latte) 100%);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(194, 112, 58, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(194, 112, 58, 0.15);
    --shadow-glow-warm: 0 0 20px rgba(212, 148, 60, 0.15);

    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient glow orbs */
body::before, body::after {
    content: '';
    position: absolute;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
}
body::before { top: 5%; left: -10%; background: var(--accent-roast); }
body::after { top: 60%; right: -10%; background: var(--accent-warm); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: rgba(194, 112, 58, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 12px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/* =========================================
   GLASS CARD
   ========================================= */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* =========================================
   BADGE
   ========================================= */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(194, 112, 58, 0.15);
    color: var(--accent-roast);
    border: 1px solid rgba(194, 112, 58, 0.2);
}
.badge-warm { background: rgba(212, 148, 60, 0.15); color: var(--accent-warm); border-color: rgba(212, 148, 60, 0.2); }
.badge-copper { background: rgba(160, 82, 45, 0.15); color: var(--accent-copper); border-color: rgba(160, 82, 45, 0.2); }
.badge-neutral { background: rgba(255, 255, 255, 0.05); color: #fff; border-color: var(--border-color); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(194, 112, 58, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 112, 58, 0.6), var(--shadow-glow-warm);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* =========================================
   NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 8, 6, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
header.scrolled { padding: 10px 0; background: var(--bg-primary); }

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    -webkit-text-fill-color: var(--accent-roast);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* =========================================
   HERO — Compact, with animated elements
   ========================================= */
.hero {
    padding: 140px 0 80px 0;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-content { display: flex; flex-direction: column; }

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-top: 16px;
    margin-bottom: 20px;
    line-height: 1.1;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-title span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-buttons { display: flex; gap: 16px; margin-bottom: 40px; }

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}
.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Visual Dashboard */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-canvas {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top left, rgba(194, 112, 58, 0.1), transparent 60%);
}

.visual-element {
    position: absolute;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(30, 26, 23, 0.5);
    animation: float 6s ease-in-out infinite;
}
.element-1 { top: 15%; left: 10%; width: 260px; padding: 15px; border-left: 3px solid var(--accent-warm); }
.element-2 { bottom: 15%; right: 10%; width: 240px; padding: 15px; border-left: 3px solid var(--accent-roast); animation-delay: -2s; }
.element-3 { top: 45%; left: 40%; width: 180px; padding: 12px; border-left: 3px solid var(--accent-copper); animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

/* Visual element inner styles */
.ve-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ve-label { font-size: 0.75rem; color: var(--accent-warm); font-weight: 600; }
.ve-label.accent-warm { color: var(--accent-roast); }
.ve-stat-up { font-size: 0.75rem; color: var(--accent-green); }
.ve-title { font-size: 1.1rem; font-weight: 700; font-family: 'Outfit'; margin-bottom: 4px; }
.ve-sub { font-size: 0.7rem; color: var(--text-secondary); }
.ve-big-number { font-size: 1.4rem; font-weight: 800; color: #fff; font-family: 'Outfit'; }
.ve-change { font-size: 0.8rem; color: var(--accent-green); font-weight: 500; }
.ve-bars { height: 35px; margin-top: 8px; display: flex; align-items: flex-end; gap: 6px; }
.ve-bars .bar { flex: 1; background: rgba(255, 255, 255, 0.1); border-radius: 2px; }
.ve-bars .bar.active { background: var(--accent-roast); }
.ve-bars .bar.accent { background: var(--grad-primary); }

/* =========================================
   SERVICES
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card { position: relative; overflow: hidden; }

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    border: 1px solid var(--border-color);
    color: var(--accent-roast);
    transition: all 0.3s ease;
}
.service-card:hover .service-icon { background: var(--accent-roast); color: #fff; transform: scale(1.05); }

.icon-warm { color: var(--accent-warm); }
.service-card:hover .icon-warm { background: var(--accent-warm); color: #fff; }
.icon-copper { color: var(--accent-copper); }
.service-card:hover .icon-copper { background: var(--accent-copper); color: #fff; }
.icon-espresso { color: var(--accent-latte); }
.service-card:hover .icon-espresso { background: var(--accent-espresso); color: #fff; }
.icon-mocha { color: var(--accent-warm); }
.service-card:hover .icon-mocha { background: var(--accent-warm); color: #fff; }
.icon-latte { color: var(--accent-latte); }
.service-card:hover .icon-latte { background: var(--accent-latte); color: var(--bg-primary); }

.service-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.service-description { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }

.service-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-features li {
    font-size: 0.88rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-features li::before {
    content: '✓';
    color: var(--accent-warm);
    font-weight: bold;
}

/* =========================================
   AUDIT TOOL
   ========================================= */
.audit-wrapper { max-width: 800px; margin: 0 auto; }
.audit-form-group { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.input-field, .select-field {
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.input-field:focus, .select-field:focus {
    border-color: var(--accent-warm);
    background: rgba(255, 255, 255, 0.08);
}

.audit-loading { display: none; flex-direction: column; align-items: center; justify-content: center; padding: 50px 0; text-align: center; }
.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--accent-warm);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.spinner-text { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.spinner-sub { font-size: 0.85rem; color: var(--text-secondary); }

.audit-results { display: none; animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.results-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
.results-url { font-size: 1.2rem; font-weight: 700; }
.results-date { font-size: 0.85rem; color: var(--text-muted); }
.results-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }

.score-circle-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--border-color); padding-right: 30px; }
.score-circle {
    width: 140px; height: 140px; border-radius: 50%;
    background: radial-gradient(circle, var(--bg-tertiary) 40%, transparent 100%);
    border: 10px solid var(--accent-green);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; font-family: 'Outfit'; font-weight: 800;
    margin-bottom: 15px; box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}
.score-label { font-size: 0.9rem; font-weight: 600; color: var(--accent-green); }

.metrics-list { display: flex; flex-direction: column; gap: 20px; }
.metric-item { display: flex; flex-direction: column; gap: 6px; }
.metric-info { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; }
.metric-bar-bg { height: 8px; background: rgba(255, 255, 255, 0.05); border-radius: 50px; overflow: hidden; }
.metric-bar-fill { height: 100%; border-radius: 50px; width: 0; transition: width 1s cubic-bezier(0.4, 0, 0.2, 1); }
.metric-bar-fill.seo { background: var(--accent-roast); }
.metric-bar-fill.aeo { background: var(--accent-warm); }
.metric-bar-fill.geo { background: var(--accent-latte); }
.metric-bar-fill.orm { background: var(--accent-copper); }

.audit-tips { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.tips-title { font-size: 1.1rem; margin-bottom: 12px; }
.tips-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tips-list li { font-size: 0.88rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 8px; }
.tips-list li::before { content: '⚠️'; }

.audit-reset { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.audit-reset-text { font-size: 0.88rem; color: var(--text-secondary); }
.audit-reset-actions { display: flex; gap: 12px; }

/* =========================================
   METHODOLOGY TABS
   ========================================= */
.method-tabs { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-btn:hover, .tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: var(--accent-warm);
}

.method-content { position: relative; min-height: 250px; }
.tab-panel { display: none; animation: fadeIn 0.4s ease forwards; }
.tab-panel.active { display: block; }

.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.method-info-title { font-size: 1.8rem; margin-bottom: 15px; }
.method-info-desc { color: var(--text-secondary); margin-bottom: 20px; }

.method-step-card { border-left: 4px solid var(--accent-warm); }
.method-step-card.step-1 { border-left-color: var(--accent-warm); }
.method-step-card.step-2 { border-left-color: var(--accent-roast); }
.method-step-card.step-3 { border-left-color: var(--accent-copper); }
.method-step-card.step-4 { border-left-color: var(--accent-latte); }

.step-label { font-size: 0.9rem; color: var(--accent-warm); font-weight: 600; margin-bottom: 8px; }
.step-2 .step-label { color: var(--accent-roast); }
.step-3 .step-label { color: var(--accent-copper); }
.step-4 .step-label { color: var(--accent-latte); }

.step-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.method-step-card p { font-size: 0.88rem; color: var(--text-secondary); }

/* =========================================
   CASE STUDIES (PORTFOLIO)
   ========================================= */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.portfolio-card { padding: 0; overflow: hidden; }

.portfolio-img-container {
    width: 100%; height: 220px;
    overflow: hidden; position: relative;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}
.portfolio-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.8; display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit'; font-size: 1.8rem; font-weight: 800; color: #fff;
}
.gradient-1 { background: linear-gradient(135deg, var(--accent-warm), var(--accent-roast)); }
.gradient-2 { background: linear-gradient(135deg, var(--accent-roast), var(--accent-copper)); }
.gradient-3 { background: linear-gradient(135deg, var(--accent-copper), var(--accent-espresso)); }

.portfolio-body { padding: 30px; }
.portfolio-meta { display: flex; gap: 12px; margin-bottom: 15px; }
.portfolio-title { font-size: 1.4rem; margin-bottom: 10px; }
.portfolio-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 20px; }

.portfolio-stat {
    display: flex; align-items: baseline; gap: 8px;
    padding: 12px 18px; background: rgba(255, 255, 255, 0.03);
    border-radius: 8px; border-left: 3px solid var(--accent-warm);
}
.portfolio-stat.stat-warm { border-left-color: var(--accent-roast); }
.portfolio-stat.stat-copper { border-left-color: var(--accent-copper); }

.portfolio-stat-num {
    font-family: 'Outfit'; font-size: 1.8rem; font-weight: 800;
    background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.portfolio-stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }

/* =========================================
   CONTACT
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.contact-heading { font-size: 1.8rem; margin-bottom: 15px; font-family: 'Outfit'; }
.contact-sub { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.95rem; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-top: 10px; }

.detail-item { display: flex; align-items: center; gap: 16px; }
.detail-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--accent-warm);
}
.detail-content h4 { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
.detail-content p { font-size: 1rem; color: var(--text-primary); }
.detail-content a:hover { color: var(--accent-warm); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

.form-input {
    width: 100%; padding: 12px 18px; border-radius: 8px;
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color);
    color: var(--text-primary); transition: all 0.3s ease;
}
.form-input:focus { border-color: var(--accent-roast); background: rgba(255, 255, 255, 0.06); }
.form-textarea { resize: vertical; min-height: 120px; }
.contact-btn { align-self: flex-start; }

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: #04030200;
    border-top: 1px solid var(--border-color);
    padding: 50px 0;
    text-align: center;
}
.footer-wrapper { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-nav { display: flex; gap: 24px; list-style: none; }
.footer-nav-link { color: var(--text-secondary); font-size: 0.9rem; }
.footer-nav-link:hover { color: var(--accent-warm); }
.copyright { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-content { align-items: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 500px; margin: 0 auto; width: 100%; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 8, 6, 0.98);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-menu.active { display: flex; }
    .mobile-nav-toggle { display: block; }
    .audit-form-group, .form-row { grid-template-columns: 1fr; }
    .results-grid, .method-grid { grid-template-columns: 1fr; gap: 30px; }
    .score-circle-wrapper { border-right: none; border-bottom: 1px solid var(--border-color); padding-right: 0; padding-bottom: 30px; }
    .section { padding: 60px 0; }
    .hero { padding: 120px 0 60px 0; }
    .hero-title { font-size: 2.6rem; }
    .hero-stats { gap: 20px; }
    .stat-item h3 { font-size: 1.6rem; }
    .method-tabs { gap: 8px; }
    .tab-btn { padding: 8px 16px; font-size: 0.85rem; }
    .audit-reset { flex-direction: column; gap: 12px; align-items: flex-start; }
    .portfolio-grid { grid-template-columns: 1fr; }
}
/* ============ DROPDOWN NAVIGATION ============ */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-card);
    min-width: 260px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 1000;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    top: 100%;
    left: 0;
    padding: 10px 0;
    backdrop-filter: blur(10px);
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-warm);
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* For mobile nav dropdown */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin-left: 20px;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
}

/* ============ INNER SERVICE PAGES — 2026 DESIGN ============ */

/* --- Hero --- */
.sp-hero {
    position: relative;
    padding: 200px 0 120px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.sp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 112, 58, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    animation: sp-float-orb 12s ease-in-out infinite;
    pointer-events: none;
}

.sp-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 148, 60, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    animation: sp-float-orb 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes sp-float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(194, 112, 58, 0.1);
    border: 1px solid rgba(194, 112, 58, 0.25);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-warm);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: sp-fade-up 0.6s ease forwards;
}

.sp-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sp-fade-up 0.6s ease 0.1s both;
}

.sp-hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: sp-fade-up 0.6s ease 0.2s both;
}

.sp-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: sp-fade-up 0.6s ease 0.3s both;
}

@keyframes sp-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Stat Counters --- */
.sp-stats {
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.sp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sp-stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.sp-stat-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.sp-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-warm);
    line-height: 1;
    margin-bottom: 8px;
}

.sp-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Feature Grid (What We Deliver) --- */
.sp-features {
    padding: 120px 0;
    position: relative;
}

.sp-features .section-title {
    text-align: center;
    margin-bottom: 15px;
}

.sp-features .section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sp-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* --- Card --- */
.sp-bento-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

/* Top accent gradient strip */
.sp-bento-glow-line {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-warm), var(--accent-copper), var(--accent-latte));
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.sp-bento-card:hover .sp-bento-glow-line {
    opacity: 1;
}

/* Inner content wrapper */
.sp-bento-body {
    padding: 28px 30px 30px;
    display: flex;
    gap: 22px;
    flex-grow: 1;
}

/* Left column: icon */
.sp-bento-left {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Right column: text */
.sp-bento-right {
    flex-grow: 1;
    min-width: 0;
}

/* Hover */
.sp-bento-card:hover {
    border-color: rgba(194, 112, 58, 0.25);
    transform: translateY(-4px);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.25),
        0 0 24px rgba(194, 112, 58, 0.08);
}

/* Remove wide/tall — all cards same size */
.sp-bento-card.wide,
.sp-bento-card.tall {
    grid-column: auto;
    grid-row: auto;
}

/* Last card centered if odd count */
.sp-bento-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
    justify-self: center;
}

/* --- Tag Pill --- */
.sp-bento-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-warm);
    background: rgba(212, 148, 60, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(212, 148, 60, 0.15);
    margin-bottom: 10px;
    width: fit-content;
}

.sp-bento-tag::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent-warm);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Icon --- */
.sp-bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    background: linear-gradient(135deg, rgba(194, 112, 58, 0.15), rgba(194, 112, 58, 0.05));
    color: var(--accent-warm);
    border: 1px solid rgba(194, 112, 58, 0.2);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.sp-bento-card:hover .sp-bento-icon {
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(212, 148, 60, 0.3);
    background: linear-gradient(135deg, rgba(212, 148, 60, 0.25), rgba(194, 112, 58, 0.1));
}

/* --- Text --- */
.sp-bento-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.3;
}

.sp-bento-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* --- Bottom Accent Bar (hidden — replaced by top glow-line) --- */
.sp-bento-accent-bar {
    display: none;
}

/* Remove pseudo-elements (ghosted numbers, orbs) */
.sp-bento-card::before,
.sp-bento-card::after {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .sp-bento {
        grid-template-columns: 1fr;
    }
    .sp-bento-card:last-child:nth-child(odd) {
        max-width: 100%;
        grid-column: auto;
    }
    .sp-bento-body {
        flex-direction: column;
        gap: 16px;
    }
}

/* --- Process / Timeline --- */
.sp-process {
    padding: 120px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sp-process .section-title {
    text-align: center;
    margin-bottom: 15px;
}

.sp-process .section-subtitle {
    text-align: center;
    margin-bottom: 60px;
}

.sp-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.sp-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-espresso), var(--accent-warm), var(--accent-espresso));
    z-index: 0;
}

.sp-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.sp-step-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--accent-warm);
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(194, 112, 58, 0.2);
    transition: all 0.3s ease;
}

.sp-step:hover .sp-step-num {
    background: var(--accent-warm);
    color: #fff;
    box-shadow: 0 0 30px rgba(194, 112, 58, 0.4);
}

.sp-step h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.sp-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 200px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Full-bleed CTA --- */
.sp-cta {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(194, 112, 58, 0.08), transparent 60%);
    pointer-events: none;
}

.sp-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sp-cta p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .sp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sp-bento {
        grid-template-columns: 1fr;
    }
    .sp-bento-card.wide {
        grid-column: span 1;
    }
    .sp-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .sp-timeline::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .sp-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .sp-stat-card {
        padding: 20px 12px;
    }
    .sp-stat-number {
        font-size: 1.8rem;
    }
    .sp-bento-card {
        padding: 28px;
    }
    .sp-timeline {
        grid-template-columns: 1fr;
    }
    .sp-hero {
        padding: 160px 0 80px;
    }
}

