/* ================================
   AAMCHI WEALTH - FINAL PRODUCTION
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-gradient: linear-gradient(135deg, #F0F9FF 0%, #F8FAFC 50%, #FFF7ED 100%);
    --brand-teal: #14B8A6;
    --brand-blue: #3B82F6;
    --brand-gradient: linear-gradient(135deg, #14B8A6 0%, #3B82F6 100%);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #94A3B8;
    --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 12px 30px rgba(0, 0, 0, 0.1);
    
    --font-heading: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --font-base: 0.95rem;
    --font-h1: 2.2rem;
    --font-h2: 1.8rem;
    --font-h3: 1.4rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: var(--font-base);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ================================
   HEADINGS - CENTERED & GRADIENT
   ================================ */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-align: center;
}

h1, h2 {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: var(--font-h1);
}

h2 {
    font-size: var(--font-h2);
}

h3 {
    font-size: var(--font-h3);
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================================
   FLOATING ORBS
   ================================ */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    animation: float 20s infinite ease-in-out;
}

.bg-orb-1 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #14B8A6, #3B82F6);
    top: -150px;
    right: -150px;
}

.bg-orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    bottom: 10%;
    left: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -30px); }
    66% { transform: translate(-15px, 20px); }
}

/* ================================
   NAVIGATION
   ================================ */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.nav-logo {
    height: 38px;
    width: auto;
    border-radius: 8px;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-teal);
    font-family: var(--font-heading);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--brand-teal);
    background: rgba(20, 184, 166, 0.08);
}

.nav-link.active {
    color: var(--brand-teal);
    background: rgba(20, 184, 166, 0.12);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--brand-teal);
    border: 2px solid var(--brand-teal);
}

.btn-secondary:hover {
    background: var(--brand-teal);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid #E2E8F0;
}

.btn-outline:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal);
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section-light {
    padding: 4rem 1.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: var(--font-h1);
    margin-bottom: 1rem;
    text-align: left;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.mockup-container {
    position: relative;
    border-radius: 20px;
    padding: 0;
}

.mockup-container img {
    mix-blend-mode: multiply;
    border-radius: 20px;
}

/* ================================
   PORTFOLIO HERO - BACKGROUND IMAGE
   ================================ */
.portfolio-hero-bg {
    min-height: 70vh;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('images/portfolio-chart.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem;
    position: relative;
}

.portfolio-hero-bg h1 {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.portfolio-hero-bg .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.portfolio-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

/* ================================
   SECTIONS (REDUCED PADDING)
   ================================ */
.features-section {
    padding: 2.5rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: var(--font-h2);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 700;
    font-style: italic;
}

/* ================================
   PAGE HERO (COMPACT)
   ================================ */
.page-hero {
    padding: 4rem 1.5rem 1.5rem;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 700;
    font-style: italic;
}

/* ================================
   FEATURES GRID (4-COLUMN)
   ================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-card,
.service-card-interactive,
.trust-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-card:hover,
.service-card-interactive:hover,
.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.floating-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 14px;
}

.feature-card h3,
.service-card-interactive h3,
.trust-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.feature-card p,
.service-card-interactive p,
.trust-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* ================================
   FADE UP ANIMATION
   ================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.6s ease-out;
}

/* ================================
   AUTO-SCROLL CAROUSEL
   ================================ */
.auto-scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.auto-scroll-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

.auto-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.auto-scroll-track .trust-card,
.auto-scroll-track .feature-card {
    flex: 0 0 300px;
    min-width: 300px;
}

/* ================================
   COFFEE SECTION (SIDE-BY-SIDE)
   ================================ */
.coffee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.coffee-content h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.coffee-content .section-subtitle {
    text-align: left;
    margin: 0 0 1.5rem 0;
}

.coffee-visual {
    text-align: center;
}

.coffee-stat-box {
    background: rgba(20,184,166,0.15);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--brand-teal);
}

.coffee-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.coffee-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-teal);
    line-height: 1;
}

/* ================================
   SERVICE CARDS
   ================================ */
.service-card-interactive .service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
}

.service-card-interactive.expanded .service-details {
    max-height: 600px;
    margin-top: 1rem;
}

.service-teaser {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.expand-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-teal);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0;
    margin-top: 0.8rem;
}

.expand-trigger:hover {
    text-decoration: underline;
}

.service-summary {
    background: rgba(20,184,166,0.08);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border-left: 3px solid var(--brand-teal);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ================================
   EXPANDABLE CONTENT
   ================================ */
.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.expandable-content.open {
    max-height: 800px;
}

.expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-teal);
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0;
    margin-top: 0.7rem;
}

.expand-btn:hover {
    text-decoration: underline;
}

.expand-icon {
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.expand-icon.rotated {
    transform: rotate(180deg);
}

/* ================================
   GLASS CARDS
   ================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

/* ================================
   TRUST SECTION WITH LIGHT BG
   ================================ */
.trust-section {
    padding: 2.5rem 1.5rem;
    background: rgba(20, 184, 166, 0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1300px;
    margin: 1.5rem auto 0;
}

.trust-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--bg-gradient);
    border-radius: 14px;
}

/* ================================
   QUIZ WIZARD
   ================================ */
.quiz-wizard {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.quiz-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.progress-bar-wizard {
    width: 100%;
    height: 10px;
    background: #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill-wizard {
    height: 100%;
    background: var(--brand-gradient);
    transition: width 0.3s;
    border-radius: 10px;
}

.quiz-steps {
    margin: 2.5rem 0;
}

.quiz-step-wizard {
    display: none;
}

.quiz-step-wizard.active {
    display: block;
}

.quiz-step-wizard h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.option-pill {
    padding: 1rem 1.2rem;
    background: var(--bg-secondary);
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.option-pill:hover {
    border-color: var(--brand-teal);
    background: rgba(20,184,166,0.08);
}

.option-pill.selected {
    background: var(--brand-teal);
    color: white;
    border-color: var(--brand-teal);
}

.quiz-nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.result-badge-large {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--brand-gradient);
    color: white;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

/* ================================
   CONTACT
   ================================ */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info-side h3,
.contact-form-side h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-icon-large {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--bg-gradient);
    border-radius: 14px;
    flex-shrink: 0;
}

.contact-item-modern h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    text-align: left;
}

/* ================================
   CALCULATOR
   ================================ */
.calc-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.calc-input-group {
    margin-bottom: 1.5rem;
}

.calc-input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.modern-slider {
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: linear-gradient(to right, var(--brand-teal), var(--brand-blue));
    outline: none;
    -webkit-appearance: none;
}

.modern-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border: 3px solid var(--brand-teal);
}

.modern-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border: 3px solid var(--brand-teal);
}

.input-value-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-teal);
    margin-top: 0.5rem;
}

.result-card {
    background: rgba(20,184,166,0.08);
    padding: 1.2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 2px solid rgba(20,184,166,0.2);
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.result-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.delay-warning-box {
    background: rgba(239,68,68,0.08);
    border-left: 3px solid #EF4444;
    padding: 1.2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.delay-warning-box h4 {
    color: #DC2626;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-align: left;
}

.delay-warning-box p {
    margin: 0;
    font-size: 0.9rem;
}

/* ================================
   INSIGHTS
   ================================ */
.insights-container {
    max-width: 900px;
    margin: 0 auto;
}

.insight-card {
    background: white;
    border-radius: 14px;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.insight-header {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.insight-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--bg-gradient);
    border-radius: 12px;
}

.insight-title-area h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    text-align: left;
}

.insight-preview {
    margin: 0;
    font-size: 0.9rem;
}

.insight-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
}

.insight-card.active .insight-content {
    max-height: 3000px;
    padding: 0 1.5rem 1.5rem;
}

.insight-content p {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.insight-content p strong {
    color: var(--text-primary);
}

/* ================================
   FAQ
   ================================ */
.faq-container {
    max-width: 800px;
    margin: 1.5rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--brand-teal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.open {
    max-height: 500px;
    padding: 0 1.5rem 1.2rem;
}

/* ================================
   FOOTER (COMPACT & LEFT ALIGNED)
   ================================ */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid #E2E8F0;
    padding: 2rem 1.5rem 1.5rem;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.logo-wrapper {
    display: inline-block;
    margin-bottom: 0.8rem;
}

.footer-logo {
    height: 38px;
    width: auto;
    border-radius: 8px;
}

.footer-brand-name {
    font-family: var(--font-heading);
    color: var(--brand-teal);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.footer-section h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    text-align: left;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    transition: color 0.3s;
    text-align: left;
}

.footer-section a:hover {
    color: var(--brand-teal);
}

.footer-legal {
    border-top: 1px solid #E2E8F0;
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.footer-legal p {
    margin-bottom: 0.4rem;
    color: var(--text-tertiary);
}

/* ================================
   FORM STYLES
   ================================ */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-teal);
}

/* ================================
   MOBILE RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    :root {
        --font-h1: 1.8rem;
        --font-h2: 1.5rem;
        --font-h3: 1.2rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid #E2E8F0;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.8rem;
    }
    
    .hero-grid,
    .contact-split-grid,
    .calc-split-grid,
    .coffee-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .coffee-content h2,
    .coffee-content .section-subtitle {
        text-align: center;
    }
    
    .hero-content h1 {
        text-align: center;
    }
    
    /* 2x2 GRID FOR SERVICES */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* 1 COLUMN FOR PORTFOLIO PROBLEMS */
    .features-grid.portfolio-problems {
        grid-template-columns: 1fr !important;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-hero {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .page-hero h1 {
        font-size: 1.6rem;
    }
    
    .portfolio-hero-bg h1 {
        font-size: 1.8rem;
    }
    
    .contact-info-side h3,
    .contact-form-side h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
}