/* Portada personal: cabecera oscura y cuerpo claro. */

body {
    font-family: "Inter", sans-serif;
    color: #1c1f24;
    background: #f4f5f7;
}

.navbar-custom {
    background: #121418;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.navbar-custom .navbar-collapse {
    background: #121418;
}

.main-wrapper {
    padding-top: 92px;
}

.main-wrapper-home {
    padding-top: 0;
    background: #f4f5f7;
}

.home-hero {
    background: #121418;
    color: #f5f7fa;
    padding: 118px 0 64px;
}

.home-hero-logo {
    width: min(240px, 70vw);
    height: auto;
}

.home-hero-title {
    margin: 0 0 0.75rem;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1;
}

.home-hero-lead {
    max-width: 34rem;
    margin: 0 0 1.5rem;
    color: rgba(245, 247, 250, 0.78);
    font-size: 1.05rem;
    line-height: 1.55;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.home-btn-solid {
    background: #1d6fe0;
    color: #fff;
}

.home-btn-solid:hover {
    background: #185fbf;
    color: #fff;
}

.home-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.home-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.home-interests {
    background: #f4f5f7;
    padding: 1.75rem 0 0.25rem;
}

.interest-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 1.35rem 0.9rem 1.2rem;
    border: 1px solid #e6e8ee;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
}

.interest-card:hover {
    border-color: #1d6fe0;
    color: inherit;
}

.interest-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    background: rgba(29, 111, 224, 0.1);
    color: #1d6fe0;
    font-size: 1.15rem;
}

.interest-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.interest-text {
    margin-top: 0.25rem;
    color: #667085;
    font-size: 0.86rem;
    line-height: 1.4;
}

.home-section {
    background: #f4f5f7;
    padding: 2.25rem 0;
}

.home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.home-kicker-dark {
    display: block;
    margin-bottom: 0.2rem;
    color: #1d6fe0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-section h2 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.home-link {
    color: #1d6fe0;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.home-link:hover {
    color: #185fbf;
}

.home-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.home-card:hover {
    border-color: #c5d8f6;
    color: inherit;
}

.home-card-media {
    aspect-ratio: 16 / 9;
    background: #dfe6ee;
    overflow: hidden;
}

.home-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-card-media-contain {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 0.85rem;
    background: #eef2f6;
}

.home-card-media-contain img {
    width: auto;
    height: auto;
    max-width: 70%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.12);
}

.home-feature {
    display: grid;
    grid-template-columns: 240px 1fr;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.home-feature:hover {
    border-color: #c5d8f6;
    color: inherit;
}

.home-feature-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #eef2f6;
}

.home-feature-media img {
    width: auto;
    max-width: 100%;
    max-height: 320px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
}

.home-feature-body {
    padding: 1.5rem 1.6rem;
}

.home-feature-body h3 {
    margin: 0 0 0.45rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.home-feature-body p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.home-card-body {
    padding: 1rem 1.05rem 1.15rem;
}

.home-card-meta {
    margin-bottom: 0.45rem;
    color: #1d6fe0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-card h3 {
    margin: 0 0 0.4rem;
    color: #1c1f24;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.home-card p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.5;
}

.home-quick-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
    padding: 1rem;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.home-quick-link:hover {
    border-color: #1d6fe0;
    color: inherit;
}

.home-quick-link h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.home-quick-link p {
    margin: 0.15rem 0 0;
    color: #667085;
    font-size: 0.86rem;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    color: #fff;
    font-weight: 650;
}

.site-footer-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .navbar-custom .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.5rem 0 0.75rem;
    }

    .home-hero {
        padding-top: 104px;
        text-align: center;
    }

    .home-hero-lead,
    .home-hero-actions {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-actions {
        justify-content: center;
    }

    .home-feature {
        grid-template-columns: 1fr;
    }
}

.breadcrumb-custom {
    margin-bottom: 1.1rem;
    color: #667085;
}

.breadcrumb-custom a {
    color: #667085;
}

.breadcrumb-custom .active {
    color: #1c1f24;
}

.page-section {
    padding: 0.25rem 0 2.75rem;
}

.page-head {
    margin-bottom: 1.35rem;
}

.page-head h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.page-head p {
    max-width: 40rem;
    margin: 0.55rem 0 0;
    color: #667085;
    font-size: 1.02rem;
    line-height: 1.55;
}

.page-block-title {
    margin: 0 0 0.9rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.page-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
}

.page-filter {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.85rem;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    background: #fff;
    color: #1c1f24;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.page-filter:hover,
.page-filter.is-active {
    border-color: #1d6fe0;
    background: #1d6fe0;
    color: #fff;
}

.page-prose,
.page-article,
.page-form {
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
}

.page-prose,
.page-article {
    padding: 1.5rem 1.4rem 1.7rem;
}

.page-article h1 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
    margin-bottom: 1.1rem;
    color: #1d6fe0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-cover {
    overflow: hidden;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    background: #eef2f6;
}

.page-cover img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
}

.page-prose,
.page-article .content-html,
.page-article .lead {
    color: #3c4450;
    font-size: 1.02rem;
    line-height: 1.7;
}

.page-prose img,
.page-article .content-html img {
    max-width: 100%;
    height: auto;
}

.page-section .home-feature-media {
    border: 1px solid #e4e7ec;
    border-radius: 16px;
}

.page-downloads {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
}

.page-downloads h2 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.page-downloads .home-btn {
    width: 100%;
}

.shot-card {
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #eef2f6;
}

.shot-card img {
    display: block;
    width: 100%;
    height: auto;
}

.page-prose a {
    color: #1d6fe0;
}

.company-grid {
    margin-top: 1.25rem;
}

.company-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1.35rem 1rem 1.2rem;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.company-tile:hover {
    border-color: #1d6fe0;
    color: inherit;
}

.company-tile img {
    max-width: 150px;
    max-height: 72px;
    object-fit: contain;
}

.company-tile h3 {
    margin: 0.85rem 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.company-tile p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.45;
}

.page-form {
    max-width: 38rem;
    padding: 1.35rem 1.25rem 1.15rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
    gap: 2.25rem 2.5rem;
    align-items: start;
}

.contact-layout .page-form {
    max-width: none;
}

.contact-aside p {
    margin: 0;
    color: #3c4450;
    font-size: 1.05rem;
    line-height: 1.65;
}

.contact-mail {
    display: inline-flex;
    margin-top: 1rem;
    color: #1d6fe0;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-mail:hover {
    color: #185fbf;
}

.contact-aside-note {
    margin-top: 1.15rem;
    color: #667085;
    font-size: 0.92rem;
}

.site-contact .form-label {
    font-size: 0.88rem;
    font-weight: 600;
}

.site-contact .form-control {
    border-color: #e4e7ec;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
}

.site-contact .form-control:focus {
    border-color: #1d6fe0;
    box-shadow: 0 0 0 0.2rem rgba(29, 111, 224, 0.15);
}

.contact-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.contact-captcha img {
    border: 1px solid #e4e7ec;
    border-radius: 8px;
}

.contact-captcha .form-control {
    max-width: 11rem;
}

.contact-legal {
    margin: 0.15rem 0 1rem;
    color: #667085;
    font-size: 0.82rem;
    line-height: 1.55;
}

.contact-legal a,
.site-contact .form-check a {
    color: #1d6fe0;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.page-section .btn-primary,
.page-form .btn-primary {
    background: #1d6fe0;
    border-color: #1d6fe0;
}

.page-section .btn-primary:hover,
.page-form .btn-primary:hover {
    background: #185fbf;
    border-color: #185fbf;
}
