/* ============================================
   LANDING PAGE - INSPECTOR CAZA
   Usando colores del sistema: #2c3e50 (azul) y #d35400 (naranja)
   ============================================ */

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

:root {
    --color-primary: #2c3e50;
    --color-primary-dark: #1a252f;
    --color-accent: #d35400;
    --color-accent-dark: #a84300;
    --color-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --color-text: #333333;
    --color-text-light: #666666;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.5) 0%, rgba(44, 62, 80, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    width: 220px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.logo-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 0;
    line-height: 1.4;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(211, 84, 0, 0.4);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(211, 84, 0, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

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

/* ============================================
   CENSO SECTION
   ============================================ */
.censo-section {
    padding: 100px 20px;
    background: var(--color-white);
}

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

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.icon-marker {
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 35px;
}

.section-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 84, 0, 0.3);
}

.censo-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ============================================
   OFERTAS SECTION
   ============================================ */
.ofertas-section {
    padding: 100px 20px;
    background: var(--color-primary);
}

.section-title-center {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-white);
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.section-title-center.dark {
    color: var(--color-primary);
}

.ofertas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.oferta-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.oferta-card:hover {
    transform: translateY(-10px);
}

.oferta-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.oferta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oferta-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.oferta-content {
    padding: 30px;
}

.oferta-list {
    list-style: none;
}

.oferta-list li {
    padding: 14px 0;
    padding-left: 5px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}

.oferta-list li:last-child {
    border-bottom: none;
}

.oferta-list li::before {
    content: "• ";
    color: var(--color-accent);
    font-weight: bold;
    margin-right: 8px;
}

/* ============================================
   TRABAJOS SECTION
   ============================================ */
.trabajos-section {
    padding: 100px 20px;
    background: var(--color-light-gray);
}

.trabajos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.trabajo-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.trabajo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.trabajo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.trabajo-content {
    padding: 30px;
}

.trabajo-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.trabajo-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 120px 20px;
    background-image: url('/PROYECTOS/media/images/landingpage/ciervo.jpg');
    background-position: left center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.5) 0%, rgba(44, 62, 80, 0.45) 100%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    padding: 0 40px;
}

.cta-card {
    background: var(--color-primary);
    border-radius: 20px;
    padding: 35px 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: var(--color-white);
    text-align: center;
}

.cta-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cta-logo img {
    width: 150px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--color-white);
}

.cta-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.info-item {
    padding: 18px;
    background: var(--color-primary-dark);
    border-radius: 10px;
    border-left: 4px solid var(--color-accent);
}

.info-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-accent);
}

.info-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .ofertas-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .col-image {
        order: -1;
    }
    
    .trabajos-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .logo {
        width: 140px;
        height: auto;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-title-center {
        font-size: 2.2rem;
    }
    
    .section-text {
        font-size: 1rem;
    }
    
    .censo-section,
    .ofertas-section,
    .trabajos-section {
        padding: 70px 20px;
    }
    
    .cta-section {
        padding: 80px 20px;
        justify-content: center;
        background-position: left center;
    }
    
    .cta-container {
        padding: 0 20px;
        justify-content: center;
    }
    
    .cta-card {
        max-width: 550px;
        padding: 35px 30px;
    }
    
    .cta-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .oferta-image {
        height: 220px;
    }
    
    .trabajo-card img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .logo {
        width: 100px;
        height: auto;
    }
    
    .logo-subtitle {
        font-size: 12px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-title-center {
        font-size: 1.8rem;
    }
    
    .section-text {
        font-size: 0.95rem;
    }
    
    .censo-section,
    .ofertas-section,
    .trabajos-section {
        padding: 50px 15px;
    }
    
    .cta-section {
        padding: 60px 10px;
        background-position: center center;
        justify-content: center;
    }
    
    .cta-container {
        padding: 0 10px;
        justify-content: center;
    }
    
    .cta-card {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .cta-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .oferta-content,
    .trabajo-content {
        padding: 20px;
    }
    
    .cta-logo img {
        width: 120px;
        height: auto;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .info-item h3 {
        font-size: 1.1rem;
    }
    
    .info-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title,
    .section-title-center {
        font-size: 1.5rem;
    }
}
