:root {
    --brand-primary: #e88d25;
    --brand-secondary: #2d2d2d;
    --brand-accent: #f2a64c;
    --surface: #ffffff;
    --surface-muted: #f5f6f8;
    --text-primary: #111111;
    --text-muted: #555555;
    --border-color: #e0e0e0;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--surface);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--brand-primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-muted {
    background-color: var(--surface-muted);
}

.text-center {
    text-center;
}

.w-100 {
    width: 100%;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--brand-secondary);
    color: var(--brand-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--surface);
    border: 2px solid var(--brand-primary);
}

.btn-secondary:hover {
    background-color: var(--brand-primary);
    color: #fff;
}

/* Header */
.site-header {
    background-color: var(--surface);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: var(--brand-secondary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav a:not(.btn-primary):hover {
    color: var(--brand-primary);
}

.main-nav .btn-primary {
    padding: 8px 20px;
    font-size: 1rem;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--brand-secondary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--brand-secondary);
    color: var(--surface);
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(45,45,45,1) 0%, rgba(45,45,45,0.8) 50%, rgba(45,45,45,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-text .tagline {
    display: block;
    color: var(--brand-primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--surface);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cccccc;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-visual {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    transform: perspective(800px) rotateY(-15deg);
}

.tech-cell {
    aspect-ratio: 1;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.tech-cell::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--brand-primary);
    border-bottom: 2px solid var(--brand-primary);
    bottom: 10px; right: 10px;
    opacity: 0.5;
}

.tech-cell.highlight {
    background-color: rgba(232, 141, 37, 0.2);
    border-color: var(--brand-primary);
}

/* Indicator Bar */
.indicator-bar {
    background-color: var(--brand-primary);
    color: var(--brand-secondary);
    padding: 30px 0;
}

.indicator-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.indicator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.indicator-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.indicator-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--brand-primary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.mv-card {
    background-color: var(--surface-muted);
    padding: 25px;
    border-left: 4px solid var(--brand-primary);
}

.mv-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.mv-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.image-wrapper {
    position: relative;
    padding: 20px;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #d9d9d9;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.geometric-accent {
    position: absolute;
    top: 0; right: 0;
    width: 60%; height: 60%;
    background-color: var(--brand-primary);
    z-index: 1;
}

/* Services */
.section-header {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--surface);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 0;
    background-color: var(--brand-primary);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card:hover::before {
    height: 100%;
}

.service-card.highlight-card {
    background-color: var(--brand-secondary);
    color: var(--surface);
    border-color: var(--brand-secondary);
}

.service-card.highlight-card h3 {
    color: var(--brand-primary);
}

.service-card.highlight-card p {
    color: #ccc;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--surface-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand-primary);
}

.service-card.highlight-card .service-icon {
    background-color: rgba(255,255,255,0.05);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA */
.cta-section {
    background-color: var(--brand-primary);
    padding: 60px 0;
    text-align: center;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-content h2 {
    color: var(--brand-secondary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta-content p {
    color: var(--surface);
    font-size: 1.2rem;
    font-weight: 700;
}

.cta-actions .btn-primary {
    background-color: var(--brand-secondary);
}
.cta-actions .btn-primary:hover {
    background-color: #000;
    color: var(--brand-primary);
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-list {
    margin-top: 30px;
}

.contact-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-list .icon {
    font-size: 1.5rem;
}

.contact-form-wrapper {
    background-color: var(--surface-muted);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--brand-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--surface);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #888;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-links h3 {
    color: var(--surface);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: #888;
}

.footer-links ul a:hover {
    color: var(--brand-primary);
}

.footer-legal {
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content,
    .about-container,
    .contact-container,
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .indicator-container {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--surface);
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav ul li {
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--surface-muted);
    }
    
    .main-nav .btn-primary {
        margin: 15px auto;
        width: max-content;
    }
    
    .hero-visual {
        display: none;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

/* Infraestructura */
.infra-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.infra-image {
    order: 1;
}
.infra-content {
    order: 2;
}
.dark-tagline {
    display: block;
    color: var(--brand-primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.infra-list {
    margin-top: 30px;
}
.infra-list li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 30px;
}
.infra-list li::before {
    content: '¦';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--brand-primary);
    font-size: 1.2rem;
}
.infra-list strong {
    display: block;
    color: var(--brand-secondary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-weight: bold;
    text-align: center;
    width: 80%;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.7);
    padding: 10px;
}
.tech-lines-accent {
    position: absolute;
    bottom: -20px; left: -20px;
    width: 100px; height: 100px;
    border-bottom: 4px solid var(--brand-primary);
    border-left: 4px solid var(--brand-primary);
    z-index: 1;
}

/* Features / Diferenciadores */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.feature-box {
    background-color: var(--surface);
    padding: 40px;
    border-top: 4px solid var(--brand-primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}
.feature-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--surface-muted);
    line-height: 1;
    margin-bottom: 10px;
    font-weight: 700;
}
.feature-box h4 {
    font-size: 1.3rem;
    color: var(--brand-secondary);
    margin-bottom: 15px;
}
.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px; left: 50px; right: 50px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
}
.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}
.step-icon {
    width: 80px; height: 80px;
    background-color: var(--surface);
    border: 2px solid var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.step-content h4 {
    font-size: 1.1rem;
    color: var(--brand-secondary);
    margin-bottom: 10px;
}
.step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .infra-container {
        grid-template-columns: 1fr;
    }
    .infra-image {
        order: 2;
        margin-top: 40px;
    }
    .infra-content {
        order: 1;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .process-timeline {
        grid-template-columns: 1fr 1fr;
    }
    .process-timeline::before {
        display: none;
    }
}
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .process-timeline {
        grid-template-columns: 1fr;
    }
    .step-icon {
        margin-bottom: 15px;
    }
}

/* Imágenes de sección generadas */
.section-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}

