:root {
    --primary-red: #0088CE; /* Azul claro */
    --primary-yellow: #0055A5; /* Azul PAN (oscuro) para contraste y hovers */
    --dark-bg: #0F0F0F;
    --text-white: #FFFFFF;
    --text-dark: #1F1F1F;
    --text-gray: #757575;
    --text-dark-gray: #444444;
    --bg-light: #FAFAFA;
    --gradient-start: #0055A5;
    --gradient-end: #0088CE;
    --gradient-bg: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}
.text-yellow { color: var(--primary-yellow); }
.text-white { color: var(--text-white); }
.text-dark-gray { color: var(--text-dark-gray); }
.text-muted { color: var(--text-gray); }
.mb-3 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 25px; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.align-center { align-items: center; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background-color: rgba(15, 15, 15, 0.95);
    padding: 15px 50px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: 2px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}
.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--primary-yellow);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-contact:hover {
    color: var(--primary-yellow);
}
.menu-btn {
    color: var(--text-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.menu-btn span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--text-white);
    position: relative;
    transition: all 0.3s;
}
.menu-btn span::before, .menu-btn span::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 1px;
    background-color: var(--text-white);
    left: 0;
    transition: all 0.3s;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn:hover span, .menu-btn:hover span::before, .menu-btn:hover span::after {
    background-color: var(--primary-yellow);
}

/* Background Large Letter */
.bg-letter {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 70vw;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    line-height: 0.8;
    z-index: 1;
    pointer-events: none;
}

/* Hero Section (pag1) */
.hero-section {
    background-color: var(--primary-red);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.hero-content {
    flex: 1;
    min-width: 300px;
    text-align: right;
}
.stagger-text .block {
    display: block;
    font-size: 6.5vw;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.05;
    letter-spacing: -2px;
}
.hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.hero-img {
    position: relative;
    z-index: 2;
    max-width: 90%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border-radius: 4px;
}
/* Yellow Brush Filter Approach */
.brush-x {
    font-size: 50vw;
    font-weight: 900;
    font-family: 'Arial', sans-serif;
    color: var(--primary-yellow);
    filter: url(#brush-filter);
    position: absolute;
    pointer-events: none;
    line-height: 1;
}
.hero-brush {
    top: 50%;
    left: -10%;
    transform: translateY(-50%) rotate(15deg);
    z-index: 1;
}
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    z-index: 10;
}
.scroll-down .line {
    width: 2px;
    height: 30px;
    background-color: var(--primary-yellow);
}

/* Gradient Header (pag2 & pag3 headers) */
.gradient-header {
    background: var(--gradient-bg);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.center-brush {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    font-size: 60vw;
    opacity: 0.9;
    z-index: 1;
}
.gradient-header h2 {
    position: relative;
    z-index: 2;
    font-size: 6vw;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: -1px;
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    z-index: 2;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
    background-color: var(--text-white);
}
.section-title {
    text-align: center;
    margin-bottom: 80px;
}
.accent-mark {
    width: 2px;
    height: 40px;
    background-color: var(--gradient-start);
    margin: 0 auto 20px;
}
.section-title h3 {
    font-size: 2vw;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    filter: grayscale(10%) contrast(1.1);
}
.about-text-col h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}
.about-text-col p {
    font-size: 16px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background-color: var(--text-white);
    padding: 60px 40px;
    text-align: center;
    border: 1px solid #EEEEEE;
    border-radius: 4px;
    position: relative;
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.card-line {
    width: 1px;
    height: 40px;
    background-color: var(--gradient-start);
    margin: 0 auto 20px;
}
.card-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
}
.card-dots span {
    width: 3px;
    height: 3px;
    background-color: #DDDDDD;
    border-radius: 50%;
}
.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 30px;
}
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #EEEEEE;
    background: transparent;
    color: var(--gradient-start);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s;
}
.service-card:hover .icon-btn {
    background-color: var(--gradient-start);
    color: var(--text-white);
    border-color: var(--gradient-start);
}

.gradient-card {
    background: var(--gradient-bg);
    color: var(--text-white);
    border: none;
}
.gradient-card .card-line { background-color: var(--text-white); }
.gradient-card .card-dots span { background-color: rgba(255,255,255,0.5); }
.gradient-card h3 { color: var(--text-white); }
.gradient-card p { color: rgba(255,255,255,0.8); }
.gradient-card .icon-btn {
    border-color: rgba(255,255,255,0.3);
    color: var(--text-white);
}
.gradient-card:hover .icon-btn {
    background-color: var(--text-white);
    color: var(--gradient-start);
}

/* Dark Section (pag4) */
.dark-section {
    background-color: var(--dark-bg);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}
.dark-letter {
    color: rgba(255,255,255,0.02);
}
.circle-wrapper {
    justify-content: center;
}
.circle-mask {
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}
.dark-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}
.dark-brush {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(25deg);
    font-size: 60vw;
    z-index: 1;
}

/* Footer */
.dark-footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 50px;
    position: relative;
    z-index: 2;
}
.footer-title h4 {
    color: var(--text-white);
    font-size: 2vw;
    margin-bottom: 20px;
}
.copyright {
    color: var(--text-dark-gray);
    font-size: 13px;
    margin-top: 40px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }


/* =========================================
   NUEVOS COMPONENTES (Estructura de 9 Secciones)
   ========================================= */

/* Video Background Placeholder */
.video-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-red);
    z-index: 1;
    overflow: hidden;
}

.video-bg-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 136, 206, 0.8) 0%, rgba(0, 85, 165, 0.9) 100%);
}

.hero-subtitle {
    position: relative;
    z-index: 3;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 3;
    justify-content: flex-end;
}
.stat {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.stat-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-yellow);
    line-height: 1;
}
.stat-label {
    font-size: 11px;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 25px; }
.mt-5 { margin-top: 40px; }

/* Buttons */
.hero-actions {
    position: relative;
    z-index: 3;
}
.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.3);
}
.btn-primary:hover {
    background-color: var(--text-dark);
    color: var(--text-white);
    transform: translateY(-2px);
}
.btn-whatsapp {
    background-color: transparent;
    border: 2px solid #25D366;
    color: #25D366;
}
.btn-whatsapp:hover {
    background-color: #25D366;
    color: var(--text-white);
}
.btn-whatsapp-large {
    background-color: #25D366;
    color: var(--text-white);
    font-size: 15px;
    padding: 16px 35px;
    display: inline-flex;
}
.btn-whatsapp-large:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(0, 85, 165, 0.2);
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
}
.timeline-dot {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    border: 3px solid var(--text-white);
    box-shadow: 0 0 0 4px rgba(0, 85, 165, 0.1);
}
.timeline-content {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #EEE;
}
.timeline-content h4 {
    color: var(--primary-yellow);
    margin-bottom: 10px;
    font-size: 18px;
}

/* Social Feed (Colonia) */
.social-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}
.feed-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.feed-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.feed-item:hover img {
    transform: scale(1.05);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.news-card {
    background: var(--text-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #EEE;
    transition: transform 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
}
.news-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}
.news-content {
    padding: 30px;
}
.news-category {
    font-size: 11px;
    color: var(--primary-yellow);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    background: rgba(0, 85, 165, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}
.news-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-dark);
}
.read-more {
    color: var(--primary-yellow);
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
    margin-top: 50px;
}
.gallery-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-img:hover img {
    transform: scale(1.05);
}

/* Docs List (Transparencia) */
.docs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
    margin: 50px auto 0;
}
.doc-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}
.doc-item svg {
    color: var(--primary-yellow);
}
.doc-item:hover {
    background: var(--primary-yellow);
    color: var(--text-white);
    transform: translateX(5px);
    border-color: var(--primary-yellow);
}
.doc-item:hover svg {
    color: var(--text-white);
}

/* Contact Form */
.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.form-group {
    margin-bottom: 20px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    font-size: 14px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: 2px solid var(--primary-yellow);
}

@media (max-width: 992px) {
    .quick-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-content { text-align: center; }
}

/* Responsive */
@media (max-width: 992px) {
    .stagger-text .block { font-size: 9vw; }
    .hero-container { flex-direction: column; text-align: center; padding-top: 60px; }
    .hero-image-wrapper { justify-content: center; margin-top: 40px; }
    .hero-brush { right: 50%; transform: translate(50%, -50%) rotate(15deg); font-size: 80vw; }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .circle-mask { width: 70vw; height: 70vw; margin-top: 40px; }
    .nav-links { display: none; }
    .nav-right { gap: 20px; }
    .section-title h3 { font-size: 4vw; }
    .footer-title h4 { font-size: 4vw; }
}

@media (max-width: 576px) {
    .navbar { padding: 20px; }
    .logo { font-size: 24px; }
    .nav-contact { display: none; }
    .gradient-header h2 { font-size: 10vw; }
    .section-title h3 { font-size: 6vw; }
    .footer-title h4 { font-size: 5vw; }
    .circle-mask { width: 90vw; height: 90vw; }
}

