:root {
    /* Color System - Professional Green Scale */
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;  /* Primary */
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;
    
    /* Semantic Colors (Theme Tokens) */
    --color-primary: var(--green-600);
    --color-primary-hover: var(--green-700);
    --color-primary-active: var(--green-800);
    --color-primary-light: var(--green-500);
    --color-primary-lighter: var(--green-400);
    --color-primary-lightest: var(--green-100);
    
    /* Base Colors */
    --carbon-black: #0A0A0F;
    --charcoal: #1A1A24;
    --slate-dark: #2A2A38;
    --off-white: #F5F5F0;
    --light-grey: #E8E8E3;
    --gold-accent: #D4AF37;
    
    /* Typography */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows with Primary Color */
    --shadow-subtle: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 10px 30px rgba(22, 163, 74, 0.3);
    --shadow-primary-lg: 0 20px 50px rgba(22, 163, 74, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    background: var(--carbon-black);
    color: var(--off-white);
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.3px;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar - Minimalista y casi imperceptible */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 15, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(22, 163, 74, 0.2);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(22, 163, 74, 0.4);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(22, 163, 74, 0.2) rgba(10, 10, 15, 0.3);
}

/* Animated Background Elements */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bg-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.012;
    will-change: transform;
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-primary), transparent);
    top: 10%;
    right: -10%;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary-light), transparent);
    bottom: 20%;
    left: -5%;
}

.bg-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-primary-lighter), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(22, 163, 74, 0.008) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 163, 74, 0.008) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.15;
}

/* Ensure content is above background */
nav,
section,
footer {
    position: relative;
    z-index: 1;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--off-white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
    top: 0;
}

/* Navigation - Premium Edition */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, background, box-shadow;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--off-white);
    text-decoration: none;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: all 0.3s var(--transition-smooth);
}

/* Logo V - Bold statement with permanent accent */
.logo-v {
    font-weight: 800;
    color: var(--color-primary);
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

/* Subtle accent underline - Always visible */
.logo-v::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--color-primary) 0%, 
        var(--color-primary-light) 50%, 
        var(--color-primary) 100%);
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: all 0.3s var(--transition-smooth);
    border-radius: 1px;
}

/* Hover effects - Subtle enhancement */
.logo:hover .logo-v {
    color: var(--color-primary-light);
    transform: translateY(-2px);
}

.logo:hover .logo-v::after {
    opacity: 1;
    height: 3px;
}

/* Focus state for accessibility */
.logo:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 8px;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo {
        font-size: 1.6rem;
    }
}

.nav-links {
    display: flex;
    gap: 48px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(245, 245, 240, 0.75);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent,
        var(--color-primary) 20%,
        var(--green-400) 50%,
        var(--color-primary-light) 80%,
        transparent
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.4);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    filter: blur(6px);
    opacity: 0.5;
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -1;
}

.nav-links a:hover {
    color: var(--off-white);
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    width: 100%;
    animation: shimmerSlide 1.2s ease-in-out infinite;
}

.nav-links a:hover::before {
    width: 100%;
}

@keyframes shimmerSlide {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.nav-links a:active {
    transform: translateY(0);
}

/* Active state for current page */
.nav-links a.active {
    color: var(--off-white);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
    background: var(--color-primary);
}

.lang-switch {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--off-white);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.05em;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.lang-switch::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(22, 163, 74, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(22, 163, 74, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.lang-switch:hover::before {
    opacity: 1;
}

.lang-switch:active {
    transform: translateY(0);
}

.lang-switch:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 6px;
    background: transparent;
    border: none;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle:hover {
    transform: scale(1.08);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 90px 40px 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(30, 58, 95, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, 
        var(--green-700) 0%, 
        var(--green-600) 25%, 
        var(--green-500) 50%, 
        var(--green-600) 75%, 
        var(--green-700) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--light-grey);
    margin-bottom: 35px;
    max-width: 450px;
    font-weight: 300;
    line-height: 1.65;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s var(--transition-smooth);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    outline: none;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--off-white);
    border: 2px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        transparent
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
    animation: shimmerSlide 1.2s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(22, 163, 74, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--off-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--off-white);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.profile-container {
    position: relative;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(22, 163, 74, 0.3), 0 0 0 8px rgba(22, 163, 74, 0.1);
}

/* Section Styling */
section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--light-grey);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Services Section - Enhanced Visual Hierarchy */
#services .section-header {
    margin-bottom: 80px;
}

.services-main-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.services-value-prop {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--light-grey);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 48px 36px;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-primary), 
        var(--green-400), 
        var(--color-primary-light),
        var(--color-primary)
    );
    background-size: 200% 100%;
    background-position: 0% 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 0 0 rgba(22, 163, 74, 0);
}

.service-card:hover::before {
    transform: scaleX(0.4);
    animation: gradientFlow 2s ease-in-out infinite;
    box-shadow: 0 0 16px rgba(22, 163, 74, 0.6);
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 0;
    }
    50% {
        background-position: 200% 0;
    }
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(22, 163, 74, 0.3);
    box-shadow: 
        0 20px 60px rgba(22, 163, 74, 0.15),
        0 0 0 1px rgba(22, 163, 74, 0.1);
    background: linear-gradient(135deg, 
        var(--charcoal) 0%, 
        rgba(22, 163, 74, 0.03) 100%
    );
}

.service-number {
    position: absolute;
    top: -18px;
    left: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--off-white);
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--green-700) 100%);
    border-radius: 50%;
    box-shadow: 
        0 5px 16px rgba(22, 163, 74, 0.25),
        0 2px 5px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.service-card:hover .service-number {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 
        0 10px 28px rgba(22, 163, 74, 0.35),
        0 4px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    margin-bottom: 12px;
    margin-top: 8px;
    font-weight: 700;
    color: var(--off-white);
    line-height: 1.3;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .service-number {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        top: -14px;
        left: 18px;
    }
    
    .service-card {
        margin-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card .service-number {
        animation: none;
    }
    
    .service-card:hover .service-number {
        transform: none;
    }
}

.service-card > p {
    color: rgba(245, 245, 240, 0.7);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 8px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-features li {
    color: var(--light-grey);
    font-size: 0.9rem;
    font-weight: 500;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
}

/* Projects Section */
#projects {
    background: var(--charcoal);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
}

.project-card {
    background: var(--carbon-black);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
    outline: none;
}

.project-card:hover,
.project-card:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.project-card:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.project-image-container {
    width: 100%;
    height: 220px;
    background: var(--slate-dark);
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s var(--transition-smooth);
}

.project-card:hover .project-image-container img {
    transform: scale(1.03);
}

.project-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.project-card:hover .project-image-container::after {
    opacity: 0;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--charcoal), var(--slate-dark));
}

.project-content {
    padding: 35px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    padding: 5px 12px;
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(22, 163, 74, 0.3);
    border-radius: 4px;
    color: var(--color-primary-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.project-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-content p {
    color: var(--light-grey);
    line-height: 1.8;
    margin-bottom: 25px;
}

.project-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: gap 0.3s;
}

.project-link:hover {
    gap: 12px;
    color: var(--color-primary-light);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.3;
    position: absolute;
    top: 30px;
    left: 30px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--light-grey);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--light-grey);
}

/* Contact Section */
#contact {
    background: var(--charcoal);
}

/* Contact Benefits */
.contact-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px auto 60px;
    max-width: 800px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(22, 163, 74, 0.05);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 12px;
    transition: all 0.3s var(--transition-smooth);
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(22, 163, 74, 0.1);
    border-color: var(--color-primary);
}

.benefit-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(22, 163, 74, 0.5));
}

.benefit-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-grey);
    text-align: center;
    margin: 0;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(22, 163, 74, 0.05));
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(22, 163, 74, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--light-grey);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(17, 24, 39, 0.8);
    border: 2px solid rgba(22, 163, 74, 0.2);
    border-radius: 10px;
    color: var(--off-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(17, 24, 39, 0.95);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1),
                0 0 20px rgba(22, 163, 74, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--off-white);
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-lg);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--off-white);
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.contact-info {
    margin-top: 50px;
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 30px;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 50px;
    margin: 0 auto 30px;
    max-width: fit-content;
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.trust-badge p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--light-grey);
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--off-white);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s var(--transition-smooth);
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--carbon-black), rgba(10, 10, 15, 1));
    padding: 80px 40px 50px;
    text-align: center;
    border-top: 2px solid rgba(22, 163, 74, 0.2);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

footer p {
    color: var(--light-grey);
    font-size: 0.95rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links a {
    color: var(--light-grey);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.2), transparent);
    transition: left 0.5s;
}

.footer-links a:hover::before {
    left: 100%;
}

.footer-links a svg {
    opacity: 0.8;
    transition: all 0.3s var(--transition-smooth);
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--off-white);
    background: rgba(22, 163, 74, 0.15);
    border-color: rgba(22, 163, 74, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.2);
}

.footer-links a:hover svg {
    opacity: 1;
    transform: scale(1.15) rotate(5deg);
}

/* Messages */
.success-message {
    display: none;
    padding: 20px;
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    color: var(--off-white);
    text-align: center;
    margin-top: 20px;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s var(--transition-smooth);
}

.error-message {
    display: none;
    padding: 20px;
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    border-radius: 8px;
    color: #ff6b6b;
    text-align: center;
    margin-top: 20px;
}

.error-message.show {
    display: block;
    animation: fadeInUp 0.5s var(--transition-smooth);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 50px;
    }
    
    .hero-image {
        order: 0;
    }
    
    .profile-container {
        max-width: 280px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-benefits {
        gap: 25px;
    }
    
    .benefit-item {
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    nav .container {
        padding: 15px 20px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 30px;
        padding: 50px 20px;
        transition: left 0.4s var(--transition-smooth);
        align-items: flex-start;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    section {
        padding: 80px 20px;
    }
    
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .profile-container {
        max-width: 220px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card,
    .project-card,
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .contact-benefits {
        flex-direction: column;
        gap: 15px;
    }
    
    .benefit-item {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        padding: 15px 20px;
    }
    
    .benefit-icon {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 35px 25px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 18px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        padding: 18px;
        font-size: 1rem;
    }
    
    .trust-badge {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .trust-badge p {
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-links a {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero {
        padding: 90px 15px 50px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
        margin-bottom: 20px;
    }
    
    .hero-label {
        font-size: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    
    .section-label {
        font-size: 0.75rem;
    }
    
    .profile-container {
        max-width: 180px;
    }
    
    .service-card,
    .project-card,
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
    }
    
    .submit-btn {
        padding: 16px;
    }
    
    .trust-badge {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    footer {
        padding: 50px 15px 30px;
    }
    
    footer p {
        font-size: 0.85rem;
    }
}
