/* ============================================================
   RUI AERO LTD - SIMPLE CONTENT PAGE STYLES
   File: css/pages.css
============================================================ */

.simple-page {
    min-height: 680px;
    padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
    background: linear-gradient(180deg, #4d88d4 0%, #3f78c4 100%);
}

.simple-panel {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: rgba(7, 27, 61, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.simple-panel h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.simple-panel p {
    max-width: 780px;
    margin-bottom: 1rem;
}

.simple-panel ul {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
    list-style: disc;
    padding-left: 1.2rem;
}

/* ============================================================
   STABILISATION / QA PATCH - SIMPLE PAGES + SERVICES ANCHORS
   Purpose:
   Gives placeholder pages a stable, professional visual baseline
   and prepares the Services page for homepage card anchor links.
============================================================ */
.simple-page {
    min-height: 680px;
    padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
    background:
        radial-gradient(circle at 88% 8%, rgba(174, 182, 191, 0.22), transparent 18rem),
        linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    color: #071b3d;
}

.simple-panel {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(1.35rem, 3vw, 2.25rem);
    border: 1px solid rgba(174, 182, 191, 0.42);
    border-radius: 26px;
    background: linear-gradient(145deg, #ffffff 0%, #f6f8fb 100%);
    box-shadow: 0 18px 44px rgba(23, 35, 43, 0.08);
}

.simple-panel h1,
.simple-panel h2,
.simple-panel h3 {
    color: #071b3d;
}

.simple-panel h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.simple-panel h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.1;
}

.simple-panel p,
.simple-panel li {
    color: rgba(7, 27, 61, 0.72);
}

.page-eyebrow {
    margin-bottom: 0.65rem !important;
    color: #3475c8 !important;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.page-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.5rem 0 2.25rem;
}

.page-anchor-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(174, 182, 191, 0.55);
    border-radius: 999px;
    background: linear-gradient(145deg, #ffffff 0%, #e6e8ea 100%);
    color: #071b3d;
    font-weight: 750;
    text-decoration: none;
}

.page-anchor-nav a:hover {
    border-color: rgba(52, 117, 200, 0.45);
    transform: translateY(-1px);
}

.service-group {
    padding: 2rem 0;
    border-top: 1px solid rgba(174, 182, 191, 0.35);
    scroll-margin-top: 9rem;
}

.service-anchor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-anchor-card {
    min-height: 215px;
    padding: 1.2rem;
    border: 1px solid rgba(174, 182, 191, 0.42);
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #f1f3f6 100%);
    box-shadow: 0 14px 32px rgba(23, 35, 43, 0.07);
    scroll-margin-top: 9rem;
}

.service-anchor-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border: 1px solid rgba(174, 182, 191, 0.55);
    border-radius: 14px;
    background: linear-gradient(145deg, #e6e8ea 0%, #c7ccd1 100%);
    color: #071b3d;
}

.service-anchor-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.05rem;
    line-height: 1.2;
}

@media (max-width: 980px) {
    .service-anchor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .simple-page {
        padding-inline: 1rem;
    }

    .page-anchor-nav a {
        width: 100%;
    }

    .service-anchor-grid {
        grid-template-columns: 1fr;
    }

    .service-anchor-card {
        min-height: auto;
    }
}
