/* Variables Específicas Comercial */
:root {
    --accent: var(--pastel-green-text);
    --accent-hover: var(--pastel-green-dark);
    --border-color: rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

/* Overrides para integrar con styles.css */
body {
    overflow-x: hidden;
}

/* Layout General */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

#sector {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 80px 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.text-dark { color: var(--text-dark) !important; }

/* Navigation is handled by styles.css */

/* Sections */
.section {
    padding: 100px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.dark-bg { background-color: var(--bg-darker); }
.light-bg { background-color: var(--bg-light); color: var(--text-dark); }

/* Hero */
.hero-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 160px 0 80px; /* espaciado superior para el navbar */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)), url('img/hero_bg.png') no-repeat center center/cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: #f1f5f9;
    max-width: 600px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    padding: 20px 40px;
    border-radius: 16px;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--pastel-green-text);
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--text-main);
    font-weight: 600;
    margin: 0;
}

.poi-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}

.poi-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* POI Grid */
.poi-container {
    margin-bottom: 60px;
    background: var(--bg-main);
    padding: 40px 5%;
}
.poi-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: 600;
}
.poi-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}
.poi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}
.poi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.poi-dist {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 3px;
}
.poi-dist.accent {
    color: var(--accent);
}
.poi-name {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Features Sector */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.feature-card {
    border-radius: 24px;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 50px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Color Variations for the 4 cards */
.feature-card:nth-child(1) {
    background: var(--pastel-blue-bg);
    border-color: var(--pastel-blue-dark);
}
.feature-card:nth-child(1) .feature-icon {
    color: var(--pastel-blue-text);
    box-shadow: 0 10px 20px rgba(39, 89, 107, 0.15);
}
.feature-card:nth-child(1):hover {
    box-shadow: 0 20px 40px rgba(39, 89, 107, 0.2);
}

.feature-card:nth-child(2) {
    background: var(--pastel-green-bg);
    border-color: var(--pastel-green-dark);
}
.feature-card:nth-child(2) .feature-icon {
    color: var(--pastel-green-text);
    box-shadow: 0 10px 20px rgba(61, 97, 37, 0.15);
}
.feature-card:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(61, 97, 37, 0.2);
}

.feature-card:nth-child(3) {
    background: var(--pastel-yellow-bg);
    border-color: var(--pastel-yellow-dark);
}
.feature-card:nth-child(3) .feature-icon {
    color: var(--pastel-yellow-text);
    box-shadow: 0 10px 20px rgba(143, 75, 22, 0.15);
}
.feature-card:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(143, 75, 22, 0.2);
}

.feature-card:nth-child(4) {
    background: var(--pastel-purple-bg);
    border-color: var(--pastel-purple-dark);
}
.feature-card:nth-child(4) .feature-icon {
    color: var(--pastel-purple-text);
    box-shadow: 0 10px 20px rgba(98, 41, 164, 0.15);
}
.feature-card:nth-child(4):hover {
    box-shadow: 0 20px 40px rgba(98, 41, 164, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.feature-icon {
    background: #ffffff;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 15px;
    padding: 0;
    color: var(--text-main);
}

.feature-card p {
    color: rgba(0, 0, 0, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 10px;
    margin: 0;
}

/* Images & Wrappers */
.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.image-wrapper:hover .main-image {
    transform: scale(1.02);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Availability Map */
.availability-map {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interactive-placeholder {
    color: #64748b;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Planos */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.plan-card {
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 15px;
}

/* Color Variations for the 5 plan cards */
.plan-card:nth-child(1) {
    background: var(--pastel-blue-bg);
    border-color: var(--pastel-blue-dark);
}
.plan-card:nth-child(1) .plan-icon {
    color: var(--pastel-blue-text);
    box-shadow: 0 10px 20px rgba(39, 89, 107, 0.15);
}
.plan-card:nth-child(1) .plan-link {
    color: var(--pastel-blue-text);
}
.plan-card:nth-child(1):hover {
    box-shadow: 0 20px 40px rgba(39, 89, 107, 0.2);
}

.plan-card:nth-child(2) {
    background: var(--pastel-green-bg);
    border-color: var(--pastel-green-dark);
}
.plan-card:nth-child(2) .plan-icon {
    color: var(--pastel-green-text);
    box-shadow: 0 10px 20px rgba(61, 97, 37, 0.15);
}
.plan-card:nth-child(2) .plan-link {
    color: var(--pastel-green-text);
}
.plan-card:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(61, 97, 37, 0.2);
}

.plan-card:nth-child(3) {
    background: var(--pastel-yellow-bg);
    border-color: var(--pastel-yellow-dark);
}
.plan-card:nth-child(3) .plan-icon {
    color: var(--pastel-yellow-text);
    box-shadow: 0 10px 20px rgba(143, 75, 22, 0.15);
}
.plan-card:nth-child(3) .plan-link {
    color: var(--pastel-yellow-text);
}
.plan-card:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(143, 75, 22, 0.2);
}

.plan-card:nth-child(4) {
    background: var(--pastel-purple-bg);
    border-color: var(--pastel-purple-dark);
}
.plan-card:nth-child(4) .plan-icon {
    color: var(--pastel-purple-text);
    box-shadow: 0 10px 20px rgba(98, 41, 164, 0.15);
}
.plan-card:nth-child(4) .plan-link {
    color: var(--pastel-purple-text);
}
.plan-card:nth-child(4):hover {
    box-shadow: 0 20px 40px rgba(98, 41, 164, 0.2);
}

.plan-card:nth-child(5) {
    background: var(--pastel-blue-bg);
    border-color: var(--pastel-blue-dark);
}
.plan-card:nth-child(5) .plan-icon {
    color: var(--pastel-blue-text);
    box-shadow: 0 10px 20px rgba(39, 89, 107, 0.15);
}
.plan-card:nth-child(5) .plan-link {
    color: var(--pastel-blue-text);
}
.plan-card:nth-child(5):hover {
    box-shadow: 0 20px 40px rgba(39, 89, 107, 0.2);
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.plan-card .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.plan-card .plan-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.plan-card:hover .plan-icon {
    transform: scale(1.1);
}

.plan-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.plan-card .plan-link {
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.plan-card:hover .plan-link {
    opacity: 1;
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-outline:hover {
    background: #f1f5f9;
    color: var(--text-dark);
    border-color: #94a3b8;
}

/* Footer */
.footer {
    background: #020617;
    padding: 60px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Animations & Faders */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fader-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.appear, .fader-element.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        padding: 10px 5%;
        gap: 8px;
        font-size: 0.75rem;
    }
    .top-bar-left, .top-bar-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    .right-nav ul {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .right-nav a:not(.btn-contacto) {
        font-size: 0.85rem;
    }
    .btn-contacto {
        font-size: 0.85rem;
        padding: 8px 18px;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .feature-card {
        padding: 20px 10px;
        border-radius: 16px;
    }
    .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }
    .feature-icon svg {
        width: 20px;
        height: 20px;
    }
    .feature-card h3 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    .feature-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    .plan-card {
        padding: 25px 15px;
    }
    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
    .poi-map {
        height: 65vh;
    }
    .poi-grid {
        gap: 15px;
    }
    .poi-card {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
    .poi-dist {
        font-size: 1.2rem;
    }
    .poi-name {
        font-size: 0.55rem;
    }
}

/* PDF Modal */
.pdf-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(5px); }
.pdf-modal.show { display: flex; align-items: center; justify-content: center; }
.pdf-modal-content { position: relative; width: 90%; height: 90%; background: #fff; border-radius: 12px; overflow: hidden; }
.pdf-modal-content iframe { width: 100%; height: 100%; border: none; }
.close-modal { position: absolute; top: 10px; right: 20px; color: #333; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 2001; }
.close-modal:hover { color: #000; text-decoration: none; cursor: pointer; }
