/* ============================================ */
/* VARIABLES & CUSTOM PROPERTIES */
/* ============================================ */
:root {
    --color-primary: #00b1ba;
    --color-primary-dark: #088389;
    --color-blue-dark: #00008B;
    --color-purple: #4B0082;
    --color-orange: #ff6b35;
    --color-green: #28a745;
    --color-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --color-medium-gray: #6c757d;
    --color-dark-gray: #2c3e50;
    --color-text: #212529;
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Poppins', 'Georgia', serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

/* ============================================ */
/* GLOBAL STYLES */
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ============================================ */
/* TOP BAR */
/* ============================================ */
.top-bar {
    background: var(--color-blue-dark) !important;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--color-primary);
}

/* ============================================ */
/* NAVBAR */
/* ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-text strong {
    font-size: 1.5rem;
    line-height: 1.2;
}

.brand-text small {
    font-size: 0.85rem;
    line-height: 1;
}

.nav-link {
    font-weight: 600;
    color: var(--color-text) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary) !important;
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 5rem 0;
    position: relative;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ============================================ */
/* QUICK ACCESS CARDS */
/* ============================================ */
.quick-access-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: block;
    height: 100%;
    border: 1px solid transparent;
}

.quick-access-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
    color: var(--color-text);
    text-decoration: none;
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
}

.bg-primary {
    background: var(--color-primary) !important;
}

.bg-orange {
    background: var(--color-orange) !important;
}

.bg-green {
    background: var(--color-green) !important;
}

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

.quick-access-card:hover .link-text {
    color: var(--color-primary);
}

/* ============================================ */
/* SECTION TITLES */
/* ============================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 1rem;
}

.text-white .section-title {
    color: white !important;
}

/* ============================================ */
/* SERVICE ITEMS */
/* ============================================ */
.service-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-light-gray);
    border-radius: 1rem;
    transition: var(--transition);
}

.service-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.service-content h4 {
    color: var(--color-text);
    font-weight: 600;
}

/* ============================================ */
/* MISSION SECTION */
/* ============================================ */
.bg-green-gradient {
    background: linear-gradient(135deg, var(--color-green) 0%, #218838 100%) !important;
}

.feature-box {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 500;
}

.feature-box i {
    color: white;
}

/* ============================================ */
/* NEWS CARDS */
/* ============================================ */
.news-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: var(--color-medium-gray);
}

.news-content h5 {
    font-weight: 600;
    color: var(--color-text);
}

/* ============================================ */
/* TESTIMONIAL BOX */
/* ============================================ */
.testimonial-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ============================================ */
/* HELP CARDS */
/* ============================================ */
.help-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.help-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.help-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.site-footer {
    background: var(--color-dark-gray) !important;
    color: white;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.site-footer a:hover {
    color: var(--color-primary);
}

.social-links a {
    color: white;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

/* ============================================ */
/* BUTTONS */
/* ============================================ */
.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: white;
}

.btn-light {
    background: white;
    color: var(--color-primary);
}

.btn-light:hover {
    background: var(--color-light-gray);
    color: var(--color-primary-dark);
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-banner {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .brand-text {
        margin-top: 0.5rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .quick-access-card,
    .help-card {
        padding: 2rem 1.5rem;
    }
}

/* ============================================ */
/* UTILITY CLASSES */
/* ============================================ */
.shadow {
    box-shadow: var(--shadow-md);
}

.rounded-3 {
    border-radius: 1rem;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .top-bar {
        display: none !important;
    }
}


.logo-whatsapp {
    position: fixed;
    bottom: 120px;       /* distancia desde abajo */
    right: 20px;        /* distancia desde la derecha */
    width: 80px;        /* tamaño del ícono */
    height: auto;
    z-index: 1000;      /* se mantiene visible sobre otros elementos */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .logo-whatsapp:hover {
    transform: scale(1.1); 
  }
  
  /* versión responsive: más pequeño en móviles */
  @media (max-width: 768px) {
    .logo-whatsapp {
      width: 70px;
      bottom: 105px;
      right: 15px;
    }
  }
  