/* ==========================================================================
   MCA DESIGNS - MUEBLES Y COCINAS ARENAS
   Hoja de Estilos Principal (Vanilla CSS) - Solución Definitiva a Layout Móvil
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-bg-dark: #0e0c0a;
    --color-bg-light: #F6F3EE;
    --color-bg-card: rgba(24, 21, 18, 0.75);
    --color-gold-primary: #C5A059;
    --color-gold-light: #DFB76C;
    --color-gold-dark: #9D7B38;
    --color-gold-gradient: linear-gradient(135deg, #C5A059 0%, #A67C37 100%);
    
    --color-text-dark: #1A1714;
    --color-text-white: #FFFFFF;
    --color-text-muted: #D1CDC7;
    --color-text-muted-dark: #5A554E;
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing & Layout */
    --header-height: 120px;
    --container-max-width: 1320px;
    --radius-pill: 50px;
    --radius-card: 20px;
    
    /* Animations */
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   2. Base & Reset (Prevención Estricta de Overflow Horizontal)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    line-height: 1.5;
    background-color: var(--color-bg-dark);
}

main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   3. Header & Navigation (Adaptable Móvil y Escritorio)
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    background: linear-gradient(180deg, rgba(14, 12, 10, 0.95) 0%, rgba(14, 12, 10, 0) 100%);
}

.site-header.scrolled {
    background: rgba(14, 12, 10, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 90px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    margin-top: 5px;
}

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

.header-logo {
    height: 140px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
    transition: var(--transition-smooth);
}

.site-header.scrolled .header-logo {
    height: 95px;
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--color-text-white);
    padding: 0.5rem 0;
    position: relative;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    opacity: 1;
    color: var(--color-gold-light);
}

.nav-link.active {
    opacity: 1;
    color: var(--color-text-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background-color: var(--color-gold-primary);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.8);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-cotizar {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem 0.5rem 1.4rem;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.btn-cotizar:hover {
    border-color: var(--color-gold-primary);
    background: rgba(197, 160, 89, 0.15);
    color: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.25);
}

.ws-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-cotizar:hover .ws-icon-wrap {
    background: #25D366;
    border-color: #25D366;
    color: #FFFFFF;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 2.5px;
    background-color: var(--color-gold-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background-image: url('assets/hero-bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 8, 7, 0.92) 0%,
        rgba(10, 8, 7, 0.78) 35%,
        rgba(10, 8, 7, 0.35) 70%,
        rgba(10, 8, 7, 0.45) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - var(--header-height) - 4rem);
    box-sizing: border-box;
}

.hero-content {
    max-width: 580px;
    margin-top: 2rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--color-text-white);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.95rem 2rem;
    background: var(--color-gold-gradient);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #12100E;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(197, 160, 89, 0.5);
    background: linear-gradient(135deg, #DFB76C 0%, #C5A059 100%);
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(4px);
}

/* Features Floating Bar */
.features-bar {
    width: 100%;
    margin-top: 3rem;
    background: rgba(22, 19, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-card);
    padding: 1.8rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-glass);
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.feature-icon {
    color: var(--color-gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--color-text-white);
    text-transform: uppercase;
}

.feature-text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.feature-divider {
    width: 1px;
    height: 45px;
    background: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   5. Sección NOSOTROS (Contención de Ancho Estricta en Celulares)
   -------------------------------------------------------------------------- */
.nosotros-section {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    padding: 6rem 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.nosotros-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.nosotros-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.nosotros-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.nosotros-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.nosotros-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted-dark);
    margin-bottom: 2rem;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Tabs Card */
.about-tabs {
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.4rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tab-buttons::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #6A645D;
    background: transparent;
    border: none;
    padding: 0.6rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    white-space: nowrap;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.tab-btn:hover {
    color: var(--color-gold-dark);
    background: rgba(197, 160, 89, 0.1);
}

.tab-btn.active {
    color: var(--color-text-white);
    background: var(--color-gold-primary);
}

.tab-contents {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.tab-panel {
    display: none;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #3D3934;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.85rem 2rem;
    border: 1.5px solid var(--color-gold-primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-gold-dark);
    background: transparent;
    transition: var(--transition-smooth);
    max-width: 100%;
    box-sizing: border-box;
}

.btn-outline-gold:hover {
    background: var(--color-gold-primary);
    color: var(--color-text-white);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
}

.nosotros-media {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.video-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.video-thumb {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb {
    transform: scale(1.03);
}

.team-badge-overlay {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    right: 1.2rem;
    background: rgba(14, 12, 10, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 1.4rem;
    border-radius: 14px;
    color: var(--color-text-white);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 5;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--color-gold-primary);
}

.badge-sub {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   6. Sección NUESTROS VALORES
   -------------------------------------------------------------------------- */
.valores-section {
    background-color: #0d0b0a;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.valores-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.valores-tag {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: var(--color-gold-primary);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(11, auto);
    align-items: start;
    justify-content: space-between;
    gap: 1.2rem;
    width: 100%;
    box-sizing: border-box;
}

.valor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 170px;
}

.valor-icon {
    color: var(--color-gold-primary);
    margin-bottom: 1.2rem;
    transition: transform 0.3s ease;
}

.valor-card:hover .valor-icon {
    transform: translateY(-4px) scale(1.08);
    color: var(--color-gold-light);
}

.valor-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--color-text-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.valor-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.valor-divider {
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.12);
    align-self: center;
}

/* --------------------------------------------------------------------------
   7. Sección PROYECTOS
   -------------------------------------------------------------------------- */
.proyectos-section {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    padding: 6rem 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.proyectos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.section-tag-gold {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: var(--color-gold-primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.section-title-dark {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
}

.section-sub-dark {
    font-size: 1.05rem;
    color: var(--color-text-muted-dark);
    margin-top: 0.5rem;
}

.btn-outline-gold-light {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.8rem;
    border: 1.5px solid var(--color-gold-primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-gold-dark);
    background: transparent;
    transition: var(--transition-smooth);
}

.btn-outline-gold-light:hover {
    background: var(--color-gold-primary);
    color: var(--color-text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.25);
}

/* Carousel General */
.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    box-sizing: border-box;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14, 12, 10, 0.85);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.carousel-nav:hover {
    background: var(--color-gold-primary);
    border-color: var(--color-gold-primary);
}

.carousel-nav.prev { left: -20px; }
.carousel-nav.next { right: -20px; }

/* Slide Cards Proyectos */
.project-slide-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    position: relative;
}

.project-slide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-slide-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.project-slide-info {
    padding: 1.4rem;
}

.project-slide-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.3rem;
}

.project-slide-info p {
    font-size: 0.88rem;
    color: var(--color-text-muted-dark);
}

/* --------------------------------------------------------------------------
   8. Sección SERVICIOS
   -------------------------------------------------------------------------- */
.servicios-section {
    background-color: #0b0908;
    padding: 6rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.section-header-wrap {
    margin-bottom: 3rem;
}

.section-title-light {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text-white);
    margin-bottom: 0.8rem;
}

.section-sub-light {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.services-track {
    padding-top: 0.5rem;
}

.service-slide-card {
    flex: 0 0 310px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.service-slide-card:hover {
    border-color: var(--color-gold-primary);
    background: rgba(197, 160, 89, 0.08);
    transform: translateY(-5px);
}

.service-slide-card.highlight-serv {
    border-color: var(--color-gold-primary);
    background: rgba(197, 160, 89, 0.1);
}

.serv-num {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-gold-primary);
    margin-bottom: 1.2rem;
}

.service-slide-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 0.8rem;
}

.service-slide-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Sección CLIENTES
   -------------------------------------------------------------------------- */
.clientes-section {
    padding: 6rem 2rem;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.clientes-track {
    padding-top: 0.5rem;
}

.cliente-slide-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    background: #FFFFFF;
    border: 1.5px solid rgba(197, 160, 89, 0.25);
    border-radius: 16px;
    padding: 2rem 1.2rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-text-dark);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.cliente-slide-card:hover {
    border-color: var(--color-gold-primary);
    color: var(--color-gold-dark);
    background: rgba(197, 160, 89, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.2);
}

.cliente-slide-card.highlight-cli {
    border-color: var(--color-gold-primary);
    color: var(--color-gold-dark);
    background: rgba(197, 160, 89, 0.12);
}

/* --------------------------------------------------------------------------
   10. CTA Banner & Footer
   -------------------------------------------------------------------------- */
.cta-banner-section {
    position: relative;
    padding: 6rem 2rem;
    background-image: url('assets/hero-bg.webp');
    background-size: cover;
    background-position: center center;
    text-align: center;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 11, 9, 0.85);
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-ws-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--color-gold-primary);
    color: var(--color-gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(14, 12, 10, 0.5);
    backdrop-filter: blur(8px);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 0.8rem;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.2rem;
}

.btn-cotizar-ahora {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.8rem;
    background: var(--color-gold-primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #12100E;
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
    transition: var(--transition-smooth);
}

.btn-cotizar-ahora:hover {
    background: var(--color-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(197, 160, 89, 0.6);
}

/* --------------------------------------------------------------------------
   11. Botón Flotante Permanente de WhatsApp (Escritorio + Celular)
   -------------------------------------------------------------------------- */
.floating-whatsapp {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    z-index: 1500;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: var(--transition-smooth);
    animation: whatsappPulse 2.5s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
    background: #20BA5A;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(14, 12, 10, 0.92);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   12. Barra de Navegación Móvil Inferior (Bottom Nav Bar)
   -------------------------------------------------------------------------- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(14, 12, 10, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1400;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.b-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
}

.b-nav-item svg {
    transition: transform 0.2s ease;
}

.b-nav-item:hover, .b-nav-item.active {
    color: var(--color-gold-primary);
}

.b-nav-item.active svg {
    transform: translateY(-2px);
}

/* Footer Bar */
.site-footer-bar {
    background-color: #070605;
    border-top: 1.5px solid rgba(197, 160, 89, 0.4);
    padding-top: 2.5rem;
    padding-bottom: 5.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-bar-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.footer-bar-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.footer-bar-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.col-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: var(--color-gold-primary);
    text-transform: uppercase;
}

.footer-col p {
    font-size: 0.88rem;
    color: var(--color-text-white);
    line-height: 1.5;
}

.footer-col a {
    color: var(--color-text-white);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--color-gold-primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    color: var(--color-text-white);
    margin-top: 0.2rem;
}

.social-icons a:hover {
    color: var(--color-gold-primary);
    transform: scale(1.1);
}

.footer-bottom-copy {
    max-width: var(--container-max-width);
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-bottom-copy p {
    font-size: 0.82rem;
    color: #7A756D;
}

/* --------------------------------------------------------------------------
   13. Media Queries Responsivo Celular & Pantallas Verticales
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .footer-bar-container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-bar-info {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 2.5rem;
    }

    .social-icons {
        justify-content: center;
    }

    .proyectos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .valores-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1rem;
    }
    
    .valor-divider {
        display: none;
    }
}

@media (max-width: 868px) {
    :root {
        --header-height: 85px;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .floating-whatsapp {
        bottom: 5.2rem;
        right: 1.2rem;
        width: 52px;
        height: 52px;
    }

    .floating-whatsapp svg {
        width: 26px;
        height: 26px;
    }

    .header-logo {
        height: 75px;
    }

    .site-header.scrolled .header-logo {
        height: 65px;
    }

    .btn-cotizar span {
        display: none;
    }

    .btn-cotizar {
        padding: 0.4rem;
        border: none;
        background: transparent;
    }

    .ws-icon-wrap {
        width: 38px;
        height: 38px;
        background: #25D366;
        border-color: #25D366;
        color: #fff;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: rgba(14, 12, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 6rem 2rem 2rem;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .hero-section {
        padding-top: calc(var(--header-height) + 1rem);
        padding-bottom: 3rem;
    }

    .hero-container {
        min-height: auto;
        padding: 0 1.5rem;
    }

    .hero-content {
        margin-top: 1rem;
    }

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

    .features-bar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .feature-divider {
        width: 100%;
        height: 1px;
    }

    /* Corrección estricta y simétrica de márgenes en Celular (Sección NOSOTROS) */
    .nosotros-section {
        padding: 3.5rem 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .nosotros-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .nosotros-title {
        font-size: clamp(1.6rem, 5.8vw, 2.3rem);
        line-height: 1.25;
        margin-bottom: 1.2rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .nosotros-text {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1.8rem;
        padding: 0;
        box-sizing: border-box;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .about-tabs {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 1rem;
        box-sizing: border-box;
        border-radius: 16px;
        overflow: hidden;
    }

    .tab-buttons {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow-x: auto;
        padding-bottom: 0.6rem;
        display: flex;
        gap: 0.4rem;
        justify-content: flex-start;
    }

    .tab-btn {
        font-size: 0.76rem;
        padding: 0.5rem 0.75rem;
        letter-spacing: 0.8px;
    }

    .tab-panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0.5rem 0;
        box-sizing: border-box;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .tab-panel p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .video-thumb {
        height: 290px;
    }

    .proyectos-section,
    .servicios-section,
    .clientes-section {
        padding: 4rem 1.5rem;
    }

    .project-slide-card {
        flex: 0 0 270px;
    }

    .project-slide-card img {
        height: 220px;
    }

    .service-slide-card {
        flex: 0 0 270px;
        padding: 1.8rem 1.4rem;
    }

    .cliente-slide-card {
        flex: 0 0 200px;
        padding: 1.5rem 1rem;
    }

    .carousel-nav {
        display: none;
    }

    .cta-banner-section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 580px) {
    .nosotros-section,
    .proyectos-section,
    .servicios-section,
    .clientes-section,
    .cta-banner-section {
        padding: 3rem 1.2rem;
    }

    .about-tabs {
        padding: 0.85rem;
    }

    .tab-btn {
        font-size: 0.72rem;
        padding: 0.45rem 0.55rem;
        letter-spacing: 0.5px;
    }

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

    .valor-card {
        max-width: 100%;
    }

    .footer-bar-info {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .video-thumb {
        height: 250px;
    }

    .team-badge-overlay {
        padding: 0.8rem 1.1rem;
        bottom: 0.8rem;
        left: 0.8rem;
        right: 0.8rem;
    }

    .badge-title {
        font-size: 0.82rem;
    }

    .badge-sub {
        font-size: 0.75rem;
    }
}
