/* =============================================
   LONDON WATER DELIVERY — pages.css
   Shared styles for all subpages
   ============================================= */

/* ---- Page hero (subpage blue gradient hero) ---- */
.page-hero {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #109AD6 0%, #1A559B 100%);
    position: relative;
    overflow: hidden;
}
.page-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 80px;
}
.page-hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}
.page-hero p {
    color: rgba(255,255,255,0.88);
    font-size: 18px;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
    font-weight: 300;
}
.page-hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.page-hero-deco--1 {
    right: -100px;
    top: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
}
.page-hero-deco--2 {
    right: 120px;
    top: 80px;
    width: 260px;
    height: 260px;
    background: rgba(255,255,255,0.06);
}
.page-hero-deco--3 {
    left: -60px;
    bottom: -60px;
    width: 320px;
    height: 320px;
    background: rgba(255,255,255,0.04);
}
.page-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}
.page-hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}
.page-hero-breadcrumbs {
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    margin-top: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
}
.page-hero-breadcrumbs a {
    color: rgba(255,255,255,0.8);
}
.page-hero-breadcrumbs span {
    color: rgba(255,255,255,0.4);
}
.page-hero-cat-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.page-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    flex-wrap: wrap;
}
.page-hero-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    display: inline-block;
}

/* ---- Page intro (simple white top, no hero) ---- */
.page-intro {
    background: #fff;
    padding-top: 60px;
    padding-bottom: 100px;
}
.page-intro-title {
    text-align: center;
    margin-bottom: 12px;
}
.page-intro-subtitle {
    text-align: center;
    color: #5a6a80;
    font-size: 17px;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 48px;
}

/* ---- Section padding helpers ---- */
.section-pad-lg  { padding: 80px 0; }
.section-pad-md  { padding: 60px 0; }
.section-pad-sm  { padding: 40px 0; }
.section-pad-top { padding-top: 80px; }
.section-bg-white { background: #fff; }
.section-bg-light { background: #f7fbff; }

/* ---- Two-column layout ---- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.two-col--wide {
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}
.two-col--text-img {
    gap: 64px;
}

.page-template-contact-us h1.section-title.contact-page-title.reveal.is-visible {
    font-size: 32px;
    text-align: left;
    padding: 0;
    margin: 0;
}
@media (max-width: 860px) {
    .two-col,
    .two-col--wide,
    .two-col--text-img { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Three-column grid ---- */
.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 860px) {
    .three-col { grid-template-columns: 1fr; }
}

/* ---- Four-column grid ---- */
.four-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
@media (max-width: 680px) {
    .four-col { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Card ---- */
.card {
    background: #fff;
    border-radius: 0px 52px;
    box-shadow: 0px 8px 64px rgba(39, 88, 135, 0.12);
    padding: 58px 74px;
}
.card--light {
    background: #f7fbff;
    border: 1.5px solid #dce8f6;
    box-shadow: none;
}
.card--blue {
    background: linear-gradient(135deg, #109AD6, #1A559B);
    color: #fff;
}
.card--green {
    background: linear-gradient(135deg, #4a9400, #68BC06);
    color: #fff;
}
@media (max-width: 860px) {
    .card { padding: 32px 20px; }
}

/* ---- Section label (pill above heading) ---- */
.section-label {
    display: inline-block;
    background: #e8f4fd;
    color: #1361AB;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 5px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-label--white {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* ---- Icon circle ---- */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #109AD6, #1A559B);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-circle--lg {
    width: 72px;
    height: 72px;
}
.icon-circle--white {
    background: rgba(255,255,255,0.15);
}
.icon-circle--light {
    background: #f0f5fb;
}

/* ---- Rounded image ---- */
.img-rounded {
    border-radius: 0px 48px;
    overflow: hidden;
    box-shadow: 0px 8px 64px rgba(39, 88, 135, 0.14);
    height: 320px;
}
.img-rounded img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 860px) {
    .img-rounded { height: 240px; }
}

/* ---- Badge pill ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.badge--blue  { background: #e8f4fd; color: #1361AB; }
.badge--green { background: #e6f9d0; color: #3a7000; }
.badge--green-included { background: #e6f9d0; border: 1px solid #68BC06; color: #3a7000; }
.badge--orange { background: #fff3e0; border: 1px solid #ffc77a; color: #b86000; }
.badge--hiring { background: rgba(104,188,6,0.3); border: 1px solid rgba(104,188,6,0.5); color: #d4f7a0; }

/* ---- Checklist ---- */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1a2030;
}

/* ---- Contact info item ---- */
.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.contact-item__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #157ebd;
    margin-bottom: 4px;
}
.contact-item__value {
    font-size: 16px;
    font-weight: 500;
    color: #1a2030;
    text-decoration: none;
    transition: color 0.2s;
}
a.contact-item__value:hover { color: #147FBF; }

/* ---- Social icons ---- */
.social-icons {
    display: flex;
    gap: 12px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a6a80;
    font-size: 16px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.social-icon:hover { border-color: #147FBF; color: #147FBF; }


.contact-sidebar .fa-instagram:before {
    color: #157fbf;
    font-size: 26px;
}

.contact-sidebar .fa-linkedin-in:before {
    color: #157fbf;
    font-size: 20px;
}

.contact-sidebar .fa-facebook-f:before {
    color: #157fbf;
}



/* ---- Form inputs (contact / application) ---- */
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #5a6a80;
    margin-bottom: 6px;
}
.field-input,
.field-select,
.field-textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #dce6f0;
    border-radius: 10px;
    font-size: 15px;
    color: #1a2030;
    outline: none;
    background: #fafcff;
    transition: border-color 0.2s;
    font-family: inherit;
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus { border-color: #147FBF; }
.field-select { appearance: none; cursor: pointer; }
.field-textarea { resize: vertical; }
.field-input.is-invalid,
.field-select.is-invalid,
.field-textarea.is-invalid {
    border-color: #e05c40;
    background: #fff8f6;
}
.field-error-msg {
    display: block;
    color: #c0392b;
    font-size: 12px;
    margin-top: 5px;
}
.check-item.is-invalid .check-box,
label:has(input[type="checkbox"].is-invalid) {
    outline: 1.5px solid #e05c40;
    outline-offset: 3px;
    border-radius: 4px;
}
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.field-group { margin-bottom: 16px; }
@media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; }
}

/* ---- File upload area ---- */
.file-upload-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1.5px dashed #dce6f0;
    border-radius: 10px;
    cursor: pointer;
    background: #fafcff;
    transition: border-color 0.2s;
    font-size: 14px;
    color: #5a6a80;
}
.file-upload-label:hover { border-color: #147FBF; }

/* ---- Alert boxes ---- */
.alert-success {
    background: #f0fae6;
    border: 1.5px solid #68BC06;
    border-radius: 12px;
    padding: 24px 28px;
    text-align: center;
}
.alert-success__title { font-weight: 700; color: #1a3010; font-size: 18px; margin-bottom: 6px; }
.alert-success__text  { color: #3a6010; font-size: 14px; line-height: 1.6; }
.alert-error {
    background: #fff3f0;
    border: 1.5px solid #e05c40;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #c0392b;
}

/* ---- FAQ accordion ---- */
.faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}
.faq-nav-btn {
    background: #f0f5fb;
    border-radius: 100px;
    padding: 16px 22px;
    font-size: 16px;
    font-weight: 500;
    color: #525861;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-family: inherit;
}
.faq-nav-btn:hover,
.faq-nav-btn.is-active {
  background: linear-gradient(90deg, #109AD6 0%, #1A559B 100%);
    color: #fff;
}

.faq-group { opacity: 1; }
.faq-group-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2030;
    margin-bottom: 24px;
}
.faq-item { border-bottom: 1px solid #e8eef6; }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    color: #1a2030;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
}
.faq-question:hover,
.faq-question[aria-expanded="true"] { color: #1670b2; }
.faq-icon {
    flex-shrink: 0;
    transition: transform 0.45s ease;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.55s ease, opacity 0.45s ease;
    font-size: 16px;
    color: #5a6a80;
    line-height: 1.6;
    font-weight: 300;
}
.faq-answer a { color: #1361AB; text-decoration: underline; }
.faq-answer ul { padding-left: 20px; list-style: disc; margin-top: 8px; }
.faq-answer li { margin-bottom: 4px; }
.faq-answer.is-open { max-height: 600px; opacity: 1; }
.faq-answer-inner { padding: 0 0 20px; }

/* ---- CTA box (blue) ---- */
.cta-box {
    background: linear-gradient(135deg, #109AD6, #1A559B);
    border-radius: 0px 28px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}
.cta-box h3    { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.cta-box p     { color: rgba(255,255,255,0.95); font-size: 16px; margin-bottom: 24px; }
.cta-box__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Stats strip ---- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.stats-strip__item {
    padding: 28px 20px;
    text-align: center;
}
.stats-strip__item:last-child { border-right: none; }
.stats-strip__number { font-size: 40px; font-weight: 700; color: #3881bf; line-height: 1; }
.stats-strip__label {
    font-size: 20px;
    color: #283d4e;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 6px;
}
@media (max-width: 680px) {
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stats-strip__item:nth-child(2) { border-right: none; }
    .stats-strip__item:nth-child(3),
    .stats-strip__item:nth-child(4) { border-top: 1px solid #e8eef6; }
}

.page-template-clients-reviews section#clients {
    padding-bottom: 70px;
    padding-top: 60px;
}

/* ---- Careers: job accordion ---- */
.job-item {
    background: #fff;
    border-radius: 0px 20px;
    margin-bottom: 12px;
    overflow: hidden;
}
.job-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}
.job-toggle__title { font-size: 18px; font-weight: 600; color: #1a2030; }
.job-toggle__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.job-chevron { flex-shrink: 0; transition: transform 0.45s ease; }
.job-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.55s ease, opacity 0.45s ease;
}
.job-body-inner {
    padding: 0 28px 28px;
}
.job-body-inner p {
    color: #5a6a80;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 20px;
}
.job-body-footer {
    border-top: 1px solid #e8eef6;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.about-work-mini-card__emoji img {
    margin: auto;
}

/* ---- Application form card ---- */
.apply-form-card {
    background: #fff;
    border-radius: 0px 32px;
    box-shadow: 0px 8px 64px rgba(39, 88, 135, 0.10);
    padding: 48px 44px;
}
@media (max-width: 600px) {
    .apply-form-card { padding: 28px 20px; }
}

/* ---- Blog / article ---- */
.blog-page {
    background: #fff;
    padding-top: 60px;
    padding-bottom: 100px;
}
.blog-page-title {
    text-align: center;
    margin-bottom: 12px;
}
.blog-page-subtitle {
    font-size: 17px;
    line-height: 1.7;
    max-width: 620px;
    text-align: center;
    margin: 20px auto 50px;
    color: #5a6a80;
}

/* ---- Single article ---- */
.article-page {
    background: #fff;
    padding-top: 40px;
}
.article-page .container { max-width: 860px; }
.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5a6a80;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.article-breadcrumbs a { color: #5a6a80; text-decoration: underline; }
.article-title {
    font-size: 38px;
    font-weight: 700;
    color: #1a2030;
    line-height: 1.2;
    margin-bottom: 28px;
}
.article-featured-img {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}
.article-featured-img img { width: 100%; height: auto; display: block; }
.article-date {
    font-size: 13px;
    font-weight: 700;
    color: #147FBF;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.article-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e8eef6;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.article-tags__label { font-size: 13px; color: #a0aab8; }
.article-tag {
    background: #f0f5fb;
    color: #5a6a80;
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}
.article-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e8eef6;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.article-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1361AB;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    max-width: 45%;
}
.article-nav a:last-child { margin-left: auto; text-align: right; }
.article-content { font-size: 17px; line-height: 1.9; color: #2a3548; font-weight: 300; }
.article-content h2 { font-size: 24px; font-weight: 700; color: #1a2030; margin: 36px 0 12px; }
.article-content h3 { font-size: 20px; font-weight: 600; color: #1a2030; margin: 28px 0 10px; }
.article-content p  { margin-bottom: 20px; }
.article-content a  { color: #1361AB; text-decoration: underline; text-underline-offset: 3px; }
.article-content ul,
.article-content ol { padding-left: 22px; margin-bottom: 20px; list-style: revert; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote { border-left: 3px solid #109AD6; padding: 14px 20px; margin: 28px 0; background: #f0f7ff; border-radius: 0 10px 10px 0; font-style: italic; color: #1a2030; }
.article-content blockquote p { margin: 0; }
.article-content img { border-radius: 12px; max-width: 100%; margin: 24px 0; }
.article-content strong { font-weight: 700; }
.article-content hr { border: none; border-top: 1px solid #e8eef6; margin: 36px 0; }

/* ---- Contact page ---- */
.contact-page { padding: 60px 0 100px; background: #fff; }
.contact-page-title { margin-bottom: 40px; }
.contact-sidebar { padding-top: 8px; }
.contact-sidebar-divider { border-top: 1px solid #e8eef6; padding-top: 32px; margin-top: 8px; }
.contact-sidebar-label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #5a6a80; margin-bottom: 16px; }

page-template-contact-us {

}
@media (max-width: 860px) { .locations-card { grid-template-columns: 1fr; } }

/* ---- About us hero (logo + text variant) ---- */
.about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #109AD6 0%, #1A559B 100%);
    position: relative;
    overflow: hidden;
}
.about-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 80px;
}
.about-hero__logo { height: 90px; margin: 0 auto 32px; display: block; }
.about-hero__arrow { margin-bottom: 36px; display: inline-block; }
.about-hero__intro {
    color: #fff;
    font-size: 20px;
    line-height: 1.75;
    max-width: 780px;
    margin: 0 auto 24px;
    font-weight: 300;
}
.about-hero__sub {
    color: rgba(255,255,255,0.88);
    font-size: 18px;
    line-height: 1.75;
    max-width: 740px;
    margin: 0 auto 24px;
    font-weight: 300;
}
.about-hero__sub--last { margin-bottom: 48px; }
.about-hero__btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ---- About us: mission section ---- */
.mission-section { padding: 80px 0 0; background: #fff; }
.mission-section .container { text-align: center; }
.mission-text { color: #5a6a80; font-size: 18px; line-height: 1.75; max-width: 780px; margin: 0 auto 20px; }
.mission-text--last { max-width: 760px; margin-bottom: 56px; }
.mission-img-wrap { max-width: 820px; margin: 0 auto; }
.mission-img-wrap img { width: 100%; display: block; object-fit: contain; max-height: 480px; }

/* ---- What we offer (blue section icons) ---- */
.offer-section { position: relative; padding: 0; }
.offer-container { padding-top: 40px; padding-bottom: 60px; text-align: center; }
.offer-subtitle { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 680px; margin: 0 auto 52px; line-height: 1.65; }
.offer-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; max-width: 880px; margin: 0 auto 48px; }
.offer-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; max-width: 580px; margin: 0 auto 52px; }
.offer-item { text-align: center; }
.offer-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-item img {
    margin: 0px auto 10px;
}

.offer-text { color: #fff; font-size: 16px; line-height: 1.4; letter-spacing: 0.2px; }
@media (max-width: 860px) {
    .offer-grid-3,
    .offer-grid-2 { grid-template-columns: 1fr; }
}


.page-template-about-us .quote .section-title {
  margin-bottom: 14px;
}

p.quote-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #fff;
}

/* ---- Sustainability (green section) ---- */
.sustain-section { background: url(../images/sustainability.webp) no-repeat center / cover;

   position: relative; padding: 0; overflow: hidden; }
.sustain-texture {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.sustain-container { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 50px; text-align: center; }
.sustain-icon { margin-bottom: 24px; }
.sustain-icon svg { margin: auto;}
.sustain-title { font-size: 40px; font-weight: 700; color: #1a3010; margin-bottom: 16px; line-height: 1.2; }
.sustain-intro { color: rgba(20,50,10,0.8); font-size: 17px; max-width: 640px; margin: 0 auto 52px; line-height: 1.65; }
.sustain-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; max-width: 820px; margin: 0 auto 48px; }
.sustain-item { text-align: center; }
.sustain-item-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sustain-item img {
    margin: 0 auto 10px;
}

.sustain-item h4 { color: #1a3010; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.sustain-item p  { color: rgba(20,50,10,0.75); font-size: 14px; line-height: 1.7; max-width: 220px; margin: 0 auto; }
.sustain-arrow { margin-bottom: 8px; display: inline-block; }
.sustain-tagline { color: #1a3010; font-size: 17px; font-weight: 700; max-width: 620px; margin: 16px auto 0; line-height: 1.6; }
.sustain-wave-bottom { line-height: 0; margin-top: 60px; }
.sustain-wave-bottom svg { display: block; width: 100%; height: 100px; }
@media (max-width: 860px) { .sustain-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Referral page ---- */
.referral-hero { min-height: 480px; }
.referral-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid rgb(255 192 12);
    padding: 8px 20px;
    margin-bottom: 17px;
    color: rgb(255 192 12);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
}
.referral-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.referral-card {
    background: linear-gradient(135deg, #f0f7ff, #e8f0fa);
    border-radius: 0px 32px;
    padding: 36px 28px;
    text-align: center;
    border: 1px solid #dce8f6;
}
.referral-card--featured {
    background: linear-gradient(135deg, #f0fae6, #e6f5d6);
    border-color: #c8e8a0;
    position: relative;
}
.referral-card__emoji { font-size: 40px; margin-bottom: 16px; }
.referral-card h3 { font-size: 18px; font-weight: 700; color: #1a2030; margin-bottom: 10px; }
.referral-card p  { color: #5a6a80; font-size: 14px; line-height: 1.7; }
.referral-card__most-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #68BC06;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 16px;
    border-radius: 100px;
}
.referral-how-section { position: relative; padding: 0; }
.referral-steps { display: flex; flex-direction: column; gap: 0; }
.referral-step { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 32px; position: relative; }
.referral-step--last { padding-bottom: 0; }
.referral-step::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.2);
}
.referral-step--last::after { display: none; }
.referral-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #68BC06;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.referral-step-num--secondary { background: rgba(255,255,255,0.2); }
.referral-step-content { padding-top: 6px; }
.referral-step-content h4 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.referral-step-content p  { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.7; }
.referral-conditions {
    margin-top: 40px;
    border-radius: 6px;
    padding: 24px 28px;
    border: 1px solid rgba(255,255,255,0.2);
}
.referral-conditions h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.referral-conditions ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.referral-conditions li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.75); font-size: 13px; line-height: 1.6; }
.referral-form-wrap { max-width: 680px; margin: 0 auto; }
.referral-form-header { text-align: center; margin-bottom: 48px; }
.referral-form-divider { border-top: 1px solid #e8eef6; margin: 24px 0; }
.referral-form-section-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #147FBF; margin-bottom: 16px; }
@media (max-width: 860px) {
    .referral-cards { grid-template-columns: 1fr; }
    .referral-how-grid { grid-template-columns: 1fr !important; gap: 48px !important; }
}

.page-template-referral .hero-content h1 {
  text-shadow: none;
  max-width: 690px;
  margin: auto;
  font-size: 56px;
}

.page-template-referral .hero-content p {
    max-width: 700px;
    margin: 20px auto;
}

.page-template-referral .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 70px 0 200px;
    color: #ffffff;
}
/* ---- Services page ---- */
.services-detail { padding: 80px 0 20px; background: #fff; }
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.service-block__text {}
.service-block__title { font-size: 30px; font-weight: 700; color: #1a2030; margin-bottom: 14px; }
.service-block__desc { color: #5a6a80; font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.service-block__link { display: inline-flex; align-items: center; gap: 8px; color: #1361AB; font-size: 15px; font-weight: 600; text-decoration: none; }
@media (max-width: 860px) {
    .service-block { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Clients & reviews ---- */
.clients-section {}
  .reviews-leave-box {
      max-width: 680px;
      margin: 32px auto 0;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 0px 28px;
      padding: 52px 56px;
      text-align: center;
  }

.page-template-clients-reviews .review-card {box-shadow: 0;}
.reviews-leave-box p {
    color: rgba(255, 255, 255, 0.90);
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 24px;
}
.reviews-leave-box strong {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}
.reviews-leave-box__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.review-btn-google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1a2030;
    border-radius: 0 14px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s;
}
.review-btn-google:hover { transform: scale(1.02); }
.review-btn-trustpilot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00B67A;
    color: #fff;
    border-radius: 0 14px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s;
}
.review-btn-trustpilot:hover { transform: scale(1.02); }
.join-cta-section { padding: 60px 0 80px; background: #fff; text-align: center; }
.join-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Careers page ---- */
.about-work-section { padding: 80px 0 60px; background: #fff; }
.about-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1000px; margin: 0 auto; }
.about-work-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-work-mini-card {
    background: #f7fbff;
    border-radius: 0px 20px;
    padding: 24px;
    text-align: center;
}
.about-work-mini-card__emoji { font-size: 32px; margin-bottom: 10px; }
.about-work-mini-card p { font-size: 15px; font-weight: 500; color: #1a2030; }
.about-work-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.openings-section { position: relative; padding: 0; }
.not-hiring-card {
    background: #fff;
    border-radius: 0px 28px;
    padding: 48px 44px;
    text-align: center;
}
.not-hiring-card__icon {
    width: 72px;
    height: 72px;
    background: #f0f5fb;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.not-hiring-card h3 { font-size: 20px; font-weight: 700; color: #1a2030; margin-bottom: 12px; }
.not-hiring-card p  { color: #5a6a80; font-size: 15px; line-height: 1.75; max-width: 520px; margin: 0 auto 28px; }
.apply-section { padding: 0px 0 100px; background: #fff; }
.apply-section .container { max-width: 780px; }
.apply-section-subtitle { text-align: center; color: #5a6a80; font-size: 16px; line-height: 1.7; max-width: 560px; margin: 0 auto 48px; }
@media (max-width: 860px) {
    .about-work-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Responsive global ---- */
@media (max-width: 860px) {
    .page-hero h1 { font-size: 36px; }
    .hide-mobile { display: none !important; }
}
@media (max-width: 600px) {
    .page-hero h1 { font-size: 28px; }
    .card { padding: 24px 16px; }
}

/* ---- Services detail grid (icon + text, 2 col, blue bg) ---- */
.services-detail-section { position: relative; padding: 0; }

.services-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    padding-top: 40px;
    padding-bottom: 20px;
}

.svc-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.svc-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.svc-content {}

.svc-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    line-height: 1.3;
}

.svc-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0;
}

.svc-link {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 8px;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.svc-link:hover { opacity: 1; }

@media (max-width: 860px) {
    .services-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Reviews grid (3-col white, screenshot style) ---- */
.reviews-grid-section { background: #fff; }


.reviews-grid-section .container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 10px 24px 30px;
    width: 100%;
    position: relative;
}

.reviews-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 44px;
}

.reviews-grid-card {
    background: #fff;
    border-radius: 0 24px;
    padding: 42px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 2px 40px rgb(39 88 135 / 13%);
}

.reviews-grid-card p {
    font-size: 15px;
    color: #3a4a5a;
    line-height: 1.75;
    margin-bottom: 28px;
    flex: 1;
}

.reviews-grid-card__footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reviews-grid-card__footer strong {
    font-size: 14px;
    font-weight: 700;
    color: #1a2030;
}

.reviews-grid-stars {
    display: flex;
    gap: 4px;
    color: #f0a500;
    font-size: 16px;
}

@media (max-width: 860px) {
    .reviews-grid-3 { grid-template-columns: 1fr; }
}
@media (min-width: 500px) and (max-width: 860px) {
    .reviews-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Referral page ---- */
.page-hero__title {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.page-hero__sub {
    color: rgba(255,255,255,0.88);
    font-size: 18px;
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.75;
    font-weight: 300;
}
.referral-winwin { text-align: center; }
.referral-winwin__intro {
    color: #5a6a80;
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 56px;
    line-height: 1.75;
}
.referral-winwin__intro strong { color: #1361AB; }

.referral-how-section { position: relative; padding: 0; }
.referral-how-container { padding-top: 40px; padding-bottom: 70px; }
.referral-how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 8px;
}
.referral-col-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.referral-col-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.referral-col-header h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 860px) {
    .referral-how-grid { grid-template-columns: 1fr; gap: 48px; }
    .page-hero__title  { font-size: 36px; }
    .referral-cards    { grid-template-columns: 1fr; }
}

/* ---- Referral hero stats strip ---- */
.referral-hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.referral-hero-stat { text-align: center; }
.referral-hero-stat__number {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.referral-hero-stat__label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}
.referral-hero-stat__divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.25);
}

/* ---- How it works columns ---- */
.referral-how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 8px;
}
.referral-how-col {
    border-radius: 0px 28px;
    padding: 36px 36px 36px;
    background: #fafafa;
}
.referral-how-col__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}
.referral-how-col__header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2030;
    margin: 0;
}
.referral-how-col__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.referral-how-col__icon--blue  { background: #1687c8; }
.referral-how-col__icon--green { background: rgb(104, 188, 6); }


.referral-how-col:nth-child(2) .referral-step::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: 0;
    width: 1px;
    background: rgb(104, 188, 6); }

/* ---- Steps inside how-it-works ---- */
.referral-steps { display: flex; flex-direction: column; gap: 0; }
.referral-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 28px;
    position: relative;
}
.referral-step::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: 0;
    width: 1px;
    background: #1687c8;
}
.referral-step--last { padding-bottom: 0; }
.referral-step--last::after { display: none; }
.referral-how-col:nth-child(1) .referral-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: none;
    color: #1687c8;
    font-size: 15px;
    border: 1px solid #1687c8;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.referral-step-num--secondary{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: none;
    color: #68BC06;
    font-size: 15px;
    border: 1px solid #68BC06;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.page-template-referral .page-hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.75;
    font-weight: 300;
}

.page-template-referral .page-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 130px;
}

.page-template-referral .section-title {
  margin-bottom: 6px;
  }
.referral-step-content { padding-top: 4px; }
.referral-step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0c0c0c;
    margin-bottom: 5px;
}
.referral-step-content p {
    font-size: 15px;
    color: #3b5361;
    line-height: 1.6;
    margin: 0;
}

/* ---- Benefits + conditions (blue section) ---- */
.referral-benefits-container { padding-top: 40px; padding-bottom: 70px; }
.referral-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.referral-benefit-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.referral-benefit-item:last-child { margin-bottom: 0; }
.referral-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.referral-benefit-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.referral-benefit-item p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
    margin: 0;
}
.referral-conditions__cta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.referral-conditions__cta p {
    color: rgba(255,255,255,0.95);
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 600
}

.referral-how-col {
    background: #ffffff;
    box-shadow: 0 0 40px rgb(213 213 213 / 42%);
}

section#how-it-works {
    padding-bottom: 30px;
}

@media (max-width: 860px) {
    .referral-how-grid       { grid-template-columns: 1fr; }
    .referral-benefits-grid  { grid-template-columns: 1fr; }
    .referral-hero-stat__divider { display: none; }
    .page-hero__title        { font-size: 36px; }
}

/* ---- Referral badge in hero-content ---- */
.hero-content .referral-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgb(255 204 0);
    border-radius: 100px;
    padding: 7px 18px;
    margin-bottom: 20px;
    color: rgb(255 204 0);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ---- Referral hero with canvas bubbles ---- */
.referral-hero-canvas {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.referral-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    z-index: 0;
}
.referral-hero-canvas .container {
    position: relative;
    z-index: 2;
}
