:root { --es-accent: #2eb8c2; --es-dark: #0d1f20; }

/* ==========================================================
   Page hero (shared by all inner pages)
   Follows the Portfolio page header: shore photo + teal overlay,
   centered two-line headline, wave into the next section.
   ========================================================== */
.es-pagehero {
    position: relative;
    overflow: hidden;
    background: var(--es-dark);
    color: #fff;
    text-align: center;
}
.es-pagehero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.es-pagehero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8,22,30,0.55) 0%, rgba(8,22,30,0.25) 45%, rgba(8,22,30,0.65) 100%),
        linear-gradient(135deg, rgba(13,31,32,0.90) 0%, rgba(30,75,77,0.70) 50%, rgba(15,45,61,0.78) 100%);
}
.es-pagehero__content {
    position: relative;
    z-index: 2;
    padding: 130px 20px 170px;
    max-width: 1140px;
    margin: 0 auto;
}
.es-pagehero h1 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-weight: 900;
    font-size: clamp(2.5rem, 6.5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -1.5px;
    margin: 0;
}
.es-pagehero h1 span { color: #2eb8c2; white-space: nowrap; }
.es-pagehero p {
    font-family: 'Roboto', sans-serif;
    color: rgba(255,255,255,0.78);
    font-size: clamp(0.98rem, 1.6vw, 1.1rem);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}
.es-pagehero__wave {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    z-index: 2;
    line-height: 0;
}
.es-pagehero__wave svg { display: block; width: 100%; height: 90px; }

@media (max-width: 767px) {
    .es-pagehero__content { padding: 84px 20px 108px; }
    .es-pagehero h1 { letter-spacing: -1px; }
    .es-pagehero__wave svg { height: 56px; }
}


/* Full-height variant (Coming Soon) */
.es-pagehero--full { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; }
.es-pagehero--full .es-pagehero__content { padding: 80px 20px 140px; }
.es-pagehero--full p { margin-top: 20px; margin-bottom: 32px; }
.es-pagehero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.es-pagehero__social { margin-top: 40px; display: flex; gap: 12px; justify-content: center; }
.es-pagehero__social a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; font-size: 1rem; transition: background 0.2s, border-color 0.2s;
}
.es-pagehero__social a:hover { background: var(--es-accent); border-color: var(--es-accent); color: #fff; }
