/* Variables y Reset */
:root {
    --bg: #FEFDFB;
    --bg-secondary: #FAF8F5;
    --text: #1A1A1A;
    --text-light: #5A5A5A;
    --accent: #E8DDD4;
    --accent-dark: #C4B5A8;
    --gradient-soft: linear-gradient(135deg, rgba(232,221,212,0.15), transparent);
    --gradient-hero: linear-gradient(180deg, transparent, rgba(250,248,245,0.8));
    --shadow: 0 20px 40px rgba(0,0,0,0.04);
    --shadow-hover: 0 30px 60px rgba(0,0,0,0.08);
    --radius: 24px;
    --radius-small: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Evitar scroll horizontal en todo el documento */
html { overflow-x: hidden; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Tipografía */
h1, h2, h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 600;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    font-weight: 400;
    color: var(--text-light);
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

/* Navegación */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    background: rgba(254, 253, 251, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232,221,212,0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text);
}

.logo svg {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 450;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-dark);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Language selector */
.lang-selector {
    position: relative;
}

.lang-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
    color: var(--text);
    cursor: pointer;
}

.lang-button:hover {
    background: var(--bg-secondary);
}

.globe-icon, .chevron-icon {
    width: 18px;
    height: 18px;
}

.chevron-icon {
    transform: translateY(1px);
}

.lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--bg);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 0.4rem;
    min-width: 180px;
    display: none;
}

.lang-selector.open .lang-dropdown {
    display: block;
}

.lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    border-radius: 10px;
    text-align: left;
}

.lang-option:hover {
    background: var(--bg-secondary);
}

.lang-badge {
    width: 20px;
    height: 20px;
}

/* Hamburger */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
}

.hamburger svg {
    width: 28px;
    height: 28px;
}

/* Secciones */
section {
    min-height: 100vh;
    padding: 140px 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Hero */
.hero {
    position: relative;
    text-align: center;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,221,212,0.2), transparent 70%);
    animation: pulse 12s ease-in-out infinite;
    z-index: -1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.tagline {
    font-size: 1.4rem;
    margin: 1.5rem 0 3rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Botones */
.btn {
    background: var(--text);
    color: var(--bg);
    border: none;
    padding: 1.1rem 2.8rem;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text);
}

.btn-outline:hover {
    background: var(--text);
    color: var(--bg);
}

/* What is Section */
.what-is-section {
    background: var(--bg-secondary);
}

.what-is-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.what-is-content h2 {
    margin-bottom: 2rem;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 4rem;
    font-weight: 300;
}

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

.pillar {
    text-align: center;
    padding: 2rem;
    background: var(--bg);
    border-radius: var(--radius);
    transition: transform 0.3s;
}

.pillar:hover {
    transform: translateY(-5px);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    stroke: var(--accent-dark);
}

.pillar h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.pillar p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Studio Section */
.studio-section {
    position: relative;
    overflow: hidden;
}

.studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.studio-text h2 {
    margin-bottom: 1.5rem;
}

.studio-features {
    margin: 2.5rem 0;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--accent-dark);
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.studio-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Slideshow (sustituye al mockup del móvil) */
.slideshow {
    position: relative;
    width: 320px;
    height: 640px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-secondary);
    margin: 0 auto;
}

.slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}

/* Marco tipo iPhone (aplicado en todos los tamaños) */
.slideshow.iphone {
    border: 12px solid var(--text);
    border-top-width: 18px;
    border-bottom-width: 18px;
    border-radius: 42px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    background: var(--bg-secondary);
}
.slideshow.iphone::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 18px;
    background: var(--text);
    border-radius: 999px;
    z-index: 2;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg);
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.time-selector {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 2rem;
}

.intention-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.chip {
    padding: 8px 16px;
    background: var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Experience Section */
.experience-section {
    background: var(--bg-secondary);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.experience-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 500px;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3));
}

.experience-text h3 {
    margin-bottom: 1.5rem;
}

.experience-details {
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-icon {
    width: 20px;
    height: 20px;
    stroke: var(--accent-dark);
}

/* Community Section */
.community-section {
    position: relative;
}

.community-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.member-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--gradient-soft);
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.member-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--text);
    color: var(--bg);
    padding: 4rem 3rem 2rem;
    margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-section h5 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* SVG patterns */
.pattern-dots {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.3;
    z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    section {
        padding: 80px 1.5rem;
    }

    h1 {
        font-size: 3rem;
    }

    .studio-grid,
    .experience-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

    .experience-image {
        height: 300px;
    }

    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    /* Mobile menu */
    .hamburger { display: inline-flex; }
    .nav-links {
        position: fixed;
        top: 64px;
        right: 16px;
        left: 16px;
        background: var(--bg);
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 1rem;
        display: none;
        flex-direction: column;
        gap: 1rem;
        z-index: 1200;
    }
    nav.menu-open .nav-links {
        display: flex;
    }

    /* Slideshow responsive */
    .slideshow {
        width: 280px;
        height: 560px;
    }

    /* Cuando el slideshow se incrusta dentro del texto en mobile */
    .studio-text .studio-visual {
        margin: 0 auto 1rem;
    }

    /* Marco tipo iPhone en mobile */
    .slideshow.iphone {
        border: 12px solid var(--text);
        border-top-width: 18px;
        border-bottom-width: 18px;
        border-radius: 42px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.12);
        background: var(--bg-secondary);
    }
    .slideshow.iphone::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 96px;
        height: 18px;
        background: var(--text);
        border-radius: 999px;
        z-index: 2;
    }
}

/* Animaciones reducidas */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}


