/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Color Palette — Light Theme */
    --bg-darker: #f0f4ff;
    --bg-dark: #e8eef8;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f8ff;
    
    --primary: #0052ff;
    --primary-hover: #0041cc;
    --primary-light: #3375ff;
    --primary-glow: rgba(0, 82, 255, 0.15);
    --primary-glow-heavy: rgba(0, 82, 255, 0.3);
    
    --accent: #0041cc;
    --accent-glow: rgba(0, 65, 204, 0.12);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(0, 82, 255, 0.3);
    
    --success: #10b981;
    --error: #ef4444;

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 10px -1px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 6px 24px -2px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 16px 40px -4px rgba(15, 23, 42, 0.12);
    --glass-blur: blur(12px);
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: #ffffff;
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 82, 255, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 82, 255, 0.03) 0%, transparent 40%);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ==========================================================================
   Layout & Reusable Components
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }
}

.dark-section {
    background-color: #f0f4ff;
    position: relative;
}

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

/* Gradients & Badges */
.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 82, 255, 0.1);
    border: 1px solid rgba(0, 82, 255, 0.2);
    color: var(--primary-light);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 6px 20px var(--primary-glow-heavy);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #f0f4ff;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 10px 16px;
}

.btn-text:hover {
    color: var(--primary);
}

.btn-text svg {
    transition: transform var(--transition-fast);
}

.btn-text:hover svg {
    transform: translateY(3px);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Section Header */
.section-header {
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    z-index: 1000;
    transition: background var(--transition-normal), height var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
}

.navbar-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.logo-icon svg {
    width: 22px;
    height: 22px;
}

.accent-text {
    color: var(--primary-light);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta-mobile {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* Mobile Nav Styles */
@media (max-width: 992px) {
    .header-cta-desktop {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 40px 40px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        margin-bottom: 40px;
    }

    .nav-link {
        font-size: 1.1rem;
        display: block;
    }

    .nav-cta-mobile {
        display: block;
        width: 100%;
    }

    /* Hamburger Animation */
    .mobile-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 50px);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-content .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Hero Code Window Visual */
.hero-visual {
    position: relative;
    width: 100%;
}

.code-window {
    background: #0f172a;
    border: 1px solid rgba(0, 82, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 82, 255, 0.12);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.hero-visual:hover .code-window {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.code-header {
    background: #070d1a;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.code-header .dot.red { background-color: #ff5f56; }
.code-header .dot.yellow { background-color: #ffbd2e; }
.code-header .dot.green { background-color: #27c93f; }

.window-title {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 10px;
}

.code-body {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.code-body code {
    color: #e5e7eb;
}

/* Syntax Highlighting */
.keyword { color: #f43f5e; font-weight: bold; }
.string { color: #10b981; }
.comment { color: #6b7280; font-style: italic; }
.class-name { color: #3b82f6; }
.function { color: #06b6d4; }
.number { color: #f59e0b; }

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Grid Background */
.hero-background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 82, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 82, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
    z-index: 1;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content .lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .hero-offerings {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .code-window {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 20px);
    }

    .hero-content h1 {
        font-size: 2.1rem;
        margin-bottom: 18px;
    }

    .hero-content .lead {
        font-size: 1.05rem;
        margin-bottom: 26px;
    }

    .hero-offerings {
        gap: 9px 14px;
        margin-bottom: 28px;
    }
    .hero-offerings li {
        font-size: 0.85rem;
    }

    .hero-actions {
        margin-bottom: 34px;
    }
    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 14px;
        padding-top: 24px;
    }
    .hero-stats .stat-item {
        flex: 1;
        min-width: 0;
    }
    .stat-number {
        font-size: 1.4rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }

    /* SaaS dashboard illustration — keep it inside the viewport */
    .hero-visual {
        width: 100%;
        overflow: visible;
    }
    .hero-dashboard {
        max-width: 100%;
        gap: 14px;
    }
    .dash-card {
        padding: 16px;
    }
    .dash-card--barber {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }
    .dash-float {
        position: static;
        margin: 2px auto 0;
        animation: none;
    }
}

@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 1.85rem;
    }
    .hero-stats {
        gap: 10px;
    }
    .stat-number {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(0, 82, 255, 0.05), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(0, 82, 255, 0.2);
    box-shadow: var(--shadow-md), 0 0 20px rgba(0, 82, 255, 0.06);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 82, 255, 0.1);
    color: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
    transform: scale(1.05);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Technologies Section
   ========================================================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.tech-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 24px 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.tech-card:hover {
    background: #f5f8ff;
    border-color: rgba(0, 82, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tech-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.tech-icon svg {
    width: 100%;
    height: 100%;
}

.tech-card:hover .tech-icon {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.tech-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.tech-card:hover .tech-name {
    color: var(--text-primary);
}

/* Technology Colors on Hover */
.tech-card:hover[data-tech="HTML"] { border-color: rgba(227, 79, 38, 0.3); box-shadow: 0 0 15px rgba(227, 79, 38, 0.1); }
.tech-card:hover[data-tech="HTML"] .tech-icon { color: #e34f26; }

.tech-card:hover[data-tech="CSS"] { border-color: rgba(21, 114, 182, 0.3); box-shadow: 0 0 15px rgba(21, 114, 182, 0.1); }
.tech-card:hover[data-tech="CSS"] .tech-icon { color: #1572b6; }

.tech-card:hover[data-tech="JavaScript"] { border-color: rgba(247, 223, 30, 0.3); box-shadow: 0 0 15px rgba(247, 223, 30, 0.1); }
.tech-card:hover[data-tech="JavaScript"] .tech-icon { color: #f7df1e; }

.tech-card:hover[data-tech="C#"] { border-color: rgba(155, 79, 150, 0.3); box-shadow: 0 0 15px rgba(155, 79, 150, 0.1); }
.tech-card:hover[data-tech="C#"] .tech-icon { color: #9b4f96; }

.tech-card:hover[data-tech=".NET"] { border-color: rgba(81, 43, 212, 0.3); box-shadow: 0 0 15px rgba(81, 43, 212, 0.1); }
.tech-card:hover[data-tech=".NET"] .tech-icon { color: #512bd4; }

.tech-card:hover[data-tech="SQL Server"] { border-color: rgba(204, 41, 41, 0.3); box-shadow: 0 0 15px rgba(204, 41, 41, 0.1); }
.tech-card:hover[data-tech="SQL Server"] .tech-icon { color: #cc2929; }

.tech-card:hover[data-tech="MySQL"] { border-color: rgba(0, 117, 143, 0.3); box-shadow: 0 0 15px rgba(0, 117, 143, 0.1); }
.tech-card:hover[data-tech="MySQL"] .tech-icon { color: #00758f; }

.tech-card:hover[data-tech="Python"] { border-color: rgba(55, 115, 166, 0.3); box-shadow: 0 0 15px rgba(55, 115, 166, 0.1); }
.tech-card:hover[data-tech="Python"] .tech-icon { color: #3773a6; }

.tech-card:hover[data-tech="Django"] { border-color: rgba(9, 46, 32, 0.5); box-shadow: 0 0 15px rgba(9, 46, 32, 0.15); }
.tech-card:hover[data-tech="Django"] .tech-icon { color: #092e20; }

.tech-card:hover[data-tech="Node.js"] { border-color: rgba(51, 153, 51, 0.3); box-shadow: 0 0 15px rgba(51, 153, 51, 0.1); }
.tech-card:hover[data-tech="Node.js"] .tech-icon { color: #339933; }

@media (max-width: 992px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Highlighted grid layouts */
.why-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.why-card:hover {
    border-color: rgba(0, 82, 255, 0.2);
    background: #f5f8ff;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.why-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 82, 255, 0.15);
    line-height: 1;
    margin-bottom: 20px;
    transition: color var(--transition-normal);
}

.why-card:hover .why-num {
    color: rgba(0, 82, 255, 0.4);
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Grid Span Customization for layout interest */
@media (min-width: 992px) {
    .why-grid .why-card:nth-child(4) {
        grid-column: span 1;
    }
    .why-grid .why-card:nth-child(5) {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    .why-grid .why-card:nth-child(5) {
        grid-column: auto;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info .lead-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 82, 255, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.detail-icon svg {
    width: 22px;
    height: 22px;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-value:hover {
    color: var(--primary);
}

/* Form Styling */
.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

.form-group input,
.form-group textarea {
    background: #f8faff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
    background: #ffffff;
}

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

.error-msg {
    color: var(--error);
    font-size: 0.8rem;
    font-weight: 500;
    display: none;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Calculator Form Indicator */
.calculator-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.calculator-indicator svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.calculator-indicator span {
    flex-grow: 1;
}

.btn-clear-budget {
    background: transparent;
    border: none;
    color: var(--success);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 4px;
    transition: transform var(--transition-fast);
}

.btn-clear-budget:hover {
    transform: scale(1.2);
    color: var(--error);
}

.calculator-indicator.hidden {
    display: none;
}

/* Feedback States */
.form-feedback {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 10px;
}

.success-feedback {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
}

.error-feedback {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.form-feedback svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.hidden {
    display: none !important;
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #f0f4ff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   Calculator Modal Overlay & Styling
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    padding: 20px;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 82, 255, 0.08);
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.modal-overlay:not(.hidden) .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f0f4ff;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: #fee2e2;
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.3);
}

.modal-header {
    padding: 40px 40px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Modal Body Layout */
.modal-body-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

.modal-form-steps {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-right: 1px solid var(--border-color);
}

.calc-step h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Option Cards */
.calc-card-option {
    display: block;
    position: relative;
    cursor: pointer;
}

.calc-card-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    background: #f8faff;
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.calc-card-option:hover .option-content {
    background: #f0f4ff;
    border-color: rgba(0, 82, 255, 0.2);
}

.calc-card-option input:checked + .option-content {
    border-color: var(--primary);
    background: rgba(0, 82, 255, 0.04);
    box-shadow: 0 0 12px rgba(0, 82, 255, 0.08);
}

.option-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.option-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Modal Summary Panel */
.modal-summary-panel {
    background: #f8faff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.summary-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 40px;
}

.summary-box h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.summary-price {
    font-weight: 600;
    color: var(--text-primary);
}

.summary-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 6px 0;
}

.total-row {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-total-price {
    color: var(--primary);
    font-size: 1.3rem;
}

.summary-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.4;
}

@media (max-width: 850px) {
    .modal-body-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-form-steps {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 30px;
    }
    
    .modal-summary-panel {
        padding: 30px;
    }
    
    .modal-header {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .modal-box {
        max-height: 95vh;
        border-radius: 12px;
    }
    .modal-header h2 {
        font-size: 1.6rem;
    }
    .modal-close {
        top: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   Reveal Animations System
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll.delay-1 {
    transition-delay: 0.2s;
}

.reveal-on-scroll.delay-2 {
    transition-delay: 0.4s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.4); }
    70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(0, 82, 255, 0); }
    100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 82, 255, 0); }
}

/* ==========================================================================
   Soluciones Inteligentes — SaaS Section
   ========================================================================== */

/* ── Section wrapper ── */
.saas-section {
    position: relative;
    background: #07111f;
    overflow: hidden;
    isolation: isolate;
}

/* ── Background animated glows ── */
.saas-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
    animation: saas-float 8s ease-in-out infinite;
}

.saas-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.35) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.saas-glow-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
    top: 40%;
    right: -80px;
    animation-delay: 3s;
}

.saas-glow-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.22) 0%, transparent 70%);
    bottom: -60px;
    left: 40%;
    animation-delay: 5s;
}

@keyframes saas-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* ── Grid overlay ── */
.saas-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 50%, transparent 100%);
}

/* Keep container above backgrounds */
.saas-section > .container {
    position: relative;
    z-index: 2;
}

/* ── Section header overrides for dark bg ── */
.saas-section .section-header {
    margin-bottom: 64px;
}

.saas-badge {
    background: rgba(0, 82, 255, 0.12) !important;
    border-color: rgba(0, 82, 255, 0.25) !important;
    color: #93b4ff !important;
}

.saas-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 20px;
    line-height: 1.15;
}

.saas-text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.saas-tagline {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Cards grid ── */
.saas-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
    align-items: start;
}

/* ── Individual card ── */
.saas-card {
    position: relative;
    border-radius: 20px;
    cursor: default;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.saas-card:hover {
    transform: translateY(-8px);
}

/* Gradient border via pseudo-element */
.saas-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.08) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.35s;
}

.saas-card--blue::before {
    background: linear-gradient(135deg, rgba(0,82,255,0.5) 0%, rgba(59,130,246,0.2) 50%, transparent 100%);
}

.saas-card--purple::before {
    background: linear-gradient(135deg, rgba(124,58,237,0.6) 0%, rgba(167,139,250,0.2) 50%, transparent 100%);
}

.saas-card--emerald::before {
    background: linear-gradient(135deg, rgba(5,150,105,0.5) 0%, rgba(52,211,153,0.2) 50%, transparent 100%);
}

/* Featured card ring */
.saas-card--featured {
    transform: translateY(-8px);
}

.saas-card--featured::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa, #5b21b6);
    z-index: -1;
    opacity: 0.7;
    animation: saas-ring-glow 3s ease-in-out infinite alternate;
}

@keyframes saas-ring-glow {
    from { opacity: 0.5; filter: blur(0px); }
    to   { opacity: 0.9; filter: blur(2px); }
}

.saas-card--featured:hover {
    transform: translateY(-14px);
}

/* ── Card inner glass background ── */
.saas-card-inner {
    background: rgba(12, 22, 40, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 36px 30px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* ── Card ambient glow on hover ── */
.saas-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
}

.saas-card--blue .saas-card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(0, 82, 255, 0.12) 0%, transparent 70%);
}

.saas-card--purple .saas-card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
}

.saas-card--emerald .saas-card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(5, 150, 105, 0.12) 0%, transparent 70%);
}

.saas-card:hover .saas-card-glow {
    opacity: 1;
}

/* ── Featured badge ── */
.saas-featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
    z-index: 10;
}

/* ── Card header ── */
.saas-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ── Product icon ── */
.saas-product-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.saas-card:hover .saas-product-icon {
    transform: scale(1.08) rotate(-3deg);
}

.saas-product-icon svg {
    width: 26px;
    height: 26px;
}

.saas-icon--blue {
    background: rgba(0, 82, 255, 0.14);
    color: #60a5fa;
    box-shadow: 0 0 0 1px rgba(0, 82, 255, 0.2);
}

.saas-icon--purple {
    background: rgba(124, 58, 237, 0.14);
    color: #a78bfa;
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.25);
}

.saas-icon--emerald {
    background: rgba(5, 150, 105, 0.14);
    color: #34d399;
    box-shadow: 0 0 0 1px rgba(5, 150, 105, 0.2);
}

/* ── Product meta ── */
.saas-product-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.saas-category-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
}

.saas-product-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1;
    margin: 0;
}

.saas-card--blue  .saas-product-name span { color: #60a5fa; }
.saas-card--purple .saas-product-name span { color: #a78bfa; }
.saas-card--emerald .saas-product-name span { color: #34d399; }

/* ── Product description ── */
.saas-product-desc {
    font-size: 0.93rem;
    color: #94a3b8;
    line-height: 1.65;
    flex-grow: 0;
}

/* ── Feature list ── */
.saas-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex-grow: 1;
}

.saas-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: #cbd5e1;
    font-weight: 500;
}

.saas-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.saas-check svg {
    width: 11px;
    height: 11px;
}

.saas-check--blue   { background: rgba(0, 82, 255, 0.15); color: #60a5fa; }
.saas-check--purple { background: rgba(124, 58, 237, 0.15); color: #a78bfa; }
.saas-check--emerald{ background: rgba(5, 150, 105, 0.15); color: #34d399; }

/* ── Card footer ── */
.saas-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: auto;
}

/* ── Demo button ── */
.saas-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
}

.saas-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.saas-btn:hover svg {
    transform: scale(1.2);
}

.saas-btn--blue {
    background: rgba(0, 82, 255, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(0, 82, 255, 0.3);
}

.saas-btn--blue:hover {
    background: rgba(0, 82, 255, 0.25);
    border-color: rgba(0, 82, 255, 0.5);
    color: #93c5fd;
    box-shadow: 0 4px 16px rgba(0, 82, 255, 0.25);
    transform: translateY(-1px);
}

.saas-btn--purple {
    background: rgba(124, 58, 237, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.saas-btn--purple:hover {
    background: rgba(124, 58, 237, 0.25);
    border-color: rgba(124, 58, 237, 0.5);
    color: #c4b5fd;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
    transform: translateY(-1px);
}

.saas-btn--emerald {
    background: rgba(5, 150, 105, 0.15);
    color: #34d399;
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.saas-btn--emerald:hover {
    background: rgba(5, 150, 105, 0.25);
    border-color: rgba(5, 150, 105, 0.5);
    color: #6ee7b7;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.2);
    transform: translateY(-1px);
}

/* ── Available pill ── */
.saas-pill {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #34d399;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

/* ── CTA Banner ── */
.saas-cta-banner {
    background: rgba(12, 22, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 30px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.saas-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0,82,255,0.06) 0%, rgba(124,58,237,0.04) 50%, transparent 100%);
    pointer-events: none;
}

.saas-cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.saas-cta-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 82, 255, 0.12);
    border: 1px solid rgba(0, 82, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    flex-shrink: 0;
}

.saas-cta-icon svg {
    width: 24px;
    height: 24px;
}

.saas-cta-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 5px;
}

.saas-cta-content p {
    font-size: 0.9rem;
    color: #94a3b8;
}

.saas-cta-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .saas-cards-grid {
        gap: 22px;
    }
    .saas-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .saas-cards-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .saas-card--featured {
        transform: none;
        order: -1;
    }

    .saas-card--featured:hover {
        transform: translateY(-8px);
    }

    .saas-cta-banner {
        flex-direction: column;
        text-align: center;
    }

    .saas-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .saas-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .saas-title {
        font-size: 2rem;
    }

    .saas-card-inner {
        padding: 28px 22px 24px;
    }

    .saas-cta-banner {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   Hero SaaS Dashboard Illustration (replaces code window)
   ========================================================================== */
.hero-dashboard {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    perspective: 1200px;
}

.dash-card {
    background: #0c1628;
    border: 1px solid rgba(0, 82, 255, 0.18);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 82, 255, 0.12);
    color: #e5e7eb;
    transform: rotateY(-6deg) rotateX(4deg);
    transition: transform var(--transition-slow);
}

.hero-dashboard:hover .dash-card {
    transform: rotateY(0deg) rotateX(0deg);
}

.dash-card--route { z-index: 2; }
.dash-card--barber {
    margin-left: auto;
    width: 88%;
    margin-top: -6px;
    border-color: rgba(5, 150, 105, 0.22);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(5, 150, 105, 0.12);
}

.dash-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dash-dot--route { background: #3375ff; box-shadow: 0 0 8px #3375ff; }
.dash-dot--barber { background: #34d399; box-shadow: 0 0 8px #34d399; }

.dash-title { flex-grow: 1; }

.dash-live {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #34d399;
    background: rgba(5, 150, 105, 0.15);
    padding: 3px 8px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.dash-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse 2s infinite;
}

.dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.dash-metric {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dash-metric-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #60a5fa;
}
.dash-metric-lbl {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 60px;
    margin-bottom: 16px;
}
.dash-bars span {
    flex: 1;
    background: linear-gradient(180deg, #3375ff 0%, rgba(51, 117, 255, 0.3) 100%);
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: dash-bar-rise 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.dash-bars span:nth-child(2) { animation-delay: 0.08s; }
.dash-bars span:nth-child(3) { animation-delay: 0.16s; }
.dash-bars span:nth-child(4) { animation-delay: 0.24s; }
.dash-bars span:nth-child(5) { animation-delay: 0.32s; }
.dash-bars span:nth-child(6) { animation-delay: 0.40s; }
.dash-bars span:nth-child(7) { animation-delay: 0.48s; }

@keyframes dash-bar-rise {
    from { transform: scaleY(0); opacity: 0; }
    to   { transform: scaleY(1); opacity: 1; }
}

.dash-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.dash-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
    min-width: 78px;
    text-align: center;
}
.dash-pill--ok { color: #34d399; background: rgba(5, 150, 105, 0.15); }
.dash-pill--route { color: #60a5fa; background: rgba(0, 82, 255, 0.15); }

.dash-progress {
    flex-grow: 1;
    height: 7px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}
.dash-progress i {
    display: block;
    height: 100%;
    background: #34d399;
    border-radius: 100px;
}
.dash-progress i.route { background: #3375ff; }

.dash-agenda {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.dash-slot {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 9px 12px;
}
.dash-slot span {
    font-weight: 700;
    color: #cbd5e1;
    font-size: 0.78rem;
}
.dash-slot--filled {
    color: #e5e7eb;
    background: rgba(0, 82, 255, 0.12);
    border: 1px solid rgba(0, 82, 255, 0.25);
}
.dash-slot--filled.barber {
    background: rgba(5, 150, 105, 0.12);
    border-color: rgba(5, 150, 105, 0.25);
}

.dash-mini-stats {
    display: flex;
    gap: 18px;
    font-size: 0.8rem;
    color: #94a3b8;
}
.dash-mini-stats b { color: #34d399; font-family: var(--font-heading); }

.dash-float {
    position: absolute;
    bottom: -18px;
    left: -14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    animation: dash-float-anim 4s ease-in-out infinite;
}
.dash-float svg {
    width: 16px;
    height: 16px;
    animation: spin 6s linear infinite;
}
@keyframes dash-float-anim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 992px) {
    .dash-card { transform: none; }
    .hero-dashboard { max-width: 480px; }
}

/* ==========================================================================
   Featured Products — 2-card premium grid
   ========================================================================== */
.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 920px;
    margin: 0 auto;
    align-items: stretch;
}

.product-card .saas-card-inner {
    gap: 20px;
}

.product-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #cbd5e1;
}
.product-highlight svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.product-highlight strong { color: #fff; }
.product-highlight--blue {
    background: rgba(0, 82, 255, 0.1);
    border: 1px solid rgba(0, 82, 255, 0.25);
}
.product-highlight--blue svg { color: #60a5fa; }
.product-highlight--emerald {
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.25);
}
.product-highlight--emerald svg { color: #34d399; }

.product-card-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.product-card-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.12);
}
.product-card-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 760px) {
    .product-cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* ==========================================================================
   Results / Success Section
   ========================================================================== */
.results-section {
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.result-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}
.result-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition-normal);
}
.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), 0 0 24px rgba(0, 82, 255, 0.08);
    border-color: rgba(0, 82, 255, 0.2);
}
.result-card:hover::after { opacity: 1; }

.result-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.result-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.result-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    color: var(--primary);
}
.result-icon svg { width: 30px; height: 30px; }
.results-note {
    text-align: center;
    font-size: 1.02rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: -26px auto 50px;
}

.results-dashboard {
    background: #0c1628;
    border: 1px solid rgba(0, 82, 255, 0.18);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 82, 255, 0.1);
}
.results-dash-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 22px;
}
.results-dash-head .dash-live { margin-left: auto; }
.results-dash-body {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    align-items: end;
}
.results-dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 120px;
}
.results-dash-chart span {
    flex: 1;
    background: linear-gradient(180deg, #3375ff 0%, rgba(51, 117, 255, 0.25) 100%);
    border-radius: 5px 5px 0 0;
}
.results-dash-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.results-kpi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.results-kpi:last-child { border-bottom: none; padding-bottom: 0; }
.results-kpi-lbl { font-size: 0.85rem; color: #94a3b8; }
.results-kpi-val {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}
.results-kpi-val--ok { color: #34d399; }

@media (max-width: 992px) {
    .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .results-dash-body { grid-template-columns: 1fr; gap: 22px; }
    .results-dash-chart { height: 90px; }
}
@media (max-width: 480px) {
    .result-number { font-size: 2.4rem; }
}

/* ==========================================================================
   Compact services grid (Desarrollo a Medida)
   ========================================================================== */
.services-grid--compact {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.services-grid--compact .service-card {
    padding: 30px 22px;
}
.services-grid--compact .service-card h3 {
    font-size: 1.1rem;
}
.services-grid--compact .service-card p {
    font-size: 0.88rem;
}
@media (max-width: 1100px) {
    .services-grid--compact { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .services-grid--compact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
    .services-grid--compact { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Choose Section — ready-made vs custom
   ========================================================================== */
.choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.choose-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.choose-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md), 0 0 24px rgba(0, 82, 255, 0.07);
    border-color: rgba(0, 82, 255, 0.2);
}
.choose-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.choose-icon svg { width: 28px; height: 28px; }
.choose-icon--blue { background: rgba(0, 82, 255, 0.1); color: var(--primary); }
.choose-icon--emerald { background: rgba(5, 150, 105, 0.1); color: #059669; }
.choose-icon--purple { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }

.choose-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.choose-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: rgba(0, 82, 255, 0.08);
    border: 1px solid rgba(0, 82, 255, 0.18);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.choose-ideal {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.choose-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    flex-grow: 1;
}
.choose-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.choose-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .choose-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ==========================================================================
   Contact tweaks — link items, WhatsApp icon, select
   ========================================================================== */
.contact-detail-item--link {
    cursor: pointer;
    border-radius: 12px;
    padding: 6px;
    margin: -6px;
    transition: background var(--transition-fast);
}
.contact-detail-item--link:hover {
    background: rgba(0, 82, 255, 0.04);
}
.contact-detail-item--link:hover .detail-value {
    color: var(--primary);
}
.detail-icon--whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.2);
}

.form-select {
    background: #f8faff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
    background-color: #ffffff;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff;
    padding: 14px 20px 14px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.whatsapp-float svg {
    width: 26px;
    height: 26px;
}
.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    border: 2px solid #25d366;
    animation: wa-ring 2.5s ease-out infinite;
    pointer-events: none;
}
@keyframes wa-ring {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 576px) {
    .whatsapp-float-text { display: none; }
    .whatsapp-float {
        padding: 14px;
        bottom: 18px;
        right: 18px;
    }
}

/* ==========================================================================
   Calculator — mode groups & dynamic summary rows
   ========================================================================== */
.calc-mode-group {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.summary-row.saas-monthly {
    color: var(--primary);
    font-weight: 600;
}
.summary-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Hero offerings line (SaaS + Web + a Medida)
   ========================================================================== */
.hero-offerings {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-bottom: 36px;
    max-width: 580px;
}
.hero-offerings li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.hero-offerings li::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052ff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ==========================================================================
   Real Projects / Case Studies Section
   ========================================================================== */
.projects-section {
    position: relative;
    background:
        radial-gradient(900px circle at 85% 0%, rgba(0, 82, 255, 0.05), transparent 45%),
        var(--bg-darker);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}
.project-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 26px rgba(0, 82, 255, 0.08);
    border-color: rgba(0, 82, 255, 0.22);
}

/* Preview header (mockup) */
.project-preview {
    position: relative;
    height: 190px;
    padding: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}
.project-preview--barber { background: linear-gradient(150deg, #0b1220 0%, #10233a 100%); }
.project-preview--route  { background: linear-gradient(150deg, #071a3a 0%, #0a2e6b 100%); }
.project-preview--saas   { background: linear-gradient(150deg, #06231c 0%, #0b3b2c 100%); }

.project-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 4px 10px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
    z-index: 3;
}

.project-mock {
    width: 100%;
    max-width: 230px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Landing mock (BasBarber) */
.pm-logo {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}
.pm-logo i { color: #34d399; font-style: normal; }
.pm-hero-line {
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.22);
}
.pm-hero-line--lg { width: 90%; }
.pm-hero-line--md { width: 60%; }
.pm-btn {
    align-self: flex-start;
    font-size: 0.64rem;
    font-weight: 700;
    color: #fff;
    background: #10b981;
    padding: 5px 12px;
    border-radius: 6px;
    margin-top: 2px;
}
.pm-slots { display: flex; gap: 6px; margin-top: 4px; }
.pm-slot {
    flex: 1;
    text-align: center;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    padding: 5px 0;
}
.pm-slot--on { color: #fff; background: rgba(16, 185, 129, 0.35); }

/* Dashboard mock (RouteFlow) */
.pm-kpis { display: flex; gap: 6px; }
.pm-kpis span {
    flex: 1;
    display: flex;
    flex-direction: column;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 6px;
}
.pm-kpis b { font-size: 0.85rem; color: #fff; line-height: 1.1; }
.pm-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 46px;
    margin-top: 2px;
}
.pm-bars i {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(to top, #3375ff, #60a5fa);
}
.pm-track {
    display: block;
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.pm-track b { display: block; height: 100%; background: #3375ff; }

/* Agenda mock (BarberFlow) */
.pm-agenda-head {
    font-size: 0.66rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pm-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.64rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 6px 8px;
}
.pm-row i {
    width: 5px;
    height: 14px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
.pm-row--on { color: #fff; }
.pm-row--on i { background: #34d399; }
.pm-mini { display: flex; gap: 6px; margin-top: 2px; }
.pm-mini span {
    flex: 1;
    display: flex;
    flex-direction: column;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 6px;
}
.pm-mini b { font-size: 0.8rem; color: #34d399; line-height: 1.1; }

/* Body */
.project-body {
    display: flex;
    flex-direction: column;
    padding: 26px 24px 28px;
    flex-grow: 1;
}
.project-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 14px;
}
.project-meta h3 { font-size: 1.3rem; }
.project-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 11px;
    border-radius: 100px;
}
.project-type--blue { color: var(--primary); background: rgba(0, 82, 255, 0.08); border: 1px solid rgba(0, 82, 255, 0.18); }
.project-type--emerald { color: #059669; background: rgba(5, 150, 105, 0.1); border: 1px solid rgba(5, 150, 105, 0.2); }
.project-body > p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 18px;
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    flex-grow: 1;
    align-content: flex-start;
}
.project-tags li {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 5px 11px;
    border-radius: 8px;
}
.project-btn { margin-top: auto; }

@media (max-width: 992px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .projects-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   Digital Presence / Web Development Section
   ========================================================================== */
.digital-card {
    display: flex;
    flex-direction: column;
}
.digital-features {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 18px 0 24px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}
.digital-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.digital-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230052ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / 10px no-repeat;
}
.digital-card .btn { position: relative; z-index: 2; }

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.cta-final-section { padding-bottom: 0; }
.cta-final {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(150deg, #0a2e6b 0%, #0052ff 100%);
    border-radius: 26px;
    padding: 64px 40px;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 82, 255, 0.2);
}
.cta-final-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px circle at 15% 10%, rgba(255, 255, 255, 0.18), transparent 45%),
        radial-gradient(500px circle at 90% 100%, rgba(0, 0, 0, 0.25), transparent 50%);
    pointer-events: none;
}
.cta-final > * { position: relative; z-index: 2; }
.cta-final-badge {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    margin-bottom: 22px;
}
.cta-final-badge .badge-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); }
.cta-final h2 {
    color: #fff;
    font-size: 2rem;
    max-width: 760px;
    margin: 0 auto 16px;
}
.cta-final p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.08rem;
    max-width: 620px;
    margin: 0 auto 32px;
}
.cta-final-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-final-actions .btn-primary {
    background: #fff;
    color: var(--primary);
}
.cta-final-actions .btn-primary:hover {
    background: #f0f4ff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.cta-final-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}
.cta-final-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 600px) {
    .cta-final { padding: 48px 24px; border-radius: 20px; }
    .cta-final h2 { font-size: 1.55rem; }
    .cta-final-actions .btn { width: 100%; }
}

/* ==========================================================================
   Technologies Section
   ========================================================================== */
.tech-section { background: #ffffff; }
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.tech-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 82, 255, 0.22);
    box-shadow: var(--shadow-md), 0 0 20px rgba(0, 82, 255, 0.07);
}
.tech-ico {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    color: var(--primary);
    transition: all var(--transition-normal);
}
.tech-ico svg { width: 26px; height: 26px; }
.tech-item:hover .tech-ico {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}
.tech-name {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-primary);
}
.tech-cat {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
@media (max-width: 900px) {
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    background:
        radial-gradient(800px circle at 15% 100%, rgba(0, 82, 255, 0.05), transparent 45%),
        var(--bg-darker);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 940px;
    margin: 50px auto 0;
}
.testimonial-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 40px 34px 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), 0 0 24px rgba(0, 82, 255, 0.08);
    border-color: rgba(0, 82, 255, 0.2);
}
.testimonial-quote-mark {
    position: absolute;
    top: 6px;
    left: 24px;
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: var(--primary-glow);
    pointer-events: none;
}
.testimonial-card blockquote {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 26px;
    font-weight: 500;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.testimonial-avatar--blue { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.testimonial-avatar--emerald { background: linear-gradient(135deg, #059669, #34d399); }
.testimonial-author-meta { display: flex; flex-direction: column; }
.testimonial-author-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}
.testimonial-author-role {
    font-size: 0.82rem;
    color: var(--text-muted);
}
@media (max-width: 760px) {
    .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ==========================================================================
   Digital Section — referential prices & note
   ========================================================================== */
.digital-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 14px;
    position: relative;
    z-index: 2;
}
.digital-price-from {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.digital-price-amount {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.digital-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 32px;
}

/* ==========================================================================
   Guarantees Grid (Why choose F&F Code)
   ========================================================================== */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 50px;
}
.guarantee-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 34px 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.guarantee-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 82, 255, 0.22);
    box-shadow: var(--shadow-md), 0 0 22px rgba(0, 82, 255, 0.07);
}
.guarantee-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--primary-glow);
    color: var(--primary);
    transition: all var(--transition-normal);
}
.guarantee-icon svg { width: 27px; height: 27px; }
.guarantee-card:hover .guarantee-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}
.guarantee-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.guarantee-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
}
@media (max-width: 900px) {
    .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .guarantees-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Project status badges & dual action buttons
   ========================================================================== */
.project-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 100px;
}
.project-status .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.project-status--live {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.22);
}
.project-status--live .status-dot {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-dot 2s infinite;
}
.project-status--ready {
    color: var(--primary);
    background: rgba(0, 82, 255, 0.08);
    border: 1px solid rgba(0, 82, 255, 0.2);
}
.project-status--ready .status-dot { background: var(--primary); }
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.project-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.project-actions .project-btn {
    margin-top: 0;
    flex: 1;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
}
@media (max-width: 480px) {
    .project-actions { flex-direction: column; }
}

/* ==========================================================================
   Reduced Motion — respect user preference
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    /* Make sure reveal content is always visible, never stuck hidden */
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Disable the 3D tilt and floating glows that can cause discomfort */
    .code-window {
        transform: none !important;
    }
}

/* ==========================================================================
   Conversion Additions: clients, real cases, process, about and stronger footer
   ========================================================================== */
.clients-section {
    padding: 34px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.clients-kicker {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 20px;
}
.clients-logos {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.client-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 16px 22px;
    border-radius: 14px;
    background: #f8faff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    font-weight: 800;
    font-family: var(--font-heading);
}

.case-study-section {
    background: linear-gradient(180deg, #ffffff 0%, #f3f6ff 100%);
}
.case-study-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 42px;
    align-items: center;
    padding: 46px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
}
.case-copy h2 { font-size: 2.25rem; margin-bottom: 18px; }
.case-copy p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 20px; }
.case-list { display: grid; gap: 10px; margin-bottom: 28px; }
.case-list li { color: var(--text-secondary); position: relative; padding-left: 28px; }
.case-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: 900;
}
.case-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.case-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.case-images img,
.real-screen-card img {
    width: 100%;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}
.case-images img:first-child { transform: rotate(-1deg); }
.case-images img:last-child { transform: rotate(1deg); }
.real-screens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 34px;
}
.real-screen-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.real-screen-card img {
    border-radius: 0;
    border: none;
    height: 190px;
    object-fit: cover;
    object-position: top left;
}
.real-screen-card div { padding: 18px; display: grid; gap: 6px; }
.real-screen-card strong { font-family: var(--font-heading); color: var(--text-primary); }
.real-screen-card span { color: var(--text-secondary); font-size: 0.95rem; }

.process-section { background: #ffffff; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.process-step {
    padding: 26px 22px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.process-step:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.process-step span {
    display: inline-flex;
    color: rgba(0, 82, 255, 0.25);
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 16px;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process-step p { color: var(--text-secondary); font-size: 0.95rem; }

.about-section { background: linear-gradient(180deg, #f3f6ff 0%, #ffffff 100%); }
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
    align-items: center;
}
.about-copy h2 { font-size: 2.4rem; margin-bottom: 18px; }
.about-copy p { color: var(--text-secondary); font-size: 1.08rem; margin-bottom: 16px; max-width: 720px; }
.about-card {
    background: #0f172a;
    color: #ffffff;
    border-radius: 26px;
    padding: 38px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.08);
}
.about-avatar {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 22px;
}
.about-card h3 { color: #ffffff; font-size: 1.7rem; margin-bottom: 10px; }
.about-card p { color: rgba(255,255,255,0.75); margin-bottom: 18px; }
.about-card ul { display: grid; gap: 10px; }
.about-card li { color: rgba(255,255,255,0.9); padding-left: 24px; position: relative; }
.about-card li::before { content: '✓'; color: #22c55e; position: absolute; left: 0; font-weight: 900; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.footer {
    background: #07111f;
    color: #e5edf8;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 58px;
}
.footer .logo-text,
.footer .footer-links h3,
.footer .footer-social h3 { color: #ffffff; }
.footer-brand p,
.footer-links a,
.footer-bottom p { color: rgba(229, 237, 248, 0.72); }
.footer-links a:hover { color: #ffffff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.18);
}
.footer .social-icon {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    color: #e5edf8;
}
.footer .social-icon:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 992px) {
    .case-study-card,
    .about-grid { grid-template-columns: 1fr; }
    .real-screens-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .case-study-card { padding: 26px; }
    .case-copy h2,
    .about-copy h2 { font-size: 1.85rem; }
    .process-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .client-logo { min-width: 100%; }
}
