/* Prime Energy Services - true glass cards (backdrop-filter brightness match) */

.pes-section {
    padding: 90px 40px;
    background:
        radial-gradient(ellipse at 15% 8%, rgba(47,143,224,0.35), transparent 42%),
        radial-gradient(ellipse at 88% 92%, rgba(6,32,66,0.55), transparent 45%),
        linear-gradient(120deg, #164E84 0%, #0B3662 45%, #0C4881 100%);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}
.pes-section *,
.pes-section *::before,
.pes-section *::after {
    box-sizing: border-box;
}

.pes-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px auto;
    position: relative;
    z-index: 1;
}
.pes-eyebrow {
    color: #6fa5d8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.pes-title {
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.25;
}
.pes-subtitle {
    color: #bad0e6;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.pes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pes-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) brightness(1.3) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) brightness(1.3) saturate(1.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 10px 24px rgba(3, 15, 32, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pes-card:hover {
    transform: translateY(-4px);
    backdrop-filter: blur(20px) brightness(1.4) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) brightness(1.4) saturate(1.2);
    box-shadow: 0 16px 32px rgba(3, 15, 32, 0.32);
}

.pes-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #3F70A8;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.pes-icon-wrap svg {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pes-card-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px 0;
}
.pes-card-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

.pes-card-cta {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pes-card-cta:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
.pes-cta-btn {
    display: inline-block;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 13px 28px;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.pes-cta-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
    .pes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pes-grid { grid-template-columns: 1fr; }
    .pes-title { font-size: 26px; }
    .pes-section { padding: 60px 20px; }
}
