/* ============================================================
   HOPX - MAIN STYLESHEET
   ============================================================
   Organized sections:
   1. CSS Variables & Reset
   2. Base Styles
   3. Accessibility
   4. Layout Utilities
   5. Navigation
   6. Hero Section
   7. Buttons
   8. Preloader
   9. Back to Top
   10. Cookie Banner
   11. Print Styles
   12. Responsive Breakpoints
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS VARIABLES & RESET
   ------------------------------------------------------------ */
:root {
    /* Colors */
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-light: #3b82f6;
    --color-accent: #f59e0b;
    --color-accent-light: #fbbf24;
    
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-text-light: #9ca3af;
    
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-bg-dark: #111827;
    
    --color-border: #e5e7eb;
    
    /* Typography */
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Layout */
    --nav-height: 72px;
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ------------------------------------------------------------
   2. BASE STYLES
   ------------------------------------------------------------ */
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

/* ------------------------------------------------------------
   3. ACCESSIBILITY - Skip to Content
   ------------------------------------------------------------ */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    transition: left var(--transition-base);
}

.skip-to-content:focus {
    left: var(--space-md);
    top: var(--space-md);
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* ------------------------------------------------------------
   4. LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container--narrow {
    max-width: 720px;
}

/* ------------------------------------------------------------
   5. NAVIGATION
   ------------------------------------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-md) var(--container-padding);
    height: var(--nav-height);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo-text:hover {
    color: var(--color-primary);
}

/* Mobile menu toggle - hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
}

.nav-link:hover,
.nav-link--active {
    color: var(--color-primary);
}

.nav-link--active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.nav-link--cta {
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-primary);
    color: white !important;
    border-radius: 8px;
}

.nav-link--cta:hover {
    background: var(--color-primary-hover);
}

/* Nav dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .nav-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-dropdown-arrow {
    font-size: 0.65rem;
    transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .nav-dropdown-arrow,
.nav-item-dropdown:focus-within .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 220px;
    padding: var(--space-sm);
    background: var(--color-bg);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    z-index: 100;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
}

.nav-dropdown li {
    margin: 0;
}

.nav-dropdown a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    color: var(--color-text);
    border-radius: 6px;
}

.nav-dropdown a:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

/* ------------------------------------------------------------
   6. HERO SECTION
   ------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + var(--space-3xl)) var(--container-padding) var(--space-3xl);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.4) 0%, rgba(17, 24, 39, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent-light);
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: white;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: var(--color-accent-light);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    animation: fadeBounce 2s ease-in-out infinite;
}

.hero-scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
}

@keyframes fadeBounce {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ------------------------------------------------------------
   7. BUTTONS
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), 
                transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.btn--sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9375rem;
}

.btn--lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.0625rem;
}

.btn--full {
    width: 100%;
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ------------------------------------------------------------
   BREADCRUMBS
   ------------------------------------------------------------ */
.breadcrumbs {
    padding: var(--space-lg) 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    margin-top: var(--nav-height);
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    list-style: none;
    font-size: 0.9375rem;
}

.breadcrumbs-list li::after {
    content: '/';
    margin-left: var(--space-sm);
    color: var(--color-text-light);
}

.breadcrumbs-list li:last-child::after {
    content: '';
    margin: 0;
}

.breadcrumbs-list a:hover {
    color: var(--color-primary);
}

.breadcrumbs-list [aria-current="page"] {
    color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   PAGE HERO (interior pages)
   ------------------------------------------------------------ */
.page-hero {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.page-hero--small {
    padding: var(--space-2xl) 0;
}

.page-hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.1);
    border-radius: 100px;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* ------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------ */
.section {
    padding: var(--space-3xl) 0;
}

.section--alt {
    background: var(--color-bg-alt);
}

.section--cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.section-title--centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
}

.section--cta .section-title,
.section--cta .section-subtitle {
    color: white;
}

.section--cta .section-subtitle {
    opacity: 0.9;
}

.text-center {
    text-align: center;
}

.page-hero--service {
    color: white;
    background-size: cover;
    background-position: center;
}

.page-hero--service .page-hero-title,
.page-hero--service .page-hero-subtitle {
    color: white;
}

.page-hero--service .page-hero-subtitle {
    opacity: 0.95;
}

.page-hero--services {
    background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(245,158,11,0.06));
}

/* Services overview grid (services.html) */
.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.service-overview-card {
    padding: var(--space-xl);
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.service-overview-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-overview-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.service-overview-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.service-overview-card p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.service-overview-benefits {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.service-overview-benefits li {
    padding: var(--space-xs) 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.service-overview-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

.service-overview-price {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

/* Process timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.process-timeline-item {
    text-align: center;
    padding: var(--space-lg);
}

.process-timeline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.process-timeline-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.process-timeline-item p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Why choose grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.why-choose-card {
    padding: var(--space-lg);
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: box-shadow var(--transition-fast);
}

.why-choose-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.why-choose-card i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.why-choose-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.why-choose-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Check list */
.check-list {
    list-style: none;
    max-width: 560px;
    margin: 0 auto;
}

.check-list li {
    padding: var(--space-sm) 0;
    padding-left: 2rem;
    position: relative;
}

.check-list li i {
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Pricing grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    align-items: start;
}

.pricing-card {
    padding: var(--space-xl);
    background: white;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    position: relative;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.pricing-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
}

.pricing-card--featured {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    margin-top: var(--space-md);
}

.pricing-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.pricing-amount span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.pricing-features li {
    padding: var(--space-xs) 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

.pricing-best-for {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* Case preview */
.case-preview {
    max-width: 640px;
    margin: var(--space-xl) auto 0;
    padding: var(--space-lg);
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.case-preview a {
    color: var(--color-primary);
    font-weight: 600;
}

/* ------------------------------------------------------------
   PORTFOLIO
   ------------------------------------------------------------ */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.filter-btn {
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.filter-btn:hover,
.filter-btn--active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.portfolio-stat {
    font-size: 1.125rem;
}

.portfolio-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--space-xs);
}

.portfolio-stat-label {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.portfolio-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-base);
}

.portfolio-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-card-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.portfolio-card-image {
    aspect-ratio: 3/2;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-base);
}

.portfolio-card:hover .portfolio-card-image {
    transform: scale(1.05);
}

.portfolio-card-overlay {
    padding: var(--space-lg);
}

.portfolio-card-tags {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.portfolio-card-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.portfolio-card-overlay p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.portfolio-card-cta {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
}

.industry-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.industry-tag i {
    color: var(--color-primary);
}

/* Case study pages */
.case-study-facts {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.case-study-facts li {
    padding: var(--space-sm) 0;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    text-align: center;
}

.case-study-metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.case-study-metric-label {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.case-study-testimonial {
    padding: var(--space-xl);
    background: var(--color-bg-alt);
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.case-study-testimonial p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: var(--space-md);
}

.case-study-testimonial cite {
    font-style: normal;
    color: var(--color-text-muted);
}

.related-projects {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.related-project-card {
    display: inline-block;
    padding: var(--space-md) var(--space-lg);
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-weight: 500;
    color: var(--color-text);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.related-project-card:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ------------------------------------------------------------
   BLOG
   ------------------------------------------------------------ */
.blog-search {
    display: flex;
    gap: var(--space-sm);
    max-width: 400px;
    margin: var(--space-xl) auto 0;
}

.blog-search-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.blog-featured {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-base);
}

.blog-featured:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.blog-featured-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    text-decoration: none;
    color: inherit;
}

.blog-featured-image {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
}

.blog-featured-content {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.blog-featured-category {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.blog-featured-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.blog-featured-excerpt {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.blog-featured-meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.blog-featured-cta {
    font-weight: 600;
    color: var(--color-primary);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--space-2xl);
    align-items: start;
}

.blog-main {
    min-width: 0;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-base);
}

.blog-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.blog-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-base);
}

.blog-card:hover .blog-card-image {
    transform: scale(1.03);
}

.blog-card-content {
    padding: var(--space-lg);
}

.blog-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.blog-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.blog-card-meta {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.blog-pagination-current {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.blog-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-lg));
}

.blog-sidebar-widget {
    padding: var(--space-lg);
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-xl);
}

.blog-sidebar-widget h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.blog-sidebar-list {
    list-style: none;
}

.blog-sidebar-list li {
    margin-bottom: var(--space-sm);
}

.blog-sidebar-list a {
    font-size: 0.9375rem;
    color: var(--color-text);
}

.blog-sidebar-list a:hover {
    color: var(--color-primary);
}

.blog-sidebar-widget .newsletter-form {
    flex-direction: column;
}

.blog-sidebar-widget .newsletter-form input {
    margin-bottom: var(--space-sm);
}

@media (max-width: 991px) {
    .blog-featured-link {
        grid-template-columns: 1fr;
    }
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        position: static;
    }
}

/* Article page */
.article-content {
    max-width: 720px;
    margin: 0 auto;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.article-content p {
    margin-bottom: var(--space-lg);
}

.article-content ul, .article-content ol {
    margin-bottom: var(--space-lg);
    padding-left: 1.5rem;
}

.article-content blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    border-left: 4px solid var(--color-primary);
    background: var(--color-bg-alt);
    font-style: italic;
    color: var(--color-text-muted);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

/* FAQ details/summary (native) */
.faq-item summary {
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item .faq-answer {
    max-height: none;
    padding: 0 0 var(--space-lg);
    color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   FEATURES GRID
   ------------------------------------------------------------ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.feature-card {
    padding: var(--space-xl);
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.feature-icon {
    margin-bottom: var(--space-lg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   BENEFITS SECTION
   ------------------------------------------------------------ */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.benefits-content .section-title {
    margin-bottom: var(--space-lg);
}

.benefits-checklist {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.benefits-checklist li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.benefits-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.benefits-image {
    border-radius: 12px;
    overflow: hidden;
}

/* ------------------------------------------------------------
   TESTIMONIAL
   ------------------------------------------------------------ */
.testimonial-card {
    max-width: 800px;
    margin: var(--space-xl) auto 0;
    padding: var(--space-2xl);
    background: var(--color-bg-alt);
    border-radius: 16px;
    border-left: 4px solid var(--color-primary);
}

.testimonial-card blockquote {
    margin: 0 0 var(--space-xl);
}

.testimonial-card blockquote p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-author cite {
    display: block;
    font-weight: 600;
    font-style: normal;
}

.testimonial-author span {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   CTA SECTION
   ------------------------------------------------------------ */
.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.cta-subtitle {
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.section--cta .btn--primary {
    background: white;
    color: var(--color-primary);
}

.section--cta .btn--primary:hover {
    background: var(--color-bg-alt);
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-newsletter h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.footer-newsletter p {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary-light);
}

.footer-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.9375rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: #25D366;
    color: white !important;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.whatsapp-link:hover {
    background: #20BD5A;
}

.whatsapp-icon {
    flex-shrink: 0;
}

.feature-icon svg {
    color: var(--color-primary);
}

.service-icon svg {
    color: var(--color-primary);
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: white;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------------------------------------
   STATS SECTION
   ------------------------------------------------------------ */
.section--stats {
    padding: var(--space-2xl) 0;
    background: var(--color-primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.stat-label {
    font-size: 0.9375rem;
    opacity: 0.9;
}

/* ------------------------------------------------------------
   FAQ ACCORDION
   ------------------------------------------------------------ */
.faq-list {
    max-width: 640px;
    margin: 0 auto;
}

.faq-list--full {
    max-width: none;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform var(--transition-base);
}

.faq-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer p {
    padding: 0 0 var(--space-lg);
    color: var(--color-text-muted);
}

.faq-more {
    text-align: center;
    margin-top: var(--space-xl);
}

.faq-more a {
    color: var(--color-primary);
    font-weight: 500;
}

.faq-more a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------
   TEAM SECTION
   ------------------------------------------------------------ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--space-lg);
    border-radius: 50%;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.team-role {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.team-bio {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   ERROR / 404 PAGE
   ------------------------------------------------------------ */
.error-page {
    padding-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height) - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--container-padding);
    text-align: center;
}

.error-code {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.error-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-md);
}

.error-message {
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.footer--minimal {
    padding: var(--space-lg) 0;
}

.footer--minimal .footer-grid {
    display: none;
}

/* ------------------------------------------------------------
   ABOUT PAGE
   ------------------------------------------------------------ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
}

.about-content p {
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.value-card {
    padding: var(--space-xl);
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: var(--space-md);
}

.value-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   SERVICES PAGE
   ------------------------------------------------------------ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    padding: var(--space-xl);
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-base);
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.service-link {
    color: var(--color-primary);
    font-weight: 500;
}

.service-link:hover {
    text-decoration: underline;
}

.process-list {
    list-style: none;
    max-width: 600px;
    margin: var(--space-xl) auto 0;
}

.process-item {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.process-number {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.process-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.process-item p {
    color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   SOLUTIONS PAGE
   ------------------------------------------------------------ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.solution-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.solution-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.solution-image {
    aspect-ratio: 16/10;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-content {
    padding: var(--space-xl);
}

.solution-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.solution-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.benefits-inline .benefits-list {
    list-style: none;
    max-width: 600px;
}

.benefits-inline .benefits-list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.benefits-inline .benefits-list li:last-child {
    border-bottom: none;
}

/* ------------------------------------------------------------
   CONTACT FORM
   ------------------------------------------------------------ */
.section--form {
    padding-bottom: var(--space-3xl);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.form-info h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.form-info p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.contact-details p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
}

.contact-form {
    padding: var(--space-xl);
    background: var(--color-bg-alt);
    border-radius: 12px;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.form-group .required {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ------------------------------------------------------------
   LEGAL / PRIVACY PAGE
   ------------------------------------------------------------ */
.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: var(--space-2xl) 0 var(--space-md);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p,
.legal-content ul {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.legal-content ul {
    padding-left: var(--space-xl);
}

.legal-content a {
    color: var(--color-primary);
}

/* ------------------------------------------------------------
   IMAGE PLACEHOLDERS
   ------------------------------------------------------------ */
.img-placeholder {
    background: linear-gradient(135deg, var(--color-border) 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.75rem;
}

.img-placeholder--icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
}

.img-placeholder--icon-sm {
    width: 64px;
    height: 64px;
    border-radius: 12px;
}

.img-placeholder--about {
    aspect-ratio: 3/2;
    min-height: 300px;
    border-radius: 12px;
}

.img-placeholder--benefits {
    aspect-ratio: 7/5;
    min-height: 320px;
    border-radius: 12px;
}

.img-placeholder--avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.img-placeholder--solution {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/10;
}

/* ------------------------------------------------------------
   8. PRELOADER
   ------------------------------------------------------------ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-dark);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.preloader-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------
   FLOATING WHATSAPP BUTTON
   ------------------------------------------------------------ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappSlideIn 0.5s ease-out, whatsappPulse 2s ease-in-out 0.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float:focus {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 4px;
}

.whatsapp-float i {
    font-size: 32px;
}

.whatsapp-float-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 8px 12px;
    background-color: #1e293b;
    color: white;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@keyframes whatsappSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* WhatsApp - Mobile (max-width 768px per spec) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
}

/* ------------------------------------------------------------
   9. BACK TO TOP
   ------------------------------------------------------------ */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: var(--space-xl);
    z-index: 900;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity var(--transition-base), visibility var(--transition-base), 
                transform var(--transition-base), background var(--transition-fast);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    bottom: 96px;
}

.back-to-top:hover {
    background: var(--color-primary-hover);
}

.back-to-top-icon {
    font-size: 1.25rem;
    font-weight: bold;
}

/* ------------------------------------------------------------
   10. COOKIE BANNER
   ------------------------------------------------------------ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: white;
    padding: var(--space-lg) var(--container-padding);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-lg);
}

.cookie-heading {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.cookie-desc {
    flex: 1;
    min-width: 250px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.cookie-desc a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-desc a:hover {
    color: var(--color-primary-hover);
}

.cookie-actions {
    display: flex;
    gap: var(--space-md);
}

/* ------------------------------------------------------------
   11. PRINT STYLES
   ------------------------------------------------------------ */
@media print {
    .skip-to-content,
    .preloader,
    .nav-toggle,
    .back-to-top,
    .whatsapp-float,
    .cookie-banner,
    .hero-scroll-indicator,
    .img-placeholder {
        display: none !important;
    }
    
    .header {
        position: static;
        border-bottom: 1px solid #000;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-2xl) 0;
    }
    
    .hero-bg-image,
    .hero-overlay {
        display: none;
    }
    
    .hero-title,
    .hero-subtitle {
        color: #000;
    }
    
    .hero-title-accent {
        color: #333;
    }
    
    .btn {
        border: 1px solid #000;
        color: #000;
    }
    
    body {
        background: white;
    }
    
    .breadcrumbs {
        margin-top: 0;
        padding: var(--space-sm) 0;
    }
    
    .section--cta {
        background: #e5e7eb;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .footer {
        background: #333;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */

/* Tablet: 768px - 991px */
@media (max-width: 991px) {
    .nav-menu {
        gap: var(--space-lg);
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 5vw, 3.25rem);
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile: 320px - 767px */
@media (max-width: 767px) {
    :root {
        --nav-height: 64px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-xl);
        background: white;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition-base), opacity var(--transition-base), 
                    visibility var(--transition-base);
    }
    
    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-item-dropdown .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: var(--space-md);
        margin-top: var(--space-xs);
    }
    
    .nav-item-dropdown .nav-dropdown a {
        padding: var(--space-sm) var(--space-lg);
    }
    
    .nav-link {
        display: block;
        padding: var(--space-lg);
        font-size: 1rem;
    }
    
    .nav-link--active::after {
        display: none;
    }
    
    .nav-link--cta {
        text-align: center;
        margin-top: var(--space-md);
    }
    
    .hero {
        padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
    }
    
    .hero-badge {
        font-size: 0.8125rem;
        padding: var(--space-xs) var(--space-md);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-scroll-indicator {
        bottom: var(--space-xl);
        font-size: 0.8125rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .back-to-top {
        bottom: 88px;
        right: var(--space-lg);
        width: 44px;
        height: 44px;
    }
    
    .back-to-top.visible {
        bottom: 88px;
    }
    
    .whatsapp-float-tooltip {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .benefits-image {
        order: -1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card blockquote p {
        font-size: 1.0625rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* Laptop: 992px - 1199px (uses default with slight adjustments if needed) */
@media (min-width: 992px) and (max-width: 1199px) {
    .nav-menu {
        gap: var(--space-lg);
    }
}

/* Desktop: 1200px+ - default styles apply */
