/* ===== PORTAFOLIO ===== */
.hero-portfolio {
    background-color: var(--tinta);
    padding: 180px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, black 10%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, black 10%, transparent 80%);
    pointer-events: none;
}

.hero-portfolio .container {
    position: relative;
    z-index: 2;
}

.portfolio-filters {
    background-color: var(--tinta);
    padding: 0 0 40px;
    border-bottom: 1px solid var(--linea-oscura);
    position: relative;
    z-index: 1;
}

.filters-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-titulo);
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.3s var(--t);
}

.filter-btn:hover {
    border-color: var(--naranja);
    color: var(--naranja);
}

.filter-btn.active {
    background-color: var(--naranja);
    border-color: var(--naranja);
    color: var(--blanco);
}

.portfolio-section {
    background-color: var(--blanco-2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background-color: var(--tinta-3);
    transition: all 0.5s var(--t);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-lg);
}

.portfolio-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1s var(--t);
}

.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.08);
}

.portfolio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.3) 55%, transparent 100%);
    z-index: 1;
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    color: var(--blanco);
}

.portfolio-card-info h3 {
    font-family: var(--font-titulo);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 12px 0 6px;
}

.portfolio-card-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.portfolio-card-arrow {
    position: absolute;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--t);
}

.portfolio-card-arrow svg {
    width: 16px;
    height: 16px;
    color: var(--blanco);
    transition: transform 0.4s var(--t);
}

.portfolio-card:hover .portfolio-card-arrow {
    background-color: var(--naranja);
    border-color: var(--naranja);
    transform: rotate(-45deg) scale(1.05);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--gris-500);
    font-size: 1rem;
}

/* ===== DETALLE DE PROYECTO ===== */
.project-detail {
    background-color: var(--tinta);
    padding: 180px 0 100px;
    min-height: 100vh;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-titulo);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 40px;
    transition: all 0.3s var(--t);
}

.back-link:hover {
    color: var(--naranja);
    gap: 12px;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.project-detail-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.project-detail-header .title {
    color: var(--blanco);
}

.project-detail-hero {
    width: 100%;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, var(--tinta-3) 0%, var(--tinta-2) 72%);
    margin-bottom: 60px;
    box-shadow: var(--sombra-lg);
}

.project-detail-hero img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

.project-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    padding: 40px 0;
    border-top: 1px solid var(--linea-oscura);
    border-bottom: 1px solid var(--linea-oscura);
    margin-bottom: 60px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-label {
    font-family: var(--font-titulo);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--naranja);
}

.meta-value {
    font-family: var(--font-titulo);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--blanco);
}

.project-detail-body {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 800px;
    margin-bottom: 60px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: radial-gradient(ellipse at center, var(--tinta-3) 0%, var(--tinta-2) 72%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s var(--t), box-shadow 0.4s var(--t);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s var(--t);
}

.gallery-item:hover img {
    transform: scale(1.025);
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero-portfolio {
        padding: 140px 0 60px;
    }

    .project-detail {
        padding: 140px 0 60px;
    }

    .project-detail-hero {
        margin-bottom: 40px;
        border-radius: 18px;
    }

    .project-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item {
        border-radius: 14px;
    }
}

:root {
    --naranja: #FF7A00;
    --naranja-oscuro: #D96600;
    --naranja-suave: #FFF4E8;
    --blanco: #FFFFFF;
    --blanco-2: #FAFAFA;
    --tinta: #0A0A0A;
    --tinta-2: #141414;
    --tinta-3: #1F1F1F;
    --gris-100: #EAEAEA;
    --gris-300: #C4C4C4;
    --gris-500: #737373;
    --gris-700: #404040;
    --linea: rgba(10, 10, 10, 0.08);
    --linea-oscura: rgba(255, 255, 255, 0.1);
    --punto-color: rgba(10, 10, 10, 0.18);
    --sombra-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --sombra: 0 16px 40px rgba(0, 0, 0, 0.08);
    --sombra-lg: 0 30px 70px rgba(0, 0, 0, 0.14);
    --sombra-naranja: 0 16px 40px rgba(255, 122, 0, 0.3);
    --font-titulo: 'Sora', system-ui, sans-serif;
    --font-texto: 'DM Sans', system-ui, sans-serif;
    --t: cubic-bezier(0.4, 0, 0.2, 1);
    --wa: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-texto);
    background-color: var(--blanco);
    color: var(--tinta);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

::selection {
    background-color: var(--naranja);
    color: var(--blanco);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--blanco);
}

::-webkit-scrollbar-thumb {
    background: var(--tinta);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--naranja);
}

/* ===== PATRÓN DE PUNTOS (FONDO GLOBAL) ===== */
.dots-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--punto-color) 1.2px, transparent 1.6px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 92%);
    mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 92%);
}

/* ===== PROGRESS ===== */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--naranja);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 110px 0;
    position: relative;
    z-index: 1;
    background-color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-titulo);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--naranja);
    margin-bottom: 24px;
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 1.5px;
    background-color: currentColor;
}

.eyebrow.center {
    justify-content: center;
}

.title {
    font-family: var(--font-titulo);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--tinta);
    margin-bottom: 24px;
}

.title .accent {
    color: var(--naranja);
    font-weight: 300;
}

.title.light {
    color: var(--blanco);
}

.lead {
    font-size: 1.05rem;
    color: var(--gris-700);
    line-height: 1.7;
    max-width: 560px;
}

.lead.light {
    color: rgba(255, 255, 255, 0.65);
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    font-family: var(--font-titulo);
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.35s var(--t);
    cursor: pointer;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.btn svg {
    width: 15px;
    height: 15px;
    transition: transform 0.35s var(--t);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background-color: var(--naranja);
    color: var(--blanco);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.28);
}

.btn-primary:hover {
    background-color: var(--naranja-oscuro);
    transform: translateY(-2px);
    box-shadow: var(--sombra-naranja);
}

.btn-dark {
    background-color: var(--tinta);
    color: var(--blanco);
}

.btn-dark:hover {
    background-color: var(--naranja);
    transform: translateY(-2px);
    box-shadow: var(--sombra-naranja);
}

.btn-outline {
    background-color: transparent;
    color: var(--tinta);
    border-color: rgba(10, 10, 10, 0.2);
}

.btn-outline:hover {
    border-color: var(--tinta);
    background-color: var(--tinta);
    color: var(--blanco);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--blanco);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
    background-color: var(--blanco);
    color: var(--tinta);
    border-color: var(--blanco);
    transform: translateY(-2px);
}

/* ===== HEADER (SIEMPRE CON FONDO OSCURO) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--t);
    background-color: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Al scrollear, se compacta un poco */
.header.scrolled {
    padding: 12px 0;
    background-color: rgba(10, 10, 10, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 4px 12px rgba(255, 122, 0, 0.35));
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: var(--font-titulo);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--blanco);
    transition: all 0.4s var(--t);
}

.logo-text span {
    display: block;
    font-family: var(--font-texto);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 5px;
    transition: all 0.4s var(--t);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav a {
    font-family: var(--font-titulo);
    padding: 10px 18px;
    font-size: 0.86rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 100px;
    transition: all 0.3s var(--t);
}

.nav a:hover {
    color: var(--naranja);
}

.nav-cta {
    margin-left: 10px;
    padding: 11px 22px !important;
    background-color: var(--naranja) !important;
    color: var(--blanco) !important;
    border-radius: 100px;
}

.nav-cta:hover {
    background-color: var(--naranja-oscuro) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.35);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--blanco);
    border-radius: 2px;
    transition: all 0.3s var(--t);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background-color: var(--tinta);
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 50%, black 10%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 70% at 80% 50%, black 10%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.15), transparent 60%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    color: var(--blanco);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-family: var(--font-titulo);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 32px;
    background-color: rgba(255, 255, 255, 0.03);
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    background-color: var(--naranja);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 122, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 122, 0, 0);
    }
}

.hero h1 {
    font-family: var(--font-titulo);
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: var(--blanco);
    margin-bottom: 30px;
}

.hero h1 .accent {
    color: var(--naranja);
    font-weight: 300;
}

.hero h1 .line {
    display: block;
    overflow: hidden;
}

.hero h1 .line>span {
    display: inline-block;
    transform: translateY(105%);
    animation: revealUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 .line:nth-child(1)>span {
    animation-delay: 0.1s;
}

.hero h1 .line:nth-child(2)>span {
    animation-delay: 0.25s;
}

.hero h1 .line:nth-child(3)>span {
    animation-delay: 0.4s;
}

@keyframes revealUp {
    to {
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 42px;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
}

.hero-trust {
    display: flex;
    gap: 44px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeUp 1s ease 1.1s forwards;
}

.trust-num {
    font-family: var(--font-titulo);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--blanco);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 6px;
}

.trust-num span {
    color: var(--naranja);
    font-size: 1.2rem;
    font-weight: 500;
    margin-left: 4px;
}

.trust-label {
    font-family: var(--font-titulo);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ===== HERO CARRUSEL ===== */
.hero-carousel {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    animation: fadeUp 1.2s ease 0.5s forwards;
}

.hero-carousel-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 7s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.1);
}

.slide-1 .hero-slide-bg {
    background: linear-gradient(160deg, #1F1F1F 0%, #4A4038 50%, #C9A57A 120%);
}

.slide-2 .hero-slide-bg {
    background: linear-gradient(160deg, #FF7A00 0%, #B25500 100%);
}

.slide-3 .hero-slide-bg {
    background: linear-gradient(160deg, #0A0A0A 0%, #3D3832 100%);
}

.slide-4 .hero-slide-bg {
    background: linear-gradient(160deg, #2A2520 0%, #8B7554 120%);
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, transparent 60%);
    z-index: 1;
}

.hero-slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 3;
    color: var(--blanco);
}

.hero-slide-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--naranja);
    color: var(--blanco);
    border-radius: 100px;
    font-family: var(--font-titulo);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-slide-content h3 {
    font-family: var(--font-titulo);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 6px;
}

.hero-slide-content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

/* GRID DE BLOQUES TRANSICIÓN */
.hero-blocks {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(10, 1fr);
    z-index: 10;
    pointer-events: none;
}

.hero-block {
    background-color: var(--tinta);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hero-carousel-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.hero-nav-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--blanco);
    backdrop-filter: blur(10px);
    transition: all 0.35s var(--t);
}

.hero-nav-btn:hover {
    background-color: var(--naranja);
    border-color: var(--naranja);
    transform: scale(1.05);
}

.hero-nav-btn svg {
    width: 16px;
    height: 16px;
}

.hero-carousel-dots {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s var(--t);
    cursor: pointer;
}

.hero-dot.active {
    background-color: var(--naranja);
    height: 28px;
    border-radius: 4px;
}

/* ===== MARCAS ===== */
.brands-strip {
    padding: 50px 0;
    background-color: var(--blanco);
    border-bottom: 1px solid var(--linea);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.brands-label {
    text-align: center;
    font-family: var(--font-titulo);
    font-size: 0.7rem;
    color: var(--gris-500);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 36px;
}

.brands-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.brands-track {
    display: flex;
    gap: 80px;
    width: fit-content;
    animation: marquee 40s linear infinite;
    align-items: center;
}

.brand-item {
    font-family: var(--font-titulo);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gris-300);
    white-space: nowrap;
    transition: color 0.3s;
    letter-spacing: -0.03em;
}

.brand-item:hover {
    color: var(--naranja);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ===== SERVICIOS ===== */
.services {
    background-color: var(--blanco);
    position: relative;
    z-index: 1;
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 70px;
}

.services-list {
    border-top: 1px solid var(--linea);
}

.service-row {
    display: grid;
    grid-template-columns: 80px 1.2fr 2fr 80px;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--linea);
    transition: all 0.5s var(--t);
}

.service-row:hover {
    padding-left: 20px;
    padding-right: 20px;
}

.service-row-num {
    font-family: var(--font-titulo);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gris-500);
    letter-spacing: 0.05em;
}

.service-row h3 {
    font-family: var(--font-titulo);
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    color: var(--tinta);
    line-height: 1.15;
    transition: color 0.3s;
}

.service-row:hover h3 {
    color: var(--naranja);
}

.service-row p {
    font-size: 0.94rem;
    color: var(--gris-700);
    line-height: 1.7;
}

.service-row-arrow {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--linea);
    transition: all 0.4s var(--t);
    justify-self: end;
}

.service-row-arrow svg {
    width: 18px;
    height: 18px;
    color: var(--tinta);
    transition: all 0.4s var(--t);
}

.service-row:hover .service-row-arrow {
    background-color: var(--naranja);
    border-color: var(--naranja);
    transform: rotate(-45deg);
}

.service-row:hover .service-row-arrow svg {
    color: var(--blanco);
}

/* ===== PROYECTOS ===== */
.projects {
    background-color: var(--tinta);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.projects::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 50% 60% at 20% 30%, black 10%, transparent 70%);
    mask-image: radial-gradient(ellipse 50% 60% at 20% 30%, black 10%, transparent 70%);
    pointer-events: none;
}

.projects .title {
    color: var(--blanco);
}

.projects .title .accent {
    color: var(--naranja);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.project {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    cursor: pointer;
    background-color: var(--tinta-3);
    transition: all 0.5s var(--t);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-bg {
    position: absolute;
    inset: 0;
    transition: transform 1s var(--t);
}

.project:nth-child(1) .project-bg {
    background: linear-gradient(160deg, #1F1F1F 0%, #4A4038 60%, #C9A57A 120%);
}

.project:nth-child(2) .project-bg {
    background: linear-gradient(160deg, #0A0A0A 0%, #3D3832 100%);
}

.project:nth-child(3) .project-bg {
    background: linear-gradient(160deg, #FF7A00 0%, #B25500 100%);
}

.project:nth-child(4) .project-bg {
    background: linear-gradient(160deg, #1F1F1F 0%, #6B5844 120%);
}

.project:hover .project-bg {
    transform: scale(1.07);
}

.project::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.2) 50%, transparent 100%);
    z-index: 1;
}

.project-content {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    color: var(--blanco);
}

.project-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-family: var(--font-titulo);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    align-self: flex-start;
}

.project-info h3 {
    font-family: var(--font-titulo);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.project-info p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== NOSOTROS & COLLAGE ===== */
.about {
    background-color: var(--blanco);
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.about-collage {
    width: 100%;
    position: relative;
}

/* 🔥 El contenedor que crea la cuadrícula */
.collage-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    /* Izquierda más ancha */
    grid-template-rows: 1fr 1fr;
    /* Dos filas iguales */
    gap: 16px;
    width: 100%;
    aspect-ratio: 4 / 5;
    /* Mantiene la proporción sin romperse */
}

.collage-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--gris-100);
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.collage-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 40%, rgba(10, 10, 10, 0.6) 100%);
    z-index: 1;
    transition: opacity 0.4s var(--t);
}

.collage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.collage-item:hover::after {
    opacity: 0.8;
}

.collage-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.collage-medium {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.collage-small {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* Los textos flotantes */
.collage-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    color: var(--blanco);
}

.collage-quote {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
    font-family: var(--font-titulo);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--blanco);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.collage-badge-num {
    font-family: var(--font-titulo);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--naranja);
    line-height: 1;
}

.collage-badge-label {
    font-family: var(--font-titulo);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

.collage-quote span {
    color: var(--naranja);
    font-size: 1.8rem;
    line-height: 0;
    vertical-align: -0.2em;
    margin-right: 2px;
}

.collage-quote em {
    color: var(--naranja);
    font-style: normal;
    font-weight: 700;
}

/* Textos y características */
.about-text .lead {
    max-width: none;
    margin-bottom: 22px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
    margin-bottom: 48px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-titulo);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--tinta);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--linea);
}

.feature-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--naranja-suave);
    border-radius: 50%;
}

.feature-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--naranja);
    stroke-width: 3;
    fill: none;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid var(--linea);
}

.stat-num {
    font-family: var(--font-titulo);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--tinta);
    margin-bottom: 8px;
}

.stat-num small {
    color: var(--naranja);
    font-size: 1.4rem;
    font-weight: 500;
}

.stat-label {
    font-family: var(--font-titulo);
    font-size: 0.7rem;
    color: var(--gris-500);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.4;
}

/* ===== RESPONSIVE COLLAGE ===== */
@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-collage {
        max-width: 600px;
        margin: 0 auto;
    }

    .collage-grid {
        height: 500px;
        /* Ajuste para tablet */
    }
}

@media (max-width: 640px) {
    .collage-grid {
        height: 400px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1.2fr 1fr;
        gap: 10px;
    }

    .collage-large {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .collage-medium {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .collage-small {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .collage-badge {
        padding: 8px 12px;
        bottom: 12px;
        left: 12px;
    }

    .collage-badge-num {
        font-size: 1.4rem;
    }

    .collage-quote {
        font-size: 0.85rem;
    }
}

/* ===== PROCESO ===== */
.process {
    background-color: var(--blanco-2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--punto-color) 1.1px, transparent 1.4px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 20%, transparent 80%);
    pointer-events: none;
}

.process-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.process-header .eyebrow {
    justify-content: center;
}

.process-header .lead {
    margin: 0 auto;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 8%;
    right: 8%;
    height: 1.5px;
    background: repeating-linear-gradient(90deg, var(--gris-300) 0, var(--gris-300) 6px, transparent 6px, transparent 12px);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.process-num {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blanco);
    border: 1.5px solid var(--linea);
    border-radius: 50%;
    font-family: var(--font-titulo);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--tinta);
    transition: all 0.4s var(--t);
}

.process-step:hover .process-num {
    background-color: var(--naranja);
    color: var(--blanco);
    border-color: var(--naranja);
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(255, 122, 0, 0.35);
}

.process-step h4 {
    font-family: var(--font-titulo);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--tinta);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--gris-700);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* ===== TESTIMONIOS ===== */
.testimonials {
    background-color: var(--tinta);
    color: var(--blanco);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 70% 40%, black 10%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 60% at 70% 40%, black 10%, transparent 70%);
    pointer-events: none;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.12), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.testimonials-header .eyebrow {
    justify-content: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.testimonial {
    padding: 40px 32px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.4s var(--t);
    position: relative;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--naranja);
    border-radius: 0 0 3px 0;
    transition: width 0.5s var(--t);
}

.testimonial:hover::before {
    width: 100%;
}

.testimonial:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 122, 0, 0.4);
    transform: translateY(-6px);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--naranja);
}

.testimonial-text {
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--naranja), #C9A57A);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-titulo);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blanco);
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-family: var(--font-titulo);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blanco);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== CTA ===== */
.cta {
    background-color: var(--naranja);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.5px, transparent 2px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, black 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, black 20%, transparent 80%);
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-family: var(--font-titulo);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--blanco);
    max-width: 700px;
}

.cta h2 .accent {
    color: var(--tinta);
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta .btn-dark:hover {
    background-color: var(--blanco);
    color: var(--tinta);
}

/* ===== CONTACTO ===== */
.contact {
    background-color: var(--blanco);
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--linea);
    align-items: center;
    transition: all 0.35s var(--t);
}

.contact-item:hover {
    padding-left: 10px;
    border-color: var(--naranja);
}

.contact-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blanco-2);
    border: 1px solid var(--linea);
    border-radius: 12px;
    transition: all 0.35s var(--t);
}

.contact-item:hover .contact-icon {
    background-color: var(--naranja);
    border-color: var(--naranja);
    transform: scale(1.05);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--naranja);
    fill: none;
    stroke-width: 1.7;
    transition: stroke 0.35s;
}

.contact-item:hover .contact-icon svg {
    stroke: var(--blanco);
}

.contact-item h4 {
    font-family: var(--font-titulo);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gris-500);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-item p {
    font-family: var(--font-titulo);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--tinta);
    letter-spacing: -0.02em;
}

.contact-map {
    margin-top: 32px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--linea);
    box-shadow: var(--sombra-sm);
    position: relative;
    height: 260px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.6) contrast(1.05);
    transition: filter 0.5s var(--t);
}

.contact-map:hover iframe {
    filter: grayscale(0) contrast(1);
}

.contact-form {
    padding: 48px;
    background-color: var(--blanco);
    border-radius: 28px;
    box-shadow: var(--sombra);
    border: 1px solid var(--linea);
}

.form-title {
    font-family: var(--font-titulo);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    color: var(--tinta);
}

.form-desc {
    font-size: 0.9rem;
    color: var(--gris-700);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-family: var(--font-titulo);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--tinta);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--blanco-2);
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-family: var(--font-texto);
    font-size: 0.94rem;
    color: var(--tinta);
    transition: all 0.3s var(--t);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gris-300);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    background-color: var(--blanco);
    border-color: var(--naranja);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--tinta);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 32px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1.5px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, black 10%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, black 10%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 24px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.35s var(--t);
}

.footer-social a:hover {
    background-color: var(--naranja);
    border-color: var(--naranja);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 21px;
    height: 21px;
    fill: rgba(255, 255, 255, 0.7);
    transition: fill 0.35s;
}

.footer-social .instagram-icon {
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 2;
    transition: stroke 0.35s;
}

.footer-social .instagram-icon .instagram-dot {
    fill: currentColor;
    stroke: none;
}

.footer-social a:hover svg {
    fill: var(--blanco);
}

.footer-social a:hover .instagram-icon {
    fill: none;
    stroke: var(--blanco);
    color: var(--blanco);
}

.footer h4 {
    font-family: var(--font-titulo);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--blanco);
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--naranja);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--naranja);
    fill: none;
    stroke-width: 1.7;
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
}

.footer-bottom a {
    color: var(--naranja);
}

/* ===== WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 62px;
    height: 62px;
    background-color: var(--wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
    transition: all 0.35s var(--t);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 18px 45px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--blanco);
    z-index: 2;
    position: relative;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--wa);
    animation: waPulse 2s ease-in-out infinite;
    z-index: 1;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--wa);
    animation: waPulse 2s ease-in-out infinite 0.6s;
    z-index: 1;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 74px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--tinta);
    color: var(--blanco);
    padding: 10px 16px;
    border-radius: 10px;
    font-family: var(--font-titulo);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s var(--t);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.whatsapp-float .wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--tinta);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Por defecto VISIBLE. Solo se oculta si JS está activo (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Solo cuando JS cargue, ocultamos para animar */
html.js-ready .reveal {
    opacity: 0;
    transform: translateY(40px);
}

html.js-ready .reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-carousel {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .services-header {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
    }

    .service-row {
        grid-template-columns: 60px 1fr 60px;
        gap: 24px;
    }

    .service-row p {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        max-width: 500px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-grid::before {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--tinta);
        flex-direction: column;
        justify-content: center;
        gap: 18px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.5s var(--t);
        z-index: 1000;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav a {
        font-size: 1.3rem;
        padding: 14px 28px;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero-trust {
        flex-wrap: wrap;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 22px;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .trust-num {
        font-size: 1.7rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-num {
        font-size: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .service-row {
        grid-template-columns: 50px 1fr 50px;
        gap: 16px;
        padding: 28px 0;
    }

    .service-row-arrow {
        width: 46px;
        height: 46px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .brand-item {
        font-size: 1.2rem;
    }

    .brands-track {
        gap: 50px;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 22px;
        right: 22px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float .wa-tooltip {
        display: none;
    }

    .hero-blocks {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }
}

/* ===== FLASH MESSAGE EN FORMULARIO ===== */
.form-flash {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-family: var(--font-titulo);
    font-weight: 500;
    animation: flashIn 0.4s ease;
}

.form-flash-ok {
    background-color: rgba(37, 211, 102, 0.1);
    color: #128C7E;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.form-flash-error {
    background-color: rgba(255, 80, 80, 0.08);
    color: #C62828;
    border: 1px solid rgba(255, 80, 80, 0.25);
}

@keyframes flashIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}