/* Reset y Configuración Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Variables CSS */
:root {
    /* Colores Primarios */
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-300: #fdba74;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --orange-800: #9a3412;
    --orange-900: #7c2d12;
    
    /* Colores Sakura */
    --sakura-50: #fef7f0;
    --sakura-100: #fdeee0;
    --sakura-200: #fbd8c0;
    --sakura-300: #f8bd96;
    --sakura-400: #f49969;
    --sakura-500: #f07744;
    --sakura-600: #e25d2e;
    --sakura-700: #bc4724;
    --sakura-800: #963a22;
    --sakura-900: #79311f;
    
    /* Colores Sunset */
    --sunset-50: #fff9f5;
    --sunset-100: #fff1e8;
    --sunset-200: #ffe0c7;
    --sunset-300: #ffc89b;
    --sunset-400: #ffa866;
    --sunset-500: #ff8a3a;
    --sunset-600: #f56500;
    --sunset-700: #cc4f00;
    --sunset-800: #a13f00;
    --sunset-900: #7a3000;
    
    /* Grises */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Fuentes */
    --font-inter: 'Inter', sans-serif;
    --font-noto: 'Noto Sans JP', sans-serif;
}

/* Utilidades */
.font-noto-jp {
    font-family: var(--font-noto);
}

/* Gradientes */
.orange-gradient {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
}

.sakura-gradient {
    background: linear-gradient(135deg, var(--sakura-400), var(--sakura-600));
}

.sunset-gradient {
    background: linear-gradient(135deg, var(--sunset-400), var(--sunset-600));
}

/* Animaciones mejoradas y más lentas */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes sakuraFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Nuevas animaciones más suaves para el hero */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
    }
}

.animate-fade-in {
    animation: fadeIn 1.2s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 1s ease-out;
}

.animate-floating {
    animation: floating 4s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-pulse {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-hero-fade-in {
    animation: heroFadeIn 1.5s ease-out both;
}

.animate-title-glow {
    animation: titleGlow 4s ease-in-out infinite;
}

/* Botones */
.btn-primary {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    border: 2px solid var(--orange-300);
    color: var(--orange-700);
    background: transparent;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--orange-50);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--orange-600);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

/* Headers de Sección */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--orange-100);
    color: var(--orange-800);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-noto);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* Sakura Particles */
#sakura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sakura-petal {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--sakura-200), var(--sakura-300));
    border-radius: 50%;
    opacity: 0.6;
    animation: sakuraFall 12s linear infinite;
}

/* Navigation */
#navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

#navigation.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--orange-100);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.logo-icon span {
    color: white;
    font-weight: 700;
    font-family: var(--font-noto);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.brand-japanese {
    font-size: 0.75rem;
    color: var(--orange-500);
    font-family: var(--font-noto);
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link span:first-child {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.nav-japanese {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-family: var(--font-noto);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover span:first-child {
    color: var(--orange-500);
}

.cta-button {
    display: none;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-noto);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--orange-50);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 0.25rem;
    gap: 0.25rem;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--orange-600);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--orange-100);
    animation: fadeIn 0.3s ease;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    text-decoration: none;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.3s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--orange-500);
}

.mobile-nav-link span:last-child {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-family: var(--font-noto);
}

/* Hero Section mejorado */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, var(--orange-50) 50%, var(--sakura-50) 100%);
    overflow: hidden;
    padding: 2rem 0;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.floating-circle {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: floating 6s ease-in-out infinite;
}

.circle-1 {
    top: 5rem;
    left: 5rem;
    width: 8rem;
    height: 8rem;
    border-color: var(--orange-200);
    animation-delay: 0s;
}

.circle-2 {
    top: 10rem;
    right: 8rem;
    width: 6rem;
    height: 6rem;
    border-color: var(--sakura-200);
    animation-delay: 2s;
}

.circle-3 {
    bottom: 8rem;
    left: 25%;
    width: 5rem;
    height: 5rem;
    border-color: var(--orange-300);
    animation-delay: 4s;
}

.circle-4 {
    bottom: 5rem;
    right: 5rem;
    width: 7rem;
    height: 7rem;
    border-color: var(--sakura-300);
    animation-delay: 3s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange-100), var(--sakura-100));
    color: var(--orange-800);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-noto);
    border: 1px solid var(--orange-200);
    margin-bottom: 2rem;
    animation: heroFadeIn 1.8s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--orange-600) 50%, var(--orange-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroFadeIn 2s ease-out 0.5s both, titleGlow 4s ease-in-out infinite 3s;
    text-align: center;
    line-height: 1.2;
    margin-top: 100px
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: heroFadeIn 2.2s ease-out 1s both;
    text-align: center;
}

.subtitle-japanese {
    font-size: 1rem;
    color: var(--orange-600);
    font-family: var(--font-noto);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: heroFadeIn 2.4s ease-out 1.5s both;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 4rem;
    animation: heroFadeIn 2.6s ease-out 2s both;
}

.hero-buttons .arrow {
    transition: transform 0.5s ease;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.hero-buttons .sparkle {
    transition: transform 0.5s ease;
}

.btn-secondary:hover .sparkle {
    transform: rotate(12deg);
}

.hero-quote {
    animation: heroFadeIn 2.8s ease-out 2.5s both;
}

.hero-quote blockquote {
    color: var(--gray-500);
    font-style: italic;
    font-family: var(--font-noto);
    font-size: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid var(--orange-300);
    border-radius: 50px;
    display: flex;
    justify-content: center;
}

.scroll-dot {
    width: 0.25rem;
    height: 0.75rem;
    background: var(--orange-400);
    border-radius: 50px;
    margin-top: 0.5rem;
    animation: pulse 3s infinite;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--orange-50) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--orange-100);
    transition: all 0.5s ease;
    animation: fadeIn 0.6s ease-out;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--orange-200);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.service-japanese {
    font-size: 0.875rem;
    color: var(--orange-600);
    font-family: var(--font-noto);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: var(--orange-400);
    border-radius: 50%;
    margin-right: 0.75rem;
}

.service-cta {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-cta {
    opacity: 1;
}

.service-cta span {
    color: var(--orange-600);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-cta span:hover {
    color: var(--orange-700);
}

.services-cta {
    margin-top: 4rem;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--orange-100);
    margin-bottom: 1.5rem;
    font-family: var(--font-noto);
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--orange-50) 0%, #fff 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.team-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--orange-100);
    transition: all 0.5s ease;
    animation: fadeIn 0.6s ease-out;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    opacity: 0.9;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    justify-content: space-between;
}

.team-info h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-info p {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-noto);
    font-size: 0.875rem;
}

.team-social {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
}

.team-social button {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.team-social button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.team-social svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.team-content {
    padding: 1.5rem;
}

.team-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.team-role-japanese {
    color: var(--orange-600);
    font-family: var(--font-noto);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.team-skills span {
    padding: 0.25rem 0.75rem;
    background: var(--orange-50);
    color: var(--orange-700);
    font-size: 0.75rem;
    border-radius: 50px;
    border: 1px solid var(--orange-200);
}

.team-quote {
    background: linear-gradient(135deg, var(--orange-50), var(--sakura-50));
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--orange-100);
    text-align: center;
}

.team-quote blockquote {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.team-quote p {
    color: var(--orange-600);
    font-family: var(--font-noto);
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--orange-50) 100%);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--orange-200);
    background: white;
    color: var(--gray-600);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.filter-btn:hover:not(.active) {
    background: var(--orange-50);
    color: var(--orange-600);
}

.filter-btn span:first-child {
    font-size: 0.875rem;
}

.filter-japanese {
    font-size: 0.75rem;
    opacity: 0.75;
    font-family: var(--font-noto);
    display: block;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--orange-100);
    transition: all 0.5s ease;
    animation: fadeIn 0.6s ease-out;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-actions {
    opacity: 1;
}

.portfolio-btn {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.portfolio-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.portfolio-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.portfolio-japanese {
    color: var(--orange-600);
    font-family: var(--font-noto);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.portfolio-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.portfolio-tech span {
    padding: 0.125rem 0.5rem;
    background: var(--orange-50);
    color: var(--orange-700);
    font-size: 0.75rem;
    border-radius: 0.25rem;
    border: 1px solid var(--orange-200);
}

.portfolio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.portfolio-link {
    color: var(--orange-600);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.portfolio-link:hover {
    color: var(--orange-700);
}

.portfolio-category {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.portfolio-cta {
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--orange-50) 0%, #fff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--orange-100);
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.contact-method:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.contact-details h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.contact-details span {
    font-size: 0.875rem;
    color: var(--orange-600);
    font-family: var(--font-noto);
}

.contact-quote {
    background: linear-gradient(135deg, var(--orange-50), var(--sakura-50));
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--orange-100);
}

.contact-quote blockquote {
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.contact-quote p {
    color: var(--orange-600);
    font-family: var(--font-noto);
    font-size: 0.875rem;
}

.contact-form-wrapper {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--orange-100);
}

.contact-form-header {
    margin-bottom: 1.5rem;
}

.contact-form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    color: var(--gray-600);
    font-family: var(--font-noto);
    font-size: 0.875rem;
}

.contact-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--orange-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    justify-content: center;
}

.form-submit svg {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-additional {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
    text-align: center;
}

.contact-additional p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-social button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange-600);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-social button:hover {
    color: var(--orange-700);
}

.contact-social svg {
    width: 1rem;
    height: 1rem;
}

.contact-social span {
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--gray-900) 0%, #000 100%);
    color: white;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 0;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.footer-logo-icon span {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-noto);
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo p {
    color: var(--orange-400);
    font-family: var(--font-noto);
    font-size: 0.875rem;
}

.footer-description {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

.footer-heart {
    display: flex;
    align-items: center;
    color: var(--orange-400);
    font-family: var(--font-noto);
    font-size: 0.875rem;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.footer-heart svg {
    width: 1rem;
    height: 1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    color: var(--gray-300);
    gap: 0.75rem;
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--orange-400);
}

.footer-contact-item span {
    font-size: 0.875rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-japanese {
    color: var(--orange-400);
    font-family: var(--font-noto);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--orange-400);
}

.footer-newsletter {
    border-top: 1px solid var(--gray-800);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.newsletter-content p {
    color: var(--gray-400);
    font-size: 0.875rem;
    font-family: var(--font-noto);
}

.newsletter-form {
    display: flex;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem 1rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 0.5rem 0 0 0.5rem;
    color: white;
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: var(--gray-400);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 1px var(--orange-500);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.875rem;
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-copyright p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-copyright-japanese {
    font-family: var(--font-noto);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-legal a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--orange-400);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-form {
        width: auto;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-legal {
        flex-direction: row;
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .cta-button {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 1.875rem;
    }
    
    .section-header h2 {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        grid-column: 2 / -1;
    }
    
    .footer-newsletter {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animaciones de entrada con delay */
[data-delay="0"] {
    animation-delay: 0s;
}

[data-delay="1"] {
    animation-delay: 0.1s;
}

[data-delay="2"] {
    animation-delay: 0.2s;
}

[data-delay="3"] {
    animation-delay: 0.3s;
}

[data-delay="4"] {
    animation-delay: 0.4s;
}

[data-delay="5"] {
    animation-delay: 0.5s;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selección personalizada */
::selection {
    background: var(--orange-200);
    color: var(--orange-800);
}

/* Scroll personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--orange-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-500);
}

/* Mobile First - Base styles (0-639px) */
.container {
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-top: 60px;
}

.hero-subtitle {
    font-size: 1.25rem;
}

.hero-description {
    font-size: 1rem;
    padding: 0 1rem;
}

.services-grid,
.team-grid,
.portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

.footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Small devices (640px and up) */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        max-width: 32rem;
        margin: 0 auto;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .footer-main {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Large devices (1024px and up) */
@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-main {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Extra large devices (1280px and up) */
@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }

    .hero-title {
        font-size: 6rem;
    }
}

/* Ajustes de navegación móvil */
@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .cta-button {
        display: none;
    }

    /* Ajustes del menú móvil */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%); /* Cambiado de -100% a -150% */
    transition: transform 0.3s ease;
    z-index: 999; /* Aumentado el z-index */
    border-bottom: 1px solid var(--orange-100);
    visibility: hidden; /* Añadido */
    opacity: 0; /* Añadido */
}

.mobile-menu.active {
    transform: translateY(0);
    visibility: visible; /* Añadido */
    opacity: 1; /* Añadido */
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    text-decoration: none;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    background-color: var(--orange-50);
    color: var(--orange-600);
    padding-left: 1.5rem;
}
}

/* Ajustes de formulario responsivo */
@media (max-width: 639px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer-newsletter {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 0.5rem;
    }
}

/* Ajustes de espaciado para móviles */
@media (max-width: 639px) {
    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: calc(100vh - 70px);
        padding-top: 70px;
    }

    .hero-content {
        padding-top: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    .floating-circle {
        display: none;
    }
}

/* Ajustes de rendimiento para móviles */
@media (max-width: 767px) {
    .sakura-petal {
        display: none;
    }

    #particles-canvas {
        opacity: 0.2;
    }

    .animate-floating {
        animation: none;
    }
}