/* Fuentes personalizadas */
@font-face {
    font-family: 'RethinkSans';
    src: url('../fonts/static/RethinkSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RethinkSans';
    src: url('../fonts/static/RethinkSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RethinkSans';
    src: url('../fonts/static/RethinkSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RethinkSans';
    src: url('../fonts/static/RethinkSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Preload de fuente principal */
body {
    font-family: 'RethinkSans', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    margin: 0;
    padding: 0;
    background-color: #0E0E11;
    color: #fff;
}

/* Asegurar que todos los elementos usen RethinkSans */
* {
    font-family: inherit;
}

/* Cursor personalizado */
* {
    cursor: url('../images/cursor-32x32.png'), auto !important;
}

/* Cursor para elementos interactivos */
a, button, .btn, [role="button"], input[type="submit"], input[type="button"], .navbar-toggler,
.project-image-container, .portfolio-item, .project-card-modern {
    cursor: url('../images/cursor-32x32.png'), pointer !important;
}

/* Cursor para elementos de texto */
input[type="text"], input[type="email"], textarea, [contenteditable="true"] {
    cursor: url('../images/cursor-32x32.png'), text !important;
}

/* Cursor personalizado para elementos del portfolio */
.portfolio-grid *, .project-overlay *, .project-title-top *, .project-info-bottom * {
    cursor: url('../images/cursor-32x32.png'), auto !important;
}

/* Ocultar cursor en iframes y elementos embebidos */
iframe, iframe *, embed, object, video,
.iframe-wrapper, .iframe-wrapper *,
.project-image-container iframe,
.portfolio-item iframe,
.project-image-container::after {
    cursor: none !important;
}

/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.splash-content {
    text-align: center;
    color: white;
    transform: translateY(-10vh);
}

.splash-text {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.splash-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.splash-logo {
    max-width: 200px;
    height: auto;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    min-height: 100vh;
}

/* Navbar Styles */
.navbar {
    transition: transform 0.3s ease-in-out;
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

/* Navbar transparente con gradiente */
.navbar-transparent {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
    border-bottom: none;
    padding-top: 15px;
    padding-bottom: 25px;
    z-index: 1000;
}

.navbar-brand-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.navbar-brand {
    margin: 0 !important;
}

.navbar-brand img {
    height: 25px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #cccccc !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
}

/* Degradado sutil en todos los bordes del hero */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 8%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 8%),
        linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, transparent 6%),
        linear-gradient(to left, rgba(0, 0, 0, 0.15) 0%, transparent 6%);
    pointer-events: none;
    z-index: 2;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.hero-title {
    font-family: 'RethinkSans', serif;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.btn-primary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    transform: none;
}

.btn-primary:active {
    background-color: rgba(255, 255, 255, 0.18);
    transform: none;
}

.btn-primary:focus {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
    outline: none;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: white;
    color: black;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #f0f0f0;
    color: black;
    transform: scale(1.1);
    text-decoration: none;
}

/* Secciones después del hero */
#quienes-somos {
    height: 80vh;
    display: flex;
    align-items: center;
    background-image: url('../images/quienes-somos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0E0E11;
    position: relative;
}

#quienes-somos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

#quienes-somos .container {
    position: relative;
    z-index: 2;
}

/* Estilos específicos para la sección Quienes Somos en index */
#quienes-somos .section-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

#quienes-somos .section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    line-height: 1.1;
    text-align: center;
}

#quienes-somos .section-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: #f0f0f0;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-align: center;
}

#quienes-somos p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    text-align: justify;
    margin-bottom: 1.5rem;
    text-align: center;
}

#quienes-somos p:last-of-type {
    margin-bottom: 2.5rem;
}

#servicios {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0E0E11;
    padding: 0;
}

#portfolio {
    padding: 80px 0;
    min-height: auto;
    background-color: #0E0E11;
}

.section-content {
    text-align: center;
    width: 100%;
}

.section-title {
    font-family: 'RethinkSans', serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #fff;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 3rem;
}

/* Servicios Home - Diseño simple y estético */
.servicios-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.servicio-home-item {
    text-align: left;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.servicio-home-item:hover {
    border-bottom-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.servicio-home-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.servicio-home-header i {
    font-size: 1.5rem;
    color: #ffffff;
    min-width: 24px;
}

.servicio-home-header h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.servicio-home-item p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.servicio-home-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.servicio-home-features span {
    font-size: 0.85rem;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.servicio-home-features span:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 3rem;
    padding: 0 60px;
    max-width: 100%;
}

.portfolio-item {
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #1a1a1a;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    padding: 0;
    border: 1px solid #333;
    width: 100%;
    max-width: 880px;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.08);
}

/* Ajustes para las tarjetas modernas en el índex */
.portfolio-item .project-card-modern {
    border-radius: 22px;
    background: transparent;
    box-shadow: none;
    margin: 0;
    overflow: hidden;
}

.portfolio-item .project-image-container {
    height: 620px;
    border-radius: 22px;
    overflow: hidden;
}

.portfolio-item .project-title-top h3 {
    font-size: 1.6rem;
}

.portfolio-item .category-tag {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.portfolio-item .project-description-bottom p {
    font-size: 1rem;
}

.project-info {
    margin-bottom: 1rem;
}

.project-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-item iframe {
    border-radius: 22px;
    width: 100%;
    height: 620px;
    border: none;
    display: block;
    overflow: hidden;
    cursor: none !important;
    max-width: 100%;
    min-height: 280px;
}

/* Solución para cursor personalizado en iframes */
.project-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: none !important;
    pointer-events: none;
    z-index: 999;
}

/* Asegurar que el contenedor tenga position relative */
.project-image-container {
    position: relative !important;
    cursor: url('../images/cursor-32x32.png'), pointer !important;
}

/* Sección de Marcas - Grid Layout */
#marcas {
    padding: 80px 0;
    background-color: #fafafa;
}

#marcas .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333333;
}

.marcas-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.marcas-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.marca-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: all 0.4s ease;
    min-height: 100px;
}

.marca-item img {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.4s ease;
    filter: grayscale(100%) brightness(1.2);
}

.marca-item:hover {
    background: transparent;
    transform: none;
}

.marca-item:hover img {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* Páginas internas */
#quienes-somos-content, #servicios-content, #portfolio-content {
    padding-top: 140px !important;
    min-height: 70vh;
    background-color: #0E0E11;
}

#quienes-somos-content h1, #servicios-content h1, #portfolio-content h1 {
    font-family: 'RethinkSans', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

/* Portfolio Full Page Styles */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-filters .btn {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 8px;
    padding: 16px 24px;
    font-weight: 500;
    font-family: inherit;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    position: relative;
}

.portfolio-filters .btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    transform: none;
}

.portfolio-filters .btn.active {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    color: #ffffff;
}

.portfolio-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.portfolio-full-item {
    margin-bottom: 2rem;
}

/* Nuevo diseño moderno inspirado en Porsche */
.project-card-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    transition: all 0.3s ease;
}

.project-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
}

.project-image-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 30%,
        transparent 50%,
        transparent 70%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    pointer-events: none;
}

.project-title-top {
    align-self: flex-start;
}

.project-title-top h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.project-info-bottom {
    align-self: flex-end;
    width: 100%;
}

.project-category-tags {
    margin-bottom: 0.8rem;
}

.category-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description-bottom p {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.portfolio-full-item {
    margin-bottom: 2rem;
}

.project-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
}

.project-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-category.branding {
    background: linear-gradient(135deg, #666666, #555555);
    color: white;
}

.project-category.digital {
    background: linear-gradient(135deg, #333333, #555555);
    color: white;
}

.project-category.marketing {
    background: linear-gradient(135deg, #666666, #333333);
    color: white;
}

.project-category.web {
    background: linear-gradient(135deg, #333333, #666666);
    color: white;
}

.project-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.8rem;
    color: #ccc;
}

.project-year {
    font-weight: 600;
    color: #cccccc;
}

.project-client {
    font-style: italic;
}

.project-iframe-container {
    padding: 0 1.5rem;
    margin: 1rem 0;
}

.project-iframe-container iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    border: none;
    overflow: hidden;
}

.project-footer {
    padding: 1.5rem;
    background: #111;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #000;
    color: #cccccc;
    border: 1px solid #cccccc;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a) !important;
    border: 1px solid #333;
}

/* Estilos para páginas Quienes Somos y Servicios */
.about-image-placeholder {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mission-card, .vision-card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.value-item {
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.step-number, .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: #666666 !important;
}

/* Servicios detallados */
.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.service-detailed-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.service-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 3rem;
    color: #cccccc;
}

.service-content h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-summary {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-content h5 {
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
    color: #ccc;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-benefits {
    margin-top: 1.5rem;
}

.service-benefits h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}

/* Custom badges para nueva paleta de colores */
.badge.bg-primary {
    background-color: #666666 !important;
    color: white !important;
}

.badge.bg-success {
    background-color: #333333 !important;
    color: white !important;
}

.badge.bg-info {
    background-color: #666666 !important;
    color: white !important;
}

.badge.bg-warning {
    background-color: #333333 !important;
    color: white !important;
}

.badge.bg-dark {
    background-color: #666666 !important;
    color: white !important;
}

.badge.bg-secondary {
    background-color: #333333 !important;
    color: white !important;
}

/* Actualizar text-primary para usar nuevo color */
.text-primary {
    color: #cccccc !important;
}

/* Estilos específicos para Quienes Somos */
#quienes-somos-content .image-block img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px !important;
}

.text-block {
    padding: 2rem 0;
}

.text-block h2,
.text-block h3 {
    color: #fff;
    font-weight: 600;
}

.text-block p {
    color: #ccc;
    line-height: 1.7;
    font-size: 1rem;
}

/* Estilos para la sección de equipo */
.team-grid {
    margin-top: 3rem;
}

.team-member {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.team-name {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.team-role {
    color: #ccc !important;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.team-contact {
    color: #999;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

/* Estilos para enlaces y botones <a> */
a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #999999;
    text-decoration: underline;
}

a:focus {
    color: #999999;
    outline: 2px solid #cccccc;
    outline-offset: 2px;
}

/* Enlaces como botones */
/* Botones minimalistas outline */
a.btn,
.btn {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

a.btn:hover,
.btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    text-decoration: none;
    transform: none;
}

/* Botón primario */
a.btn-primary,
.btn-primary {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

a.btn-primary:hover,
.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: none;
    outline: none !important;
}

a.btn-primary:focus,
.btn-primary:focus {
    background-color: transparent !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    outline: none !important;
}

a.btn-primary:active,
.btn-primary:active {
    background-color: rgba(255, 255, 255, 0.18) !important;
    transform: none;
}

/* Botón outline primario */
a.btn-outline-primary,
.btn-outline-primary {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
}

a.btn-outline-primary:hover,
.btn-outline-primary:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: none;
    outline: none !important;
}

a.btn-outline-primary:focus,
.btn-outline-primary:focus {
    background-color: transparent !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    outline: none !important;
}

/* Botón secundario */
a.btn-secondary,
.btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
}

a.btn-secondary:hover,
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    transform: none;
}

/* Botón outline secundario */
a.btn-outline-secondary,
.btn-outline-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
}

a.btn-outline-secondary:hover,
.btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    transform: none;
}

/* Enlaces de navegación - mantener estilos específicos */
.navbar-nav a.nav-link {
    color: inherit;
}

.navbar-nav a.nav-link:hover {
    color: #cccccc !important;
    text-decoration: none;
}

/* Footer */
.footer-section{
    background-color: #0E0E11;
}

/* Enlaces en footer - mantener estilos específicos */
.footer-link, 
.footer-section a {
    color: #cccccc !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-link:hover,
.footer-section a:hover {
    color: #cccccc !important;
    text-decoration: none !important;
}

/* Enlaces en texto - estilo sutil */
p a, .content a, .description a {
    color: #cccccc;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

p a:hover, .content a:hover, .description a:hover {
    color: #999999;
    border-bottom-color: #999999;
    text-decoration: none;
}

/* Enlaces de call-to-action */
.cta-link {
    display: inline-block;
    background: linear-gradient(135deg, #666666, #555555);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(102, 102, 102, 0.2);
    transition: all 0.3s ease;
}

.cta-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 102, 102, 0.3);
    color: white;
    text-decoration: none;
}

/* Estados adicionales para botones */
a.btn:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

a.btn:disabled, a.btn.disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Tamaños de botones */
a.btn-sm,
.btn-sm {
    padding: 12px 24px;
    font-size: 0.9rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

a.btn-lg,
.btn-lg {
    padding: 20px 40px;
    font-size: 1.1rem;
    border-radius: 10px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Enlaces con iconos */
a.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    font-weight: 500;
}

a.icon-link:hover {
    color: #999999;
}

a.icon-link i {
    transition: transform 0.3s ease;
}

a.icon-link:hover i {
    transform: translateX(3px);
}

/* Enlaces de card/tarjeta */
a.card-link {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

a.card-link:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-5px);
}

/* Enlaces en listas */
ul li a, ol li a {
    color: #cccccc;
    font-weight: 500;
}

ul li a:hover, ol li a:hover {
    color: #999999;
    text-decoration: none;
}

/* Responsive para botones */
@media (max-width: 768px) {
    a.btn-lg {
        padding: 12px 24px;
        font-size: 1.1rem;
    }
    
    a.btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .cta-link {
        display: block;
        text-align: center;
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Footer Styles */
.footer-section {
    background-color: #0E0E11;
    color: white;
    padding: 60px 0 20px 0;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #ffffff;
}

.footer-content p {
    margin-bottom: 8px;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-credit {
    color: #888888;
    font-size: 0.9rem;
    margin: 0;
}

.border-top {
    border-color: #333333 !important;
}

/* Portfolio responsive para pantallas muy grandes */
/* @media (min-width: 1200px) {
    .portfolio-grid {
        padding: 0 80px;
        max-width: 1400px;
        margin: 0 auto;
    }
} */

/* Responsive Design para tablets */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }
    
    .portfolio-item .project-image-container {
        height: 500px;
    }
    
    .portfolio-item iframe {
        height: 500px;
    }
}

/* Breakpoint intermedio para tablets pequeños */
@media (max-width: 850px) {
    .portfolio-grid {
        padding: 0 1.5rem;
    }
    
    .portfolio-item .project-image-container {
        height: 450px;
    }
    
    .portfolio-item iframe {
        height: 450px;
    }
}

/* Responsive Design para móviles */
@media (max-width: 768px) {
    #quienes-somos, #servicios, #portfolio {
        padding-top: 90px;
        margin-top: -70px;
        height: auto;
        min-height: 100vh;
        padding-bottom: 2rem;
    }
    
    /* Responsive para sección Quienes Somos */
    #quienes-somos .section-content {
        padding: 2rem 1rem;
    }
    
    #quienes-somos .section-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        letter-spacing: 1px;
    }
    
    #quienes-somos .section-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    #quienes-somos p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
        margin-bottom: 1.2rem;
    }
    
    /* Páginas internas responsive */
    #quienes-somos-content, #servicios-content, #portfolio-content {
        padding-top: 110px !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Servicios Home Responsive */
    .servicios-home-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .servicio-home-item {
        padding: 1.5rem 0;
    }
    
    .servicio-home-header {
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .servicio-home-header h3 {
        font-size: 1rem;
    }
    
    .servicio-home-item p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .servicio-home-features span {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    /* Marcas responsive */
    #marcas {
        padding: 60px 0;
    }

    #marcas .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .marcas-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .marcas-row {
        flex-direction: column;
        gap: 1rem;
    }

    .marca-item {
        padding: 0;
        min-height: 80px;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .marca-item img {
        max-height: 50px;
        max-width: 100px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .portfolio-item {
        max-width: 100%;
    }
    
    .portfolio-item .project-image-container {
        height: 400px;
    }
    
    .portfolio-item iframe {
        height: 400px;
        border-radius: 15px;
    }
    
    /* Marcas responsive */
    #marcas {
        padding: 2rem 0;
    }
    
    #marcas .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .marcas-carousel-container {
        gap: 10px;
    }
    
    .marcas-track {
        gap: 1.5rem;
    }
    
    .marcas-track img {
        max-height: 45px;
        max-width: 100px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Portfolio Full Page Responsive */
    .portfolio-full-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-filters {
        justify-content: center;
    }
    
    .project-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .project-meta {
        align-items: center;
    }
    
    .project-iframe-container iframe {
        height: 220px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }

    /* Responsive para nuevo diseño moderno */
    .project-card-modern {
        margin-bottom: 2rem;
    }
    
    .project-image-container {
        height: 300px;
    }
    
    .project-overlay {
        padding: 1.5rem;
    }
    
    .project-title-top h3 {
        font-size: 1.4rem;
    }
    
    .category-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .project-description-bottom p {
        font-size: 0.9rem;
    }

    /* Responsive para Quienes Somos */
    #quienes-somos-content .image-block img {
        height: 250px;
        margin-bottom: 1rem;
        border-radius: 24px !important;
    }

    .text-block {
        padding: 1rem 0;
    }

    .team-member {
        margin-bottom: 1rem;
    }
    
    .cta-section {
        padding: 2rem !important;
    }
    
    /* Responsive para páginas internas */
    .services-detailed-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detailed-card {
        padding: 1.5rem;
    }
    
    .service-icon i {
        font-size: 2.5rem;
    }
    
    .step-number, .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        background-color: #666666 !important;
    }
    
    .mission-card, .vision-card {
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    .footer-section .col-lg-4:last-child {
        text-align: center !important;
    }
    
    .footer-section .col-lg-4:first-child {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .servicio-item {
        padding: 1.5rem;
    }
    
    .portfolio-grid {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .portfolio-item .project-image-container {
        height: 320px;
    }
    
    .portfolio-item iframe {
        height: 320px;
        border-radius: 12px;
    }
    
    .portfolio-item .project-title-top h3 {
        font-size: 1.3rem;
    }
}

/* Responsive para móviles en landscape */
@media (max-width: 896px) and (orientation: landscape) {
    .portfolio-item .project-image-container {
        height: 380px;
    }
    
    .portfolio-item iframe {
        height: 380px;
    }
    
    .portfolio-grid {
        gap: 1rem;
    }
}

/* Sobrescribir estilos de Bootstrap para tema oscuro */
.text-muted {
    color: #999 !important;
}

.lead {
    color: #ccc !important;
}

.bg-light {
    background-color: #1a1a1a !important;
}

p, h2, h3, h4, h5, h6 {
    color: #fff;
}

.display-4 {
    color: #fff !important;
}