/* =================================================================
   STRATYNE CONSULTING - VOICE SEARCH OPTIMIZED STYLESHEET
   Version: 3.0 - Voice Search Edition
   Last Updated: 2025-12-03
   
   Features:
   - Mobile-first responsive design
   - Voice search UX optimizations
   - WCAG 2.1 AA accessibility
   - Core Web Vitals optimized
   - GPU-accelerated animations
   ================================================================= */

/* =================================================================
   CSS VARIABLES - BRAND COLORS & DESIGN SYSTEM
   ================================================================= */
:root {
    /* Brand Colors */
    --navy: #1a1a2e;
    --gold: #d4af37;
    --dark-wood: #2d2d2d;
    --charcoal: #3d3d3d;
    
    /* UI Colors */
    --background: #ffffff;
    --background-light: #f8f9fa;
    --text-primary: #1a1a2e;
    --text-secondary: #555555;
    --border: #e0e0e0;
    
    /* Accent Colors */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

/* =================================================================
   RESET & BASE STYLES
   ================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

/* =================================================================
   TYPOGRAPHY - VOICE SEARCH OPTIMIZED
   ================================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--navy);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--navy);
}

a:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Voice Answer Styling - Optimized for Featured Snippets */
.voice-answer {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 400;
}

/* =================================================================
   UTILITY CLASSES
   ================================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.bg-light {
    background-color: var(--background-light);
}

/* =================================================================
   NAVIGATION - MOBILE FIRST
   ================================================================= */
.navbar {
    background: var(--charcoal);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand img {
    height: 90px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--gold);
}

.nav-phone {
    color: var(--gold) !important;
    font-weight: 600;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy);
    min-width: 250px;
    list-style: none;
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    color: #ffffff;
    padding: var(--spacing-xs) var(--spacing-md);
    transition: background var(--transition-fast);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: var(--charcoal);
    color: var(--gold);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =================================================================
   HERO SECTION - VOICE SEARCH OPTIMIZED
   ================================================================= */
.hero-simple {
    background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal) 100%);
    color: #ffffff;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
}

/* =================================================================
   BUTTONS - ACCESSIBLE & OPTIMIZED
   ================================================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    text-align: center;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1.2;
}

.btn:focus {
    outline: 3px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* =================================================================
   TRUST BAR
   ================================================================= */
.trust-bar {
    background: var(--navy);
    padding: var(--spacing-md) 0;
    border-bottom: 3px solid var(--gold);
}

.trust-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.trust-item {
    text-align: center;
    color: #ffffff;
}

.trust-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--spacing-xs);
}

.trust-number.tooltip-trigger {
    display: inline-block;
    cursor: help;
    border-bottom: 3px dotted rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}

.trust-number.tooltip-trigger:hover {
    color: #ffffff;
    border-bottom-color: var(--gold);
    transform: translateY(-2px);
}

.trust-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* =================================================================
   CONTENT SECTIONS
   ================================================================= */
.content-section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Grids */
.content-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.content-card {
    background: #ffffff;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.content-card h3 {
    color: var(--navy);
    margin-bottom: var(--spacing-sm);
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: var(--spacing-xs) 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* =================================================================
   SERVICES GRID - VOICE SEARCH OPTIMIZED
   ================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: #ffffff;
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 2px solid var(--border);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, #ffffff 0%, #fffdf7 100%);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--navy);
    min-height: 3.5rem;
    display: flex;
    align-items: center;
}

.service-card .voice-answer {
    min-height: 4.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-pricing {
    margin: var(--spacing-sm) 0;
    font-size: 1rem;
    color: var(--navy);
    margin-top: auto;
}

.service-card .btn {
    margin-top: var(--spacing-sm);
}

/* =================================================================
   PRICING SECTION - VOICE OPTIMIZED
   ================================================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.pricing-card {
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--gold);
    border-width: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #fffdf7 100%);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-tier {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--spacing-xs);
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--spacing-xs);
}

.pricing-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
    flex-grow: 1;
    text-align: left;
}

.pricing-features li {
    padding: var(--spacing-xs) 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =================================================================
   FAQ SECTION - VOICE SEARCH OPTIMIZED
   ================================================================= */
.faq-section {
    background: var(--background-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.faq-item {
    background: #ffffff;
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.faq-question {
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    font-family: var(--font-primary);
}

.faq-answer {
    color: var(--text-primary);
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: var(--spacing-sm);
}

/* Comparison Table Styling */
.faq-answer table {
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-answer table th {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-answer table td {
    transition: background-color 0.2s ease;
}

.faq-answer table tbody tr:hover {
    background-color: #f1f3f5 !important;
}

/* Mobile Responsive Table */
@media (max-width: 768px) {
    .faq-answer table {
        font-size: 0.85rem;
    }
    
    .faq-answer table th,
    .faq-answer table td {
        padding: 10px 8px !important;
    }
    
    .faq-answer table th {
        font-size: 0.8rem;
    }
}

/* =================================================================
   INTERACTIVE HOVER TOOLTIPS WITH COMPARISON CHART
   ================================================================= */
.tooltip-trigger {
    position: relative;
    cursor: help;
    border-bottom: 2px dotted var(--gold);
    transition: all 0.2s ease;
}

.tooltip-trigger:hover {
    color: var(--gold);
    border-bottom-color: var(--navy);
}

/* Tooltip Container - Arrow (appears BELOW text, pointing UP) */
.tooltip-trigger::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--navy);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

/* Tooltip Box (appears BELOW text) */
.tooltip-trigger::before {
    content: attr(data-tooltip-content);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(18px) scale(0.9);
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d2d 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1000;
    min-width: 450px;
    max-width: 600px;
    white-space: normal;
}

.tooltip-trigger:hover::before,
.tooltip-trigger:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(8px) scale(1);
    pointer-events: auto;
}

/* Specific Tooltip Content Styles */
.tooltip-trigger[data-tooltip="range"]::before {
    content: "💰 Capital Range Advantage\A\A✅ Stratyne: $250K to $500M+\A❌ Competitors: Limited ranges\A\AFrom seed funding to growth equity, we facilitate capital solutions across the full spectrum.";
    min-width: 380px;
}

.tooltip-trigger[data-tooltip="availability"]::before {
    content: "🌎 Nationwide Availability\A\A✅ Stratyne: All 50 states\A❌ Competitors: Regional only\A\AOur nationwide network means broader investor access and more competitive capital offers for you.";
    min-width: 380px;
}

.tooltip-trigger[data-tooltip="solutions"]::before {
    content: "🎯 Comprehensive Solutions\A\A✅ Stratyne: Equity + Debt + SBA + Creative\A❌ Competitors: Equity-only\A\AWe facilitate multiple capital structures to find the best fit for your business needs.";
    min-width: 400px;
}

.tooltip-trigger[data-tooltip="refundable"]::before {
    content: "♻️ Refundable Retainer Guarantee\A\A✅ Stratyne: Fully refundable if no offers\A❌ Competitors: Non-refundable fees\A\AIf we don't present qualified capital offers, you get 100% of your retainer back. Zero risk.";
    min-width: 400px;
}

.tooltip-trigger[data-tooltip="pricing"]::before {
    content: "💎 Transparent Pricing Formula\A\A✅ Stratyne: 0.5% retainer (e.g. $50K for $10M)\A❌ Competitors: Arbitrary or flat fees\A\AFormula-based pricing that scales fairly with your capital needs. No surprises.";
    min-width: 420px;
}

/* Mobile: Disable hover tooltips, they don't work well on touch */
@media (max-width: 768px) {
    .tooltip-trigger::before,
    .tooltip-trigger::after {
        display: none;
    }
    
    .tooltip-trigger {
        border-bottom: none;
        cursor: default;
    }
}

/* Desktop: Enhanced tooltip positioning */
@media (min-width: 1024px) {
    .tooltip-trigger::before {
        min-width: 500px;
        padding: 25px;
        font-size: 15px;
    }
}

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background: #ffffff;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--gold);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--navy);
}

.testimonial-author small {
    display: block;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 4px;
}

/* =================================================================
   CTA SECTION
   ================================================================= */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal) 100%);
    color: #ffffff;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
    background: var(--navy);
    color: #ffffff;
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: var(--gold);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.footer-col p,
.footer-col li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* =================================================================
   COOKIE BANNER - ENHANCED
   ================================================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: #ffffff;
    padding: var(--spacing-md);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content-enhanced {
    max-width: 900px;
    margin: 0 auto;
}

.cookie-header {
    margin-bottom: var(--spacing-md);
}

.cookie-header h3 {
    color: #ffffff;
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 1.5rem;
}

.cookie-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-options {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.cookie-option {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.cookie-label input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-details strong {
    display: block;
    color: var(--gold);
    margin-bottom: 4px;
}

.cookie-details p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.cookie-footer {
    text-align: center;
    font-size: 0.85rem;
    margin: 0;
}

.cookie-footer a {
    color: var(--gold);
    text-decoration: underline;
}

/* =================================================================
   ACCESSIBILITY - WCAG 2.1 AA
   ================================================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-main:focus {
    top: 0;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =================================================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ================================================================= */

/* Tablets and below (768px) */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: var(--spacing-sm) 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        margin-top: var(--spacing-xs);
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .cta-item {
        width: 100%;
    }
    
    .cta-item .btn {
        width: 100%;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Trust Bar */
    .trust-items {
        flex-direction: column;
    }
    
    /* Grids */
    .content-grid-2,
    .services-grid,
    .pricing-grid,
    .faq-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
    .nav-brand img {
        height: 60px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .pricing-amount {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* Large screens (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.375rem;
    }
}

/* =================================================================
   PRINT STYLES
   ================================================================= */
@media print {
    .navbar,
    .cookie-banner,
    .btn,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000000;
    }
    
    a {
        color: #000000;
        text-decoration: underline;
    }
    
    h1, h2, h3, h4 {
        page-break-after: avoid;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Apply fade-in animation to sections */
.content-section {
    animation: fadeIn 0.6s ease-out;
}

/* =================================================================
   PERFORMANCE OPTIMIZATIONS
   ================================================================= */
/* GPU acceleration for transforms */
.btn,
.service-card,
.pricing-card,
.faq-item {
    will-change: transform;
    backface-visibility: hidden;
}

/* Optimize font loading */
@font-face {
    font-display: swap;
}

/* =================================================================
   CONTACT FORM STYLING
   ================================================================= */
.contact-form-container {
    margin-top: 0;
}

.form-row {
    margin-bottom: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger);
}

.form-group small {
    display: block;
    margin-top: 6px;
}

.consent-section {
    border-left: 4px solid var(--gold);
}

.consent-checkbox label {
    font-weight: 400;
}

.consent-checkbox input[type="checkbox"] {
    flex-shrink: 0;
}

.error-message {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 6px;
    display: block;
}

/* Desktop Form Alignment */
@media (min-width: 769px) {
    .contact-form-container,
    .map-container {
        margin-top: 0 !important;
        align-self: start !important;
    }
}

/* Mobile Form Adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 30px 20px !important;
        margin-top: 0 !important;
    }
    
    .consent-section {
        padding: 15px !important;
    }
    
    .consent-checkbox label {
        font-size: 0.9rem !important;
    }
    
    /* Stack form and map on mobile */
    #contact .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    .map-wrapper {
        height: 300px !important;
    }
}

/* =================================================================
   END OF STYLESHEET
   ================================================================= */
