/* Variables de color */
:root {
    --blanco-1: #ffffff;
    --blanco-2: #f8f8f8;
    --blanco-3: #f0f0f0;
    --negro: #000000;
    --azul-claro: #6ba8e6;
    --azul-oscuro: #133b72;
    --sombra: 0 4px 8px rgba(0, 0, 0, 0.2);
    --gris-claro-opcion: #e0e0e0;
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--negro);
    background-color: var(--blanco-2);
    line-height: 1.6;
}

/* Header */
.header {
    width: 100%;
    background-color: var(--blanco-1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 1000;
}

.header.fixed {
    position: fixed;
    top: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.header.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Navbar */
.nav-links a {
    color: var(--negro);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3a7bd5, #6ba8e6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a i,
.nav-links a .nav-label {
    display: none;
}

/* Estilos para el nuevo botón "Tienda" en la navbar */
.nav-item-with-label {
    padding: 0.6rem 1.5rem;
    overflow: visible;
    justify-content: flex-start;
    gap: 0;
    width: auto;
}

.nav-item-with-label i {
    display: block;
    font-size: 1.2em;
    color: var(--negro);
    transition: color 0.3s ease, transform 0.3s ease;
    margin-right: 0.5rem;
    transform: translateX(0);
}

.nav-item-with-label .nav-label {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background-color: var(--azul-oscuro);
    color: var(--blanco-1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-item-with-label:hover i {
    color: var(--blanco-1);
    transform: translateX(-10px);
}

.nav-item-with-label:hover .nav-label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

/* Barra Lateral Burbujas */
.sidebar-bubbles {
    position: fixed;
    top: 25%;
    right: 20px;
    transform: translateY(-50%);
    display: block;
    z-index: 1001;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    border-radius: 0;
    width: 45px;
    height: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-bubbles.hidden-sidebar {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.bubble-nav-item {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--blanco-1);
    box-shadow: var(--sombra);
    transition: all 0.3s ease, transform 0.3s ease-out;
    cursor: pointer;
    text-decoration: none;
    padding-right: 10px;
    transform-origin: right center;
    will-change: width, border-radius, background, box-shadow, transform;

    opacity: 0;
    transform: translateX(100px);
}

.bubble-nav-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.bubble-nav-item:nth-child(1) { top: 0px; }
.bubble-nav-item:nth-child(2) { top: calc(45px + 1.5rem); } 
.bubble-nav-item:nth-child(3) { top: calc(2 * (45px + 1.5rem)); }
.bubble-nav-item:nth-child(4) { top: calc(3 * (45px + 1.5rem)); }
.bubble-nav-item:nth-child(5) { top: calc(4 * (45px + 1.5rem)); }
.bubble-nav-item:nth-child(6) { top: calc(5 * (45px + 1.5rem)); }

.bubble-nav-item:hover {
    width: 150px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-claro));
}

.bubble-nav-item i {
    font-size: 1.35em;
    color: var(--azul-oscuro);
    transition: color 0.3s ease;
    z-index: 2;
    position: absolute;
    right: 10px; 
    top: 50%;
    transform: translateY(-50%);
}

.bubble-nav-item:hover i {
    color: var(--blanco-1);
}

.bubble-nav-item .bubble-label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--blanco-1);
    padding: 0;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 0.5px;
}

.bubble-nav-item:hover .bubble-label {
    opacity: 1;
    visibility: visible;
}


@media (max-width: 768px) {
    .sidebar-bubbles {
        display: none;
    }

    .header.hidden {
        transform: translateY(0%);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    .nav-item-with-label {
        overflow: hidden;
    }

    .nav-item-with-label i {
        transform: none;
        margin-right: 0;
    }

    .nav-item-with-label .nav-label {
        position: static; 
        transform: none;
        opacity: 1; 
        visibility: visible;
        background-color: transparent;
        color: var(--negro);
        box-shadow: none;
        padding: 0;
        font-size: 0.65rem;
        text-transform: none;
        white-space: normal;
    }

    .nav-links a:not(.nav-item-with-label) {
        display: none;
    }
    
    .nav-links a:not(.nav-item-with-label) span {
        display: block;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 320px;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}


/* Secciones */
.full-screen {
    min-height: 100vh;
    padding: 6rem 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Títulos tipo pestaña */
.section-tab-title {
    position: absolute;
    top: 0;
    left: 2rem;
    background-color: var(--gris-claro-opcion);
    color: var(--negro);
    padding: 1rem 2rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    font-weight: bold;
    text-align: left;
    z-index: 4;
    margin-bottom: 0;
    transform: translateY(-1px);
}


/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: 0;
    min-height: 100vh;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(4px);
    transform: scale(1.02);
}

.hero-content {
    text-align: center;
    color: var(--blanco-1);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: white }
}

.hero-content h1 {
    font-size: 8rem;
    margin-bottom: 1rem;
    overflow: hidden;
    white-space: nowrap;
    border-right: .15em solid white;
    width: 0;
    will-change: transform, text-shadow, width;
    
    animation: 
        typing 3.5s steps(40, end),
        blink-caret .75s step-end 3.5s infinite,
        float-pulse 4s ease-in-out 3.6s infinite;
    
    animation-fill-mode: forwards;
}

.hero-subtitle {
    font-size: 4rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease-in-out 4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.text-content {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.quienes-somos-valores {
    background-color: var(--blanco-1);
    color: var(--negro);
}

.hero-somos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--azul-claro), var(--azul-oscuro));
    color: #fff;
}

.text-hero {
    margin-left: 3rem;
    flex: 1;
    min-width: 300px;
}

.text-hero h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.text-hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.image-hero {
    height: 100%;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 0px;
}

.image-hero img {
    height: 100%;
    max-width: 600px;
    width: 200%;
    object-fit: contain;
    border-radius: 1rem;
}

.valores-linea-tiempo {
    padding: 4rem 2rem;
    background: var(--blanco-3);
    text-align: center;
}

.valores-linea-tiempo .section-tab-title {
    color: var(--negro);
    margin-bottom: 2rem;
}

.timeline-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.timeline-item {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-icon {
    font-size: 2.5rem;
    color: var(--azul-claro);
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--azul-oscuro);
}

.timeline-content p {
    font-size: 1rem;
    color: #444;
}

@media (max-width: 768px) {
    .hero-somos {
        flex-direction: column-reverse;
        text-align: center;
    }

    .text-hero {
        padding: 0;
    }
}

/* Nuestro Trabajo */
.nuestro-trabajo {
    background-color: var(--blanco-3);
}

.nuestro-trabajo .container {
    display: flex;
    flex-direction: column;
    text-align: center; 
    justify-content: flex-start;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.nuestro-trabajo .text-content {
    width: 100%;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.nuestro-trabajo .text-content h2 {
    font-size: 2.5rem;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

.nuestro-trabajo .text-content p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin-top: 0;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(58, 123, 213, 0.9), rgba(107, 168, 230, 0.7));
    color: var(--blanco-1);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    text-align: center;
    box-sizing: border-box;
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.project-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Nuestros Servicios */
.nuestros-servicios {
    background-color: var(--blanco-1);
    color: var(--negro);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 4rem 2rem;
    text-align: center;
}

.nuestros-servicios .section-tab-title {
    font-size: 2.5rem;
    color: var(--negro);
    margin-bottom: 3rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

.service-card {
    background-color: var(--blanco-1);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--sombra);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-card i {
    color: var(--azul-claro);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--azul-oscuro);
}

.service-card p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.service-card .info-button {
    background-color: var(--azul-claro);
    color: var(--blanco-1);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-button {
  background-color: var(--azul-oscuro);
  color: var(--blanco-1);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.service-button:hover {
  background-color: var(--azul-claro);
}

/* Sección Nuestros Productos */
.nuestros-productos {
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.product-selector {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
    flex-wrap: wrap;
}

.product-option {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.6s ease;
    position: relative;
    border: 3px solid transparent; 
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gris-claro-opcion);
}

.product-option.active {
    border: 3px solid var(--azul-oscuro);
    box-shadow: 0 0 0 4px var(--blanco-1), 0 0 20px rgba(58, 123, 213, 0.5);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-claro));
}

.circle-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--blanco-1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: var(--blanco-1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-panel {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 2rem auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    backdrop-filter: blur(5px);
}

.info-images {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 5px;
    padding: 5px;
    min-height: 300px;
}

.product-media-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-media-item img,
.product-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; 
}

.product-media-item:hover {
    transform: scale(1.5);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.info-text {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.product-description {
    color: var(--negro);
    line-height: 1.6;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    margin-bottom: auto;
}

.product-buy-panel {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-price {
    font-size: 1.5rem;
    color: var(--verde-exito);
    font-weight: bold;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.buy-button {
    color: var(--negro);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--blanco-1);
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3a7bd5, #6ba8e6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.buy-button:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.buy-button:hover::before {
    opacity: 1;
}

.side-decoration {
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    background-image: url('/imagenes/Producto1.webp');
    background-repeat: repeat-y;
    background-size: contain;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.side-decoration.left {
    left: 0;
    transform: rotateY(180deg);
}

.side-decoration.right {
    right: 0;
}

/*CONTACTANOS*/
.contactanos {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: var(--blanco-3);
    color: #fff;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.contact-text {
    flex: 1;
    min-width: 300px;
}

.contact-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00bfff;
}

.contact-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    color: var(--negro);
}

.contact-button {
    display: inline-block;
    background-color: #00bfff;
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #008fc9;
}

.contact-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}


/*FOOTER*/
.footer {
    background-color: #0a0a0a;
    color: #e0e0e0;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 1rem;
}

.footer-logo p {
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ccc;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin: 0.4rem 0;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #00bfff;
}

.footer-social .social-icons a {
    font-size: 1.2rem;
    margin-right: 1rem;
    color: #bbb;
    transition: color 0.3s;
}

.footer-social .social-icons a:hover {
    color: #00bfff;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #777;
}


/* Responsive general */
@media (max-width: 768px) {
    .full-screen {
        padding: 6rem 1rem 1rem;
    }
    .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }

    .quienes-somos .text-content {
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .quienes-somos .text-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .quienes-somos .text-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .quienes-somos .text-content p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    .collage-container {
        margin-top: 0;
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        grid-auto-rows: minmax(80px, auto);
        gap: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        border-radius: 15px;
    }

    .collage-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .collage-item.medium {
        grid-column: span 1;
        grid-row: span 1;
    }

    .collage-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .valores .text-content h2 {
        font-size: 2rem;
    }

    .valores .text-content p {
        font-size: 1rem;
    }

    .valores .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .valores .card {
        width: 90%;
        max-width: 350px;
        padding: 1.5rem;
    }

    .nuestro-trabajo .text-content h2 {
        font-size: 2rem;
    }

    .nuestro-trabajo .text-content p {
        font-size: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr; 
        padding: 0 1rem;
    }

    .project-item {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .product-selector {
        gap: 1.5rem;
    }
    
    .product-option {
        width: 180px;
        height: 180px;
    }

    .circle-image {
        width: 120px;
        height: 120px;
    }
    
    .product-info-panel {
        flex-direction: column;
        margin: 1rem;
    }
    
    .info-images {
        grid-template-columns: repeat(3, 1fr);
        min-height: 200px;
    }

    .section-tab-title {
        left: 1rem;
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}