/* STYLE.CSS ORIGINAL - OMNIFOAM */

:root {
    --bg-dark: #000000;
    --text-white: #ffffff;
    --text-gray: #a0a4ab;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

/* HEADER */
header {
    background: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    color: var(--text-white);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent);
}

.logo-subtext {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
    margin-top: 2px;
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

nav a i { font-size: 0.6rem; margin-left: 2px; opacity: 0.6; }

nav a:hover, nav a.active {
    color: var(--accent);
}

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

.cart-btn {
    position: relative;
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.85rem;
}

.contact-header i {
    color: #22c55e;
    font-size: 1.1rem;
}


/* HERO */
.hero {
    position: relative;
    height: auto;
    min-height: 100svh;
    background-image: url('imagenes/hero-fondo.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 80px 8% 4rem;
    margin-top: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.8rem;
    letter-spacing: -2px;
}

.hero-highlight {
    color: #2563eb;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-features {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.dot {
    margin: 0 8px;
    color: #2563eb;
}

.hero-content p {
    max-width: 550px;
    margin: 0 0 2.5rem;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.btn-group {
    display: flex;
    gap: 1.2rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 1rem 1.8rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1rem 1.8rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }


/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.service-card {
    position: relative;
    height: 380px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: var(--text-white);
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.service-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
}

.service-card:hover .service-bg { transform: scale(1.1); }

.service-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.service-content {
    position: relative;
    z-index: 3;
}

.service-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #2563eb;
    font-size: 1.5rem;
    background: rgba(37, 99, 235, 0.1);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 0.85rem;
    color: #d1d1d1;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.service-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* FEATURES */
.features {
    display: flex;
    justify-content: space-around;
    padding: 3rem 5%;
    background: #0f1115;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon i {
    color: #2563eb;
    font-size: 1.8rem;
}

.feature-text h4 {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: white;
}

.feature-text p {
    font-size: 0.75rem;
    color: #a0a4ab;
}

/* INTRO SECTION */
.intro-section {
    background: #ffffff;
    padding: 6rem 8%;
    color: #111;
}

.intro-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    align-items: center;
}

.intro-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #0f172a;
}

.intro-title span {
    color: #2563eb;
}

.intro-description {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 500px;
}

.intro-images-side {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.img-cnc-wrapper img, .img-warehouse-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.img-cnc-wrapper {
    height: 350px;
}

.img-warehouse-wrapper {
    height: 350px;
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .features { flex-wrap: wrap; gap: 2rem; }
    .intro-content-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .intro-title { font-size: 2.5rem; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .intro-images-side { grid-template-columns: 1fr; }
}


/* CART SPECIFIC (KEEPING THESE) */
.cart-page { padding: 8rem 5% 4rem; max-width: 1200px; margin: 0 auto; }
.cart-container { display: grid; grid-template-columns: 1.8fr 1fr; gap: 3rem; align-items: start; }
.cart-items { background: #111; padding: 2rem; border-radius: 15px; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); align-items: center; }
.cart-item-img { width: 100px; height: 100px; object-fit: cover; border-radius: 10px; }
.cart-summary { background: #111; padding: 2rem; border-radius: 15px; position: sticky; top: 100px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.summary-total { font-size: 1.5rem; font-weight: 800; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; margin-top: 1rem; }
.btn-checkout { width: 100%; background: var(--accent); color: white; border: none; padding: 1rem; border-radius: 10px; font-weight: 800; cursor: pointer; margin-top: 1.5rem; }
/* FEATURES STRIP GLOBAL */
.features-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1;
    min-width: 220px;
}

.feature-text h4 {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.feature-text p {
    font-size: 0.75rem;
    line-height: 1.3;
}
