/* =====================================================
   VARIABLES GLOBALES
===================================================== */
:root {
    --color-primary: #1e4fa1;
    --color-secondary: #f4c430;
    --color-danger: #e74c3c;
    --color-dark: #1c1c1c;
    --color-light: #f8f9fa;
    --color-muted: #6c757d;

    --font-primary: 'Poppins', system-ui, -apple-system, sans-serif;

    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;

    --shadow-sm: 0 4px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.12);
}

/* =====================================================
   RESET / BASE
===================================================== */
body {
    font-family: var(--font-primary);
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar-brand {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.navbar .nav-link {
    font-weight: 500;
    color: #444;
    margin-left: 0.75rem;
}

.navbar .nav-link:hover {
    color: var(--color-primary);
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero-section {
    height: 520px;
    overflow: hidden;
    position: relative;
}

.hero-section img {
    object-fit: cover;
    height: 100%;
}

.hero-overlay {
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)
    );
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* =====================================================
   CARDS DE VALORES
===================================================== */
.card {
    border-radius: var(--radius-lg);
}

.card img {
    filter: brightness(0) invert(1);
}

.card.bg-warning img {
    filter: none;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.95rem;
}

/* =====================================================
   PROGRAMAS / TABS
===================================================== */
.nav-pills .nav-link {
    border-radius: 50px;
    padding: 0.5rem 1.4rem;
    font-weight: 500;
    color: var(--color-muted);
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    margin: 0 0.3rem;
}

.nav-pills .nav-link.active {
    background-color: var(--color-primary);
    color: #fff;
}

.carousel {
    max-width: 720px;
    margin: auto;
}

.carousel img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-height: 300px;
    object-fit: cover;
}

.carousel h5 {
    font-weight: 600;
}

/* =====================================================
   TESTIMONIOS
===================================================== */
.blockquote {
    background-color: var(--color-light);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.blockquote p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.blockquote-footer {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* =====================================================
   FOOTER
===================================================== */
footer {
    font-size: 0.9rem;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

footer iframe {
    border: 0;
}

footer a {
    color: #fff;
    font-size: 1.2rem;
}

footer a:hover {
    color: var(--color-secondary);
}

footer .border-top {
    border-color: rgba(255,255,255,0.2) !important;
}

/* =====================================================
   BOTONES
===================================================== */
.btn-warning {
    background-color: var(--color-secondary);
    border: none;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #e0b826;
}

/* =====================================================
   UTILIDADES
===================================================== */
.shadow-soft {
    box-shadow: var(--shadow-sm);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}
/* =========================================
   IMAGE CARD (igual que las cards)
========================================= */
.image-card {
    height: 400px;
    border-radius: 22px; /* o var(--radius-lg) */
    overflow: hidden;    /* CLAVE */
    background-color: #000;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* evita espacios fantasma */
}
/* =========================================
   NUESTRO EQUIPO
========================================= */
.team-card {
    border-radius: 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel img,
.team-img img,
.image-card img {
    filter: none !important;
}