/* --- Variables y Estilos Base --- */
:root {
    --primary-color: #f36f21; /* Naranja */
    --dark-color: #1a1a1a;    /* Negro/Gris muy oscuro */
    --medium-gray: #333333;
    --light-gray: #f4f4f4;
    --white-color: #ffffff;
    --text-color: #cccccc;
    --font-primary: 'Roboto', sans-serif;
    --font-headings: 'Titillium Web', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    background-color: var(--dark-color);
    color: var(--text-color);
    line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--font-headings); font-weight: 700; color: var(--white-color); }
a { text-decoration: none; }

/* --- Header --- */
.main-header {
    background-color: rgba(26, 26, 26, 0.9);
    padding: 20px 0; 
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--medium-gray);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 75px; } 
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--text-color); font-weight: 700; transition: color 0.3s; }
.main-nav a:hover { color: var(--primary-color); }
.nav-cta {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.nav-cta:hover { background-color: #d15c14; }

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background: url('https://images.unsplash.com/photo-1593349389422-a73398a28734?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 26, 26, 0.7); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; font-weight: 300; }
.hero-cta {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.3s, background-color 0.3s;
}
.hero-cta:hover { background-color: #d15c14; transform: translateY(-3px); }

/* --- T¨ªtulos de Secci¨®n --- */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title span {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.section-title h2 { font-size: 2.8rem; margin-top: 10px; }

/* --- Services Section --- */
.services-section { padding: 100px 0; background-color: #212121; }
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}
.service-card {
    background-color: var(--medium-gray);
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #444;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.service-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--primary-color); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.service-card i { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.service-card p { font-size: 1rem; color: #b0b0b0; flex-grow: 1; }
.service-highlight {
    border: 1px solid var(--primary-color);
    background-color: #2a2a2a;
}
.full-width {
    grid-column: 1 / -1; 
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    gap: 0 25px;
    text-align: left;
    align-items: center;
}
.full-width i {
    grid-row: 1 / 3;
    font-size: 3.5rem;
    align-self: center;
    justify-self: center;
}
.full-width h3 {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 5px;
}
.full-width p {
    grid-column: 2;
    grid-row: 2;
}
.service-card:not(.full-width) i {
    min-height: 50px; 
}

/* --- Consulting Section --- */
.consulting-section {
    padding: 100px 0;
    background-color: var(--dark-color);
}
.consulting-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.consulting-item {
    text-align: center;
}
.consulting-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
}
.consulting-item h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--white-color);
}
.consulting-item p {
    font-size: 1rem;
    color: #b0b0b0;
}

/* --- Brands Section --- */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brands-section { padding: 100px 0; overflow: hidden; background-color: var(--dark-color); }
.brands-slider { display: flex; width: 200%; }
.brands-track { display: flex; animation: scroll 40s linear infinite; }
.brand-slide { display: flex; align-items: center; justify-content: center; padding: 0 40px; }
.brand-slide img {
    height: 50px;
    max-width: 150px;
    filter: grayscale(100%) brightness(5);
    opacity: 0.8;
    transition: opacity 0.3s;
}
.brand-slide img:hover { opacity: 1; }

/* --- Contact Section --- */
.contact-section { padding: 100px 0; background-color: #212121; }
.contact-wrapper {
    display: flex;
    gap: 50px;
    background-color: var(--medium-gray);
    padding: 50px;
    border-radius: 8px;
}
.contact-info { flex: 1; }
.contact-info h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 20px; }
.contact-info ul { list-style: none; margin-top: 30px; }
.contact-info li { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.contact-info li i { font-size: 1.2rem; color: var(--primary-color); }
.contact-info a { color: var(--text-color); }
.contact-form { flex: 1.5; display: flex; flex-wrap: wrap; gap: 20px; }
.form-group { width: calc(50% - 10px); }
.form-group-full { width: 100%; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--dark-color);
    border: 1px solid #555;
    border-radius: 5px;
    color: var(--white-color);
    font-family: var(--font-primary);
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.form-submit-btn:hover { background-color: #d15c14; }
.form-status { width: 100%; margin-top: 15px; padding: 15px; border-radius: 5px; text-align: center; display: none; }
.form-status.success { background-color: #28a745; color: var(--white-color); }
.form-status.error { background-color: #dc3545; color: var(--white-color); }

/* --- Footer --- */
.main-footer { padding: 40px 0; background-color: #111; text-align: center; }
.main-footer p { color: #888; margin: 5px 0; }

/* --- Media Queries --- */
@media (max-width: 992px) {
    .contact-wrapper { flex-direction: column; }
    .hero h1 { font-size: 2.8rem; }
    .section-title h2 { font-size: 2.2rem; }
    .full-width { grid-template-columns: 1fr; text-align: center; }
    .full-width i { grid-row: 1; margin-bottom: 10px; }
    .full-width h3 { grid-column: 1; grid-row: 2; }
    .full-width p { grid-column: 1; grid-row: 3; }
}
@media (max-width: 768px) {
    .main-header .container { flex-direction: column; gap: 15px; }
    .form-group { width: 100%; }
}