/* = = = = ESTILOS GENERALES — Compartidos entre home y todas las landing pages = = = = */

/* ----- Variables & Reset ----- */
:root {
    /* Colors */
    --bg-dark-1: #0F0F0F;
    --bg-dark-2: #141414;
    --bg-dark-grad: linear-gradient(180deg, #0F0F0F 0%, #050505 100%);
    --bg-light-1: #F6F5F2;
    --bg-light-2: #EFEDE8;

    --text-dark: #111111;
    --text-dark-muted: #444444;
    --text-light: #F5F5F3;
    --text-light-muted: #BBBBBB;

    --accent-dark: #2A2A2A;
    --accent-light: #D9D7D2;

    /* Typography */
    --font-head: 'Inter', sans-serif;
    --font-body: 'Raleway', sans-serif;

    /* Shapes & UI */
    --br-lg: 17px;
    --br-pill: 50px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --spacing-section: clamp(80px, 10vw, 140px);
    --container-max: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light-1);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* Evita que el header flotante tape los títulos al hacer scroll */
section {
    scroll-margin-top: 100px;
}

/* ----- Tipografía base ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 40px;
    text-transform: lowercase;
}

.section-title em {
    font-style: normal;
    font-weight: 700;
    color: var(--text-light-muted);
}

.theme-light .section-title em {
    color: var(--text-dark-muted);
}

/* ----- Container ----- */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ----- Temas ----- */
.theme-dark {
    background-color: var(--bg-dark-1);
    color: var(--text-light);
}

.theme-dark-grad {
    background: var(--bg-dark-grad);
    color: var(--text-light);
}

.theme-light {
    background-color: var(--bg-light-1);
    color: var(--text-dark);
}

/* ----- Botones globales ----- */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 32px;
    border-radius: var(--br-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn--primary {
    background: var(--text-light);
    color: var(--text-dark);
}

.btn--primary:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.btn--ghost {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

/* ----- Header & Navegación ----- */
.site-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--br-pill);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 14px 32px;
}

.logo-link {
    transition: transform 0.25s ease;
    display: inline-flex;
}

.logo-link:hover {
    transform: scale(0.97);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

.nav-links a:hover {
    opacity: 0.85;
    font-weight: 700;
}

.nav-links a.nav-active {
    font-weight: 800;
    opacity: 1;
}

.header-cta {
    background: var(--text-light);
    color: var(--text-dark);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: var(--br-pill);
    letter-spacing: 0.05em;
}

.header-cta:hover {
    transform: scale(1.02);
    opacity: 0.95;
    color: var(--text-dark-muted);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.menu-toggle .bar {
    position: absolute;
    left: 8px;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: var(--transition-smooth);
}

.menu-toggle .bar-1 { top: 16px; }
.menu-toggle .bar-2 { top: 24px; }

.menu-toggle.active .bar-1 {
    transform: rotate(45deg);
    top: 20px;
}

.menu-toggle.active .bar-2 {
    transform: rotate(-45deg);
    top: 20px;
}

/* ----- Sección Contacto (compartida home + landings) ----- */
.contact {
    padding: var(--spacing-section) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--text-dark-muted);
    margin-bottom: 40px;
}

.contact-email-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark-muted);
    margin-bottom: 8px;
}

.contact-email {
    font-size: 1.15rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 40px;
}

.contact-email:hover {
    color: var(--text-dark-muted);
}

.contact-availability {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 20px;
    background: var(--bg-light-2);
    border-radius: var(--br-pill);
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    flex-shrink: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.field-group {
    position: relative;
}

.field-group.full {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    padding: 20px;
    background: var(--bg-light-2);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--br-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
    appearance: none;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--text-dark);
    background: var(--bg-light-1);
}

label {
    position: absolute;
    left: 20px;
    top: 20px;
    color: var(--text-dark-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

input:focus + label,
input:not(:placeholder-shown) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label,
.field-group.select-active label {
    top: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input:not(:placeholder-shown),
textarea:not(:placeholder-shown),
select {
    padding-top: 28px;
    padding-bottom: 12px;
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.nota-formulario {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    max-width: 600px;
}

.nota-formulario a {
    text-decoration: underline;
}

.btn-submit {
    background: var(--text-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 18px 40px;
    border-radius: var(--br-pill);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.btn-submit:hover {
    transform: translateY(-2px);
}

#error-message {
    display: none;
    color: #EF4444;
    font-size: 0.85rem;
    font-weight: 700;
    width: 100%;
}

#error-message.visible {
    display: block;
}

/* ----- Footer ----- */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-top .logo,
.footer-top .logo-link img {
    height: 50px;
    width: auto;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-light-muted);
}

.footer-mid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 40px;
}

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

.footer-nav a {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light-muted);
}

.footer-nav a:hover {
    color: var(--text-light);
}

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

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.social-link:hover {
    background: var(--text-light);
    color: var(--bg-dark-1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light-muted);
    opacity: 0.6;
}

/* ----- Modal de confirmación ----- */
#success-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

#success-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--bg-light-1);
    padding: 60px;
    border-radius: var(--br-lg);
    text-align: center;
    max-width: 400px;
    color: var(--text-dark);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: #10B981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.modal-box h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.modal-box p {
    color: var(--text-dark-muted);
    margin-bottom: 30px;
}

#modal-close {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 14px 30px;
    border-radius: var(--br-pill);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}



/* ----- Responsive: Header, Contacto, Footer ----- */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-header {
        width: 95%;
        top: 12px;
    }

    .nav-links {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(16px);
        padding: 30px;
        border-radius: var(--br-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
    }
}

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

    /* El email largo no debe desbordarse en mobile */
    .contact-email {
        overflow-wrap: break-word;
        word-break: break-all;
    }

    /* Botón a ancho completo en formulario mobile */
    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    /* Modal más holgado en pantallas pequeñas */
    .modal-box {
        padding: 36px 28px;
        margin: 0 16px;
    }

    .footer-top,
    .footer-mid,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 16px;
    }
}


/* = = = = ESTILOS HOME = = = == */

/* ----- Hero ----- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(100px + var(--spacing-section));
    padding-bottom: calc(var(--spacing-section) + 60px);
    display: flex;
    align-items: center;
}

/* Textura de grano fílmico — marcada para reforzar la atmósfera cinematográfica. */
.hero-grain {
    position: absolute;
    inset: -10%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: overlay;
    filter: contrast(2.1) brightness(1.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 140px 140px;
    animation: heroGrainShift 1.4s steps(2) infinite;
}

@keyframes heroGrainShift {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-1.5%, 1%, 0); }
    100% { transform: translate3d(1%, -1.5%, 0); }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-light-muted);
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 7.5rem);
    line-height: 0.95;
    text-transform: lowercase;
    margin-bottom: 30px;
}

.hero-title .line-2 {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-left: 0;
}

.hero-title .sub-text {
    font-size: clamp(1.5rem, 2vw, 2.0rem);
    font-weight: 700;
    color: var(--text-light-muted);
    font-family: var(--font-body);
    letter-spacing: normal;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-tags span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--br-pill);
    color: var(--text-light-muted);
}

@media (min-width: 769px) {
    .hero-tags,
    .hero-tags span {
        user-select: none;
        -webkit-user-select: none;
        cursor: default;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.hero-seo-text {
    font-size: 0.95rem;
    color: var(--text-light-muted);
    line-height: 1.6;
}

.hero-projects-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 10px;
}

.hero-projects-link:hover {
    gap: 12px;
}

/* ----- Indicador de scroll ----- */
.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: clamp(24px, 4vh, 44px);
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light-muted);
    animation: heroScrollBounce 2.4s ease-in-out infinite;
}

.hero-scroll-indicator__line {
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35));
}

.hero-scroll-indicator svg {
    opacity: 0.8;
    transition: var(--transition-fast);
}

.hero-scroll-indicator:hover svg {
    opacity: 1;
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-grain {
        animation: none;
    }
    .hero-scroll-indicator {
        animation: none;
    }
}

/* ----- Servicios ----- */
.services {
    padding: var(--spacing-section) 0;
}

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

.service-card {
    background: var(--bg-light-2);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--br-lg);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.2);
}

.service-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 2rem;
    text-transform: lowercase;
    margin-top: auto;
}

.service-card__icon img {
    width: 48px;
    height: 48px;
    filter: invert(1) brightness(0.1);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-card ul {
    margin-bottom: 30px;
    padding-left: 20px;
    list-style: disc;
    color: var(--text-dark-muted);
    font-size: 0.9rem;
}

.service-card ul li {
    margin-bottom: 8px;
}

.service-card__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-more,
.service-cta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-cta {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    width: 100%;
}

.service-cta:hover {
    color: var(--text-dark-muted);
}

/* ----- Proyectos & Carrusel ----- */
.projects {
    padding: var(--spacing-section) 0;
    overflow: hidden;
}

.carousel-outer {
    margin: 60px 0;
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
}

.carousel-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: projectsScroll var(--carousel-duration, 30s) linear infinite;
    animation-fill-mode: both;
}

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

@keyframes projectsScroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(var(--carousel-distance, -50%), 0, 0);
    }
}

.proj-card {
    width: 280px;
    border-radius: var(--br-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.proj-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6,  6,  6,  0.97) 0%,
        rgba(6,  6,  6,  0.82) 30%,
        rgba(6,  6,  6,  0.22) 60%,
        rgba(6,  6,  6,  0.0)  100%
    );
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 1;
    pointer-events: none;
}

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

.proj-card__img-wrap {
    width: 100%;
    height: 100%;
}

.proj-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.proj-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(12, 12, 12, 0.96) 0%,
        rgba(12, 12, 12, 0.65) 22%,
        rgba(12, 12, 12, 0.0)  46%
    );
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

/* Agrupa categoría + título — siempre visible al fondo */
.proj-card__info {
    display: flex;
    flex-direction: column;
}

.proj-cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light-muted);
    margin-bottom: 6px;
    display: block;
}

.proj-card h3 {
    font-size: 1.25rem;
    line-height: 1.15;
    margin-bottom: 0;
    transition: margin-bottom 0.3s ease;
}

.proj-card:hover h3 {
    margin-bottom: 10px;
}

.proj-card__desc {
    font-size: 0.85rem;
    color: var(--text-light-muted);
    line-height: 1.55;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, color 0.3s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.proj-card:hover .proj-card__desc {
    opacity: 1;
    max-height: 120px;
    color: var(--text-light);
}

.projects-spotify {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--br-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.projects-spotify__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.projects-spotify__label img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.projects-spotify__label span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.projects-spotify__label:hover span {
    transform: translateX(3px);
}

.projects-spotify__player {
    width: 100%;
}

.projects-spotify p {
    color: var(--text-light-muted);
    margin-top: 16px;
}

/* ----- Proceso (home) ----- */
.process {
    padding: var(--spacing-section) 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.process-step {
    background: var(--bg-light-2);
    border-radius: var(--br-lg);
    padding: 50px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-step__num {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    opacity: 0.1;
    margin-bottom: 20px;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    text-transform: lowercase;
}

.process-step p {
    color: var(--text-dark-muted);
}

/* ----- Sobre mí ----- */
.about {
    padding: var(--spacing-section) 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/img/bc_studiobanner.webp');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    opacity: 0.13;
    pointer-events: none;
    z-index: 0;
}

.about > .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-body p {
    font-size: 1.2rem;
    color: var(--text-light-muted);
    margin-bottom: 24px;
}

.about-body strong {
    color: var(--text-light);
    font-weight: 700;
}

.about-spotify {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--br-pill);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-spotify:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ----- Responsive Home ----- */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    /* Scoped al hero home para no afectar a los btn-row de las landings */
    .hero .btn-row {
        justify-content: center;
    }

    .projects-spotify {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 90px;
    }
}

@media (max-width: 768px) {
    .services,
    .projects,
    .process,
    .about,
    .contact {
        padding: 64px 0;
    }

    .section-label {
        margin-bottom: 16px;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: clamp(2.15rem, 9vw, 3.2rem);
        margin-bottom: 28px;
    }

    .hero {
        padding-top: 104px;
        padding-bottom: 72px;
    }

    .hero-grid {
        width: 100%;
        gap: 0;
    }

    .hero-content {
        width: 100%;
    }

    .hero-eyebrow {
        max-width: 320px;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-title {
        margin-bottom: 24px;
    }

    .hero-title .line-2 {
        gap: 8px;
    }

    .hero-title .sub-text {
        max-width: 320px;
    }

    .hero-tags {
        max-width: 340px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 28px;
    }

    .hero-actions {
        width: 100%;
        gap: 22px;
    }

    .hero-seo-text {
        max-width: 340px;
        font-size: 0.88rem;
    }

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

    .service-card {
        padding: 28px 24px;
    }

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

    /* Padding generoso en desktop, más contenido en mobile columna única */
    .process-step {
        padding: 32px 28px;
    }

    .process-step h3 {
        font-size: 1.5rem;
    }

    .projects-spotify {
        padding: 24px 20px;
        gap: 24px;
    }

    .projects-spotify__player iframe {
        height: 300px;
    }

    .carousel-outer {
        margin: 36px 0;
    }

    .proj-card {
        width: clamp(200px, 72vw, 260px);
    }

    /* Botones a ancho completo apilados: mejor objetivo táctil en mobile */
    .hero .btn-row {
        flex-direction: column;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .hero .btn-row .btn {
        width: 100%;
        justify-content: center;
    }

    .about-grid {
        gap: 28px;
    }

    .about-left .section-title {
        margin-bottom: 0;
    }

    .about-body p {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 18px;
    }

    .about-spotify {
        margin-top: 8px;
        padding: 14px 22px;
        font-size: 0.75rem;
    }

    .contact-grid {
        gap: 32px;
    }

    .contact-desc {
        font-size: 1rem;
        margin-bottom: 28px;
    }
}

@media (max-width: 480px) {
    .services,
    .projects,
    .process,
    .about,
    .contact {
        padding: 52px 0;
    }

    .section-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
        margin-bottom: 24px;
    }

    /* Título hero algo más compacto en pantallas muy pequeñas */
    .hero-title {
        font-size: clamp(2.6rem, 10vw, 3.5rem);
        margin-bottom: 22px;
    }

    .hero-title .line-2 {
        gap: 10px;
    }

    .hero-title .sub-text {
        font-size: 1.05rem;
    }

    .hero-eyebrow {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .hero-tags {
        gap: 8px;
        margin-bottom: 32px;
    }

    .hero-tags span {
        font-size: 0.72rem;
        padding: 7px 13px;
    }

    /* Hero home: compactar el primer viewport en pantallas muy pequeñas */
    .hero {
        padding-top: 92px;
        padding-bottom: 68px;
    }

    .hero-scroll-indicator__line {
        height: 24px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: clamp(2.3rem, 11vw, 2.8rem);
    }
}


/* ==== ESTILOS LANDINGS — Estructura compartida entre todas las landing pages ==== */

/* ----- Breadcrumb ----- */
/*
 * Cálculo: header fijo en desktop → top:24px + altura aprox 78px + gap 16px = ~118px
 * Se ajusta en cada breakpoint de header (992px → top:12px).
 */
.breadcrumb-wrap {
    padding-top: calc(24px + 78px + 16px); /* ~118px — desktop */
}

.breadcrumb {
    margin-bottom: 0;
    margin-top: 10px;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    list-style: none;
}

.breadcrumb li {
    font-family: var(--font-body);
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light-muted);
}

.breadcrumb li + li::before {
    content: '›';
    margin-right: 2px;
    opacity: 0.4;
}

.breadcrumb a {
    color: var(--text-light-muted);
}

.breadcrumb a:hover {
    color: var(--text-light);
}

.breadcrumb li[aria-current="page"] {
    color: var(--text-light);
}

/* ----- Hero Landing ----- */
.hero-landing {
    padding-bottom: var(--spacing-section);
}

.hero-landing__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding-top: var(--spacing-section);
}

.hero-landing__eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light-muted);
    margin-bottom: 20px;
}

.hero-landing__title {
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    line-height: 1.0;
    text-transform: lowercase;
    margin-bottom: 24px;
}

.hero-landing__title em {
    font-style: normal;
    color: var(--text-light-muted);
}

.hero-landing__desc {
    font-size: 1.05rem;
    color: var(--text-light-muted);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-landing__media {
    border-radius: var(--br-lg);
    overflow: hidden;
}

.hero-landing__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--br-lg);
    display: block;
}

/* ----- Bloque 1: Qué es + Elementos ----- */
.bloque1 {
    padding: var(--spacing-section) 0;
}

.bloque1__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.bloque1__text p {
    font-size: 1.05rem;
    color: var(--text-dark-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Section title dentro del bloque1 — menos separación para texto editorial integrado */
.bloque1__text .section-title {
    margin-bottom: 28px;
}

.bloque1__text strong {
    color: var(--text-dark);
    font-weight: 700;
}

.bloque1__elements {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.elemento-card {
    background: var(--bg-light-2);
    border-radius: var(--br-lg);
    padding: 28px 32px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: border-color 0.3s ease;
}

.elemento-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

.elemento-card__num {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dark-muted);
    margin-bottom: 10px;
}

.elemento-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.elemento-card p {
    font-size: 0.9rem;
    color: var(--text-dark-muted);
    line-height: 1.6;
}

/* ----- Bloque 2: Referencias de marcas ----- */
.bloque2 {
    padding: var(--spacing-section) 0;
}

.bloque2__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.marca-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--br-lg);
    padding: 32px 28px;
    transition: background 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.marca-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
}

.marca-card__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.marca-card__logo {
    height: 34px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marca-card__logo img {
    height: 100%;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.marca-card:hover .marca-card__logo img,
.marca-card:focus-within .marca-card__logo img {
    opacity: 1;
    transform: translateY(-1px);
}

.marca-card__brand-name {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.marca-card:hover .marca-card__brand-name,
.marca-card:focus-within .marca-card__brand-name {
    opacity: 1;
    transform: translateX(1px);
}

.marca-card p {
    font-size: 0.88rem;
    color: var(--text-light-muted);
    line-height: 1.65;
    flex: 1;
}

/* ----- Botón de audio en tarjetas de marca ----- */
.marca-card__footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.marca-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition-smooth), border-color var(--transition-smooth),
                color var(--transition-smooth), transform var(--transition-fast);
}

.marca-play:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.08);
}

.marca-play:active {
    transform: scale(0.94);
}

/* Centrado óptico del triángulo de play */
.marca-play .icon-play {
    transform: translateX(1px);
}

.marca-play.is-playing {
    background: var(--text-light);
    border-color: var(--text-light);
    color: var(--bg-dark-1);
}

.marca-play.is-playing .icon-play {
    transform: none;
}

.marca-play.is-playing:hover {
    background: rgba(245, 245, 243, 0.85);
    border-color: rgba(245, 245, 243, 0.85);
    transform: scale(1.08);
}

.marca-play .icon-pause           { display: none; }
.marca-play.is-playing .icon-play { display: none; }
.marca-play.is-playing .icon-pause{ display: block; }

.marca-play__label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light-muted);
    transition: color var(--transition-fast);
    user-select: none;
}

.marca-play:hover + .marca-play__label,
.marca-play.is-playing + .marca-play__label {
    color: var(--text-light);
}

/* Nota textual sutil al pie del grid de referencias */
.bloque2__note {
    font-size: 0.92rem;
    color: var(--text-light-muted);
    line-height: 1.75;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    max-width: 700px;
}

.bloque2__note strong {
    color: var(--text-light);
    font-weight: 700;
}

/* ----- Bloque 3: Beneficios ----- */
.bloque3 {
    padding: var(--spacing-section) 0;
}

.bloque3__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.beneficio-item {
    background: var(--bg-light-2);
    border-radius: var(--br-lg);
    padding: 40px 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.beneficio-item:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
}

.beneficio-item__num {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    opacity: 0.1;
    margin-bottom: 16px;
    line-height: 1;
}

.beneficio-item h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    text-transform: lowercase;
}

.beneficio-item p {
    font-size: 0.9rem;
    color: var(--text-dark-muted);
    line-height: 1.65;
}

/* ----- Bloque 4: Enfoque ----- */
.bloque4 {
    padding: var(--spacing-section) 0;
}

.bloque4__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.bloque4__text p {
    font-size: 1.05rem;
    color: var(--text-light-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.bloque4__proyectos {
    font-size: 0.95rem;
    color: var(--text-light-muted);
    line-height: 1.7;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 8px;
}

.bloque4__proyectos strong {
    color: var(--text-light);
}

.bloque4__quote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 0 var(--br-lg) var(--br-lg) 0;
    padding: 32px 36px;
    margin-bottom: 32px;
}

.bloque4__quote p {
    font-size: 1.1rem;
    color: var(--text-light-muted);
    line-height: 1.65;
    font-style: italic;
}

.bloque4__quote strong {
    color: var(--text-light);
    font-style: normal;
}

/* ----- Bloque 5: Proceso landing ----- */
.bloque5 {
    padding: var(--spacing-section) 0;
}

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

.bloque5__step {
    background: var(--bg-light-2);
    border-radius: var(--br-lg);
    padding: 40px 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bloque5__step-num {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    opacity: 0.1;
    margin-bottom: 20px;
    line-height: 1;
}

.bloque5__step h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    text-transform: lowercase;
}

.bloque5__step p {
    font-size: 0.9rem;
    color: var(--text-dark-muted);
    line-height: 1.65;
}

/* ----- Bloque FAQ — Accordion nativo con <details>/<summary> ----- */
.bloque-faq {
    padding: var(--spacing-section) 0;
}

.faq-list {
    max-width: 860px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--br-lg);
    overflow: hidden;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
}

.faq-item__question {
    padding: 24px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    user-select: none;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::after {
    content: '+';
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
    transition: transform var(--transition-smooth);
    opacity: 0.5;
}

.faq-item[open] .faq-item__question::after {
    transform: rotate(45deg);
    opacity: 1;
}

.faq-item__answer {
    padding: 0 32px 26px;
}

.faq-item__answer p {
    font-size: 0.95rem;
    color: var(--text-light-muted);
    line-height: 1.7;
}

/* ----- Variantes de cuadrícula ----- */

/* Modifica la cuadrícula base de .bloque3__grid a 4 columnas en desktop */
.bloque3__grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

/* Variante de 5 pasos: el último paso ocupa todo el ancho en desktop/tablet */
.bloque5__steps--5 .bloque5__step:last-child {
    grid-column: span 4;
}

/* ----- Responsive Landings ----- */
@media (max-width: 1200px) {
    .bloque2__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .bloque5__steps--5 .bloque5__step:last-child {
        grid-column: span 2;
    }

}

@media (max-width: 992px) {
    .hero-landing__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        /* Reducir padding-top en columna única: el breadcrumb ya añade separación del header */
        padding-top: clamp(40px, 6vw, 64px);
    }

    .hero-landing__media {
        display: none;
    }

    .bloque1__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .bloque4__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Breadcrumb: ajustar al header mobile */
    .breadcrumb-wrap {
        padding-top: calc(12px + 78px + 16px); /* ~106px */
    }
}

@media (max-width: 768px) {
    .hero-landing__title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

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

    .bloque3__grid--4col {
        grid-template-columns: 1fr;
    }

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

    .bloque5__steps--5 .bloque5__step:last-child {
        grid-column: span 1;
    }

    /* Cards de elementos más compactas */
    .elemento-card {
        padding: 22px 24px;
    }

    /* Steps del proceso landing más compactos */
    .bloque5__step {
        padding: 28px 24px;
    }

    .bloque4__quote {
        padding: 24px 24px;
    }

    .faq-item__question {
        padding: 20px 24px;
        font-size: 0.95rem;
    }

    .faq-item__answer {
        padding: 0 24px 20px;
    }
}

@media (max-width: 480px) {
    /* Hero landing: sólo padding-bottom; el offset superior lo gestiona breadcrumb-wrap */
    .hero-landing {
        padding-bottom: clamp(48px, 8vw, 80px);
    }

    .hero-landing__title {
        font-size: clamp(2rem, 9.5vw, 2.8rem);
    }

    /* Beneficios con padding reducido */
    .beneficio-item {
        padding: 28px 24px;
    }
}