﻿:root {
    /* Colors */
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --secondary-color: #f8f9fa;
    --accent-color: #ff5722;
    --dark-bg: #0f1218;
    --light-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    --gradient-accent: linear-gradient(135deg, #ff5722 0%, #ff9800 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Borders */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 20px 40px -10px rgba(13, 110, 253, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.highlight {
    color: var(--primary-color);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.app-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-primary);
}

nav ul li a:hover:not(.btn-primary) {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white !important;
    border: none;
}

.btn-primary:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary) !important;
    border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: white !important;
}

.btn-primary.lg,
.btn-secondary.lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    background: linear-gradient(180deg, rgba(248, 249, 250, 1) 0%, rgba(255, 255, 255, 1) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(13, 110, 253, 0.2);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(102, 16, 242, 0.2);
    bottom: -50px;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: rgba(255, 87, 34, 0.15);
    top: 20%;
    right: -50px;
    animation-duration: 15s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(30px) scale(1.1);
    }
}

/* Common Section Styles */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(13, 110, 253, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.card-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

/* Materials Section */
.dark-alt {
    background: #f8fafc;
}

.materials-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.material-tag {
    background: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, background 0.3s, color 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.material-tag:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: white;
}

/* SEO Links Section */
.seo-pages-section {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(102, 16, 242, 0.05) 100%);
}

.seo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.seo-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 800px;
}

.seo-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.seo-links li a {
    display: flex;
    padding: 1rem 1.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    border-left: 4px solid var(--accent-color);
    transition: background 0.3s, transform 0.3s;
}

.seo-links li a:hover {
    background: rgba(255, 87, 34, 0.1);
    transform: translateX(5px);
}

/* Industries Section */
.dark-bg {
    background: var(--dark-bg);
    color: white;
}

.dark-bg .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem;
    text-align: center;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
    backdrop-filter: blur(5px);
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links ul {
    list-style: none;
    margin-top: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin: 1rem 0;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .app-header {
        padding: 1rem 20px;
    }

    nav {
        display: none;
        /* Add mobile menu logic in JS */
    }

    .mobile-menu-btn {
        display: block;
        cursor: pointer;
    }

    .bar {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        margin: 5px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 8rem 0 5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
/* Gallery Intercalada */
.gallery-intercalada {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin: 5rem 0;
}
.gallery-intercalada .box {
    background: #f8fafc;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px dashed #e2e8f0;
    text-align: center;
    padding: 1rem;
}
.gallery-intercalada .box svg {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}
.gallery-intercalada .box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.gallery-intercalada .box.large {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-intercalada .box.tall {
    grid-row: span 2;
}
.gallery-intercalada .box.wide {
    grid-column: span 2;
}
@media (max-width: 900px) {
    .gallery-intercalada {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-intercalada .box.wide,
    .gallery-intercalada .box.large {
        grid-column: span 2;
    }
}
@media (max-width: 600px) {
    .gallery-intercalada {
        grid-template-columns: 1fr;
    }
    .gallery-intercalada .box.large,
    .gallery-intercalada .box.tall,
    .gallery-intercalada .box.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}
