* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
            background: #ffffff;
            color: #1a1a1a;
            line-height: 1.6;
            margin: 0;
        }

/* Header Institucional */
header {
    background: black;
    border-bottom: 4px solid #2073b9;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-institucional {
    width: 240px;
    height: 80px;
    background: black;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.header-text {
    flex: 1;
}

.institution-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.institution-subtitle {
    font-size: 0.95rem;
    color: #aaaaaa;
    font-weight: 300;
}

/* Main Content */
        main {
            flex: 1 0 auto;
            max-width: 1200px;
            margin: 60px auto;
            padding: 0 40px;
        }

.page-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.page-description {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 50px;
    max-width: 700px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #2073b9;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: #2073b9;
    box-shadow: 0 8px 25px rgba(32, 115, 185, 0.15);
    transform: translateY(-3px);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #f5f5f5;
    border: 2px solid #2073b9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #2073b9;
    transform: scale(1.05);
}

.service-header {
    margin-bottom: 20px;
}

.service-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2073b9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.service-description {
    font-size: 1rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2073b9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-link::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link::after {
    transform: translateX(5px);
}

/* Info Section */
.info-section {
    background: #f8f9fa;
    border-left: 4px solid #2073b9;
    padding: 30px 40px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.info-section h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-section p {
    color: #666666;
    margin-bottom: 10px;
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section li {
    padding: 8px 0;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section li::before {
    content: '✓';
    color: #2073b9;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
        footer {
            background: #1a1a1a;
            color: #aaaaaa;
            padding: 40px 0;
            margin-top: auto;
        }

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #2073b9;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 30px 40px 0;
    border-top: 1px solid #333333;
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        flex-direction: column;
        text-align: center;
    }

    main {
        padding: 0 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .footer-container {
        padding: 0 20px;
        grid-template-columns: 1fr;
    }
}
.logo-image, img.logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: clamp(60px, 18vw, 140px);
  object-fit: contain;
}

.logo-placeholder {
  max-width: 480px;
  padding: 6px;
}

@media (max-width: 480px) {
  .logo-image, img.logo {
    max-height: 90px;
  }
}

/* Make the header banner clickable but keep styles */
.banner-link {
    display: flex;
    align-items: center;
    gap: 30px;
    text-decoration: none;
    color: inherit;
}

.banner-link:hover {
    cursor: pointer;
}

/* Ensure header-container styles still apply if used on an <a> */
.header-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

