@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

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

:root {
    --bg-primary: #1a1d24;
    --bg-secondary: #2c303b;
    --bg-tertiary: #3a3f4b;
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --accent-orange: #ff9800;
    --accent-orange-dark: #e68900;
    --accent-red: #9b0000;
    --accent-red-light: #c62828;
    --border-color: #4a4f5a;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.02em;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}
.navbar.scrolled {
    background-color: rgba(26, 29, 36, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border-bottom: 2px solid var(--accent-red);
}
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 1rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-img { height: 80px; }
.logo-text { display: flex; flex-direction: column; }
.logo-title {
    font-family: 'Rajdhani', sans-serif; font-size: 1.25rem;
    font-weight: 700; color: white; line-height: 1;
}
.logo-subtitle {
    font-size: 0.625rem; color: var(--accent-orange);
    font-weight: 600; letter-spacing: 0.1em;
}
.nav-menu {
    display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-menu a {
    text-decoration: none; color: var(--text-secondary);
    font-size: 1rem; font-weight: 500; transition: color 0.3s ease;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--accent-orange); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    color: white; padding: 0.5rem 1.5rem; border-radius: 0.375rem;
    font-weight: 600; border: none; cursor: pointer;
    transition: all 0.3s ease; text-decoration: none; display: inline-flex;
    font-size: 1.125rem; Align-items: center; gap: 0.5rem;
}
.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(155, 0, 0, 0.5);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none; background: none; border: none;
    color: white; font-size: 1.5rem; cursor: pointer;
}

/* ===== HERO ===== */

.img-fondo {
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/fondos/fondo-modern-bulding.jpg");
    background-size: cover;
    background-position: top;
    background-position: right;
    background-attachment: fixed;
    margin: 0;
    padding-bottom: 10px;
}
.hero {
    min-height: 100vh; 
    display: flex; 
    align-items: center;
    justify-content: center; 
    position: relative; 
    overflow: hidden;
    /*background: var(--bg-secondary);*/
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(155,0,0,0.25) 0%, rgba(26,29,36,0.60) 50%, rgba(26,29,36,0.8) 100%);
}
.hero-bg-element-1 {
    position: absolute; top: 5rem; right: 2.5rem;
    width: 24rem; height: 24rem; background: rgba(255,152,0,0.06);
    border-radius: 50%; filter: blur(80px);
}
.hero-bg-element-2 {
    position: absolute; bottom: 5rem; left: 2.5rem;
    width: 20rem; height: 20rem; background: rgba(155,0,0,0.06);
    border-radius: 50%; filter: blur(80px);
}
.hero-content {
    position: relative; max-width: 1280px; margin: 0 auto;
    padding: 8rem 1.5rem; text-align: center; z-index: 10;
}
.hero-icon {
    width: 230px; height: 220px; margin: 0 auto 2rem;
    color: var(--accent-orange);
    filter: drop-shadow(0 20px 40px rgba(255, 38, 0, 0.4));
    animation: fadeInUp 0.8s ease-out;
}
.hero h1 {
    font-size: 3.5rem; font-weight: 700; margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards; line-height: 3rem;
}
.hero h1 .brand { 
    color: white;
}
.hero h1 .brand-accent { 
    color: var(--accent-orange); 
}
.hero-tagline {
    font-size: 1.5rem; color: var(--text-secondary); margin-top: 3rem;
    font-style: italic; animation: fadeInUp 0.8s ease-out 0.2s backwards;
    letter-spacing: 3px;
}
.hero h2 {
    font-size: 2rem; margin-bottom: 5rem; color: var(--text-primary);
    max-width: 64rem; margin-left: auto; margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    text-shadow: var(--accent-red) 1px 1px;
}
.hero-buttons {
    display: flex; flex-direction: column; gap: 1rem;
    justify-content: center; margin-bottom: 7rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}
.btn-secondary {
    border: 2px solid var(--border-color); background: transparent;
    color: white; padding: 1rem 2rem; border-radius: 0.5rem;
    font-weight: 700; font-size: 1.125rem; cursor: pointer;
    transition: all 0.3s ease; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-secondary:hover {
    border-color: var(--accent-orange); background: rgba(255,152,0,0.1);
}
.hero-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; max-width: 64rem; margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}
.hero-card {
    background: rgba(44, 48, 59, 0.7); backdrop-filter: blur(10px);
    border: 1px solid var(--border-color); padding: 1.5rem; border-radius: 0.5rem;
    border-top: 3px solid var(--accent-red);
}
.hero-card-icon { width: 32px; height: 32px; color: var(--accent-orange); margin: 0 auto 0.75rem; }
.hero-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.hero-card p { font-size: 0.875rem; color: var(--text-secondary); }

/* ===== SECTIONS ===== */
section { padding: 6rem 1.5rem; }
.section-container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-badge {
    display: inline-block; padding: 0.25rem 1rem;
    background: rgba(255,152,0,0.1); border: 1px solid rgba(255,152,0,0.3);
    border-radius: 9999px; color: var(--accent-orange);
    font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem;
}
.section-title {
    font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem;
    color: white; text-shadow: var(--accent-red) 1px 1px;
}
.section-description { color: var(--text-secondary); max-width: 42rem; margin: 0 auto; }

/* ===== ABOUT ===== */
.about { background: var(--bg-secondary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text { padding-left: 2rem; border-left: 4px solid var(--accent-orange); }
.about-text p { color: var(--text-primary); margin-bottom: 1rem; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.stat-card {
    background: var(--bg-primary); border: 1px solid var(--border-color);
    padding: 1.5rem; border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(255,152,0,0.15); }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--accent-orange); margin-bottom: 0.5rem; }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); }

/* ===== SERVICES ===== */
.img-fondo2 {
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/fondos/fondo-modern-dpump.jpg");
    background-size: cover;
    background-position: top;
    background-position: right;
    margin: 0;
    padding-bottom: 10px;
}
.services {
    background: #1a1d24aa;
    /*background: var(--bg-primary);*/
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: 0.5rem; padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(255,152,0,0.15); }
.service-icon {
    width: 32px; height: 32px; color: var(--accent-orange);
    margin-bottom: 1rem; transition: transform 0.3s ease;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: white; }
.service-list { list-style: none; }
.service-list li {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 0.5rem;
}
.check-icon { width: 16px; height: 16px; color: var(--accent-orange); flex-shrink: 0; margin-top: 2px; }

.featured-service {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(155,0,0,0.15) 0%, var(--bg-secondary) 100%);
    border: 1px solid rgba(255,152,0,0.3); border-radius: 0.5rem;
    padding: 2rem; display: flex; gap: 1.5rem; align-items: center;
}
.featured-icon { width: 64px; height: 64px; color: var(--accent-orange); flex-shrink: 0; }
.featured-content h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; color: white; }
.featured-content p { color: var(--text-primary); margin-bottom: 1rem; }
.featured-link {
    color: var(--accent-orange); font-weight: 600; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s ease;
}
.featured-link:hover { gap: 0.75rem; }

/* ===== BUILDINGS ===== */
.buildings { background: var(--bg-secondary); }
.buildings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.building-card {
    background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: 0.5rem; padding: 1.5rem; text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.building-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(255,152,0,0.15); }
.building-icon {
    width: 48px; height: 48px; margin: 0 auto 1rem;
    background: rgba(255,152,0,0.1); border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-orange); transition: all 0.3s ease;
}
.building-card:hover .building-icon { background: var(--accent-orange); color: white; }
.building-icon svg { width: 24px; height: 24px; }
.building-card h3 { font-size: 0.875rem; font-weight: 600; color: white; }

/* ===== PROCESS ===== */
.img-fondo3 {
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/fondos/fondo-modern-pump.jpg");
    background-size: cover;
    background-position: top;
    background-position: right;
    margin: 0;
    padding-bottom: 10px;
}
.process { 
    background: #1a1d24aa;
    /*background: var(--bg-primary);*/
}
.process-list { display: flex; flex-direction: column; gap: 1.5rem; }
.process-step {
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: 0.5rem; padding: 1.5rem;
    display: flex; gap: 1.5rem; align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(255,152,0,0.15); }
.process-number {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    border-radius: 0.5rem; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.process-number span { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: white; }
.process-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: white; }
.process-content p { color: var(--text-secondary); }

.compliance-box {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border: 2px solid rgba(255,152,0,0.3); border-radius: 0.5rem;
    padding: 2rem; text-align: center;
}
.compliance-icon { width: 64px; height: 64px; color: var(--accent-orange); margin: 0 auto 1.5rem; }
.compliance-box h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: white; }
.compliance-box p { color: var(--text-primary); max-width: 42rem; margin: 0 auto 1.5rem; }
.compliance-features {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 1rem; font-size: 0.875rem; color: var(--text-secondary);
}
.compliance-feature { display: flex; align-items: center; gap: 0.5rem; }

/* ===== CONTACT ===== */
.contact-section { background: var(--bg-secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; color: white; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; }
.contact-item-icon {
    width: 48px; height: 48px; background: rgba(255,152,0,0.1);
    border-radius: 0.5rem; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.contact-item-icon svg { width: 24px; height: 24px; color: var(--accent-orange); }
.contact-item-content .label { font-weight: 600; color: white; margin-bottom: 0.25rem; }
.contact-item-content a, .contact-item-content div {
    color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease;
}
.contact-item-content a:hover { color: var(--accent-orange); }

.schedule-box {
    margin-top: 2rem; padding: 1.5rem; background: var(--bg-primary);
    border: 1px solid var(--border-color); border-radius: 0.5rem;
}
.schedule-box h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.125rem; margin-bottom: 0.75rem; color: white; }
.schedule-box p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 0.5rem; }

.contact-form {
    background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: 0.5rem; padding: 2rem;
}
.contact-form h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; color: white; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-primary); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; background: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: 0.5rem; padding: 0.75rem 1rem; color: white;
    font-family: 'Inter', sans-serif; transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent-orange);
}
.form-group textarea { resize: none; }
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
    color: white; padding: 1rem 1.5rem; border-radius: 0.5rem;
    font-weight: 700; border: none; cursor: pointer; transition: all 0.3s ease;
}
.submit-btn:hover { box-shadow: 0 10px 20px rgba(155,0,0,0.5); }

/* ===== FOOTER ===== */
footer {
    background: var(--bg-secondary); border-top: 4px solid var(--accent-red);
    padding: 3rem 1.5rem;
}
.footer-container { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-column h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--accent-orange); margin-bottom: 1rem; }
.footer-column ul { list-style: none; }
.footer-column li { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.footer-column p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; }
.footer-bottom {
    border-top: 1px solid var(--border-color); padding-top: 2rem;
    text-align: center; font-size: 0.875rem; color: var(--text-secondary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(26,29,36,0.98); backdrop-filter: blur(12px);
        flex-direction: column; padding: 1rem 1.5rem;
        border-top: 1px solid var(--border-color); gap: 0;
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { width: 100%; padding: 0.5rem 0; }
    .mobile-menu-btn { display: block; }
    .logo-img { height: 40px; }
    .hero { top: 1rem; }
    .hero-content {padding-top: 1rem }
    .hero h1 { font-size: 3.0rem; }
    .hero h2 { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; }
    .btn-primary { margin: 0 auto; }
    .hero-cards { display: grid; grid-template-columns: auto;}
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .buildings-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .featured-service { flex-direction: column; text-align: center; }
    .section-title { font-size: 2rem; }
    .compliance-features { justify-content: left; padding-left: 50px;}
}

@media (min-width: 768px) {
    .hero-buttons { flex-direction: row; }
}
