.home-page {
    --rt-surface: rgba(255, 255, 255, 0.93);
    --rt-surface-2: rgba(14, 25, 34, 0.86);
    --rt-border: rgba(255, 255, 255, 0.28);
    --rt-text: #f6f7f8;
    --rt-text-muted: rgba(246, 247, 248, 0.88);
    --rt-accent: #b9d3ea;
    --rt-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.home-page a:hover {
    opacity: 1;
}

.home-page .menu-nav {
    height: 96px;
    background: linear-gradient(90deg, rgba(15, 26, 35, 0.96) 0%, rgba(24, 44, 58, 0.95) 50%, rgba(15, 26, 35, 0.96) 100%);
    border-bottom: 1px solid var(--rt-border);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}

.home-page .nav-spacer {
    height: 96px;
}

.home-page .logo a {
    left: 2rem;
    font-family: "Outfit", sans-serif;
    font-size: 1.33rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: 999px;
    padding: 7px 10px !important;
}

.home-page .logo a:hover {
    background-color: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

.home-page .rss a {
    color: rgba(255, 255, 255, 0.86);
}

.home-page .rss a:hover {
    color: #ffffff;
}

.home-page .navbar li a,
.home-page .navbar-bottom li a {
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.home-page .navbar li a:hover,
.home-page .navbar-bottom li a:hover {
    border-bottom-color: var(--rt-accent);
    color: #ffffff;
}

.home-page .hero-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 1rem auto 0;
}

.home-page .hero-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
        radial-gradient(circle at 12% 16%, rgba(110, 163, 205, 0.24) 0%, rgba(110, 163, 205, 0) 44%),
        radial-gradient(circle at 82% 4%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 40%),
        linear-gradient(130deg, rgba(9, 17, 26, 0.97) 0%, rgba(18, 34, 48, 0.98) 54%, rgba(9, 17, 26, 0.97) 100%);
    box-shadow: var(--rt-shadow);
    padding: clamp(1.25rem, 3vw, 2rem);
    color: var(--rt-text);
}

.home-page .hero-kicker {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.home-page .hero-card h1 {
    margin: 0.85rem 0 0.7rem;
    max-width: 22ch;
    font-size: clamp(1.35rem, 2.6vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.home-page .hero-sub {
    margin: 0;
    max-width: 58ch;
    color: rgba(246, 247, 248, 0.82);
    line-height: 1.65;
    font-size: 0.98rem;
}

.home-page .hero-actions {
    margin-top: 1.05rem;
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.home-page .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.64rem 1.06rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    background: #edf4ff;
    color: #0e2234;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-page .hero-btn:hover {
    color: #0e2234;
    background: #dceafc;
}

.home-page .hero-btn.hero-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--rt-text);
}

.home-page .hero-btn.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.home-page .banner {
    width: calc(100% - 2rem);
    max-width: 1120px;
    margin: 1.2rem auto 0;
    padding: 2.2rem 1.25rem;
    border-radius: 18px;
    background-color: var(--rt-surface) !important;
    box-shadow: var(--rt-shadow);
    color: #111827;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.home-page .banner p {
    margin: 0;
}

.home-page .banner:hover {
    background-color: var(--rt-surface) !important;
    color: #111827;
}

.home-page .row-form {
    margin-top: 2.6rem;
}

.home-page .descripcion {
    margin-top: 1rem;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 1rem;
    line-height: 1.55;
    background-color: var(--rt-surface-2) !important;
    color: var(--rt-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.home-page .modern-profile-card {
    max-width: 340px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(16, 24, 36, 0.58);
    backdrop-filter: blur(4px);
    padding: 8px 14px 14px;
}

.home-page .modern-profile-card p {
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.home-page .home-sections {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.home-page .content-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    gap: 1.25rem;
}

.home-page .content-card {
    background: rgba(10, 19, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 1.55rem 1.4rem;
    color: var(--rt-text);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    scroll-margin-top: 120px;
}

.home-page .content-card h2 {
    margin: 0 0 0.78rem;
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    line-height: 1.28;
}

.home-page .content-card p {
    margin: 0 0 0.72rem;
    color: var(--rt-text-muted);
    line-height: 1.62;
    font-size: 0.98rem;
}

.home-page .content-card p:last-child {
    margin-bottom: 0;
}

.home-page .kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.72rem;
    padding: 0.26rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.83);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-page .timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-page .timeline-item {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.82rem 0.86rem;
}

.home-page .timeline-item strong {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}

.home-page .timeline-item p {
    margin-top: 0.48rem;
    margin-bottom: 0;
    font-size: 0.92rem;
}

.home-page .service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-page .service-item {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.9rem 0.95rem;
}

.home-page .service-item h3 {
    margin: 0;
    font-size: 0.97rem;
    color: #ffffff;
}

.home-page .service-item p {
    margin-top: 0.42rem;
    margin-bottom: 0;
    font-size: 0.92rem;
}

.home-page .photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-page .photo-item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.home-page .photo-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.home-page .photo-item.photo-item-logo img {
    object-fit: contain;
    background: #090b0f;
    padding: 0.9rem;
}

.home-page .photo-item figcaption {
    padding: 0.68rem 0.75rem 0.78rem;
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--rt-text-muted);
    min-height: 3.1rem;
    display: flex;
    align-items: center;
}

.home-page .section-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.home-page .section-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.62rem 1rem;
    text-decoration: none;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #0f1c2b;
    background: #e8eef6;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-page .section-btn:hover {
    color: #0f1c2b;
    background: #d8e6f6;
}

.home-page .section-btn.section-btn-muted {
    background: transparent;
    color: var(--rt-text);
}

.home-page .section-btn.section-btn-muted:hover {
    border-color: var(--rt-accent);
    color: var(--rt-accent);
    background: rgba(255, 255, 255, 0.07);
}

.home-page .site-footer {
    width: 100%;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(8, 12, 18, 0.92) 0%, rgba(12, 18, 26, 0.97) 100%);
    color: var(--rt-text);
}

.home-page .footer-inner {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.4rem 0 1.35rem;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 1.75rem;
}

.home-page .footer-brand h2 {
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.09em;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
}

.home-page .footer-brand p {
    margin: 0;
    max-width: 34ch;
    font-size: 0.95rem;
    color: var(--rt-text-muted);
    line-height: 1.65;
}

.home-page .footer-col h3 {
    margin: 0 0 0.62rem;
    font-size: 0.77rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: rgba(255, 255, 255, 0.62);
}

.home-page .footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .footer-list li {
    margin-bottom: 0.35rem;
}

.home-page .footer-list a {
    color: var(--rt-text);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-page .footer-list a:hover {
    color: var(--rt-accent);
}

.home-page .footer-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.home-page .footer-actions-col .section-btn {
    font-size: 0.84rem;
    padding: 0.54rem 0.9rem;
}

.home-page .footer-actions-col .section-btn.section-btn-muted {
    border-color: rgba(255, 255, 255, 0.28);
}

.home-page .footer-social {
    display: flex;
    gap: 0.9rem;
    margin-top: 0.45rem;
}

.home-page .footer-social li {
    margin-bottom: 0;
}

.home-page .footer-bottom {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.95rem 0 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.58);
}

@media screen and (max-width: 1051px) {
    .home-page .menu-nav {
        height: 84px;
    }

    .home-page .nav-spacer {
        height: 84px;
    }

    .home-page .logo a {
        font-size: 1.2rem;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .home-page .rss {
        display: none;
    }

    .home-page .banner {
        margin-top: 0.9rem;
        padding: 1.45rem 1rem;
        font-size: 1.05rem;
    }

    .home-page .hero-shell {
        margin-top: 0.8rem;
    }

    .home-page .hero-card h1 {
        max-width: 100%;
    }

    .home-page .hero-sub {
        max-width: 100%;
    }

    .home-page .row-form {
        margin-top: 1.75rem;
    }

    .home-page .content-shell {
        gap: 0.95rem;
    }

    .home-page .content-card {
        padding: 1.2rem 1rem;
        scroll-margin-top: 100px;
    }

    .home-page .timeline-grid,
    .home-page .service-grid,
    .home-page .photo-grid {
        grid-template-columns: 1fr;
    }

    .home-page .photo-item img {
        height: 188px;
    }

    .home-page .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.85rem 0 1rem;
    }
}
