/* =================================
   Color Palette - Tattoo Artist Palette
   ================================= */
:root {
    /* Tattoo Artist Color Palette */
    --color-milk: #FBF7F4;          /* Milk - very light off-white */
    --color-oat: #E5DED2;           /* Oat - light beige/cream */
    --color-taupe: #A39382;         /* Taupe - medium brown-grey */
    --color-mocha: #685D54;          /* Mocha - darker brown-grey */
    --color-charcoal: #232323;       /* Charcoal - very dark grey */
    
    /* Semantic color mappings */
    --color-primary: #685D54;        /* Mocha - main color */
    --color-primary-light: #A39382;  /* Taupe - lighter variant */
    --color-primary-glow: rgba(104, 93, 84, 0.15); /* Mocha glow effect */
    --color-secondary: #A39382;      /* Taupe - secondary */
    --color-accent: #685D54;         /* Mocha - accent */
    --color-accent-hover: #A39382;   /* Taupe for hover */
    --color-accent-glow: rgba(104, 93, 84, 0.2); /* Accent glow */
    --color-light: #FBF7F4;         /* Milk - light backgrounds */
    --color-muted: #A39382;          /* Taupe - muted text */
    --color-white: #ffffff;
    --color-success: #685D54;        /* Success uses mocha */
    --color-shadow: rgba(0, 0, 0, 0.08);
    --color-shadow-lg: rgba(0, 0, 0, 0.12);
    --color-shadow-green: rgba(104, 93, 84, 0.2);
    
    /* Navbar */
    --navbar-bg: #FBF7F4;
    
    /* Modern Design Tokens */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --box-shadow-green: 0 10px 40px rgba(104, 93, 84, 0.15);
    --gradient-primary: linear-gradient(135deg, #685D54 0%, #A39382 100%);
    --gradient-accent: linear-gradient(135deg, #685D54 0%, #A39382 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(104, 93, 84, 0.05) 0%, rgba(163, 147, 130, 0.05) 100%);
}

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

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.loading-spinner::after {
    content: "";
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-light);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.error-message {
    padding: 2rem;
    text-align: center;
    color: var(--color-muted);
    font-style: italic;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #232323;
    background-color: var(--color-milk);
    overflow-x: hidden;
    font-weight: 500;
}

/* =================================
   Paper Texture Background Utilities
   ================================= */

/* General paper texture for sections (repeatable tile) */
.bg-paper {
    background-color: #FBF7F4;
    background-image: 
        /* Subtle radial gradient to brighten center */
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
        /* Subtle vignette/darken edges (very light) */
        radial-gradient(ellipse at center, transparent 0%, rgba(229, 222, 210, 0.08) 100%),
        /* Tile texture image repeated */
        url('/artifacts/textures/paper-tile-1024.webp');
    background-size: 
        100% 100%,
        100% 100%,
        1024px 1024px;
    background-position: center, center, 0 0;
    background-repeat: no-repeat, no-repeat, repeat;
    background-attachment: scroll;
    background-origin: border-box;
    background-clip: border-box;
    position: relative;
    width: 100%;
}

/* Hero paper texture (single cover image) */
.bg-paper-hero {
    background-color: #FBF7F4;
    background-image: 
        /* Subtle overlay gradient for readability */
        linear-gradient(135deg, rgba(251, 247, 244, 0.3) 0%, rgba(251, 247, 244, 0.1) 50%, rgba(229, 222, 210, 0.2) 100%),
        /* Hero paper texture as cover */
        url('/artifacts/textures/paper-hero-1920x1080.webp');
    background-size: 
        100% 100%,
        cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll;
    position: relative;
}

/* Ensure no fixed attachment on mobile for performance */
@media (max-width: 768px) {
    .bg-paper,
    .bg-paper-hero {
        background-attachment: scroll;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Ensure containers in sections with paper texture are above the texture */
.bg-paper .container,
.bg-paper-hero .container {
    position: relative;
    z-index: 2;
}


/* =================================
   Navigation
   ================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 247, 244, 0.3);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 0.25rem 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(163, 147, 130, 0.1);
}

.navbar.scrolled {
    padding: 0.2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    background: rgba(251, 247, 244, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.navbar.scrolled .logo img {
    height: 50px;
}

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

/* Logo centered */
.nav-container .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Nav menu on the right */
.nav-container .nav-menu {
    margin-left: auto;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    line-height: 1;
}

.logo:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-family: 'Oswald', 'Montserrat', sans-serif;
    color: #232323;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #685D54;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #685D54;
    font-weight: 600;
    outline: none;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    width: 100%;
}

.nav-link.active {
    color: #685D54;
    font-weight: 600;
}

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

.nav-cta-wrapper {
    display: flex;
    align-items: center;
}

.language-toggle {
    background: transparent;
    border: 1px solid rgba(163, 147, 130, 0.3);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #232323;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

.language-toggle:hover {
    background-color: rgba(163, 147, 130, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.language-toggle .lang-code {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.4rem;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    width: 22px;
    height: 2.5px;
    background-color: #232323;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger:focus-visible {
    outline: 2px solid rgba(104, 93, 84, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

.hamburger:hover span {
    background-color: #685D54;
}

/* =================================
   Hero Section
   ================================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 6rem;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Apply paper texture to hero wrapper */
.hero-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Full-width Image Container */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}

/* Overlay solo en la parte derecha (donde hay contenido visual de la imagen) */
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* More directional: left side clean for text, right side keeps photo detail */
    background: linear-gradient(
        90deg,
        rgba(251, 247, 244, 0) 0%,
        rgba(251, 247, 244, 0) 42%,
        rgba(251, 247, 244, 0.15) 48%,
        rgba(251, 247, 244, 0.35) 55%,
        rgba(251, 247, 244, 0.5) 62%,
        rgba(229, 222, 210, 0.6) 70%,
        rgba(229, 222, 210, 0.7) 85%,
        rgba(229, 222, 210, 0.75) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding-top: 2rem;
}

/* Content positioned on the left side (where the image has white space) */
.hero-content {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 3;
    padding: 0;
    margin-top: 1rem;
}

/* Mobile: reorder to text → CTAs → bullets → image */
@media (max-width: 640px) {
    .hero-content {
        display: flex;
        flex-direction: column;
    }
    
    /* Badge, title, subtitle stay in natural order */
    .hero-badge,
    .hero-title,
    .hero-subtitle {
        order: 0;
    }
    
    /* CTAs come first after subtitle */
    .hero-ctas {
        order: 1;
    }
    
    /* Microcopy after CTAs */
    .hero-microcopy {
        order: 2;
    }
    
    /* Bullets come after CTAs */
    .hero-bullets {
        order: 3;
    }
    
    /* Social proof last */
    .hero-social-proof {
        order: 4;
    }
}

/* Glass effect sutil solo en mobile si es necesario */
.hero-content::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
    background: rgba(251, 247, 244, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Badge - Premium chip style */
.hero-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-family: 'Black Ops One', 'Bebas Neue', sans-serif;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(251, 247, 244, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(104, 93, 84, 0.15);
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #685D54;
    letter-spacing: 0.15em;
    box-shadow: 0 2px 8px rgba(104, 93, 84, 0.08);
    text-transform: uppercase;
}

/* Title - Better rhythm and max-width */
.hero-title {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #232323;
    line-height: 1.1;
    letter-spacing: 0.02em;
    font-weight: 400;
    margin: 0;
    max-width: 580px;
    text-transform: uppercase;
}

.highlight-text {
    color: #685D54;
    position: relative;
    display: inline-block;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(104, 93, 84, 0.08) 0%, rgba(104, 93, 84, 0.05) 100%);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* Subtitle - Better contrast and max-width */
.hero-subtitle {
    font-family: 'Oswald', 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #2D2820;
    line-height: 1.65;
    font-weight: 500;
    margin: 0;
    max-width: 540px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Bullets - Normalized and compact */
.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-bullets li {
    font-family: 'Oswald', 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #232323;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.bullet-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #685D54;
    stroke-width: 2.5;
}

/* CTAs - Taller buttons, better spacing */
.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 0.5rem;
}

/* Microcopy */
.hero-microcopy {
    font-size: 0.8125rem;
    color: #685D54;
    margin: -0.25rem 0 0.5rem 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(163, 147, 130, 0.2);
}

.social-proof-text {
    font-size: 0.875rem;
    color: #685D54;
    margin: 0;
    font-weight: 500;
}

.social-proof-avatars {
    display: flex;
    align-items: center;
    gap: -0.5rem;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A39382 0%, #685D54 100%);
    border: 2px solid var(--color-milk);
    margin-left: -8px;
    position: relative;
}

.avatar-placeholder:first-child {
    margin-left: 0;
}


.btn {
    font-family: 'Oswald', 'Montserrat', sans-serif;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-white);
    font-weight: 600;
    padding: 1.125rem 2rem;
    box-shadow: 0 4px 15px rgba(104, 93, 84, 0.25), 0 2px 8px rgba(104, 93, 84, 0.15);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(104, 93, 84, 0.4), 0 6px 15px rgba(104, 93, 84, 0.25);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(104, 93, 84, 0.35);
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(104, 93, 84, 0.4);
    outline-offset: 3px;
}

.btn-secondary {
    background-color: transparent;
    color: #685D54;
    border: 2px solid #685D54;
    padding: 1.125rem 2rem;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--color-white);
    border-color: #685D54;
    box-shadow: 0 8px 20px var(--color-shadow-green);
}

.btn-secondary:active {
    transform: translateY(1px);
}

.btn-secondary:focus-visible {
    outline: 3px solid rgba(104, 93, 84, 0.4);
    outline-offset: 3px;
}

/* Navbar Login Button - Aligned with links */
.btn-nav-login {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    background: transparent;
    color: #685D54;
    border: 1.5px solid #685D54;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    line-height: 1;
}

.btn-nav-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-nav-login:hover::before {
    width: 100%;
}

.btn-nav-login:hover {
    color: var(--color-white);
    border-color: #685D54;
    box-shadow: 0 3px 10px rgba(104, 93, 84, 0.25);
    transform: translateY(-1px);
}

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

.btn-nav-login:focus-visible {
    outline: 2px solid rgba(104, 93, 84, 0.5);
    outline-offset: 2px;
}

.floating-card {
    background: var(--color-white);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(45, 61, 52, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 4rem;
    color: #685D54;
    margin-bottom: 1rem;
}

.floating-card h3 {
    font-size: 1.5rem;
    color: #232323;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.floating-card p {
    color: #685D54;
    font-weight: 400;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #685D54;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(251, 247, 244, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: rgba(251, 247, 244, 0.95);
}

.scroll-indicator:focus-visible {
    outline: 3px solid rgba(104, 93, 84, 0.4);
    outline-offset: 3px;
}

/* =================================
   Section Styles
   ================================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 3;
}

/* Section Badge - Same style as Hero badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 1rem;
}

.section-badge-text {
    font-family: 'Black Ops One', 'Bebas Neue', sans-serif;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(251, 247, 244, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(104, 93, 84, 0.15);
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #685D54;
    letter-spacing: 0.15em;
    box-shadow: 0 2px 8px rgba(104, 93, 84, 0.08);
    text-transform: uppercase;
}

.section-title {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: #232323;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    line-height: 1.1;
    letter-spacing: 0.02em;
    font-weight: 400;
    text-transform: uppercase;
}

.section-title-highlight {
    color: #685D54;
    position: relative;
    display: inline-block;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(104, 93, 84, 0.08) 0%, rgba(104, 93, 84, 0.05) 100%);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}

.section-subtitle {
    font-family: 'Oswald', 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #2D2820;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =================================
   Services Section
   ================================= */
.services {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Ensure container and content are above paper texture */
.services .container {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

/* Paper texture is now handled by .bg-paper class */

/* Smooth smoky transition from Hero - matching the image's ethereal effect */
/* This overlay blends the paper texture transition smoothly */
.services-transition-overlay {
    display: none;
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 0;
    }
    
    .services-transition-overlay {
        top: -80px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 3rem 0;
    }
    
    .services-transition-overlay {
        top: -50px;
        height: 100px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 3;
}

/* Desktop (>1024px): 4 columns */
@media (min-width: 1025px) {
    .services-grid {
        gap: 2rem;
    }
}

/* Tablet (640-1024px): 2 columns (2x2) */
@media (min-width: 641px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile (<640px): 1 column, icon+title in row */
@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 1.5rem;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        height: auto;
    }
    
    .service-icon-wrapper {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .service-image-container {
        width: 64px;
        height: 64px;
        padding: 0.75rem;
        margin-bottom: 0;
    }
    
    .service-card h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
        min-height: auto;
        -webkit-line-clamp: 2;
    }
    
    .service-card p {
        font-size: 0.875rem;
        line-height: 1.5;
        -webkit-line-clamp: 2;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
}

/* =================================
   Tatuadores Section
   ================================= */
.tatuadores {
    padding: 6rem 0;
    position: relative;
}

/* If bg-paper is not applied, use gradient fallback */
.tatuadores:not(.bg-paper):not(.bg-paper-hero) {
    background: linear-gradient(180deg, #FBF7F4 0%, #E5DED2 50%, #FBF7F4 100%);
}

.tatuadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 968px) {
    .tatuadores-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .tatuadores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

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

.tatuador-card {
    background-color: rgba(104, 93, 84, 0.5);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(163, 147, 130, 0.2);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.15),
        0 1px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 0.75rem 1rem;
}

.tatuador-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(229, 222, 210, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(229, 222, 210, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(163, 147, 130, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at center, transparent 0%, rgba(45, 45, 45, 0.1) 100%);
    pointer-events: none;
    opacity: 0.8;
    mix-blend-mode: overlay;
    z-index: 0;
}

.tatuador-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(163, 147, 130, 0.3);
}

.tatuador-card:hover::after {
    opacity: 1;
}

.tatuador-image {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-oat);
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    z-index: 1;
}

.tatuador-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 50%;
}

.tatuador-card:hover .tatuador-image {
    border-color: rgba(104, 93, 84, 0.3);
    box-shadow: 0 6px 20px rgba(104, 93, 84, 0.15);
}

.tatuador-card:hover .tatuador-image img {
    transform: scale(1.05);
}

.tatuador-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tatuador-name {
    font-size: 0.95rem;
    color: #FBF7F4;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    text-align: center;
}

.instagram-link {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(220, 39, 67, 0.3);
    flex-shrink: 0;
}

.instagram-link:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(220, 39, 67, 0.5);
}

.tatuador-info {
    padding: 0;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.tatuador-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 0.15rem;
    color: #FFD700;
    font-size: 0.75rem;
}

.stars i {
    color: #FFD700;
}

.stars .far.fa-star {
    color: rgba(251, 247, 244, 0.3);
}

.stars .fas.fa-star-half-alt {
    color: #FFD700;
}

.rating-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FBF7F4;
}

@media (max-width: 640px) {
    .tatuador-image {
        width: 120px;
        height: 120px;
        margin-bottom: 0.75rem;
    }
    
    .tatuador-name-wrapper {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
    
    .instagram-link {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
    
    .tatuador-name {
        font-size: 0.875rem;
    }
    
    .stars {
        font-size: 0.7rem;
    }
    
    .rating-number {
        font-size: 0.8rem;
    }
}

/* =================================
   Galería de Proyectos Section
   ================================= */
.galeria {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* If bg-paper is not applied, use gradient fallback */
.galeria:not(.bg-paper):not(.bg-paper-hero) {
    background: linear-gradient(180deg, #FBF7F4 0%, #E5DED2 50%, #FBF7F4 100%);
}

.galeria-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 3rem;
    padding: 2rem 0;
}

.galeria-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

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

.galeria-item {
    flex-shrink: 0;
    width: 300px;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.galeria-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(104, 93, 84, 0.2);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

@media (max-width: 768px) {
    .galeria-item {
        width: 250px;
        height: 350px;
    }
    
    .galeria-track {
        gap: 1rem;
    }
}

.service-card {
    background-color: #FBF7F4;
    background-image: 
        /* Subtle radial gradient */
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%),
        /* Paper texture tile */
        url('/artifacts/textures/paper-tile-1024.webp');
    background-size: 
        100% 100%,
        512px 512px;
    background-position: center, 0 0;
    background-repeat: no-repeat, repeat;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(163, 147, 130, 0.15);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.04),
        0 1px 4px rgba(104, 93, 84, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(229, 222, 210, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(229, 222, 210, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(229, 222, 210, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(163, 147, 130, 0.05) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 28px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(104, 93, 84, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(229, 222, 210, 0.4);
    border-color: rgba(104, 93, 84, 0.25);
}

.service-card:hover::after {
    opacity: 0.95;
}

.service-card.expandable {
    padding: 0;
    overflow: hidden;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    padding-bottom: 1rem;
}

.service-header .service-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.service-header h3 {
    flex: 1;
    margin: 0;
}

.expand-btn {
    background: transparent;
    border: none;
    color: #685D54;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.expand-btn:hover {
    color: #232323;
}

.expand-btn i {
    transition: var(--transition);
}

.service-card.expanded .expand-btn i {
    transform: rotate(180deg);
}

.service-summary {
    padding: 0 2.5rem 1.5rem;
    color: #685D54;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 2.5rem;
}

.service-card.expanded .service-details {
    max-height: 500px;
    padding-bottom: 2rem;
}

.service-details p {
    color: #685D54;
    line-height: 1.6;
    margin: 0;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(104, 93, 84, 0.2);
    transition: var(--transition);
    overflow: hidden;
    padding: 12px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Icon wrapper with rounded container */
.service-icon-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.service-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(163, 147, 130, 0.1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 2px 6px rgba(104, 93, 84, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    padding: 1rem;
}

.service-card:hover .service-image-container {
    transform: scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.05),
        0 3px 10px rgba(104, 93, 84, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(104, 93, 84, 0.18);
    background: rgba(255, 255, 255, 0.8);
}

.service-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(104, 93, 84, 0.3);
}

.service-card h3 {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: #232323;
    margin-bottom: 0.75rem;
    font-weight: 400;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-family: 'Montserrat', sans-serif;
    color: #685D54;
    margin-bottom: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

/* Services Footer */
.services-footer {
    text-align: center;
    margin-top: 3rem;
    color: #685D54;
    font-style: italic;
    font-size: 0.9375rem;
    position: relative;
    z-index: 3;
    opacity: 0.85;
    font-weight: 400;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: #685D54;
}

/* =================================
   Technologies Section
   ================================= */
.technologies {
    padding: 6rem 0;
}

/* Technologies section has dark gradient - only apply if no bg-paper */
.technologies:not(.bg-paper):not(.bg-paper-hero) {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

/* If technologies has paper texture, override text colors */
.technologies.bg-paper .section-title,
.technologies.bg-paper .section-subtitle {
    color: #232323;
}

.technologies .section-title,
.technologies .section-subtitle {
    color: var(--color-light);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: rgba(232, 228, 208, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(157, 181, 108, 0.2);
}

.tech-category h3 {
    color: var(--color-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    background-color: #2D3D34;
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-tag:hover {
    background-color: var(--color-secondary);
    transform: scale(1.05);
}

/* =================================
   Projects Section
   ================================= */
.projects {
    padding: 6rem 0;
}

.projects:not(.bg-paper):not(.bg-paper-hero) {
    background-color: var(--color-white);
}

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

.projects-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

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

.project-card {
    background: linear-gradient(135deg, #ffffff 0%, #F5F7F6 100%);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(45, 61, 52, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(45, 61, 52, 0.15);
    border-color: rgba(45, 61, 52, 0.3);
}

.project-image {
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.video-project .project-image {
    height: auto;
    aspect-ratio: 9 / 16;
    max-width: 100%;
    position: relative;
    background-color: #000000;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 61, 52, 0.85) 0%, rgba(45, 61, 52, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay i {
    font-size: 3rem;
    color: var(--color-white);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags span {
    background-color: var(--color-muted);
    color: var(--color-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* =================================
   Stats Section
   ================================= */
.stats {
    padding: 4rem 0;
}

.stats:not(.bg-paper):not(.bg-paper-hero) {
    background-color: var(--color-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #F5F7F6 100%);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(45, 61, 52, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(45, 61, 52, 0.15);
    border-color: rgba(45, 61, 52, 0.3);
}

.stat-card i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(45, 61, 52, 0.2));
    transition: var(--transition);
}

.stat-card:hover i {
    transform: scale(1.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--color-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.stat-card.featured {
    background: linear-gradient(135deg, #2D3D34 0%, #3D5A4A 100%);
    border: 2px solid #2D3D34;
    box-shadow: 0 8px 30px rgba(45, 61, 52, 0.25);
    transform: scale(1.05);
}

.stat-card.featured::before {
    height: 6px;
    background: var(--gradient-accent);
    transform: scaleX(1);
}

.stat-card h3 {
    color: #000000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.stat-card.featured h3 {
    color: var(--color-white);
}

.stat-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.stat-card.featured i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.4));
}

.stat-card.featured:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(45, 61, 52, 0.35);
}

/* =================================
   Contact Section
   ================================= */
.contact {
    padding: 6rem 0;
}

.contact:not(.bg-paper):not(.bg-paper-hero) {
    background-color: var(--color-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2D3D34;
    width: 40px;
    height: 40px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    color: #000000;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--color-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.3rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background-color: #2D3D34;
    color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(45, 61, 52, 0.3);
}

.contact-form {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-muted);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2D3D34;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =================================
   Footer
   ================================= */
.footer {
    background-color: #000000;
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--color-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-section p {
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--color-muted);
    color: #000000;
}

.newsletter-form input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background-color: #2D3D34;
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.newsletter-form button:hover {
    background-color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* =================================
   Scroll to Top Button
   ================================= */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 8px 25px var(--color-shadow-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.3;
    z-index: -1;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px var(--color-shadow-green);
}

/* =================================
   Animations
   ================================= */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* =================================
   Hero Benefits List
   ================================= */
.hero-benefits {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.hero-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-benefits li i {
    color: #2D3D34;
    font-size: 1.3rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.hero-benefits li strong {
    color: #000000;
    font-weight: 600;
}

/* =================================
   Target Audience Section
   ================================= */
.target-audience {
    padding: 6rem 0;
}

.target-audience:not(.bg-paper):not(.bg-paper-hero) {
    background-color: var(--color-white);
}

.target-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    .target-list {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
    }
}

.target-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #F5F7F6 0%, #ffffff 100%);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid #2D3D34;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.target-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(45, 61, 52, 0.1);
}

.target-item i {
    color: #2D3D34;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.target-item p {
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.target-cta {
    text-align: center;
    margin-top: 3rem;
}

.target-remate {
    font-size: 1.2rem;
    color: #000000;
    font-weight: 500;
    font-style: italic;
}

/* =================================
   Solutions Section
   ================================= */
.solutions {
    padding: 6rem 0;
}

.solutions:not(.bg-paper):not(.bg-paper-hero) {
    background-color: var(--color-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    .solutions-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
    }
}

.solution-card {
    background: linear-gradient(135deg, #ffffff 0%, #F5F7F6 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(45, 61, 52, 0.1);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 61, 52, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(45, 61, 52, 0.15);
    border-color: rgba(45, 61, 52, 0.3);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--color-white);
    box-shadow: 0 6px 20px var(--color-shadow-green);
    transition: var(--transition);
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px var(--color-shadow-green);
}

.solution-card h3 {
    font-size: 1.4rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 600;
}

.solution-card p {
    color: #333333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-outline {
    background-color: transparent;
    color: #2D3D34;
    border: 2px solid #2D3D34;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: var(--color-white);
    border-color: #2D3D34;
    box-shadow: 0 6px 20px var(--color-shadow-green);
    transform: translateY(-2px);
}

.solutions-cta {
    text-align: center;
    margin-top: 3rem;
}

/* =================================
   Process Section
   ================================= */
.process {
    padding: 6rem 0;
}

.process:not(.bg-paper):not(.bg-paper-hero) {
    background-color: var(--color-white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 20px var(--color-shadow-green);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.2;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.step-content h3 {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.step-content p {
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

/* =================================
   Offer Section
   ================================= */
.offer {
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* CTA Section with background image (similar to hero) */
.cta-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    position: relative;
}

.cta-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Full-width Image Container */
.cta-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* Overlay para legibilidad - protege izquierda, mantiene derecha visible */
.cta-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradiente que protege el lado izquierdo (donde va el texto) y mantiene derecha visible */
    background: linear-gradient(
        90deg,
        rgba(251, 247, 244, 0.9) 0%,
        rgba(251, 247, 244, 0.85) 25%,
        rgba(251, 247, 244, 0.7) 40%,
        rgba(251, 247, 244, 0.5) 55%,
        rgba(251, 247, 244, 0.3) 70%,
        rgba(251, 247, 244, 0.15) 85%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
}

.cta-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cta-content {
    max-width: 600px;
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 4;
    padding-left: 2rem;
}

.cta-title {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #232323;
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-weight: 400;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
}

.cta-subtitle {
    font-family: 'Oswald', 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #2D2820;
    line-height: 1.6;
    font-weight: 500;
    margin: 0 0 2rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cta-button-wrapper {
    text-align: center;
    margin-bottom: 1rem;
}

.cta-button {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.cta-microcopy {
    text-align: center;
    color: #685D54;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

/* CTA Section Responsive */
@media (max-width: 1024px) {
    .cta-content {
        max-width: 550px;
        padding-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cta-section {
        min-height: 450px;
        padding: 4rem 0;
    }

    .cta-image {
        object-position: right center;
    }

    .cta-container {
        justify-content: center;
        padding: 0 1.5rem;
    }

    .cta-content {
        max-width: 100%;
        text-align: center;
        padding-left: 0;
    }

    .cta-image-overlay {
        background: linear-gradient(
            90deg,
            rgba(251, 247, 244, 0.95) 0%,
            rgba(251, 247, 244, 0.9) 30%,
            rgba(251, 247, 244, 0.75) 50%,
            rgba(251, 247, 244, 0.5) 65%,
            rgba(251, 247, 244, 0.3) 80%,
            transparent 100%
        );
    }
}

@media (max-width: 640px) {
    .cta-section {
        min-height: 400px;
        padding: 3rem 0;
    }

    .cta-image {
        object-position: right center;
    }

    .cta-container {
        padding: 0 1rem;
    }

    .cta-content {
        max-width: 100%;
        text-align: center;
    }

    .cta-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .cta-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }

    .cta-button {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        width: 100%;
    }

    .cta-image-overlay {
        background: linear-gradient(
            90deg,
            rgba(251, 247, 244, 0.98) 0%,
            rgba(251, 247, 244, 0.95) 25%,
            rgba(251, 247, 244, 0.85) 45%,
            rgba(251, 247, 244, 0.7) 60%,
            rgba(251, 247, 244, 0.5) 75%,
            rgba(251, 247, 244, 0.3) 90%,
            transparent 100%
        );
    }
}

.offer:not(.cta-section):not(.bg-paper):not(.bg-paper-hero) {
    background-color: var(--color-milk);
}

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

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

.offer-list {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
    padding: 0;
}

.offer-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #000000;
    font-size: 1.1rem;
}

.offer-list li i {
    color: #2D3D34;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.offer-decision {
    font-size: 1.2rem;
    color: #000000;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.offer-options {
    list-style: none;
    text-align: left;
    margin: 1rem 0 2rem;
    padding: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.offer-options li {
    color: #333333;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.offer-options li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2D3D34;
    font-size: 1.5rem;
}

.offer-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.offer-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #F5F7F6 100%);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(45, 61, 52, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.offer-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(45, 61, 52, 0.1);
    border-color: rgba(45, 61, 52, 0.2);
}

.offer-highlight i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(45, 61, 52, 0.2));
    transition: var(--transition);
}

.offer-highlight:hover i {
    transform: scale(1.15);
}

.offer-highlight span {
    color: #000000;
    font-weight: 500;
    text-align: center;
    font-size: 0.95rem;
}

/* =================================
   About Section
   ================================= */
.about {
    padding: 6rem 0;
}

.about:not(.bg-paper):not(.bg-paper-hero) {
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.founder-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-light);
}

.founder-intro h3 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.founder-title {
    color: #2D3D34;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0077b5;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border: 2px solid #0077b5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.95rem;
}

.linkedin-link i {
    font-size: 1.2rem;
}

.linkedin-link:hover {
    background-color: #0077b5;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.3);
}

.social-links-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 8px;
    background: var(--color-light);
    transition: var(--transition);
}

.social-link-inline:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-link-inline:nth-child(2):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--color-white);
}

.social-link-inline:nth-child(3):hover {
    background: #25D366;
    color: var(--color-white);
}

.about-text p {
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-skills {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.about-skills li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #000000;
}

.about-skills li i {
    color: #2D3D34;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.about-mission {
    font-size: 1.2rem;
    color: #000000;
    font-weight: 500;
    font-style: italic;
    margin-top: 2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-photo {
    width: 300px;
    height: 300px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #2D3D34;
    box-shadow: 0 10px 40px rgba(45, 61, 52, 0.15);
    transition: var(--transition);
    background: linear-gradient(135deg, #F5F7F6 0%, #ffffff 100%);
}

.founder-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(45, 61, 52, 0.2);
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.founder-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #F5F7F6 0%, #ffffff 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid #2D3D34;
    position: relative;
    box-shadow: 0 10px 40px rgba(45, 61, 52, 0.15);
    transition: var(--transition);
}

.founder-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(45, 61, 52, 0.2);
}

.founder-placeholder i {
    font-size: 5rem;
    color: #2D3D34;
    margin-bottom: 1rem;
}

.founder-placeholder p {
    color: #333333;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.linkedin-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #0077b5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
    transition: var(--transition);
}

.linkedin-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
}

.trusted-by {
    margin-top: 4rem;
    text-align: center;
    padding-top: 3rem;
    border-top: 2px solid var(--color-light);
}

.trusted-by p {
    color: #333333;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trusted-logo {
    padding: 1rem 2rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(45, 61, 52, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.trusted-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(45, 61, 52, 0.2);
}

.trusted-logo img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.trusted-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =================================
   FAQ Section
   ================================= */
.faq {
    padding: 6rem 0;
}

.faq:not(.bg-paper):not(.bg-paper-hero) {
    background-color: var(--color-light);
}

.faq-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 2px solid var(--color-light);
    transition: var(--transition);
}

.faq-item.active {
    border-color: #2D3D34;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(45, 61, 52, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: #2D3D34;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

/* =================================
   Project Video Styles
   ================================= */
.projects-section {
    margin-bottom: 4rem;
}

.projects-section:last-child {
    margin-bottom: 0;
}

.projects-subtitle {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.projects-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.project-website {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.project-website iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(0.25);
    transform-origin: top left;
    width: 400%;
    height: 400%;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 61, 52, 0.85) 0%, rgba(45, 61, 52, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.project-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-slide.active {
    opacity: 1;
    z-index: 1;
}

.video-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background-color: #000000;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    color: #2D3D34;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.video-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: var(--color-white);
    border-color: #2D3D34;
    transform: scale(1.3);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--color-white);
}

.project-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.project-placeholder p {
    font-size: 1rem;
    font-weight: 500;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tags span {
    padding: 0.4rem 0.8rem;
    background: rgba(45, 61, 52, 0.1);
    color: #2D3D34;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* =================================
   Responsive Design
   ================================= */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 66px;
        flex-direction: column;
        background: rgba(251, 247, 244, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        z-index: 1001;
    }

    /* Logo stays centered on mobile */
    .nav-container .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }

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

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

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

    /* Hero Content responsive */
    .hero-content {
        max-width: 100%;
        text-align: left;
        padding: 1rem 0;
    }

    .hero-title {
        max-width: 100%;
        font-size: 2.5rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Overlay más fuerte en mobile para legibilidad */
    .hero-image-overlay {
        background: linear-gradient(
            180deg,
            rgba(251, 247, 244, 0.85) 0%,
            rgba(251, 247, 244, 0.75) 30%,
            rgba(251, 247, 244, 0.65) 50%,
            rgba(229, 222, 210, 0.7) 70%,
            rgba(229, 222, 210, 0.75) 100%
        );
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .projects-grid,
    .projects-grid-three,
    .solutions-grid,
    .target-list,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .video-project .project-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .stat-card.featured {
        transform: scale(1);
    }
    
    .stat-card.featured:hover {
        transform: translateY(-8px) scale(1);
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .offer-highlights {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) and (min-width: 769px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) and (min-width: 641px) {
    /* Tablet: 60/40 layout */
    .hero-container {
        padding: 0 2rem;
    }

    .hero-content {
        max-width: 60%;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-ctas {
        flex-wrap: nowrap;
    }

    .hero-image-container {
        position: absolute;
        right: 0;
        width: 40%;
        height: 100%;
    }

    .hero-image {
        object-position: center right;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 4rem;
    }

    .hero-container {
        padding: 0 1.5rem;
        padding-top: 1.5rem;
        align-items: flex-start;
    }

    .hero-content {
        gap: 1.25rem;
        padding: 0;
        max-width: 100%;
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        max-width: 100%;
    }

    .hero-bullets li {
        font-size: 0.9375rem;
    }

    .hero-bullets {
        gap: 0.75rem;
        margin: 1rem 0 0.5rem;
    }

    .hero-ctas {
        gap: 0.875rem;
        flex-wrap: wrap;
    }

    .hero-microcopy {
        font-size: 0.8125rem;
    }

    .hero-social-proof {
        gap: 0.5rem;
        padding-top: 1rem;
    }

    .social-proof-text {
        font-size: 0.8125rem;
    }

    /* Activar glass effect en mobile si es necesario */
    .hero-content::before {
        opacity: 0.9;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero-container {
        padding: 0 1rem;
        padding-top: 1rem;
        align-items: flex-start;
    }

    .hero-content {
        gap: 1rem;
        padding: 0;
        max-width: 100%;
        margin-top: 0.5rem;
        /* Order: text → CTAs → bullets → image (image handled by wrapper) */
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
        line-height: 1.2;
        max-width: 100%;
    }

    .highlight-text {
        white-space: normal;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
        line-height: 1.6;
        max-width: 100%;
    }

    .hero-badge {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .badge-text {
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
    }

    /* CTAs come before bullets on mobile */
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin: 1.25rem 0 0.75rem;
        order: 1;
    }

    .hero-ctas .btn {
        width: 100%;
        padding: 1.125rem 1.5rem;
        font-size: 0.9375rem;
        justify-content: center;
        text-align: center;
    }

    .hero-microcopy {
        font-size: 0.75rem;
        margin: -0.25rem 0 1rem;
    }

    /* Bullets come after CTAs */
    .hero-bullets {
        gap: 0.65rem;
        margin: 1rem 0;
        order: 2;
    }

    .hero-bullets li {
        font-size: 0.875rem;
        gap: 0.625rem;
    }

    .bullet-icon {
        width: 18px;
        height: 18px;
    }

    .hero-social-proof {
        gap: 0.5rem;
        padding-top: 1rem;
        margin-top: 1rem;
        order: 3;
    }

    .social-proof-text {
        font-size: 0.75rem;
    }

    .avatar-placeholder {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }

    /* Image wrapper order and fixed height */
    .hero-wrapper {
        position: relative;
    }

    .hero-image-container {
        position: relative;
        height: 280px;
        min-height: 280px;
    }

    .hero-image {
        height: 280px;
        object-fit: cover;
        object-position: center right;
    }

    /* Overlay más fuerte en mobile pequeño para mejor legibilidad */
    .hero-image-overlay {
        background: linear-gradient(
            180deg,
            rgba(251, 247, 244, 0.85) 0%,
            rgba(251, 247, 244, 0.75) 30%,
            rgba(251, 247, 244, 0.7) 50%,
            rgba(229, 222, 210, 0.7) 70%,
            rgba(229, 222, 210, 0.65) 100%
        );
    }

    /* Activar glass effect en mobile pequeño */
    .hero-content::before {
        opacity: 0.95;
    }

    .scroll-indicator {
        bottom: 1.5rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-ctas .btn {
        padding: 0.9rem 1.25rem;
        font-size: 0.9rem;
    }

    .floating-card {
        padding: 2rem;
    }

    .floating-card i {
        font-size: 3rem;
    }
}

/* =================================
   Social Media Floating Elements
   ================================= */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: float-pulse 3s ease-in-out infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    background: #25D366;
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes float-pulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Social Media Floating Bar */
.social-floating-bar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: var(--gradient-primary);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: 2px 0 20px var(--color-shadow-green);
    transition: var(--transition);
}

.social-floating-bar:hover {
    transform: translateY(-50%) translateX(5px);
    box-shadow: 5px 0 30px var(--color-shadow-green);
}

.social-floating-content {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    gap: 10px;
}

.social-floating-bar .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--color-primary);
    background: var(--color-white);
    text-decoration: none;
    font-size: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 10px;
}

.social-floating-bar .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-floating-bar .social-link:hover::before {
    left: 100%;
}

.social-floating-bar .social-link:hover {
    transform: scale(1.1);
    color: var(--color-white);
}

/* LinkedIn button - LinkedIn blue color */
.social-floating-bar .social-link:nth-child(1) {
    background: #0077B5; /* LinkedIn blue */
    color: var(--color-white);
}

/* Instagram button - Instagram gradient */
.social-floating-bar .social-link:nth-child(2) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* Instagram gradient */
    color: var(--color-white);
}

/* WhatsApp button - WhatsApp green */
.social-floating-bar .social-link:nth-child(3) {
    background: #25D366; /* WhatsApp green */
    color: var(--color-white);
}

/* Specific social media colors on hover */
.social-floating-bar .social-link:nth-child(1):hover {
    background: #0A66C2; /* LinkedIn blue darker on hover */
    color: var(--color-white);
}

.social-floating-bar .social-link:nth-child(2):hover {
    background: linear-gradient(45deg, #e08429 0%, #d65832 25%, #cc1f33 50%, #bc1d56 75%, #ac1078 100%); /* Instagram gradient darker on hover */
    color: var(--color-white);
}

.social-floating-bar .social-link:nth-child(3):hover {
    background: #20BA5A; /* WhatsApp green darker on hover */
    color: var(--color-white);
}

/* Responsive adjustments for social floating elements */
@media (max-width: 768px) {
    .social-floating-bar {
        left: -5px;
        border-radius: 0 12px 12px 0;
    }
    
    .social-floating-bar .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
        border-radius: 6px;
        margin: 0 8px;
    }
    
    .social-floating-content {
        padding: 12px 0;
        gap: 8px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 24px;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .social-floating-bar {
        left: -8px;
        border-radius: 0 10px 10px 0;
    }
    
    .social-floating-bar .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 6px;
        margin: 0 6px;
    }
    
    .social-floating-content {
        padding: 10px 0;
        gap: 6px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 24px;
        border-radius: 50%;
    }
}

